airbyte-cdk 6.11.0__py3-none-any.whl → 6.11.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2130,65 +2130,61 @@ definitions:
2130
2130
  - extract_output
2131
2131
  properties:
2132
2132
  consent_url:
2133
- title: DeclarativeOAuth Consent URL
2133
+ title: Consent URL
2134
2134
  type: string
2135
2135
  description: |-
2136
2136
  The DeclarativeOAuth Specific string URL string template to initiate the authentication.
2137
2137
  The placeholders are replaced during the processing to provide neccessary values.
2138
2138
  examples:
2139
- - consent_url: https://domain.host.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}
2140
- - consent_url: https://endpoint.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}
2139
+ - https://domain.host.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}
2140
+ - https://endpoint.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}
2141
2141
  scope:
2142
- title: (Optional) DeclarativeOAuth Scope
2142
+ title: Scopes
2143
2143
  type: string
2144
2144
  description: |-
2145
2145
  The DeclarativeOAuth Specific string of the scopes needed to be grant for authenticated user.
2146
2146
  examples:
2147
- - scope: user:read user:read_orders workspaces:read
2147
+ - user:read user:read_orders workspaces:read
2148
2148
  access_token_url:
2149
- title: DeclarativeOAuth Access Token URL
2149
+ title: Access Token URL
2150
2150
  type: string
2151
2151
  description: |-
2152
2152
  The DeclarativeOAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.
2153
2153
  The placeholders are replaced during the processing to provide neccessary values.
2154
2154
  examples:
2155
- - access_token_url: https://auth.host.com/oauth2/token?{client_id_key}={{client_id_key}}&{client_secret_key}={{client_secret_key}}&{auth_code_key}={{auth_code_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}
2155
+ - https://auth.host.com/oauth2/token?{client_id_key}={{client_id_key}}&{client_secret_key}={{client_secret_key}}&{auth_code_key}={{auth_code_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}
2156
2156
  access_token_headers:
2157
- title: (Optional) DeclarativeOAuth Access Token Headers
2157
+ title: Access Token Headers
2158
2158
  type: object
2159
2159
  additionalProperties: true
2160
2160
  description: |-
2161
2161
  The DeclarativeOAuth Specific optional headers to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
2162
2162
  examples:
2163
- - access_token_headers:
2164
- {
2165
- "Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}",
2166
- }
2163
+ - {"Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"}
2167
2164
  access_token_params:
2168
- title: (Optional) DeclarativeOAuth Access Token Query Params (Json Encoded)
2165
+ title: Access Token Query Params (Json Encoded)
2169
2166
  type: object
2170
2167
  additionalProperties: true
2171
2168
  description: |-
2172
2169
  The DeclarativeOAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.
2173
2170
  When this property is provided, the query params will be encoded as `Json` and included in the outgoing API request.
2174
2171
  examples:
2175
- - access_token_params:
2176
- {
2177
- "{auth_code_key}": "{{auth_code_key}}",
2178
- "{client_id_key}": "{{client_id_key}}",
2179
- "{client_secret_key}": "{{client_secret_key}}",
2180
- }
2172
+ - {
2173
+ "{auth_code_key}": "{{auth_code_key}}",
2174
+ "{client_id_key}": "{{client_id_key}}",
2175
+ "{client_secret_key}": "{{client_secret_key}}",
2176
+ }
2181
2177
  extract_output:
2182
- title: DeclarativeOAuth Extract Output
2178
+ title: Extract Output
2183
2179
  type: array
2184
2180
  items:
2185
2181
  type: string
2186
2182
  description: |-
2187
2183
  The DeclarativeOAuth Specific list of strings to indicate which keys should be extracted and returned back to the input config.
2188
2184
  examples:
2189
- - extract_output: ["access_token", "refresh_token", "other_field"]
2185
+ - ["access_token", "refresh_token", "other_field"]
2190
2186
  state:
2191
- title: (Optional) DeclarativeOAuth Configurable State Query Param
2187
+ title: Configurable State Query Param
2192
2188
  type: object
2193
2189
  additionalProperties: true
2194
2190
  required:
@@ -2203,49 +2199,49 @@ definitions:
2203
2199
  max:
2204
2200
  type: integer
2205
2201
  examples:
2206
- - state: { "min": 7, "max": 128 }
2202
+ - { "min": 7, "max": 128 }
2207
2203
  client_id_key:
2208
- title: (Optional) DeclarativeOAuth Client ID Key Override
2204
+ title: Client ID Key Override
2209
2205
  type: string
2210
2206
  description: |-
2211
2207
  The DeclarativeOAuth Specific optional override to provide the custom `client_id` key name, if required by data-provider.
2212
2208
  examples:
2213
- - client_id_key: "my_custom_client_id_key_name"
2209
+ - "my_custom_client_id_key_name"
2214
2210
  client_secret_key:
2215
- title: (Optional) DeclarativeOAuth Client Secret Key Override
2211
+ title: Client Secret Key Override
2216
2212
  type: string
2217
2213
  description: |-
2218
2214
  The DeclarativeOAuth Specific optional override to provide the custom `client_secret` key name, if required by data-provider.
2219
2215
  examples:
2220
- - client_secret_key: "my_custom_client_secret_key_name"
2216
+ - "my_custom_client_secret_key_name"
2221
2217
  scope_key:
2222
- title: (Optional) DeclarativeOAuth Scope Key Override
2218
+ title: Scopes Key Override
2223
2219
  type: string
2224
2220
  description: |-
2225
2221
  The DeclarativeOAuth Specific optional override to provide the custom `scope` key name, if required by data-provider.
2226
2222
  examples:
2227
- - scope_key: "my_custom_scope_key_key_name"
2223
+ - "my_custom_scope_key_key_name"
2228
2224
  state_key:
2229
- title: (Optional) DeclarativeOAuth State Key Override
2225
+ title: State Key Override
2230
2226
  type: string
2231
2227
  description: |-
2232
2228
  The DeclarativeOAuth Specific optional override to provide the custom `state` key name, if required by data-provider.
2233
2229
  examples:
2234
- - state_key: "my_custom_state_key_key_name"
2230
+ - "my_custom_state_key_key_name"
2235
2231
  auth_code_key:
2236
- title: (Optional) DeclarativeOAuth Auth Code Key Override
2232
+ title: Auth Code Key Override
2237
2233
  type: string
2238
2234
  description: |-
2239
2235
  The DeclarativeOAuth Specific optional override to provide the custom `code` key name to something like `auth_code` or `custom_auth_code`, if required by data-provider.
2240
2236
  examples:
2241
- - auth_code_key: "my_custom_auth_code_key_name"
2237
+ - "my_custom_auth_code_key_name"
2242
2238
  redirect_uri_key:
2243
- title: (Optional) DeclarativeOAuth Redirect URI Key Override
2239
+ title: Redirect URI Key Override
2244
2240
  type: string
2245
2241
  description: |-
2246
2242
  The DeclarativeOAuth Specific optional override to provide the custom `redirect_uri` key name to something like `callback_uri`, if required by data-provider.
2247
2243
  examples:
2248
- - redirect_uri_key: "my_custom_redirect_uri_key_name"
2244
+ - "my_custom_redirect_uri_key_name"
2249
2245
  complete_oauth_output_specification:
2250
2246
  title: "OAuth output specification"
2251
2247
  description: |-
@@ -795,104 +795,90 @@ class OauthConnectorInputSpecification(BaseModel):
795
795
  ...,
796
796
  description="The DeclarativeOAuth Specific string URL string template to initiate the authentication.\nThe placeholders are replaced during the processing to provide neccessary values.",
