diff --git a/openapi-v2.yaml b/openapi-v2.yaml index 318e42a..8230a13 100644 --- a/openapi-v2.yaml +++ b/openapi-v2.yaml @@ -9,27 +9,31 @@ info: \nThe API docs are generated from an openapi spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/master/openapi-v2.yaml)\n\ repository. If you find issues in these docs or have questions about using the\ \ dbt Cloud\nAPI, please open an issue in the dbt-cloud-openapi-spec repo or contact\ - \ support@getdbt.com.\n\n# Authentication\n\nTo authenticate an application with\ + \ support@getdbt.com.\n\n## Authentication\n\nTo authenticate an application with\ \ the dbt Cloud API, navigate to the\nAPI Settings page in your [dbt Cloud profile](https://cloud.getdbt.com/#/profile/api/).\n\ If you cannot access this page, confirm that your dbt Cloud account has access\ \ to the API,\nand that you are using the hosted version of dbt Cloud. If dbt\ \ Cloud is running inside of a VPC\nin an Enterprise account, contact your account\ - \ manager for help finding your API key.\n\n## Token Auth\n\nOnce you've found\ - \ your API key, use it in the Authorization header of requests to the dbt Cloud\ - \ API.\nBe sure to include the `Token` prefix in the Authorization header, or\ - \ the request will fail with a\n\"401 Unauthorized\" error. Note: `Bearer` can\ - \ be used in place of `Token` in the Authorization header.\nBoth syntaxes are\ - \ equivalent.\n\n**Headers**\n```\nAccept: application/json\nAuthorization: Token\ - \ \n```\n\n## Example request\n\nThe following example will list the\ - \ Accounts that your token is authorized to access.\nBe sure to replace `` in the Authorization header with your actual API token.\n\n```bash\n\ - curl --request GET \\\n --url https://cloud.getdbt.com/api/v2/accounts/ \\\n\ - \ --header 'Content-Type: application/json' \\\n --header 'Authorization: Token\ - \ '\n```\n\n  \n\n# Pagination\n\nAll top-level API resources\ - \ have support for bulk fetches via \"list\" API methods. These list\nAPI methods\ - \ accept `limit` and `offset` query parameters which can be used together to paginate\ - \ results.\n\nOffsets begin at 0.\n\nThe maximum limit for a single request is\ - \ 100.\n" + \ manager for help finding your API key.\n\nOnce you've found your API key, use\ + \ it in the Authorization header of requests to the dbt Cloud API.\nBe sure to\ + \ include the `Token` prefix in the Authorization header, or the request will\ + \ fail with a\n\"401 Unauthorized\" error.\n\n*Note: `Bearer` can be used in place\ + \ of `Token` in the Authorization header. Both syntaxes are equivalent.*\n\n**Headers**\n\ + ```\nAccept: application/json\nAuthorization: Token \n``` \n\n##\ + \ Pagination\n\nAll top-level API resources support bulk fetches using the \"\ + list\" or `GET` API methods. These API methods accept `limit` and `offset` query\ + \ parameters that you can use together to paginate results and return a subset\ + \ of those results.\n\n* Offset: Specifies how many records to skip. Can be an\ + \ integer 0 and higher.\n* Limit: Specifies the maximum records you want to retrieve\ + \ in a single request. Can be an integer up to 100. This limit makes responses\ + \ easier to handle for servers and people.\n\n\n## Example request\n\nThe following\ + \ example uses the list projects endpoint to list the projects that your token\ + \ is authorized to access.\nThis request skips the first 10 projects and lists\ + \ the next 10 projects.\nBe sure to replace `` in the Authorization\ + \ header with your actual API token and `` with your actual account\ + \ ID.\n\n```bash\ncurl --request GET \\\n --url 'https://cloud.getdbt.com/api/v3/accounts/'\n```\n" termsOfService: https://www.getdbt.com/terms-of-service contact: email: support@getdbt.com @@ -126,6 +130,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -207,6 +215,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -288,6 +300,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -540,6 +556,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -625,6 +645,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -710,6 +734,10 @@ paths: name: offset schema: type: integer + - in: query + name: project_id + schema: + type: integer - in: query name: state schema: @@ -2439,6 +2467,9 @@ components: - type: 'null' - type: integer description: (Deprecated) + allow_repo_caching: + type: boolean + description: Repo caching is not currently available. Coming soon! additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -2605,6 +2636,9 @@ components: - type: 'null' - type: integer description: (Deprecated) + allow_repo_caching: + type: boolean + description: Repo caching is not currently available. Coming soon! additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -2819,7 +2853,6 @@ components: EnvironmentV2: type: object required: - - id - account_id - connection_id - created_by_id @@ -2898,6 +2931,12 @@ components: oneOf: - type: 'null' - {} + created_at: + oneOf: + - type: 'null' + - type: string + format: date-time + readOnly: true updated_at: oneOf: - type: 'null' @@ -2926,7 +2965,6 @@ components: EnvironmentV2Request: type: object required: - - id - account_id - connection_id - created_by_id @@ -4029,7 +4067,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -4078,7 +4116,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -4251,7 +4289,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -4304,7 +4342,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -5309,28 +5347,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -5355,7 +5371,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -5423,19 +5439,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -5490,32 +5500,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -5544,7 +5528,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -5616,22 +5600,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -5651,72 +5628,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -5835,16 +5746,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -5859,28 +5767,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -5938,19 +5824,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -6019,21 +5899,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -6050,32 +5927,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -6135,22 +5986,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -6249,6 +6092,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -6284,10 +6131,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -7082,6 +6929,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -7140,14 +6991,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -7242,6 +7094,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -7254,7 +7110,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -7435,6 +7320,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -7457,8 +7345,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -7505,6 +7393,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -7514,9 +7406,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -7566,6 +7458,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -7589,9 +7484,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -8332,7 +8228,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -8432,7 +8328,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -8562,7 +8458,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -8668,7 +8564,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -8789,7 +8685,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -8852,10 +8748,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -8892,7 +8785,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -8906,9 +8799,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -9019,7 +8911,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -9090,10 +8982,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -9128,7 +9017,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -9146,8 +9035,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -9837,7 +9726,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -9886,7 +9775,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -10059,7 +9948,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -10112,7 +10001,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -11117,28 +11006,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -11163,7 +11030,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -11231,19 +11098,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -11298,32 +11159,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -11352,7 +11187,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -11424,22 +11259,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -11459,72 +11287,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -11643,16 +11405,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -11667,28 +11426,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -11746,19 +11483,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -11827,21 +11558,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -11858,32 +11586,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -11943,22 +11645,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -12057,6 +11751,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -12092,10 +11790,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -12890,6 +12588,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -12948,14 +12650,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -13050,6 +12753,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -13062,7 +12769,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -13243,6 +12979,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -13265,8 +13004,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -13313,6 +13052,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -13322,9 +13065,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -13374,6 +13117,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -13397,9 +13143,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -14140,7 +13887,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14240,7 +13987,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -14370,7 +14117,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14476,7 +14223,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -14597,7 +14344,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14660,10 +14407,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -14700,7 +14444,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -14714,9 +14458,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -14827,7 +14570,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14898,10 +14641,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -14936,7 +14676,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -14954,8 +14694,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -15167,6 +14907,10 @@ components: oneOf: - type: 'null' - type: integer + private_link_endpoint_id: + oneOf: + - type: 'null' + - type: integer additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -15256,6 +15000,10 @@ components: oneOf: - type: 'null' - type: integer + private_link_endpoint_id: + oneOf: + - type: 'null' + - type: integer additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -15524,6 +15272,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -15582,14 +15334,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -15684,6 +15437,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -15696,7 +15453,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' $schema: http://json-schema.org/draft-07/schema# RunEnveloped: type: object @@ -15753,6 +15539,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -15815,6 +15605,8 @@ components: oneOf: - type: 'null' - type: string + auth0_database_user_id: + type: string first_name: type: string last_name: @@ -15973,6 +15765,8 @@ components: oneOf: - type: 'null' - type: string + auth0_database_user_id: + type: string first_name: type: string last_name: diff --git a/openapi-v3.yaml b/openapi-v3.yaml index 3985235..9051c9b 100644 --- a/openapi-v3.yaml +++ b/openapi-v3.yaml @@ -2,36 +2,59 @@ openapi: 3.0.3 info: title: dbt Cloud API v3 version: 3.0.0 - description: "# How to use this API\n\nThe dbt Cloud API v3 contains endpoints for\ - \ programmatic administration of your dbt Cloud account.\nWith it, you can replicate\ - \ resources across projects, accounts, and environments, or standardize project\n\ - creation for business teams. For endpoints related to jobs and runs, refer to\ - \ the\n[Discovery API](https://docs.getdbt.com/docs/dbt-cloud-apis/discovery-api)\ - \ or [dbt Cloud API v2](https://docs.getdbt.com/dbt-cloud/api-v2#/).\n\nThe API\ - \ docs are generated from an openapi spec defined in the\n[dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/master/openapi-v3.yaml)\n\ - repository. If you find issues in these docs or have questions about using the\ - \ dbt Cloud\nAPI, please open an issue in the dbt-cloud-openapi-spec repo or contact\ - \ support@getdbt.com.\n\n# Authentication\n\nTo authenticate an application with\ - \ the dbt Cloud API, navigate to the\nAPI Settings page in your [dbt Cloud profile](https://cloud.getdbt.com/#/profile/api/).\n\ - If you cannot access this page, confirm that your dbt Cloud account has access\ - \ to the API,\nand that you are using the hosted version of dbt Cloud. If dbt\ - \ Cloud is running inside of a VPC\nin an Enterprise account, contact your account\ - \ manager for help finding your API key.\n\n## Token Auth\n\nOnce you've found\ - \ your API key, use it in the Authorization header of requests to the dbt Cloud\ - \ API.\nBe sure to include the `Token` prefix in the Authorization header, or\ - \ the request will fail with a\n\"401 Unauthorized\" error. Note: `Bearer` can\ - \ be used in place of `Token` in the Authorization header.\nBoth syntaxes are\ - \ equivalent.\n\n**Headers**\n```\nAccept: application/json\nAuthorization: Token\ - \ \n```\n\n## Example request\n\nThe following example will list the\ - \ Accounts that your token is authorized to access.\nBe sure to replace `` in the Authorization header with your actual API token.\n\n```bash\n\ - curl --request GET \\\n --url https://cloud.getdbt.com/api/v2/accounts/ \\\n\ - \ --header 'Content-Type: application/json' \\\n --header 'Authorization: Token\ - \ '\n```\n\n  \n\n# Pagination\n\nAll top-level API resources\ - \ have support for bulk fetches via \"list\" API methods. These list\nAPI methods\ - \ accept `limit` and `offset` query parameters which can be used together to paginate\ - \ results.\n\nOffsets begin at 0.\n\nThe maximum limit for a single request is\ - \ 100.\n" + description: | + # How to use this API + + The dbt Cloud API v3 contains endpoints for programmatic administration of your dbt Cloud account. + With it, you can replicate resources across projects, accounts, and environments, or standardize project + creation for business teams. For endpoints related to jobs and runs, refer to the + [Discovery API](https://docs.getdbt.com/docs/dbt-cloud-apis/discovery-api) or [dbt Cloud API v2](https://docs.getdbt.com/dbt-cloud/api-v2#/). + + The API docs are generated from an openapi spec defined in the + [dbt-cloud-openapi-spec](https://github.com/dbt-labs/dbt-cloud-openapi-spec/blob/master/openapi-v3.yaml) + repository. If you find issues in these docs or have questions about using the dbt Cloud + API, please open an issue in the dbt-cloud-openapi-spec repo or contact support@getdbt.com. + + ## Authentication + + To authenticate an application with the dbt Cloud API, navigate to the + API Settings page in your [dbt Cloud profile](https://cloud.getdbt.com/#/profile/api/). + If you cannot access this page, confirm that your dbt Cloud account has access to the API, + and that you are using the hosted version of dbt Cloud. If dbt Cloud is running inside of a VPC + in an Enterprise account, contact your account manager for help finding your API key. + + Once you've found your API key, use it in the Authorization header of requests to the dbt Cloud API. + Be sure to include the `Token` prefix in the Authorization header, or the request will fail with a + "401 Unauthorized" error. + + *Note: `Bearer` can be used in place of `Token` in the Authorization header. Both syntaxes are equivalent.* + + **Headers** + ``` + Accept: application/json + Authorization: Token + ``` + + ## Pagination + + All top-level API resources support bulk fetches using the "list" or `GET` API methods. These API methods accept `limit` and `offset` query parameters that you can use together to paginate results and return a subset of those results. + + * Offset: Specifies how many records to skip. Can be an integer 0 and higher. + * Limit: Specifies the maximum records you want to retrieve in a single request. Can be an integer up to 100. This limit makes responses easier to handle for servers and people. + + + ## Example request + + The following example uses the list projects endpoint to list the projects that your token is authorized to access. + This request skips the first 10 projects and lists the next 10 projects. + Be sure to replace `` in the Authorization header with your actual API token and `` with your actual account ID. + + ```bash + curl --request GET \ + --url 'https://cloud.getdbt.com/api/v3/accounts/' + ``` termsOfService: https://www.getdbt.com/terms-of-service contact: email: support@getdbt.com @@ -2175,6 +2198,10 @@ paths: name: name schema: type: string + - in: query + name: name__icontains + schema: + type: string - in: query name: offset schema: @@ -2307,6 +2334,10 @@ paths: name: name schema: type: string + - in: query + name: name__icontains + schema: + type: string - in: query name: offset schema: @@ -2439,6 +2470,10 @@ paths: name: name schema: type: string + - in: query + name: name__icontains + schema: + type: string - in: query name: offset schema: @@ -2761,17 +2796,99 @@ paths: responses: '204': description: No response body - /api/v3/accounts/{account_id}/service-tokens/: + /api/v3/accounts/{account_id}/projects/{project_id}/semantic-layer-configurations/: + post: + operationId: Create SL Configuration + description: |- + Create a Semantic Layer Configuration. + + Semantic Layer Configurations are used to specify the Environment and Credentials to use when + querying the semantic layer. + + After creation, set the configuration as active on your Project using the `semantic_layer_config_id` + field on the Project entity. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: path + name: project_id + schema: + type: integer + required: true + tags: + - Semantic Layer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SemanticLayerConfigRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SemanticLayerConfigRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/SemanticLayerConfigRequest' + required: true + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SemanticLayerConfigEnveloped' + description: '' + /api/v3/accounts/{account_id}/projects/{project_id}/semantic-layer-configurations/{id}/: get: - operationId: List Service Tokens + operationId: Retrieve SL Configuration + description: Retrieve a Semantic Layer Configuration. parameters: - in: path name: account_id schema: type: integer required: true + - in: query + name: account_id + schema: + type: integer + - in: query + name: environment_id + schema: + type: integer + - in: path + name: id + schema: + type: integer + required: true + - in: query + name: pk + schema: + type: integer + - in: path + name: project_id + schema: + type: integer + required: true + - in: query + name: project_id + schema: + type: integer + - in: query + name: project_id__in + schema: + type: array + - in: query + name: state + schema: + type: integer tags: - - Service Tokens + - Semantic Layer security: - BearerAuthentication: [] responses: @@ -2779,30 +2896,43 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTokenEnveloped' + $ref: '#/components/schemas/SemanticLayerConfigEnveloped' description: '' post: - operationId: Create Service Token - description: This endpoint is used to generate a new service token for the account. + operationId: Update SL Configuration + description: |- + Update a Semantic Layer Configuration. + + Most often used to change the active Semantic Layer Environment parameters: - in: path name: account_id schema: type: integer required: true + - in: path + name: id + schema: + type: integer + required: true + - in: path + name: project_id + schema: + type: integer + required: true tags: - - Service Tokens + - Semantic Layer requestBody: content: application/json: schema: - $ref: '#/components/schemas/ServiceTokenRequestRequest' + $ref: '#/components/schemas/SemanticLayerConfigRequest' application/x-www-form-urlencoded: schema: - $ref: '#/components/schemas/ServiceTokenRequestRequest' + $ref: '#/components/schemas/SemanticLayerConfigRequest' multipart/form-data: schema: - $ref: '#/components/schemas/ServiceTokenRequestRequest' + $ref: '#/components/schemas/SemanticLayerConfigRequest' required: true security: - BearerAuthentication: [] @@ -2811,24 +2941,128 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTokenEnveloped' + $ref: '#/components/schemas/SemanticLayerConfigEnveloped' description: '' - /api/v3/accounts/{account_id}/service-tokens/{id}/: + delete: + operationId: Destroy SL Configuration + description: Delete a Semantic Layer Configuration. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: query + name: account_id + schema: + type: integer + - in: query + name: environment_id + schema: + type: integer + - in: path + name: id + schema: + type: integer + required: true + - in: query + name: pk + schema: + type: integer + - in: path + name: project_id + schema: + type: integer + required: true + - in: query + name: project_id + schema: + type: integer + - in: query + name: project_id__in + schema: + type: array + - in: query + name: state + schema: + type: integer + tags: + - Semantic Layer + security: + - BearerAuthentication: [] + responses: + '204': + description: No response body + /api/v3/accounts/{account_id}/semantic-layer-credentials/: + post: + operationId: Create Semantic Layer Credentials + description: |- + Create a new Semantic Layer Credentials record. + + Semantic Layer Credentials are the credentials used to connect to your warehouse when making Semantic Layer queries. + + After creation, use the returned ID in the `semantic_layer_credentials_id` field when setting up your Semantic Layer + Configuration entity. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + tags: + - Semantic Layer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + required: true + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SemanticLayerCredentialsEnveloped' + description: '' + /api/v3/accounts/{account_id}/semantic-layer-credentials/{id}/: get: - operationId: Retrieve Service Token + operationId: Retrieve SL Credentials + description: Retrieve Semantic Layer Credentials. parameters: - in: path name: account_id schema: type: integer required: true + - in: query + name: account_id + schema: + type: integer - in: path name: id schema: type: integer required: true + - in: query + name: pk + schema: + type: integer + - in: query + name: state + schema: + type: integer tags: - - Service Tokens + - Semantic Layer security: - BearerAuthentication: [] responses: @@ -2836,10 +3070,206 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ServiceTokenEnveloped' + $ref: '#/components/schemas/SemanticLayerCredentialsEnveloped' description: '' - put: - operationId: Update Service Token + post: + operationId: Update SL Credentials + description: Update Semantic Layer Credentials. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: path + name: id + schema: + type: integer + required: true + tags: + - Semantic Layer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsRequest' + required: true + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsEnveloped' + description: '' + patch: + operationId: Partial Update SL Credentials + description: Patch Semantic Layer Credentials. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: query + name: account_id + schema: + type: integer + - in: path + name: id + schema: + type: integer + required: true + - in: query + name: pk + schema: + type: integer + - in: query + name: state + schema: + type: integer + tags: + - Semantic Layer + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PatchedSemanticLayerCredentialsRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/PatchedSemanticLayerCredentialsRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/PatchedSemanticLayerCredentialsRequest' + required: true + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/SemanticLayerCredentialsEnveloped' + description: '' + delete: + operationId: Destroy SL Credentials + description: Delete Semantic Layer Credentials. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: query + name: account_id + schema: + type: integer + - in: path + name: id + schema: + type: integer + required: true + - in: query + name: pk + schema: + type: integer + - in: query + name: state + schema: + type: integer + tags: + - Semantic Layer + security: + - BearerAuthentication: [] + responses: + '204': + description: No response body + /api/v3/accounts/{account_id}/service-tokens/: + get: + operationId: List Service Tokens + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + tags: + - Service Tokens + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceTokenEnveloped' + description: '' + post: + operationId: Create Service Token + description: This endpoint is used to generate a new service token for the account. + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + tags: + - Service Tokens + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceTokenRequestRequest' + application/x-www-form-urlencoded: + schema: + $ref: '#/components/schemas/ServiceTokenRequestRequest' + multipart/form-data: + schema: + $ref: '#/components/schemas/ServiceTokenRequestRequest' + required: true + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceTokenEnveloped' + description: '' + /api/v3/accounts/{account_id}/service-tokens/{id}/: + get: + operationId: Retrieve Service Token + parameters: + - in: path + name: account_id + schema: + type: integer + required: true + - in: path + name: id + schema: + type: integer + required: true + tags: + - Service Tokens + security: + - BearerAuthentication: [] + responses: + '200': + content: + application/json: + schema: + $ref: '#/components/schemas/ServiceTokenEnveloped' + description: '' + put: + operationId: Update Service Token parameters: - in: path name: account_id @@ -3640,6 +4070,9 @@ components: - type: 'null' - type: integer description: (Deprecated) + allow_repo_caching: + type: boolean + description: Repo caching is not currently available. Coming soon! additionalProperties: false definitions: {} $schema: http://json-schema.org/draft-07/schema# @@ -4212,7 +4645,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -4261,7 +4694,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -4434,7 +4867,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -4487,7 +4920,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -5492,28 +5925,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -5538,7 +5949,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -5606,19 +6017,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -5673,32 +6078,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -5727,7 +6106,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -5799,22 +6178,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -5834,72 +6206,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -6018,16 +6324,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -6042,28 +6345,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -6121,19 +6402,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -6202,21 +6477,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -6233,32 +6505,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -6318,22 +6564,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -6432,6 +6670,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -6467,10 +6709,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -7265,6 +7507,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -7323,14 +7569,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -7425,6 +7672,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -7437,7 +7688,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -7618,6 +7898,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -7640,8 +7923,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -7688,6 +7971,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -7697,9 +7984,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -7749,6 +8036,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -7772,9 +8062,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -8515,7 +8806,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -8615,7 +8906,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -8745,7 +9036,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -8851,7 +9142,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -8972,7 +9263,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -9035,10 +9326,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -9075,7 +9363,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -9089,9 +9377,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -9202,7 +9489,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -9273,10 +9560,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -9311,7 +9595,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -9329,8 +9613,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -9992,7 +10276,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -10041,7 +10325,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -10214,7 +10498,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -10267,7 +10551,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -11272,28 +11556,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -11318,7 +11580,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -11386,19 +11648,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -11453,32 +11709,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -11507,7 +11737,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -11579,22 +11809,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -11614,72 +11837,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -11798,16 +11955,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -11822,28 +11976,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -11901,19 +12033,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -11982,21 +12108,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -12013,32 +12136,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -12098,22 +12195,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -12212,6 +12301,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -12247,10 +12340,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -13045,6 +13138,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -13103,14 +13200,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -13205,6 +13303,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -13217,7 +13319,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -13398,6 +13529,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -13420,8 +13554,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -13468,6 +13602,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -13477,9 +13615,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -13529,6 +13667,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -13552,9 +13693,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -14295,7 +14437,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14395,7 +14537,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -14525,7 +14667,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14631,7 +14773,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -14752,7 +14894,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -14815,10 +14957,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -14855,7 +14994,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -14869,9 +15008,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -14982,7 +15120,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -15053,10 +15191,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -15091,7 +15226,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -15109,8 +15244,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -15803,7 +15938,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -15852,7 +15987,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -16025,7 +16160,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -16078,7 +16213,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -17083,28 +17218,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -17129,7 +17242,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -17197,19 +17310,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -17264,32 +17371,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -17318,7 +17399,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -17390,22 +17471,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -17425,72 +17499,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -17609,16 +17617,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -17633,28 +17638,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -17712,19 +17695,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -17793,21 +17770,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -17824,32 +17798,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -17909,22 +17857,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -18023,6 +17963,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -18058,10 +18002,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -18856,6 +18800,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -18914,14 +18862,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -19016,6 +18965,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -19028,7 +18981,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -19209,6 +19191,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -19231,8 +19216,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -19279,6 +19264,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -19288,9 +19277,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -19340,6 +19329,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -19363,9 +19355,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -20106,7 +20099,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -20206,7 +20199,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -20336,7 +20329,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -20442,7 +20435,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -20563,7 +20556,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -20626,10 +20619,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -20666,7 +20656,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -20680,9 +20670,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -20793,7 +20782,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -20864,10 +20853,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -20902,7 +20888,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -20920,8 +20906,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -21672,7 +21658,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -21721,7 +21707,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -21894,7 +21880,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -21947,7 +21933,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -22952,28 +22938,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -22998,7 +22962,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -23066,19 +23030,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -23133,32 +23091,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -23187,7 +23119,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -23259,22 +23191,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -23294,72 +23219,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -23478,16 +23337,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -23502,28 +23358,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -23581,19 +23415,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -23662,21 +23490,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -23693,32 +23518,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -23778,22 +23577,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -23892,6 +23683,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -23927,10 +23722,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -24725,6 +24520,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -24783,14 +24582,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -24885,6 +24685,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -24897,7 +24701,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -25078,6 +24911,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -25100,8 +24936,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -25148,6 +24984,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -25157,9 +24997,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -25209,6 +25049,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -25232,9 +25075,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -25975,7 +25819,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -26075,7 +25919,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -26205,7 +26049,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -26311,7 +26155,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -26432,7 +26276,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -26495,10 +26339,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -26535,7 +26376,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -26549,9 +26390,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -26662,7 +26502,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -26733,10 +26573,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -26771,7 +26608,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -26789,8 +26626,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -27438,7 +27275,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -27487,7 +27324,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -27660,7 +27497,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -27713,7 +27550,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -28718,28 +28555,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -28764,7 +28579,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -28832,19 +28647,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -28899,32 +28708,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -28953,7 +28736,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -29025,22 +28808,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -29060,72 +28836,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -29244,16 +28954,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -29268,28 +28975,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -29347,19 +29032,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -29428,21 +29107,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -29459,32 +29135,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -29544,22 +29194,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -29658,6 +29300,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -29693,10 +29339,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -30491,6 +30137,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -30549,14 +30199,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -30651,6 +30302,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -30663,7 +30318,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -30844,6 +30528,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -30866,8 +30553,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -30914,6 +30601,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -30923,9 +30614,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -30975,6 +30666,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -30998,9 +30692,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -31741,7 +31436,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -31841,7 +31536,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -31971,7 +31666,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -32077,7 +31772,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -32198,7 +31893,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -32261,10 +31956,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -32301,7 +31993,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -32315,9 +32007,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -32428,7 +32119,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -32499,10 +32190,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -32537,7 +32225,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -32555,8 +32243,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -33210,7 +32898,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -33259,7 +32947,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -33432,7 +33120,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -33485,7 +33173,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -34490,28 +34178,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -34536,7 +34202,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -34604,19 +34270,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -34671,32 +34331,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -34725,7 +34359,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -34797,22 +34431,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -34832,72 +34459,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -35016,16 +34577,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -35040,28 +34598,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -35119,19 +34655,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -35200,21 +34730,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -35231,32 +34758,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -35316,22 +34817,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -35430,6 +34923,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -35465,10 +34962,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -36263,6 +35760,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -36321,14 +35822,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -36423,6 +35925,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -36435,7 +35941,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -36616,6 +36151,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -36638,8 +36176,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -36686,6 +36224,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -36695,9 +36237,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -36747,6 +36289,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -36770,9 +36315,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -37513,7 +37059,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -37613,7 +37159,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -37743,7 +37289,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -37849,7 +37395,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -37970,7 +37516,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -38033,10 +37579,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -38073,7 +37616,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -38087,9 +37630,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -38200,7 +37742,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -38271,10 +37813,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -38309,7 +37848,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -38327,8 +37866,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -39067,7 +38606,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -39116,7 +38655,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -39289,7 +38828,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -39342,7 +38881,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -40347,28 +39886,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -40393,7 +39910,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -40461,19 +39978,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -40528,32 +40039,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -40582,7 +40067,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -40654,22 +40139,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -40689,72 +40167,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -40873,16 +40285,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -40897,28 +40306,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -40976,19 +40363,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -41057,21 +40438,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -41088,32 +40466,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -41173,22 +40525,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -41287,6 +40631,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -41322,10 +40670,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -42124,6 +41472,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -42182,14 +41534,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -42284,6 +41637,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -42296,7 +41653,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -42477,6 +41863,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -42499,8 +41888,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -42547,6 +41936,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -42556,9 +41949,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -42608,6 +42001,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -42631,9 +42027,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -43374,7 +42771,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -43474,7 +42871,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -43604,7 +43001,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -43710,7 +43107,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -43831,7 +43228,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -43894,10 +43291,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -43934,7 +43328,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -43948,9 +43342,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -44061,7 +43454,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -44132,10 +43525,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -44170,7 +43560,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -44188,8 +43578,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -44884,7 +44274,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -44933,7 +44323,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -45106,7 +44496,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -45159,7 +44549,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -46164,28 +45554,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -46210,7 +45578,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -46278,19 +45646,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -46345,32 +45707,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -46399,7 +45735,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -46471,22 +45807,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -46506,72 +45835,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -46690,16 +45953,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -46714,28 +45974,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -46793,19 +46031,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -46874,21 +46106,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -46905,32 +46134,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -46990,22 +46193,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -47104,6 +46299,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -47139,10 +46338,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -47899,6 +47098,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -47957,14 +47160,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -48059,6 +47263,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -48071,7 +47279,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -48252,6 +47489,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -48274,8 +47514,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -48322,6 +47562,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -48331,9 +47575,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -48383,6 +47627,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -48406,9 +47653,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -49149,7 +48397,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -49249,7 +48497,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -49379,7 +48627,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -49485,7 +48733,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -49606,7 +48854,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -49669,10 +48917,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -49709,7 +48954,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -49723,9 +48968,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -49836,7 +49080,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -49907,10 +49151,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -49945,7 +49186,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -49963,8 +49204,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -50400,6 +49641,8 @@ components: InviteUsersRequestRequest: type: object properties: + id: + type: integer email_addresses: type: array items: {} @@ -50604,6 +49847,112 @@ components: required: - filters - pagination + PatchedSemanticLayerCredentialsRequest: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: schemas.adapter.DbtAdapterSchemaType, + values: Union[Dict[str, Union[str, int, bool, models.encrypted_field.DataclassEncryptedField]], + NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + definitions: + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: + schemas.adapter.DbtAdapterSchemaType, values: Union[Dict[str, Union[str, + int, bool, models.encrypted_field.DataclassEncryptedField]], NoneType] + = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + DataclassEncryptedField: + type: object + required: [] + properties: + plaintext: + oneOf: + - type: string + - type: 'null' + ciphertext: + oneOf: + - type: string + - type: 'null' + additionalProperties: false + description: 'DataclassEncryptedField(plaintext: Union[str, NoneType] = + None, ciphertext: Union[str, NoneType] = None)' + $schema: http://json-schema.org/draft-07/schema# PrivateLinkEndpoint: type: object properties: @@ -51229,7 +50578,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -51278,7 +50627,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -51451,7 +50800,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -51504,7 +50853,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -52509,28 +51858,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -52555,7 +51882,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -52623,19 +51950,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -52690,32 +52011,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -52744,7 +52039,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -52816,22 +52111,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -52851,72 +52139,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -53035,16 +52257,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -53059,28 +52278,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -53138,19 +52335,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -53219,21 +52410,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -53250,32 +52438,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -53335,22 +52497,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -53449,6 +52603,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -53484,10 +52642,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -54282,6 +53440,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -54340,14 +53502,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -54442,6 +53605,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -54454,7 +53621,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -54635,6 +53831,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -54657,8 +53856,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -54705,6 +53904,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -54714,9 +53917,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -54766,6 +53969,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -54789,9 +53995,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -55532,7 +54739,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -55632,7 +54839,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -55762,7 +54969,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -55868,7 +55075,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -55989,7 +55196,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -56052,10 +55259,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -56092,7 +55296,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -56106,9 +55310,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -56219,7 +55422,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -56290,10 +55493,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -56328,7 +55528,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -56346,8 +55546,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -57037,7 +56237,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -57086,7 +56286,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -57259,7 +56459,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -57312,7 +56512,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -58317,28 +57517,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -58363,7 +57541,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -58431,19 +57609,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -58498,32 +57670,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -58552,7 +57698,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -58624,22 +57770,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -58659,72 +57798,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -58843,16 +57916,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -58867,28 +57937,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -58946,19 +57994,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -59027,21 +58069,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -59058,32 +58097,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -59143,22 +58156,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -59257,6 +58262,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -59292,10 +58301,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -60090,6 +59099,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -60148,14 +59161,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -60250,6 +59264,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -60262,7 +59280,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -60443,6 +59490,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -60465,8 +59515,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -60513,6 +59563,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -60522,9 +59576,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -60574,6 +59628,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -60597,9 +59654,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -61340,7 +60398,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -61440,7 +60498,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -61570,7 +60628,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -61676,7 +60734,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -61797,7 +60855,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -61860,10 +60918,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -61900,7 +60955,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -61914,9 +60969,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -62027,7 +61081,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -62098,10 +61152,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -62136,7 +61187,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -62154,8 +61205,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -62428,6 +61479,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -62466,9 +61521,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: Union[Dict[Any, - Any], NoneType] = None, github_repo: Union[str, NoneType] = None, name: Union[str, - NoneType] = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] = + None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' definitions: @@ -62953,7 +62009,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -63002,7 +62058,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -63175,7 +62231,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -63228,7 +62284,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -64233,28 +63289,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -64279,7 +63313,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -64347,19 +63381,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -64414,32 +63442,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -64468,7 +63470,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -64540,22 +63542,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -64575,72 +63570,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -64759,16 +63688,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -64783,28 +63709,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -64862,19 +63766,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -64943,21 +63841,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -64974,32 +63869,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -65059,22 +63928,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -65169,6 +64030,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -65207,10 +64072,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -66005,6 +64870,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -66063,14 +64932,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -66165,6 +65035,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -66177,7 +65051,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -66358,6 +65261,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -66380,8 +65286,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -66428,6 +65334,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -66437,9 +65347,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -66489,6 +65399,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -66512,9 +65425,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -67255,7 +66169,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -67355,7 +66269,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -67485,7 +66399,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -67591,7 +66505,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -67712,7 +66626,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -67775,10 +66689,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -67815,7 +66726,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -67829,9 +66740,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -67942,7 +66852,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -68013,10 +66923,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -68051,7 +66958,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -68069,8 +66976,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -68295,6 +67202,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' git_provider_id: oneOf: - type: integer @@ -68318,9 +67229,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, - updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: Union[Dict[Any, - Any], NoneType] = None, github_repo: Union[str, NoneType] = None, name: Union[str, - NoneType] = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] = + None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' definitions: @@ -68805,7 +67717,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -68854,7 +67766,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -69027,7 +67939,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -69080,7 +67992,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -70085,28 +68997,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -70131,7 +69021,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -70199,19 +69089,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -70266,32 +69150,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -70320,7 +69178,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -70392,22 +69250,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -70427,72 +69278,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -70611,16 +69396,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -70635,28 +69417,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -70714,19 +69474,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -70795,21 +69549,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -70826,32 +69577,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -70911,22 +69636,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -71026,6 +69743,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' git_provider_id: oneOf: - type: integer @@ -71049,10 +69770,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -71847,6 +70568,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -71905,14 +70630,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -72007,6 +70733,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -72019,7 +70749,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' PostgresCredentials: type: object required: @@ -72200,6 +70959,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -72222,8 +70984,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -72270,6 +71032,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -72279,9 +71045,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -72331,6 +71097,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -72354,9 +71123,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -73097,7 +71867,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -73197,7 +71967,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -73327,7 +72097,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -73433,7 +72203,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -73554,7 +72324,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -73617,10 +72387,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -73657,7 +72424,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -73671,9 +72438,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -73784,7 +72550,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -73855,10 +72621,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -73893,7 +72656,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -73911,8 +72674,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -74060,6 +72823,533 @@ components: type: integer required: - code + SchemaTypeEnum: + type: string + enum: + - connection + - credential + - semantic_layer_credentials + SemanticLayerConfig: + type: object + required: + - account_id + - project_id + - environment_id + - semantic_layer_credentials_id + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the config is associated with + project_id: + type: integer + description: The project the config is associated with + environment_id: + type: integer + description: The environment to run Semantic Layer queries against + semantic_layer_credentials_id: + type: integer + description: The credentials to use when querying the Semantic Layer + state: + type: integer + default: 1 + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + semantic_layer_credentials: + oneOf: + - $ref: '#/definitions/SemanticLayerCredentials' + - type: 'null' + readOnly: true + additionalProperties: false + description: 'SemanticLayerConfig(id: Union[int, NoneType], account_id: int, + project_id: int, environment_id: int, semantic_layer_credentials_id: int, + state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, semantic_layer_credentials: Union[models.semantic_layer_credentials.SemanticLayerCredentials, + NoneType] = None)' + definitions: + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + type: string + enum: + - apache_spark_v0 + - databricks_spark_v0 + - databricks_v0 + - trino_v0 + - snowflake_v0 + - bigquery_v0 + - postgres_v0 + - redshift_v0 + - synapse_v0 + - fabric_v0 + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + type: string + enum: + - connection + - credential + - semantic_layer_credentials + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: + schemas.adapter.DbtAdapterSchemaType, values: Union[Dict[str, Union[str, + int, bool, models.encrypted_field.DataclassEncryptedField]], NoneType] + = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + DataclassEncryptedField: + type: object + required: [] + properties: + plaintext: + oneOf: + - type: string + - type: 'null' + ciphertext: + oneOf: + - type: string + - type: 'null' + additionalProperties: false + description: 'DataclassEncryptedField(plaintext: Union[str, NoneType] = + None, ciphertext: Union[str, NoneType] = None)' + $schema: http://json-schema.org/draft-07/schema# + SemanticLayerConfigEnveloped: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/SemanticLayerConfig' + status: + $ref: '#/components/schemas/Status' + required: + - data + - status + SemanticLayerConfigRequest: + type: object + required: + - account_id + - project_id + - environment_id + - semantic_layer_credentials_id + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the config is associated with + project_id: + type: integer + description: The project the config is associated with + environment_id: + type: integer + description: The environment to run Semantic Layer queries against + semantic_layer_credentials_id: + type: integer + description: The credentials to use when querying the Semantic Layer + state: + type: integer + default: 1 + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'SemanticLayerConfig(id: Union[int, NoneType], account_id: int, + project_id: int, environment_id: int, semantic_layer_credentials_id: int, + state: int = 1, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, semantic_layer_credentials: Union[models.semantic_layer_credentials.SemanticLayerCredentials, + NoneType] = None)' + definitions: + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + type: string + enum: + - apache_spark_v0 + - databricks_spark_v0 + - databricks_v0 + - trino_v0 + - snowflake_v0 + - bigquery_v0 + - postgres_v0 + - redshift_v0 + - synapse_v0 + - fabric_v0 + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + type: string + enum: + - connection + - credential + - semantic_layer_credentials + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: + schemas.adapter.DbtAdapterSchemaType, values: Union[Dict[str, Union[str, + int, bool, models.encrypted_field.DataclassEncryptedField]], NoneType] + = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + DataclassEncryptedField: + type: object + required: [] + properties: + plaintext: + oneOf: + - type: string + - type: 'null' + ciphertext: + oneOf: + - type: string + - type: 'null' + additionalProperties: false + description: 'DataclassEncryptedField(plaintext: Union[str, NoneType] = + None, ciphertext: Union[str, NoneType] = None)' + $schema: http://json-schema.org/draft-07/schema# + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + readOnly: true + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + readOnly: true + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: schemas.adapter.DbtAdapterSchemaType, + values: Union[Dict[str, Union[str, int, bool, models.encrypted_field.DataclassEncryptedField]], + NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + definitions: + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + readOnly: true + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + readOnly: true + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: + schemas.adapter.DbtAdapterSchemaType, values: Union[Dict[str, Union[str, + int, bool, models.encrypted_field.DataclassEncryptedField]], NoneType] + = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + DataclassEncryptedField: + type: object + required: [] + properties: + plaintext: + oneOf: + - type: string + - type: 'null' + ciphertext: + oneOf: + - type: string + - type: 'null' + additionalProperties: false + description: 'DataclassEncryptedField(plaintext: Union[str, NoneType] = + None, ciphertext: Union[str, NoneType] = None)' + $schema: http://json-schema.org/draft-07/schema# + SemanticLayerCredentialsEnveloped: + type: object + properties: + data: + type: array + items: + $ref: '#/components/schemas/SemanticLayerCredentials' + status: + $ref: '#/components/schemas/Status' + required: + - data + - status + SemanticLayerCredentialsRequest: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: schemas.adapter.DbtAdapterSchemaType, + values: Union[Dict[str, Union[str, int, bool, models.encrypted_field.DataclassEncryptedField]], + NoneType] = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + definitions: + SemanticLayerCredentials: + type: object + required: + - account_id + - adapter_version + - schema_type + properties: + id: + oneOf: + - type: integer + - type: 'null' + account_id: + type: integer + description: The account the credentials are associated with + adapter_version: + allOf: + - $ref: '#/components/schemas/AdapterVersionEnum' + description: The adapter version. Should match the associated project's + adapter version. + schema_type: + allOf: + - $ref: '#/components/schemas/SchemaTypeEnum' + description: The adapter schema type. Should always be 'semantic_layer_credentials' + values: + oneOf: + - type: object + additionalProperties: + oneOf: + - type: string + - type: integer + - type: boolean + - $ref: '#/definitions/DataclassEncryptedField' + - type: 'null' + description: Key/val pairs of creds values. When returned via API, encrypted + values will be excluded. + state: + type: integer + default: 1 + additionalProperties: false + description: 'SemanticLayerCredentials(id: Union[int, NoneType], account_id: + int, adapter_version: schemas.adapter.DbtAdapterVersion, schema_type: + schemas.adapter.DbtAdapterSchemaType, values: Union[Dict[str, Union[str, + int, bool, models.encrypted_field.DataclassEncryptedField]], NoneType] + = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: + Union[datetime.datetime, NoneType] = None, state: int = 1)' + DataclassEncryptedField: + type: object + required: [] + properties: + plaintext: + oneOf: + - type: string + - type: 'null' + ciphertext: + oneOf: + - type: string + - type: 'null' + additionalProperties: false + description: 'DataclassEncryptedField(plaintext: Union[str, NoneType] = + None, ciphertext: Union[str, NoneType] = None)' + $schema: http://json-schema.org/draft-07/schema# ServiceToken: type: object properties: @@ -74825,7 +74115,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -74874,7 +74164,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -75047,7 +74337,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -75100,7 +74390,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -76105,28 +75395,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -76151,7 +75419,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -76219,19 +75487,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -76286,32 +75548,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -76340,7 +75576,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -76412,22 +75648,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -76447,72 +75676,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -76631,16 +75794,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -76655,28 +75815,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -76734,19 +75872,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -76815,21 +75947,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -76846,32 +75975,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -76931,22 +76034,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -77045,6 +76140,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -77080,10 +76179,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -77878,6 +76977,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -77936,14 +77039,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -78038,6 +77142,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -78050,7 +77158,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' RedshiftCredentials: type: object required: @@ -78174,6 +77311,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -78196,8 +77336,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -78244,6 +77384,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -78253,9 +77397,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -78305,6 +77449,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -78328,9 +77475,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -79071,7 +78219,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -79171,7 +78319,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -79301,7 +78449,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -79407,7 +78555,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -79528,7 +78676,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -79591,10 +78739,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -79631,7 +78776,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -79645,9 +78790,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -79758,7 +78902,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -79829,10 +78973,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -79867,7 +79008,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -79885,8 +79026,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: @@ -80608,7 +79749,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -80657,7 +79798,7 @@ components: description='''', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name=TextField(metadata=TextFieldMetadata(label=''Kerberos - Service Name'', description='''', field_type=''text'', encrypt=False, + Service Name'', description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value='''')), field_order: List[str] = )' @@ -80830,7 +79971,7 @@ components: metadata: label: Kerberos Service Name description: '' - field_type: text + field_type: hidden encrypt: false depends_on: null overrideable: false @@ -80883,7 +80024,7 @@ components: validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''), kerberos_service_name: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Kerberos Service Name'', - description='''', field_type=''text'', encrypt=False, depends_on=None, + description='''', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''''))' TextField: @@ -81888,28 +81029,6 @@ components: required: false pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: metadata: label: Host @@ -81934,7 +81053,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: metadata: label: Database @@ -82002,19 +81121,13 @@ components: max_length=None, required=False, pattern=None)), value=''synapse''), driver=TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host=TextField(metadata=TextFieldMetadata(label=''Host'', + max_length=None, required=False, pattern=None)), value=''''), host=TextField(metadata=TextFieldMetadata(label=''Host'', description=''The hostname of the account to connect to.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database=TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', @@ -82069,32 +81182,6 @@ components: required: false pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true host: $ref: '#/definitions/TextField' default: @@ -82123,7 +81210,7 @@ components: overrideable: false validation: required: true - value: 1443 + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -82195,22 +81282,15 @@ components: = TextField(metadata=TextFieldMetadata(label=''Driver'', description=''The ODBC driver to use.'', field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=False, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), host: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Host'', - description=''The hostname of the account to connect to.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, + max_length=None, required=False, pattern=None)), value=''''), host: schemas.fields.TextField.TextField + = TextField(metadata=TextFieldMetadata(label=''Host'', description=''The + hostname of the account to connect to.'', field_type=''text'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The port to connect to for this connection.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), - value=1443), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The name of the database.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), retries: @@ -82230,72 +81310,6 @@ components: or uses the default system settings.'', field_type=''number'', encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), value=0))' - BooleanField: - type: object - required: - - metadata - properties: - metadata: - $ref: '#/definitions/BooleanFieldMetadata' - value: - type: boolean - default: true - additionalProperties: false - description: 'BooleanField(metadata: schemas.fields.BooleanField.BooleanFieldMetadata, - value: bool = True)' - BooleanFieldMetadata: - type: object - required: - - label - - description - properties: - label: - type: string - description: - type: string - field_type: - type: string - default: boolean - encrypt: - type: boolean - default: false - depends_on: - oneOf: - - type: object - additionalProperties: - oneOf: - - type: string - - type: array - items: - type: string - - type: 'null' - overrideable: - oneOf: - - type: boolean - - type: 'null' - default: false - validation: - $ref: '#/definitions/GenericBooleanValidation' - default: - required: false - additionalProperties: false - description: 'BooleanFieldMetadata(label: str, description: str, field_type: - str = ''boolean'', encrypt: bool = False, depends_on: Union[Dict[str, - Union[str, List[str]]], NoneType] = None, overrideable: Union[bool, NoneType] - = False, validation: schemas.fields.BooleanField.GenericBooleanValidation - = GenericBooleanValidation(required=False))' - GenericBooleanValidation: - type: object - required: [] - properties: - required: - oneOf: - - type: boolean - - type: 'null' - default: false - additionalProperties: false - description: 'GenericBooleanValidation(required: Union[bool, NoneType] = - False)' IntegerField: type: object required: @@ -82414,16 +81428,13 @@ components: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: metadata: label: Database @@ -82438,28 +81449,6 @@ components: required: true pattern: null value: '' - encrypt: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: metadata: label: Retries @@ -82517,19 +81506,13 @@ components: for SQL Server''), server=TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port=TextField(metadata=TextFieldMetadata(label=''Port'', - description=''The port to connect to for this connection.'', field_type=''text'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database=TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port=IntegerField(metadata=IntegerFieldMetadata(label=''Port'', + description=''The port to connect to for this connection.'', field_type=''number'', + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database=TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt=BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert=BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', + max_length=None, required=True, pattern=None)), value=''''), retries=IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.'', field_type=''number'', @@ -82598,21 +81581,18 @@ components: pattern: null value: '' port: - $ref: '#/definitions/TextField' + $ref: '#/definitions/IntegerField' default: metadata: label: Port description: The port to connect to for this connection. - field_type: text + field_type: number encrypt: false depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null - value: '1433' + value: 1433 database: $ref: '#/definitions/TextField' default: @@ -82629,32 +81609,6 @@ components: required: true pattern: null value: '' - encrypt: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Encrypt - description: Whether the use of encryption is enabled. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true - trust_cert: - $ref: '#/definitions/BooleanField' - default: - metadata: - label: Trust cert - description: Whether the server certificate should be trusted. - field_type: hidden - encrypt: false - depends_on: null - overrideable: false - validation: - required: false - value: true retries: $ref: '#/definitions/IntegerField' default: @@ -82714,22 +81668,14 @@ components: for SQL Server''), server: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Server'', description=''The server to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.TextField.TextField - = TextField(metadata=TextFieldMetadata(label=''Port'', description=''The - port to connect to for this connection.'', field_type=''text'', encrypt=False, - depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''1433''), database: - schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', + max_length=None, required=True, pattern=None)), value=''''), port: schemas.fields.IntegerField.IntegerField + = IntegerField(metadata=IntegerFieldMetadata(label=''Port'', description=''The + port to connect to for this connection.'', field_type=''number'', encrypt=False, + depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=1433), database: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Database'', description=''The database to connect to for this connection.'', field_type=''text'', encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=''''), encrypt: - schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Encrypt'', - description=''Whether the use of encryption is enabled.'', field_type=''hidden'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericBooleanValidation(required=False)), - value=True), trust_cert: schemas.fields.BooleanField.BooleanField = BooleanField(metadata=BooleanFieldMetadata(label=''Trust - cert'', description=''Whether the server certificate should be trusted.'', - field_type=''hidden'', encrypt=False, depends_on=None, overrideable=False, - validation=GenericBooleanValidation(required=False)), value=True), retries: + max_length=None, required=True, pattern=None)), value=''''), retries: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Retries'', description=''The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting @@ -82828,6 +81774,10 @@ components: - type: string format: date-time - type: 'null' + private_link_endpoint_id: + oneOf: + - type: string + - type: 'null' deploy_key: oneOf: - type: object @@ -82863,10 +81813,10 @@ components: Union[str, NoneType] = None, _github_webhook_secret: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, pull_request_url_template: Union[PullRequestUrl, NoneType] = None, state: int = 1, created_at: Union[datetime.datetime, NoneType] - = None, updated_at: Union[datetime.datetime, NoneType] = None, deploy_key: - Union[Dict[Any, Any], NoneType] = None, github_repo: Union[str, NoneType] - = None, name: Union[str, NoneType] = None, git_provider_id: Union[int, - NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, + = None, updated_at: Union[datetime.datetime, NoneType] = None, private_link_endpoint_id: + Union[str, NoneType] = None, deploy_key: Union[Dict[Any, Any], NoneType] + = None, github_repo: Union[str, NoneType] = None, name: Union[str, NoneType] + = None, git_provider_id: Union[int, NoneType] = None, gitlab: Union[models.repository_gitlab.RepositoryGitlab, NoneType] = None, git_provider: Union[models.git_provider.GitProvider, NoneType] = None)' RepositoryGitlab: @@ -83661,6 +82611,10 @@ components: oneOf: - type: integer - type: 'null' + non_native_pull_request_id: + oneOf: + - type: integer + - type: 'null' schema_override: oneOf: - type: string @@ -83719,14 +82673,15 @@ components: int, git_branch: Union[str, NoneType] = None, git_sha: Union[str, NoneType] = None, azure_pull_request_id: Union[int, NoneType] = None, github_pull_request_id: Union[int, NoneType] = None, gitlab_merge_request_id: Union[int, NoneType] - = None, schema_override: Union[str, NoneType] = None, dbt_version_override: - Union[str, NoneType] = None, threads_override: Union[int, NoneType] = - None, target_name_override: Union[str, NoneType] = None, generate_docs_override: - Union[bool, NoneType] = None, timeout_seconds_override: Union[int, NoneType] - = None, steps_override: Union[List[str], NoneType] = None, created_at: - Union[datetime.datetime, NoneType] = None, cause_humanized: Union[str, - NoneType] = None, job: Union[Dict[str, Any], NoneType] = None, cause_category: - Union[common.constants.RunCauseCategory, NoneType] = None)' + = None, non_native_pull_request_id: Union[int, NoneType] = None, schema_override: + Union[str, NoneType] = None, dbt_version_override: Union[str, NoneType] + = None, threads_override: Union[int, NoneType] = None, target_name_override: + Union[str, NoneType] = None, generate_docs_override: Union[bool, NoneType] + = None, timeout_seconds_override: Union[int, NoneType] = None, steps_override: + Union[List[str], NoneType] = None, created_at: Union[datetime.datetime, + NoneType] = None, cause_humanized: Union[str, NoneType] = None, job: Union[Dict[str, + Any], NoneType] = None, cause_category: Union[common.constants.RunCauseCategory, + NoneType] = None)' RunStep: type: object required: @@ -83821,6 +82776,10 @@ components: oneOf: - type: string - type: 'null' + run_step_command: + oneOf: + - $ref: '#/definitions/RunStepCommand' + - type: 'null' additionalProperties: false description: 'RunStep(id: Union[int, NoneType], run_id: int, account_id: int, index: int, status: int, name: str, logs: Union[str, NoneType] = @@ -83833,7 +82792,36 @@ components: Union[datetime.datetime, NoneType] = None, finished_at: Union[datetime.datetime, NoneType] = None, status_color: Union[str, NoneType] = None, status_humanized: Union[str, NoneType] = None, duration: Union[str, NoneType] = None, duration_humanized: - Union[str, NoneType] = None)' + Union[str, NoneType] = None, run_step_command: ''Optional[RunStepCommand]'' + = None)' + RunStepCommand: + type: object + required: + - run_step_id + - dbt_command + properties: + id: + oneOf: + - type: integer + - type: 'null' + run_step_id: + type: integer + dbt_command: + type: string + created_at: + oneOf: + - type: string + format: date-time + - type: 'null' + updated_at: + oneOf: + - type: string + format: date-time + - type: 'null' + additionalProperties: false + description: 'RunStepCommand(id: Union[int, NoneType], run_step_id: int, + dbt_command: str, created_at: Union[datetime.datetime, NoneType] = None, + updated_at: Union[datetime.datetime, NoneType] = None)' RedshiftCredentials: type: object required: @@ -83957,6 +82945,9 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + type: boolean + default: false created_at: oneOf: - type: string @@ -83979,8 +82970,8 @@ components: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, private_key_passphrase: Union[str, NoneType] = None, _private_key_passphrase: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, - created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None)' + is_configured_for_oauth: bool = False, created_at: Union[datetime.datetime, + NoneType] = None, updated_at: Union[datetime.datetime, NoneType] = None)' BigqueryCredentials: type: object required: @@ -84027,6 +83018,10 @@ components: oneOf: - type: string - type: 'null' + is_configured_for_oauth: + oneOf: + - type: boolean + - type: 'null' has_refresh_token: oneOf: - type: boolean @@ -84036,9 +83031,9 @@ components: int, project_id: Union[int, NoneType], type: models.connection.common.ConnectionType, state: int, threads: int, schema: str, target_name: str = ''default'', created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, - NoneType] = None, username: Union[str, NoneType] = None, _refresh_token: - Union[str, NoneType] = None, has_refresh_token: Union[bool, NoneType] - = None)' + NoneType] = None, username: Union[str, NoneType] = None, is_configured_for_oauth: + Union[bool, NoneType] = None, _refresh_token: Union[str, NoneType] = None, + has_refresh_token: Union[bool, NoneType] = None)' DbtAdapterCredentials: type: object required: @@ -84088,6 +83083,9 @@ components: target_name: type: string default: default + is_configured_for_oauth: + type: boolean + default: false adapter: oneOf: - $ref: '#/definitions/DbtAdapter' @@ -84111,9 +83109,10 @@ components: schemas.adapters.fabric.credentials_schema.FabricCredentialsSchema, NoneType] = None, _credential_details: Union[models.encrypted_field.DataclassEncryptedField, NoneType] = None, unencrypted_credential_details: Union[Dict[str, Union[str, - int]], NoneType] = None, target_name: str = ''default'', adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' - = None, created_at: Union[datetime.datetime, NoneType] = None, updated_at: - Union[datetime.datetime, NoneType] = None)' + int]], NoneType] = None, target_name: str = ''default'', is_configured_for_oauth: + bool = False, adapter: ''Optional[models.dbt_adapter.DbtAdapter]'' = None, + created_at: Union[datetime.datetime, NoneType] = None, updated_at: Union[datetime.datetime, + NoneType] = None)' BaseSparkAdapterCredentialsSchema: type: object required: [] @@ -84854,7 +83853,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -84954,7 +83953,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization=TextField(metadata=TextFieldMetadata(label=''Schema authorization'', description=''Optionally set this to the principal who @@ -85084,7 +84083,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -85190,7 +84189,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema_authorization: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema @@ -85311,7 +84310,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -85374,10 +84373,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 field_order: oneOf: @@ -85414,7 +84410,7 @@ components: max_length=None, required=True, pattern=None)), value=''''), client_secret=TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema=TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s schema.", field_type=''text'', encrypt=False, depends_on=None, @@ -85428,9 +84424,8 @@ components: overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=False, pattern=None)), value=''default''), threads=IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6)), field_order: - Union[List[str], NoneType] = None)' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6)), field_order: Union[List[str], NoneType] = None)' FabricCredentialsFields: type: object required: [] @@ -85541,7 +84536,7 @@ components: principal. This is only used when connecting to Azure SQL with an AAD service principal. field_type: text - encrypt: false + encrypt: true depends_on: authentication: - ServicePrincipal @@ -85612,10 +84607,7 @@ components: depends_on: null overrideable: false validation: - min_length: null - max_length: null required: true - pattern: null value: 6 additionalProperties: false description: 'FabricCredentialsFields(authentication: schemas.fields.SelectField.SelectField @@ -85650,7 +84642,7 @@ components: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Client secret'', description=''The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with - an AAD service principal.'', field_type=''text'', encrypt=False, depends_on={''authentication'': + an AAD service principal.'', field_type=''text'', encrypt=True, depends_on={''authentication'': [''ServicePrincipal'']}, overrideable=False, validation=GenericTextValidation(min_length=None, max_length=None, required=True, pattern=None)), value=''''), schema: schemas.fields.TextField.TextField = TextField(metadata=TextFieldMetadata(label=''Schema'', description="User''s @@ -85668,8 +84660,8 @@ components: max_length=None, required=False, pattern=None)), value=''default''), threads: schemas.fields.IntegerField.IntegerField = IntegerField(metadata=IntegerFieldMetadata(label=''Threads'', description=''The number of threads to use for dbt operations.'', field_type=''number'', - encrypt=False, depends_on=None, overrideable=False, validation=GenericTextValidation(min_length=None, - max_length=None, required=True, pattern=None)), value=6))' + encrypt=False, depends_on=None, overrideable=False, validation=GenericIntegerValidation(required=True)), + value=6))' DbtAdapter: type: object required: