@@ -169,7 +169,7 @@ def list_logs(
169169 date : str | Omit = omit ,
170170 ending_at : Union [str , datetime ] | Omit = omit ,
171171 event : str | Omit = omit ,
172- includes : List [Literal ["actions" ]] | Omit = omit ,
172+ include : List [Literal ["actions" ]] | Omit = omit ,
173173 limit : int | Omit = omit ,
174174 starting_at : Union [str , datetime ] | Omit = omit ,
175175 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -199,7 +199,7 @@ def list_logs(
199199
200200 event: The event name to filter by.
201201
202- includes : Associated resources to include in the response. Accepts `actions` to include
202+ include : Associated resources to include in the response. Accepts `actions` to include
203203 the actions executed after receiving each source event.
204204
205205 limit: The number of entries to fetch per-page.
@@ -233,7 +233,7 @@ def list_logs(
233233 "date" : date ,
234234 "ending_at" : ending_at ,
235235 "event" : event ,
236- "includes " : includes ,
236+ "include " : include ,
237237 "limit" : limit ,
238238 "starting_at" : starting_at ,
239239 },
@@ -265,7 +265,9 @@ def list_providers(
265265 def list_sources (
266266 self ,
267267 * ,
268+ annotate : bool | Omit = omit ,
268269 environment : str | Omit = omit ,
270+ include : List [Literal ["environment_settings" ]] | Omit = omit ,
269271 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
270272 # The extra values given here take precedence over values defined on the client or passed to this method.
271273 extra_headers : Headers | None = None ,
@@ -277,8 +279,12 @@ def list_sources(
277279 Returns connected sources for the project.
278280
279281 Args:
282+ annotate: Whether to annotate the resource. Only used in the Knock CLI.
283+
280284 environment: The environment slug.
281285
286+ include: Associated resources to include in each source. Accepts `environment_settings`.
287+
282288 extra_headers: Send extra headers
283289
284290 extra_query: Add additional query parameters to the request
@@ -295,7 +301,12 @@ def list_sources(
295301 extra_body = extra_body ,
296302 timeout = timeout ,
297303 query = maybe_transform (
298- {"environment" : environment }, data_source_list_sources_params .DataSourceListSourcesParams
304+ {
305+ "annotate" : annotate ,
306+ "environment" : environment ,
307+ "include" : include ,
308+ },
309+ data_source_list_sources_params .DataSourceListSourcesParams ,
299310 ),
300311 ),
301312 cast_to = SourcesResponse ,
@@ -354,7 +365,7 @@ def retrieve_provider(
354365 self ,
355366 key : str ,
356367 * ,
357- includes : List [
368+ include : List [
358369 Literal ["branding" , "default_action_mappings" , "example_payloads" , "preprocessing_script" , "static_fields" ]
359370 ]
360371 | Omit = omit ,
@@ -369,7 +380,7 @@ def retrieve_provider(
369380 Returns a source provider template available for creating sources.
370381
371382 Args:
372- includes : Associated resources to include in the response. Accepts `branding`,
383+ include : Associated resources to include in the response. Accepts `branding`,
373384 `default_action_mappings`, `example_payloads`, `preprocessing_script`,
374385 `static_fields`.
375386
@@ -391,7 +402,7 @@ def retrieve_provider(
391402 extra_body = extra_body ,
392403 timeout = timeout ,
393404 query = maybe_transform (
394- {"includes " : includes }, data_source_retrieve_provider_params .DataSourceRetrieveProviderParams
405+ {"include " : include }, data_source_retrieve_provider_params .DataSourceRetrieveProviderParams
395406 ),
396407 ),
397408 cast_to = SourceProviderResponse ,
@@ -621,7 +632,7 @@ def list_logs(
621632 date : str | Omit = omit ,
622633 ending_at : Union [str , datetime ] | Omit = omit ,
623634 event : str | Omit = omit ,
624- includes : List [Literal ["actions" ]] | Omit = omit ,
635+ include : List [Literal ["actions" ]] | Omit = omit ,
625636 limit : int | Omit = omit ,
626637 starting_at : Union [str , datetime ] | Omit = omit ,
627638 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -651,7 +662,7 @@ def list_logs(
651662
652663 event: The event name to filter by.
653664
654- includes : Associated resources to include in the response. Accepts `actions` to include
665+ include : Associated resources to include in the response. Accepts `actions` to include
655666 the actions executed after receiving each source event.
656667
657668 limit: The number of entries to fetch per-page.
@@ -685,7 +696,7 @@ def list_logs(
685696 "date" : date ,
686697 "ending_at" : ending_at ,
687698 "event" : event ,
688- "includes " : includes ,
699+ "include " : include ,
689700 "limit" : limit ,
690701 "starting_at" : starting_at ,
691702 },
@@ -717,7 +728,9 @@ async def list_providers(
717728 async def list_sources (
718729 self ,
719730 * ,
731+ annotate : bool | Omit = omit ,
720732 environment : str | Omit = omit ,
733+ include : List [Literal ["environment_settings" ]] | Omit = omit ,
721734 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
722735 # The extra values given here take precedence over values defined on the client or passed to this method.
723736 extra_headers : Headers | None = None ,
@@ -729,8 +742,12 @@ async def list_sources(
729742 Returns connected sources for the project.
730743
731744 Args:
745+ annotate: Whether to annotate the resource. Only used in the Knock CLI.
746+
732747 environment: The environment slug.
733748
749+ include: Associated resources to include in each source. Accepts `environment_settings`.
750+
734751 extra_headers: Send extra headers
735752
736753 extra_query: Add additional query parameters to the request
@@ -747,7 +764,12 @@ async def list_sources(
747764 extra_body = extra_body ,
748765 timeout = timeout ,
749766 query = await async_maybe_transform (
750- {"environment" : environment }, data_source_list_sources_params .DataSourceListSourcesParams
767+ {
768+ "annotate" : annotate ,
769+ "environment" : environment ,
770+ "include" : include ,
771+ },
772+ data_source_list_sources_params .DataSourceListSourcesParams ,
751773 ),
752774 ),
753775 cast_to = SourcesResponse ,
@@ -808,7 +830,7 @@ async def retrieve_provider(
808830 self ,
809831 key : str ,
810832 * ,
811- includes : List [
833+ include : List [
812834 Literal ["branding" , "default_action_mappings" , "example_payloads" , "preprocessing_script" , "static_fields" ]
813835 ]
814836 | Omit = omit ,
@@ -823,7 +845,7 @@ async def retrieve_provider(
823845 Returns a source provider template available for creating sources.
824846
825847 Args:
826- includes : Associated resources to include in the response. Accepts `branding`,
848+ include : Associated resources to include in the response. Accepts `branding`,
827849 `default_action_mappings`, `example_payloads`, `preprocessing_script`,
828850 `static_fields`.
829851
@@ -845,7 +867,7 @@ async def retrieve_provider(
845867 extra_body = extra_body ,
846868 timeout = timeout ,
847869 query = await async_maybe_transform (
848- {"includes " : includes }, data_source_retrieve_provider_params .DataSourceRetrieveProviderParams
870+ {"include " : include }, data_source_retrieve_provider_params .DataSourceRetrieveProviderParams
849871 ),
850872 ),
851873 cast_to = SourceProviderResponse ,
0 commit comments