797
797
  examples=[
798
- {
799
- "consent_url": "https://domain.host.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}"
800
- },
801
- {
802
- "consent_url": "https://endpoint.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}"
803
- },
798
+ "https://domain.host.com/marketing_api/auth?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{state_key}={{state_key}}",
799
+ "https://endpoint.host.com/oauth2/authorize?{client_id_key}={{client_id_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}&{scope_key}={urlEncoder:{{scope_key}}}&{state_key}={{state_key}}&subdomain={subdomain}",
804
800
  ],
805
- title="DeclarativeOAuth Consent URL",
801
+ title="Consent URL",
806
802
  )
807
803
  scope: Optional[str] = Field(
808
804
  None,
809
805
  description="The DeclarativeOAuth Specific string of the scopes needed to be grant for authenticated user.",
810
- examples=[{"scope": "user:read user:read_orders workspaces:read"}],
811
- title="(Optional) DeclarativeOAuth Scope",
806
+ examples=["user:read user:read_orders workspaces:read"],
807
+ title="Scopes",
812
808
  )
813
809
  access_token_url: str = Field(
814
810
  ...,
815
811
  description="The DeclarativeOAuth Specific URL templated string to obtain the `access_token`, `refresh_token` etc.\nThe placeholders are replaced during the processing to provide neccessary values.",
816
812
  examples=[
817
- {
818
- "access_token_url": "https://auth.host.com/oauth2/token?{client_id_key}={{client_id_key}}&{client_secret_key}={{client_secret_key}}&{auth_code_key}={{auth_code_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}"
819
- }
813
+ "https://auth.host.com/oauth2/token?{client_id_key}={{client_id_key}}&{client_secret_key}={{client_secret_key}}&{auth_code_key}={{auth_code_key}}&{redirect_uri_key}={urlEncoder:{{redirect_uri_key}}}"
820
814
  ],
821
- title="DeclarativeOAuth Access Token URL",
815
+ title="Access Token URL",
822
816
  )
823
817
  access_token_headers: Optional[Dict[str, Any]] = Field(
824
818
  None,
825
819
  description="The DeclarativeOAuth Specific optional headers to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.",
826
- examples=[
827
- {
828
- "access_token_headers": {
829
- "Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"
830
- }
831
- }
832
- ],
833
- title="(Optional) DeclarativeOAuth Access Token Headers",
820
+ examples=[{"Authorization": "Basic {base64Encoder:{client_id}:{client_secret}}"}],
821
+ title="Access Token Headers",
834
822
  )
835
823
  access_token_params: Optional[Dict[str, Any]] = Field(
836
824
  None,
837
825
  description="The DeclarativeOAuth Specific optional query parameters to inject while exchanging the `auth_code` to `access_token` during `completeOAuthFlow` step.\nWhen this property is provided, the query params will be encoded as `Json` and included in the outgoing API request.",
838
826
  examples=[
839
827
  {
840
- "access_token_params": {
841
- "{auth_code_key}": "{{auth_code_key}}",
842
- "{client_id_key}": "{{client_id_key}}",
843
- "{client_secret_key}": "{{client_secret_key}}",
844
- }
828
+ "{auth_code_key}": "{{auth_code_key}}",
829
+ "{client_id_key}": "{{client_id_key}}",
830
+ "{client_secret_key}": "{{client_secret_key}}",
845
831
  }
846
832
  ],
847
- title="(Optional) DeclarativeOAuth Access Token Query Params (Json Encoded)",
833
+ title="Access Token Query Params (Json Encoded)",
848
834
  )
849
835
  extract_output: List[str] = Field(
850
836
  ...,
851
837
  description="The DeclarativeOAuth Specific list of strings to indicate which keys should be extracted and returned back to the input config.",
852
- examples=[{"extract_output": ["access_token", "refresh_token", "other_field"]}],
853
- title="DeclarativeOAuth Extract Output",
838
+ examples=[["access_token", "refresh_token", "other_field"]],
839
+ title="Extract Output",
854
840
  )
