Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Connector Builder] upgrade orval and use connector manifest schema directly #20166

Merged
merged 4 commits into from
Dec 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.add_fields_all_of import AddFieldsAllOf
from connector_builder.generated.models.added_field_definition import AddedFieldDefinition
from connector_builder.generated.models.parsed_add_field_definition import ParsedAddFieldDefinition


class AddFields(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

AddFields - a model defined in OpenAPI

fields: The fields of this AddFields.
parsed_fields: The parsed_fields of this AddFields [Optional].
"""

fields: List[AddedFieldDefinition]
parsed_fields: Optional[List[ParsedAddFieldDefinition]] = None

AddFields.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.added_field_definition import AddedFieldDefinition
from connector_builder.generated.models.parsed_add_field_definition import ParsedAddFieldDefinition


class AddFieldsAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

AddFieldsAllOf - a model defined in OpenAPI

fields: The fields of this AddFieldsAllOf.
parsed_fields: The parsed_fields of this AddFieldsAllOf [Optional].
"""

fields: List[AddedFieldDefinition]
parsed_fields: Optional[List[ParsedAddFieldDefinition]] = None

AddFieldsAllOf.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring


class AddedFieldDefinition(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

AddedFieldDefinition - a model defined in OpenAPI

path: The path of this AddedFieldDefinition.
value: The value of this AddedFieldDefinition.
"""

path: List[str]
value: AnyOfInterpolatedStringstring

AddedFieldDefinition.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring
from connector_builder.generated.models.api_key_authenticator_all_of import ApiKeyAuthenticatorAllOf


class ApiKeyAuthenticator(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

ApiKeyAuthenticator - a model defined in OpenAPI

header: The header of this ApiKeyAuthenticator.
api_token: The api_token of this ApiKeyAuthenticator.
config: The config of this ApiKeyAuthenticator.
"""

header: AnyOfInterpolatedStringstring
api_token: AnyOfInterpolatedStringstring
config: Dict[str, Any]

ApiKeyAuthenticator.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring


class ApiKeyAuthenticatorAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

ApiKeyAuthenticatorAllOf - a model defined in OpenAPI

header: The header of this ApiKeyAuthenticatorAllOf.
api_token: The api_token of this ApiKeyAuthenticatorAllOf.
config: The config of this ApiKeyAuthenticatorAllOf.
"""

header: AnyOfInterpolatedStringstring
api_token: AnyOfInterpolatedStringstring
config: Dict[str, Any]

ApiKeyAuthenticatorAllOf.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring
from connector_builder.generated.models.basic_http_authenticator_all_of import BasicHttpAuthenticatorAllOf


class BasicHttpAuthenticator(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

BasicHttpAuthenticator - a model defined in OpenAPI

username: The username of this BasicHttpAuthenticator.
config: The config of this BasicHttpAuthenticator.
password: The password of this BasicHttpAuthenticator [Optional].
"""

username: AnyOfInterpolatedStringstring
config: Dict[str, Any]
password: Optional[AnyOfInterpolatedStringstring] = None

BasicHttpAuthenticator.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring


class BasicHttpAuthenticatorAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

BasicHttpAuthenticatorAllOf - a model defined in OpenAPI

username: The username of this BasicHttpAuthenticatorAllOf.
config: The config of this BasicHttpAuthenticatorAllOf.
password: The password of this BasicHttpAuthenticatorAllOf [Optional].
"""

username: AnyOfInterpolatedStringstring
config: Dict[str, Any]
password: Optional[AnyOfInterpolatedStringstring] = None

BasicHttpAuthenticatorAllOf.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring
from connector_builder.generated.models.bearer_authenticator_all_of import BearerAuthenticatorAllOf


class BearerAuthenticator(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

BearerAuthenticator - a model defined in OpenAPI

api_token: The api_token of this BearerAuthenticator.
config: The config of this BearerAuthenticator.
"""

api_token: AnyOfInterpolatedStringstring
config: Dict[str, Any]

BearerAuthenticator.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_interpolated_stringstring import AnyOfInterpolatedStringstring


class BearerAuthenticatorAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

BearerAuthenticatorAllOf - a model defined in OpenAPI

api_token: The api_token of this BearerAuthenticatorAllOf.
config: The config of this BearerAuthenticatorAllOf.
"""

api_token: AnyOfInterpolatedStringstring
config: Dict[str, Any]

BearerAuthenticatorAllOf.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_cartesian_product_stream_slicer_datetime_stream_slicer_list_stream_slicer_single_slice_substream_slicer import AnyOfCartesianProductStreamSlicerDatetimeStreamSlicerListStreamSlicerSingleSliceSubstreamSlicer
from connector_builder.generated.models.cartesian_product_stream_slicer_all_of import CartesianProductStreamSlicerAllOf
from connector_builder.generated.models.stream_slicer import StreamSlicer


class CartesianProductStreamSlicer(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

CartesianProductStreamSlicer - a model defined in OpenAPI

stream_slicers: The stream_slicers of this CartesianProductStreamSlicer.
"""

stream_slicers: List[AnyOfCartesianProductStreamSlicerDatetimeStreamSlicerListStreamSlicerSingleSliceSubstreamSlicer]

CartesianProductStreamSlicer.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_cartesian_product_stream_slicer_datetime_stream_slicer_list_stream_slicer_single_slice_substream_slicer import AnyOfCartesianProductStreamSlicerDatetimeStreamSlicerListStreamSlicerSingleSliceSubstreamSlicer


class CartesianProductStreamSlicerAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

CartesianProductStreamSlicerAllOf - a model defined in OpenAPI

stream_slicers: The stream_slicers of this CartesianProductStreamSlicerAllOf.
"""

stream_slicers: List[AnyOfCartesianProductStreamSlicerDatetimeStreamSlicerListStreamSlicerSingleSliceSubstreamSlicer]

CartesianProductStreamSlicerAllOf.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401


class CheckStream(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

CheckStream - a model defined in OpenAPI

stream_names: The stream_names of this CheckStream.
"""

stream_names: List[str]

CheckStream.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_composite_error_handler_default_error_handler import AnyOfCompositeErrorHandlerDefaultErrorHandler
from connector_builder.generated.models.composite_error_handler_all_of import CompositeErrorHandlerAllOf


class CompositeErrorHandler(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

CompositeErrorHandler - a model defined in OpenAPI

error_handlers: The error_handlers of this CompositeErrorHandler.
"""

error_handlers: List[AnyOfCompositeErrorHandlerDefaultErrorHandler]

CompositeErrorHandler.update_forward_refs()
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# coding: utf-8

from __future__ import annotations
from datetime import date, datetime # noqa: F401

import re # noqa: F401
from typing import Any, Dict, List, Optional # noqa: F401

from pydantic import AnyUrl, BaseModel, EmailStr, validator # noqa: F401
from connector_builder.generated.models.any_of_composite_error_handler_default_error_handler import AnyOfCompositeErrorHandlerDefaultErrorHandler


class CompositeErrorHandlerAllOf(BaseModel):
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

Do not edit the class manually.

CompositeErrorHandlerAllOf - a model defined in OpenAPI

error_handlers: The error_handlers of this CompositeErrorHandlerAllOf.
"""

error_handlers: List[AnyOfCompositeErrorHandlerDefaultErrorHandler]

CompositeErrorHandlerAllOf.update_forward_refs()
Loading