855
841
  state: Optional[State] = Field(
856
842
  None,
857
843
  description="The DeclarativeOAuth Specific object to provide the criteria of how the `state` query param should be constructed,\nincluding length and complexity.",
858
- examples=[{"state": {"min": 7, "max": 128}}],
859
- title="(Optional) DeclarativeOAuth Configurable State Query Param",
844
+ examples=[{"min": 7, "max": 128}],
845
+ title="Configurable State Query Param",
860
846
  )
861
847
  client_id_key: Optional[str] = Field(
862
848
  None,
863
849
  description="The DeclarativeOAuth Specific optional override to provide the custom `client_id` key name, if required by data-provider.",
864
- examples=[{"client_id_key": "my_custom_client_id_key_name"}],
865
- title="(Optional) DeclarativeOAuth Client ID Key Override",
850
+ examples=["my_custom_client_id_key_name"],
851
+ title="Client ID Key Override",
866
852
  )
867
853
  client_secret_key: Optional[str] = Field(
868
854
  None,
869
855
  description="The DeclarativeOAuth Specific optional override to provide the custom `client_secret` key name, if required by data-provider.",
870
- examples=[{"client_secret_key": "my_custom_client_secret_key_name"}],
871
- title="(Optional) DeclarativeOAuth Client Secret Key Override",
856
+ examples=["my_custom_client_secret_key_name"],
857
+ title="Client Secret Key Override",
872
858
  )
873
859
  scope_key: Optional[str] = Field(
874
860
  None,
875
861
  description="The DeclarativeOAuth Specific optional override to provide the custom `scope` key name, if required by data-provider.",
876
- examples=[{"scope_key": "my_custom_scope_key_key_name"}],
877
- title="(Optional) DeclarativeOAuth Scope Key Override",
862
+ examples=["my_custom_scope_key_key_name"],
863
+ title="Scopes Key Override",
878
864
  )
879
865
  state_key: Optional[str] = Field(
880
866
  None,
881
867
  description="The DeclarativeOAuth Specific optional override to provide the custom `state` key name, if required by data-provider.",
882
- examples=[{"state_key": "my_custom_state_key_key_name"}],
883
- title="(Optional) DeclarativeOAuth State Key Override",
868
+ examples=["my_custom_state_key_key_name"],
869
+ title="State Key Override",
884
870
  )
885
871
  auth_code_key: Optional[str] = Field(
886
872
  None,
887
873
  description="The DeclarativeOAuth Specific optional override to provide the custom `code` key name to something like `auth_code` or `custom_auth_code`, if required by data-provider.",
888
- examples=[{"auth_code_key": "my_custom_auth_code_key_name"}],
889
- title="(Optional) DeclarativeOAuth Auth Code Key Override",
874
+ examples=["my_custom_auth_code_key_name"],
875
+ title="Auth Code Key Override",
890
876
  )
891
877
  redirect_uri_key: Optional[str] = Field(
892
878
  None,
893
879
  description="The DeclarativeOAuth Specific optional override to provide the custom `redirect_uri` key name to something like `callback_uri`, if required by data-provider.",
894
- examples=[{"redirect_uri_key": "my_custom_redirect_uri_key_name"}],
895
- title="(Optional) DeclarativeOAuth Redirect URI Key Override",
880
+ examples=["my_custom_redirect_uri_key_name"],
881
+ title="Redirect URI Key Override",
896
882
  )
897
883
 
898
884
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.11.0
3
+ Version: 6.11.1
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -66,7 +66,7 @@ airbyte_cdk/sources/declarative/concurrent_declarative_source.py,sha256=PxP4p268
66
66
  airbyte_cdk/sources/declarative/datetime/__init__.py,sha256=l9LG7Qm6e5r_qgqfVKnx3mXYtg1I9MmMjomVIPfU4XA,177
67
67
  airbyte_cdk/sources/declarative/datetime/datetime_parser.py,sha256=SX9JjdesN1edN2WVUVMzU_ptqp2QB1OnsnjZ4mwcX7w,2579
68
68
  airbyte_cdk/sources/declarative/datetime/min_max_datetime.py,sha256=0BHBtDNQZfvwM45-tY5pNlTcKAFSGGNxemoi0Jic-0E,5785
69
- airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=bmuzrO0q4yeRXXkAMAFdzgtDx2gF8-k8ERq2MqVMgq4,128593
69
+ airbyte_cdk/sources/declarative/declarative_component_schema.yaml,sha256=9DYx7lQ2r4rlHcWG-ClA27NZ1mzjHQyh4ZHSe5wErI8,127973
70
70
  airbyte_cdk/sources/declarative/declarative_source.py,sha256=nF7wBqFd3AQmEKAm4CnIo29CJoQL562cJGSCeL8U8bA,1531
71
71
  airbyte_cdk/sources/declarative/declarative_stream.py,sha256=JRyNeOIpsFu4ztVZsN6sncqUEIqIE-bUkD2TPgbMgk0,10375
72
72
  airbyte_cdk/sources/declarative/decoders/__init__.py,sha256=hNlhaB5FjNC6IfJyglj5ZJWkYD2nEAukMDmzRz5PC6o,671
@@ -104,7 +104,7 @@ airbyte_cdk/sources/declarative/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW
104
104
  airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py,sha256=iemy3fKLczcU0-Aor7tx5jcT6DRedKMqyK7kCOp01hg,3924
105
105
  airbyte_cdk/sources/declarative/migrations/state_migration.py,sha256=KWPjealMLKSMtajXgkdGgKg7EmTLR-CqqD7UIh0-eDU,794
106
106
  airbyte_cdk/sources/declarative/models/__init__.py,sha256=nUFxNCiKeYRVXuZEKA7GD-lTHxsiKcQ8FitZjKhPIvE,100
107
- airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=-XTzt8EY23Qel7KZINQIbQOoBWqdiK6am-p7A615AI0,90753
107
+ airbyte_cdk/sources/declarative/models/declarative_component_schema.py,sha256=2T6-9R5O9jMTjL7w1jwjy8SDzJnkrdPl2MsWnKN6GQg,89936
108
108
  airbyte_cdk/sources/declarative/parsers/__init__.py,sha256=ZnqYNxHsKCgO38IwB34RQyRMXTs4GTvlRi3ImKnIioo,61
109
109
  airbyte_cdk/sources/declarative/parsers/custom_exceptions.py,sha256=Rir9_z3Kcd5Es0-LChrzk-0qubAsiK_RSEnLmK2OXm8,553
110
110
  airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py,sha256=CXwTfD3wSQq3okcqwigpprbHhSURUokh4GK2OmOyKC8,9132
@@ -336,8 +336,8 @@ airbyte_cdk/utils/slice_hasher.py,sha256=-pHexlNYoWYPnXNH-M7HEbjmeJe9Zk7SJijdQ7d
336
336
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
337
337
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
338
338
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
339
- airbyte_cdk-6.11.0.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
340
- airbyte_cdk-6.11.0.dist-info/METADATA,sha256=S3t70lGuk6FXmjQiFBtjcSdC_y4Ctzq2LIB8Nqgv_Lk,5950
341
- airbyte_cdk-6.11.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
342
- airbyte_cdk-6.11.0.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
343
- airbyte_cdk-6.11.0.dist-info/RECORD,,
339
+ airbyte_cdk-6.11.1.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
340
+ airbyte_cdk-6.11.1.dist-info/METADATA,sha256=4qbhGSTq436-ZURpEJZC7vG5WzJWvNpEz7Bkj1CuEOA,5950
341
+ airbyte_cdk-6.11.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
342
+ airbyte_cdk-6.11.1.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
343
+ airbyte_cdk-6.11.1.dist-info/RECORD,,