workato-platform-cli 1.0.0rc5.dev5__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.
- workato_platform_cli/__init__.py +135 -0
- workato_platform_cli/_version.py +34 -0
- workato_platform_cli/cli/__init__.py +126 -0
- workato_platform_cli/cli/commands/__init__.py +0 -0
- workato_platform_cli/cli/commands/api_clients.py +627 -0
- workato_platform_cli/cli/commands/api_collections.py +497 -0
- workato_platform_cli/cli/commands/assets.py +82 -0
- workato_platform_cli/cli/commands/connections.py +1205 -0
- workato_platform_cli/cli/commands/connectors/__init__.py +0 -0
- workato_platform_cli/cli/commands/connectors/command.py +178 -0
- workato_platform_cli/cli/commands/connectors/connector_manager.py +351 -0
- workato_platform_cli/cli/commands/data_tables.py +345 -0
- workato_platform_cli/cli/commands/guide.py +315 -0
- workato_platform_cli/cli/commands/init.py +229 -0
- workato_platform_cli/cli/commands/profiles.py +364 -0
- workato_platform_cli/cli/commands/projects/__init__.py +0 -0
- workato_platform_cli/cli/commands/projects/command.py +513 -0
- workato_platform_cli/cli/commands/projects/project_manager.py +338 -0
- workato_platform_cli/cli/commands/properties.py +174 -0
- workato_platform_cli/cli/commands/pull.py +327 -0
- workato_platform_cli/cli/commands/push/__init__.py +0 -0
- workato_platform_cli/cli/commands/push/command.py +320 -0
- workato_platform_cli/cli/commands/recipes/__init__.py +0 -0
- workato_platform_cli/cli/commands/recipes/command.py +847 -0
- workato_platform_cli/cli/commands/recipes/validator.py +1740 -0
- workato_platform_cli/cli/commands/workspace.py +73 -0
- workato_platform_cli/cli/containers.py +80 -0
- workato_platform_cli/cli/resources/data/connection-data.json +7364 -0
- workato_platform_cli/cli/resources/data/picklist-data.json +3706 -0
- workato_platform_cli/cli/resources/docs/README.md +178 -0
- workato_platform_cli/cli/resources/docs/actions.md +452 -0
- workato_platform_cli/cli/resources/docs/block-structure.md +424 -0
- workato_platform_cli/cli/resources/docs/connections-parameters.md +11946 -0
- workato_platform_cli/cli/resources/docs/data-mapping.md +779 -0
- workato_platform_cli/cli/resources/docs/formulas/array-list-formulas.md +1276 -0
- workato_platform_cli/cli/resources/docs/formulas/conditions.md +102 -0
- workato_platform_cli/cli/resources/docs/formulas/date-formulas.md +798 -0
- workato_platform_cli/cli/resources/docs/formulas/number-formulas.md +507 -0
- workato_platform_cli/cli/resources/docs/formulas/other-formulas.md +419 -0
- workato_platform_cli/cli/resources/docs/formulas/string-formulas.md +1353 -0
- workato_platform_cli/cli/resources/docs/formulas.md +214 -0
- workato_platform_cli/cli/resources/docs/naming-conventions.md +163 -0
- workato_platform_cli/cli/resources/docs/recipe-deployment-workflow.md +352 -0
- workato_platform_cli/cli/resources/docs/recipe-fundamentals.md +179 -0
- workato_platform_cli/cli/resources/docs/triggers.md +360 -0
- workato_platform_cli/cli/utils/__init__.py +10 -0
- workato_platform_cli/cli/utils/config/__init__.py +33 -0
- workato_platform_cli/cli/utils/config/manager.py +1001 -0
- workato_platform_cli/cli/utils/config/models.py +89 -0
- workato_platform_cli/cli/utils/config/profiles.py +491 -0
- workato_platform_cli/cli/utils/config/workspace.py +113 -0
- workato_platform_cli/cli/utils/exception_handler.py +531 -0
- workato_platform_cli/cli/utils/gitignore.py +32 -0
- workato_platform_cli/cli/utils/ignore_patterns.py +44 -0
- workato_platform_cli/cli/utils/spinner.py +63 -0
- workato_platform_cli/cli/utils/version_checker.py +237 -0
- workato_platform_cli/client/__init__.py +0 -0
- workato_platform_cli/client/workato_api/__init__.py +202 -0
- workato_platform_cli/client/workato_api/api/__init__.py +15 -0
- workato_platform_cli/client/workato_api/api/api_platform_api.py +2875 -0
- workato_platform_cli/client/workato_api/api/connections_api.py +1807 -0
- workato_platform_cli/client/workato_api/api/connectors_api.py +840 -0
- workato_platform_cli/client/workato_api/api/data_tables_api.py +604 -0
- workato_platform_cli/client/workato_api/api/export_api.py +621 -0
- workato_platform_cli/client/workato_api/api/folders_api.py +621 -0
- workato_platform_cli/client/workato_api/api/packages_api.py +1197 -0
- workato_platform_cli/client/workato_api/api/projects_api.py +590 -0
- workato_platform_cli/client/workato_api/api/properties_api.py +620 -0
- workato_platform_cli/client/workato_api/api/recipes_api.py +1379 -0
- workato_platform_cli/client/workato_api/api/users_api.py +285 -0
- workato_platform_cli/client/workato_api/api_client.py +807 -0
- workato_platform_cli/client/workato_api/api_response.py +21 -0
- workato_platform_cli/client/workato_api/configuration.py +601 -0
- workato_platform_cli/client/workato_api/docs/APIPlatformApi.md +844 -0
- workato_platform_cli/client/workato_api/docs/ApiClient.md +46 -0
- workato_platform_cli/client/workato_api/docs/ApiClientApiCollectionsInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/ApiClientApiPoliciesInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/ApiClientCreateRequest.md +46 -0
- workato_platform_cli/client/workato_api/docs/ApiClientListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiClientResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/ApiCollection.md +38 -0
- workato_platform_cli/client/workato_api/docs/ApiCollectionCreateRequest.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiEndpoint.md +41 -0
- workato_platform_cli/client/workato_api/docs/ApiKey.md +36 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyCreateRequest.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/ApiKeyResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/Asset.md +39 -0
- workato_platform_cli/client/workato_api/docs/AssetReference.md +37 -0
- workato_platform_cli/client/workato_api/docs/Connection.md +44 -0
- workato_platform_cli/client/workato_api/docs/ConnectionCreateRequest.md +35 -0
- workato_platform_cli/client/workato_api/docs/ConnectionUpdateRequest.md +34 -0
- workato_platform_cli/client/workato_api/docs/ConnectionsApi.md +526 -0
- workato_platform_cli/client/workato_api/docs/ConnectorAction.md +33 -0
- workato_platform_cli/client/workato_api/docs/ConnectorVersion.md +32 -0
- workato_platform_cli/client/workato_api/docs/ConnectorsApi.md +249 -0
- workato_platform_cli/client/workato_api/docs/CreateExportManifestRequest.md +29 -0
- workato_platform_cli/client/workato_api/docs/CreateFolderRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/CustomConnector.md +35 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorCodeResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorCodeResponseData.md +29 -0
- workato_platform_cli/client/workato_api/docs/CustomConnectorListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTable.md +34 -0
- workato_platform_cli/client/workato_api/docs/DataTableColumn.md +37 -0
- workato_platform_cli/client/workato_api/docs/DataTableColumnRequest.md +37 -0
- workato_platform_cli/client/workato_api/docs/DataTableCreateRequest.md +31 -0
- workato_platform_cli/client/workato_api/docs/DataTableCreateResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTableListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/DataTableRelation.md +30 -0
- workato_platform_cli/client/workato_api/docs/DataTablesApi.md +172 -0
- workato_platform_cli/client/workato_api/docs/DeleteProject403Response.md +29 -0
- workato_platform_cli/client/workato_api/docs/Error.md +29 -0
- workato_platform_cli/client/workato_api/docs/ExportApi.md +175 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestRequest.md +35 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/ExportManifestResponseResult.md +36 -0
- workato_platform_cli/client/workato_api/docs/Folder.md +35 -0
- workato_platform_cli/client/workato_api/docs/FolderAssetsResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/FolderAssetsResponseResult.md +29 -0
- workato_platform_cli/client/workato_api/docs/FolderCreationResponse.md +35 -0
- workato_platform_cli/client/workato_api/docs/FoldersApi.md +176 -0
- workato_platform_cli/client/workato_api/docs/ImportResults.md +32 -0
- workato_platform_cli/client/workato_api/docs/OAuthUrlResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/OAuthUrlResponseData.md +29 -0
- workato_platform_cli/client/workato_api/docs/OpenApiSpec.md +30 -0
- workato_platform_cli/client/workato_api/docs/PackageDetailsResponse.md +35 -0
- workato_platform_cli/client/workato_api/docs/PackageDetailsResponseRecipeStatusInner.md +30 -0
- workato_platform_cli/client/workato_api/docs/PackageResponse.md +33 -0
- workato_platform_cli/client/workato_api/docs/PackagesApi.md +364 -0
- workato_platform_cli/client/workato_api/docs/PicklistRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/PicklistResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/PlatformConnector.md +36 -0
- workato_platform_cli/client/workato_api/docs/PlatformConnectorListResponse.md +32 -0
- workato_platform_cli/client/workato_api/docs/Project.md +32 -0
- workato_platform_cli/client/workato_api/docs/ProjectsApi.md +173 -0
- workato_platform_cli/client/workato_api/docs/PropertiesApi.md +186 -0
- workato_platform_cli/client/workato_api/docs/Recipe.md +58 -0
- workato_platform_cli/client/workato_api/docs/RecipeConfigInner.md +33 -0
- workato_platform_cli/client/workato_api/docs/RecipeConnectionUpdateRequest.md +30 -0
- workato_platform_cli/client/workato_api/docs/RecipeListResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/RecipeStartResponse.md +31 -0
- workato_platform_cli/client/workato_api/docs/RecipesApi.md +367 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionCreateRequest.md +34 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/RuntimeUserConnectionResponseData.md +30 -0
- workato_platform_cli/client/workato_api/docs/SuccessResponse.md +29 -0
- workato_platform_cli/client/workato_api/docs/UpsertProjectPropertiesRequest.md +29 -0
- workato_platform_cli/client/workato_api/docs/User.md +48 -0
- workato_platform_cli/client/workato_api/docs/UsersApi.md +84 -0
- workato_platform_cli/client/workato_api/docs/ValidationError.md +30 -0
- workato_platform_cli/client/workato_api/docs/ValidationErrorErrorsValue.md +28 -0
- workato_platform_cli/client/workato_api/exceptions.py +216 -0
- workato_platform_cli/client/workato_api/models/__init__.py +83 -0
- workato_platform_cli/client/workato_api/models/api_client.py +185 -0
- workato_platform_cli/client/workato_api/models/api_client_api_collections_inner.py +89 -0
- workato_platform_cli/client/workato_api/models/api_client_api_policies_inner.py +89 -0
- workato_platform_cli/client/workato_api/models/api_client_create_request.py +138 -0
- workato_platform_cli/client/workato_api/models/api_client_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/api_client_response.py +91 -0
- workato_platform_cli/client/workato_api/models/api_collection.py +110 -0
- workato_platform_cli/client/workato_api/models/api_collection_create_request.py +97 -0
- workato_platform_cli/client/workato_api/models/api_endpoint.py +117 -0
- workato_platform_cli/client/workato_api/models/api_key.py +102 -0
- workato_platform_cli/client/workato_api/models/api_key_create_request.py +93 -0
- workato_platform_cli/client/workato_api/models/api_key_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/api_key_response.py +91 -0
- workato_platform_cli/client/workato_api/models/asset.py +124 -0
- workato_platform_cli/client/workato_api/models/asset_reference.py +110 -0
- workato_platform_cli/client/workato_api/models/connection.py +173 -0
- workato_platform_cli/client/workato_api/models/connection_create_request.py +99 -0
- workato_platform_cli/client/workato_api/models/connection_update_request.py +97 -0
- workato_platform_cli/client/workato_api/models/connector_action.py +100 -0
- workato_platform_cli/client/workato_api/models/connector_version.py +99 -0
- workato_platform_cli/client/workato_api/models/create_export_manifest_request.py +91 -0
- workato_platform_cli/client/workato_api/models/create_folder_request.py +89 -0
- workato_platform_cli/client/workato_api/models/custom_connector.py +117 -0
- workato_platform_cli/client/workato_api/models/custom_connector_code_response.py +91 -0
- workato_platform_cli/client/workato_api/models/custom_connector_code_response_data.py +87 -0
- workato_platform_cli/client/workato_api/models/custom_connector_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/data_table.py +107 -0
- workato_platform_cli/client/workato_api/models/data_table_column.py +125 -0
- workato_platform_cli/client/workato_api/models/data_table_column_request.py +130 -0
- workato_platform_cli/client/workato_api/models/data_table_create_request.py +99 -0
- workato_platform_cli/client/workato_api/models/data_table_create_response.py +91 -0
- workato_platform_cli/client/workato_api/models/data_table_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/data_table_relation.py +90 -0
- workato_platform_cli/client/workato_api/models/delete_project403_response.py +87 -0
- workato_platform_cli/client/workato_api/models/error.py +87 -0
- workato_platform_cli/client/workato_api/models/export_manifest_request.py +107 -0
- workato_platform_cli/client/workato_api/models/export_manifest_response.py +91 -0
- workato_platform_cli/client/workato_api/models/export_manifest_response_result.py +112 -0
- workato_platform_cli/client/workato_api/models/folder.py +110 -0
- workato_platform_cli/client/workato_api/models/folder_assets_response.py +91 -0
- workato_platform_cli/client/workato_api/models/folder_assets_response_result.py +95 -0
- workato_platform_cli/client/workato_api/models/folder_creation_response.py +110 -0
- workato_platform_cli/client/workato_api/models/import_results.py +93 -0
- workato_platform_cli/client/workato_api/models/o_auth_url_response.py +91 -0
- workato_platform_cli/client/workato_api/models/o_auth_url_response_data.py +87 -0
- workato_platform_cli/client/workato_api/models/open_api_spec.py +96 -0
- workato_platform_cli/client/workato_api/models/package_details_response.py +126 -0
- workato_platform_cli/client/workato_api/models/package_details_response_recipe_status_inner.py +99 -0
- workato_platform_cli/client/workato_api/models/package_response.py +109 -0
- workato_platform_cli/client/workato_api/models/picklist_request.py +89 -0
- workato_platform_cli/client/workato_api/models/picklist_response.py +88 -0
- workato_platform_cli/client/workato_api/models/platform_connector.py +116 -0
- workato_platform_cli/client/workato_api/models/platform_connector_list_response.py +101 -0
- workato_platform_cli/client/workato_api/models/project.py +93 -0
- workato_platform_cli/client/workato_api/models/recipe.py +174 -0
- workato_platform_cli/client/workato_api/models/recipe_config_inner.py +100 -0
- workato_platform_cli/client/workato_api/models/recipe_connection_update_request.py +89 -0
- workato_platform_cli/client/workato_api/models/recipe_list_response.py +95 -0
- workato_platform_cli/client/workato_api/models/recipe_start_response.py +91 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_create_request.py +97 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_response.py +91 -0
- workato_platform_cli/client/workato_api/models/runtime_user_connection_response_data.py +89 -0
- workato_platform_cli/client/workato_api/models/success_response.py +87 -0
- workato_platform_cli/client/workato_api/models/upsert_project_properties_request.py +88 -0
- workato_platform_cli/client/workato_api/models/user.py +151 -0
- workato_platform_cli/client/workato_api/models/validation_error.py +102 -0
- workato_platform_cli/client/workato_api/models/validation_error_errors_value.py +143 -0
- workato_platform_cli/client/workato_api/rest.py +213 -0
- workato_platform_cli/client/workato_api/test/__init__.py +0 -0
- workato_platform_cli/client/workato_api/test/test_api_client.py +94 -0
- workato_platform_cli/client/workato_api/test/test_api_client_api_collections_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_api_client_api_policies_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_api_client_create_request.py +75 -0
- workato_platform_cli/client/workato_api/test/test_api_client_list_response.py +114 -0
- workato_platform_cli/client/workato_api/test/test_api_client_response.py +104 -0
- workato_platform_cli/client/workato_api/test/test_api_collection.py +72 -0
- workato_platform_cli/client/workato_api/test/test_api_collection_create_request.py +57 -0
- workato_platform_cli/client/workato_api/test/test_api_endpoint.py +75 -0
- workato_platform_cli/client/workato_api/test/test_api_key.py +64 -0
- workato_platform_cli/client/workato_api/test/test_api_key_create_request.py +56 -0
- workato_platform_cli/client/workato_api/test/test_api_key_list_response.py +78 -0
- workato_platform_cli/client/workato_api/test/test_api_key_response.py +68 -0
- workato_platform_cli/client/workato_api/test/test_api_platform_api.py +101 -0
- workato_platform_cli/client/workato_api/test/test_asset.py +67 -0
- workato_platform_cli/client/workato_api/test/test_asset_reference.py +62 -0
- workato_platform_cli/client/workato_api/test/test_connection.py +81 -0
- workato_platform_cli/client/workato_api/test/test_connection_create_request.py +59 -0
- workato_platform_cli/client/workato_api/test/test_connection_update_request.py +56 -0
- workato_platform_cli/client/workato_api/test/test_connections_api.py +73 -0
- workato_platform_cli/client/workato_api/test/test_connector_action.py +59 -0
- workato_platform_cli/client/workato_api/test/test_connector_version.py +58 -0
- workato_platform_cli/client/workato_api/test/test_connectors_api.py +52 -0
- workato_platform_cli/client/workato_api/test/test_create_export_manifest_request.py +88 -0
- workato_platform_cli/client/workato_api/test/test_create_folder_request.py +53 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector.py +76 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_code_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_code_response_data.py +52 -0
- workato_platform_cli/client/workato_api/test/test_custom_connector_list_response.py +82 -0
- workato_platform_cli/client/workato_api/test/test_data_table.py +88 -0
- workato_platform_cli/client/workato_api/test/test_data_table_column.py +72 -0
- workato_platform_cli/client/workato_api/test/test_data_table_column_request.py +64 -0
- workato_platform_cli/client/workato_api/test/test_data_table_create_request.py +82 -0
- workato_platform_cli/client/workato_api/test/test_data_table_create_response.py +90 -0
- workato_platform_cli/client/workato_api/test/test_data_table_list_response.py +94 -0
- workato_platform_cli/client/workato_api/test/test_data_table_relation.py +54 -0
- workato_platform_cli/client/workato_api/test/test_data_tables_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_delete_project403_response.py +51 -0
- workato_platform_cli/client/workato_api/test/test_error.py +52 -0
- workato_platform_cli/client/workato_api/test/test_export_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_request.py +69 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_response.py +68 -0
- workato_platform_cli/client/workato_api/test/test_export_manifest_response_result.py +66 -0
- workato_platform_cli/client/workato_api/test/test_folder.py +64 -0
- workato_platform_cli/client/workato_api/test/test_folder_assets_response.py +80 -0
- workato_platform_cli/client/workato_api/test/test_folder_assets_response_result.py +78 -0
- workato_platform_cli/client/workato_api/test/test_folder_creation_response.py +64 -0
- workato_platform_cli/client/workato_api/test/test_folders_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_import_results.py +58 -0
- workato_platform_cli/client/workato_api/test/test_o_auth_url_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_o_auth_url_response_data.py +52 -0
- workato_platform_cli/client/workato_api/test/test_open_api_spec.py +54 -0
- workato_platform_cli/client/workato_api/test/test_package_details_response.py +64 -0
- workato_platform_cli/client/workato_api/test/test_package_details_response_recipe_status_inner.py +52 -0
- workato_platform_cli/client/workato_api/test/test_package_response.py +58 -0
- workato_platform_cli/client/workato_api/test/test_packages_api.py +59 -0
- workato_platform_cli/client/workato_api/test/test_picklist_request.py +53 -0
- workato_platform_cli/client/workato_api/test/test_picklist_response.py +52 -0
- workato_platform_cli/client/workato_api/test/test_platform_connector.py +94 -0
- workato_platform_cli/client/workato_api/test/test_platform_connector_list_response.py +106 -0
- workato_platform_cli/client/workato_api/test/test_project.py +57 -0
- workato_platform_cli/client/workato_api/test/test_projects_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_properties_api.py +45 -0
- workato_platform_cli/client/workato_api/test/test_recipe.py +124 -0
- workato_platform_cli/client/workato_api/test/test_recipe_config_inner.py +55 -0
- workato_platform_cli/client/workato_api/test/test_recipe_connection_update_request.py +54 -0
- workato_platform_cli/client/workato_api/test/test_recipe_list_response.py +134 -0
- workato_platform_cli/client/workato_api/test/test_recipe_start_response.py +54 -0
- workato_platform_cli/client/workato_api/test/test_recipes_api.py +59 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_create_request.py +59 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_response.py +56 -0
- workato_platform_cli/client/workato_api/test/test_runtime_user_connection_response_data.py +54 -0
- workato_platform_cli/client/workato_api/test/test_success_response.py +52 -0
- workato_platform_cli/client/workato_api/test/test_upsert_project_properties_request.py +52 -0
- workato_platform_cli/client/workato_api/test/test_user.py +85 -0
- workato_platform_cli/client/workato_api/test/test_users_api.py +38 -0
- workato_platform_cli/client/workato_api/test/test_validation_error.py +52 -0
- workato_platform_cli/client/workato_api/test/test_validation_error_errors_value.py +50 -0
- workato_platform_cli/client/workato_api_README.md +205 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/METADATA +185 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/RECORD +306 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/WHEEL +4 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/entry_points.txt +2 -0
- workato_platform_cli-1.0.0rc5.dev5.dist-info/licenses/LICENSE +7 -0
|
@@ -0,0 +1,1807 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Workato Platform API
|
|
5
|
+
|
|
6
|
+
Official Workato Platform API for managing recipes, connections, projects, and other automation resources. ## Authentication All endpoints require a Bearer token in the Authorization header. ## Base URL The base URL varies by region: - US: `https://www.workato.com` - EU: `https://app.eu.workato.com` - JP: `https://app.jp.workato.com` - SG: `https://app.sg.workato.com` - AU: `https://app.au.workato.com` - IL: `https://app.il.workato.com` - Trial: `https://app.trial.workato.com`
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.0.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
20
|
+
from typing import List, Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from workato_platform_cli.client.workato_api.models.connection import Connection
|
|
23
|
+
from workato_platform_cli.client.workato_api.models.connection_create_request import ConnectionCreateRequest
|
|
24
|
+
from workato_platform_cli.client.workato_api.models.connection_update_request import ConnectionUpdateRequest
|
|
25
|
+
from workato_platform_cli.client.workato_api.models.o_auth_url_response import OAuthUrlResponse
|
|
26
|
+
from workato_platform_cli.client.workato_api.models.picklist_request import PicklistRequest
|
|
27
|
+
from workato_platform_cli.client.workato_api.models.picklist_response import PicklistResponse
|
|
28
|
+
from workato_platform_cli.client.workato_api.models.runtime_user_connection_create_request import RuntimeUserConnectionCreateRequest
|
|
29
|
+
from workato_platform_cli.client.workato_api.models.runtime_user_connection_response import RuntimeUserConnectionResponse
|
|
30
|
+
|
|
31
|
+
from workato_platform_cli.client.workato_api.api_client import ApiClient, RequestSerialized
|
|
32
|
+
from workato_platform_cli.client.workato_api.api_response import ApiResponse
|
|
33
|
+
from workato_platform_cli.client.workato_api.rest import RESTResponseType
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class ConnectionsApi:
|
|
37
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
38
|
+
Ref: https://openapi-generator.tech
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
"""
|
|
42
|
+
|
|
43
|
+
def __init__(self, api_client=None) -> None:
|
|
44
|
+
if api_client is None:
|
|
45
|
+
api_client = ApiClient.get_default()
|
|
46
|
+
self.api_client = api_client
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
@validate_call
|
|
50
|
+
async def create_connection(
|
|
51
|
+
self,
|
|
52
|
+
connection_create_request: ConnectionCreateRequest,
|
|
53
|
+
_request_timeout: Union[
|
|
54
|
+
None,
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
56
|
+
Tuple[
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
59
|
+
]
|
|
60
|
+
] = None,
|
|
61
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
62
|
+
_content_type: Optional[StrictStr] = None,
|
|
63
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65
|
+
) -> Connection:
|
|
66
|
+
"""Create a connection
|
|
67
|
+
|
|
68
|
+
Create a new connection. Supports creating shell connections or fully authenticated connections. Does not support OAuth connections for authentication, but can create shell connections for OAuth providers.
|
|
69
|
+
|
|
70
|
+
:param connection_create_request: (required)
|
|
71
|
+
:type connection_create_request: ConnectionCreateRequest
|
|
72
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
73
|
+
number provided, it will be total request
|
|
74
|
+
timeout. It can also be a pair (tuple) of
|
|
75
|
+
(connection, read) timeouts.
|
|
76
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
77
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
78
|
+
request; this effectively ignores the
|
|
79
|
+
authentication in the spec for a single request.
|
|
80
|
+
:type _request_auth: dict, optional
|
|
81
|
+
:param _content_type: force content-type for the request.
|
|
82
|
+
:type _content_type: str, Optional
|
|
83
|
+
:param _headers: set to override the headers for a single
|
|
84
|
+
request; this effectively ignores the headers
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _headers: dict, optional
|
|
87
|
+
:param _host_index: set to override the host_index for a single
|
|
88
|
+
request; this effectively ignores the host_index
|
|
89
|
+
in the spec for a single request.
|
|
90
|
+
:type _host_index: int, optional
|
|
91
|
+
:return: Returns the result object.
|
|
92
|
+
""" # noqa: E501
|
|
93
|
+
|
|
94
|
+
_param = self._create_connection_serialize(
|
|
95
|
+
connection_create_request=connection_create_request,
|
|
96
|
+
_request_auth=_request_auth,
|
|
97
|
+
_content_type=_content_type,
|
|
98
|
+
_headers=_headers,
|
|
99
|
+
_host_index=_host_index
|
|
100
|
+
)
|
|
101
|
+
|
|
102
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
103
|
+
'200': "Connection",
|
|
104
|
+
'400': "ValidationError",
|
|
105
|
+
'401': "Error",
|
|
106
|
+
}
|
|
107
|
+
response_data = await self.api_client.call_api(
|
|
108
|
+
*_param,
|
|
109
|
+
_request_timeout=_request_timeout
|
|
110
|
+
)
|
|
111
|
+
await response_data.read()
|
|
112
|
+
return self.api_client.response_deserialize(
|
|
113
|
+
response_data=response_data,
|
|
114
|
+
response_types_map=_response_types_map,
|
|
115
|
+
).data
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
@validate_call
|
|
119
|
+
async def create_connection_with_http_info(
|
|
120
|
+
self,
|
|
121
|
+
connection_create_request: ConnectionCreateRequest,
|
|
122
|
+
_request_timeout: Union[
|
|
123
|
+
None,
|
|
124
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
125
|
+
Tuple[
|
|
126
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
128
|
+
]
|
|
129
|
+
] = None,
|
|
130
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
131
|
+
_content_type: Optional[StrictStr] = None,
|
|
132
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
134
|
+
) -> ApiResponse[Connection]:
|
|
135
|
+
"""Create a connection
|
|
136
|
+
|
|
137
|
+
Create a new connection. Supports creating shell connections or fully authenticated connections. Does not support OAuth connections for authentication, but can create shell connections for OAuth providers.
|
|
138
|
+
|
|
139
|
+
:param connection_create_request: (required)
|
|
140
|
+
:type connection_create_request: ConnectionCreateRequest
|
|
141
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
142
|
+
number provided, it will be total request
|
|
143
|
+
timeout. It can also be a pair (tuple) of
|
|
144
|
+
(connection, read) timeouts.
|
|
145
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
146
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
147
|
+
request; this effectively ignores the
|
|
148
|
+
authentication in the spec for a single request.
|
|
149
|
+
:type _request_auth: dict, optional
|
|
150
|
+
:param _content_type: force content-type for the request.
|
|
151
|
+
:type _content_type: str, Optional
|
|
152
|
+
:param _headers: set to override the headers for a single
|
|
153
|
+
request; this effectively ignores the headers
|
|
154
|
+
in the spec for a single request.
|
|
155
|
+
:type _headers: dict, optional
|
|
156
|
+
:param _host_index: set to override the host_index for a single
|
|
157
|
+
request; this effectively ignores the host_index
|
|
158
|
+
in the spec for a single request.
|
|
159
|
+
:type _host_index: int, optional
|
|
160
|
+
:return: Returns the result object.
|
|
161
|
+
""" # noqa: E501
|
|
162
|
+
|
|
163
|
+
_param = self._create_connection_serialize(
|
|
164
|
+
connection_create_request=connection_create_request,
|
|
165
|
+
_request_auth=_request_auth,
|
|
166
|
+
_content_type=_content_type,
|
|
167
|
+
_headers=_headers,
|
|
168
|
+
_host_index=_host_index
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
172
|
+
'200': "Connection",
|
|
173
|
+
'400': "ValidationError",
|
|
174
|
+
'401': "Error",
|
|
175
|
+
}
|
|
176
|
+
response_data = await self.api_client.call_api(
|
|
177
|
+
*_param,
|
|
178
|
+
_request_timeout=_request_timeout
|
|
179
|
+
)
|
|
180
|
+
await response_data.read()
|
|
181
|
+
return self.api_client.response_deserialize(
|
|
182
|
+
response_data=response_data,
|
|
183
|
+
response_types_map=_response_types_map,
|
|
184
|
+
)
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
@validate_call
|
|
188
|
+
async def create_connection_without_preload_content(
|
|
189
|
+
self,
|
|
190
|
+
connection_create_request: ConnectionCreateRequest,
|
|
191
|
+
_request_timeout: Union[
|
|
192
|
+
None,
|
|
193
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
194
|
+
Tuple[
|
|
195
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
196
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
197
|
+
]
|
|
198
|
+
] = None,
|
|
199
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
200
|
+
_content_type: Optional[StrictStr] = None,
|
|
201
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
202
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
203
|
+
) -> RESTResponseType:
|
|
204
|
+
"""Create a connection
|
|
205
|
+
|
|
206
|
+
Create a new connection. Supports creating shell connections or fully authenticated connections. Does not support OAuth connections for authentication, but can create shell connections for OAuth providers.
|
|
207
|
+
|
|
208
|
+
:param connection_create_request: (required)
|
|
209
|
+
:type connection_create_request: ConnectionCreateRequest
|
|
210
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
211
|
+
number provided, it will be total request
|
|
212
|
+
timeout. It can also be a pair (tuple) of
|
|
213
|
+
(connection, read) timeouts.
|
|
214
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
215
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
216
|
+
request; this effectively ignores the
|
|
217
|
+
authentication in the spec for a single request.
|
|
218
|
+
:type _request_auth: dict, optional
|
|
219
|
+
:param _content_type: force content-type for the request.
|
|
220
|
+
:type _content_type: str, Optional
|
|
221
|
+
:param _headers: set to override the headers for a single
|
|
222
|
+
request; this effectively ignores the headers
|
|
223
|
+
in the spec for a single request.
|
|
224
|
+
:type _headers: dict, optional
|
|
225
|
+
:param _host_index: set to override the host_index for a single
|
|
226
|
+
request; this effectively ignores the host_index
|
|
227
|
+
in the spec for a single request.
|
|
228
|
+
:type _host_index: int, optional
|
|
229
|
+
:return: Returns the result object.
|
|
230
|
+
""" # noqa: E501
|
|
231
|
+
|
|
232
|
+
_param = self._create_connection_serialize(
|
|
233
|
+
connection_create_request=connection_create_request,
|
|
234
|
+
_request_auth=_request_auth,
|
|
235
|
+
_content_type=_content_type,
|
|
236
|
+
_headers=_headers,
|
|
237
|
+
_host_index=_host_index
|
|
238
|
+
)
|
|
239
|
+
|
|
240
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
241
|
+
'200': "Connection",
|
|
242
|
+
'400': "ValidationError",
|
|
243
|
+
'401': "Error",
|
|
244
|
+
}
|
|
245
|
+
response_data = await self.api_client.call_api(
|
|
246
|
+
*_param,
|
|
247
|
+
_request_timeout=_request_timeout
|
|
248
|
+
)
|
|
249
|
+
return response_data.response
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
def _create_connection_serialize(
|
|
253
|
+
self,
|
|
254
|
+
connection_create_request,
|
|
255
|
+
_request_auth,
|
|
256
|
+
_content_type,
|
|
257
|
+
_headers,
|
|
258
|
+
_host_index,
|
|
259
|
+
) -> RequestSerialized:
|
|
260
|
+
|
|
261
|
+
_host = None
|
|
262
|
+
|
|
263
|
+
_collection_formats: Dict[str, str] = {
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
_path_params: Dict[str, str] = {}
|
|
267
|
+
_query_params: List[Tuple[str, str]] = []
|
|
268
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
269
|
+
_form_params: List[Tuple[str, str]] = []
|
|
270
|
+
_files: Dict[
|
|
271
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
272
|
+
] = {}
|
|
273
|
+
_body_params: Optional[bytes] = None
|
|
274
|
+
|
|
275
|
+
# process the path parameters
|
|
276
|
+
# process the query parameters
|
|
277
|
+
# process the header parameters
|
|
278
|
+
# process the form parameters
|
|
279
|
+
# process the body parameter
|
|
280
|
+
if connection_create_request is not None:
|
|
281
|
+
_body_params = connection_create_request
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
# set the HTTP header `Accept`
|
|
285
|
+
if 'Accept' not in _header_params:
|
|
286
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
287
|
+
[
|
|
288
|
+
'application/json'
|
|
289
|
+
]
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
# set the HTTP header `Content-Type`
|
|
293
|
+
if _content_type:
|
|
294
|
+
_header_params['Content-Type'] = _content_type
|
|
295
|
+
else:
|
|
296
|
+
_default_content_type = (
|
|
297
|
+
self.api_client.select_header_content_type(
|
|
298
|
+
[
|
|
299
|
+
'application/json'
|
|
300
|
+
]
|
|
301
|
+
)
|
|
302
|
+
)
|
|
303
|
+
if _default_content_type is not None:
|
|
304
|
+
_header_params['Content-Type'] = _default_content_type
|
|
305
|
+
|
|
306
|
+
# authentication setting
|
|
307
|
+
_auth_settings: List[str] = [
|
|
308
|
+
'BearerAuth'
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
return self.api_client.param_serialize(
|
|
312
|
+
method='POST',
|
|
313
|
+
resource_path='/api/connections',
|
|
314
|
+
path_params=_path_params,
|
|
315
|
+
query_params=_query_params,
|
|
316
|
+
header_params=_header_params,
|
|
317
|
+
body=_body_params,
|
|
318
|
+
post_params=_form_params,
|
|
319
|
+
files=_files,
|
|
320
|
+
auth_settings=_auth_settings,
|
|
321
|
+
collection_formats=_collection_formats,
|
|
322
|
+
_host=_host,
|
|
323
|
+
_request_auth=_request_auth
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
@validate_call
|
|
330
|
+
async def create_runtime_user_connection(
|
|
331
|
+
self,
|
|
332
|
+
runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest,
|
|
333
|
+
_request_timeout: Union[
|
|
334
|
+
None,
|
|
335
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
336
|
+
Tuple[
|
|
337
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
338
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
339
|
+
]
|
|
340
|
+
] = None,
|
|
341
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
342
|
+
_content_type: Optional[StrictStr] = None,
|
|
343
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
344
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
345
|
+
) -> RuntimeUserConnectionResponse:
|
|
346
|
+
"""Create OAuth runtime user connection
|
|
347
|
+
|
|
348
|
+
Creates an OAuth runtime user connection. The parent connection must be an established OAuth connection. This initiates the OAuth flow and provides a URL for end user authorization.
|
|
349
|
+
|
|
350
|
+
:param runtime_user_connection_create_request: (required)
|
|
351
|
+
:type runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest
|
|
352
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
353
|
+
number provided, it will be total request
|
|
354
|
+
timeout. It can also be a pair (tuple) of
|
|
355
|
+
(connection, read) timeouts.
|
|
356
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
357
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
358
|
+
request; this effectively ignores the
|
|
359
|
+
authentication in the spec for a single request.
|
|
360
|
+
:type _request_auth: dict, optional
|
|
361
|
+
:param _content_type: force content-type for the request.
|
|
362
|
+
:type _content_type: str, Optional
|
|
363
|
+
:param _headers: set to override the headers for a single
|
|
364
|
+
request; this effectively ignores the headers
|
|
365
|
+
in the spec for a single request.
|
|
366
|
+
:type _headers: dict, optional
|
|
367
|
+
:param _host_index: set to override the host_index for a single
|
|
368
|
+
request; this effectively ignores the host_index
|
|
369
|
+
in the spec for a single request.
|
|
370
|
+
:type _host_index: int, optional
|
|
371
|
+
:return: Returns the result object.
|
|
372
|
+
""" # noqa: E501
|
|
373
|
+
|
|
374
|
+
_param = self._create_runtime_user_connection_serialize(
|
|
375
|
+
runtime_user_connection_create_request=runtime_user_connection_create_request,
|
|
376
|
+
_request_auth=_request_auth,
|
|
377
|
+
_content_type=_content_type,
|
|
378
|
+
_headers=_headers,
|
|
379
|
+
_host_index=_host_index
|
|
380
|
+
)
|
|
381
|
+
|
|
382
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
383
|
+
'200': "RuntimeUserConnectionResponse",
|
|
384
|
+
'400': "ValidationError",
|
|
385
|
+
'401': "Error",
|
|
386
|
+
'404': None,
|
|
387
|
+
}
|
|
388
|
+
response_data = await self.api_client.call_api(
|
|
389
|
+
*_param,
|
|
390
|
+
_request_timeout=_request_timeout
|
|
391
|
+
)
|
|
392
|
+
await response_data.read()
|
|
393
|
+
return self.api_client.response_deserialize(
|
|
394
|
+
response_data=response_data,
|
|
395
|
+
response_types_map=_response_types_map,
|
|
396
|
+
).data
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
@validate_call
|
|
400
|
+
async def create_runtime_user_connection_with_http_info(
|
|
401
|
+
self,
|
|
402
|
+
runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest,
|
|
403
|
+
_request_timeout: Union[
|
|
404
|
+
None,
|
|
405
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
406
|
+
Tuple[
|
|
407
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
408
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
409
|
+
]
|
|
410
|
+
] = None,
|
|
411
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
412
|
+
_content_type: Optional[StrictStr] = None,
|
|
413
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
414
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
415
|
+
) -> ApiResponse[RuntimeUserConnectionResponse]:
|
|
416
|
+
"""Create OAuth runtime user connection
|
|
417
|
+
|
|
418
|
+
Creates an OAuth runtime user connection. The parent connection must be an established OAuth connection. This initiates the OAuth flow and provides a URL for end user authorization.
|
|
419
|
+
|
|
420
|
+
:param runtime_user_connection_create_request: (required)
|
|
421
|
+
:type runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest
|
|
422
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
423
|
+
number provided, it will be total request
|
|
424
|
+
timeout. It can also be a pair (tuple) of
|
|
425
|
+
(connection, read) timeouts.
|
|
426
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
427
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
428
|
+
request; this effectively ignores the
|
|
429
|
+
authentication in the spec for a single request.
|
|
430
|
+
:type _request_auth: dict, optional
|
|
431
|
+
:param _content_type: force content-type for the request.
|
|
432
|
+
:type _content_type: str, Optional
|
|
433
|
+
:param _headers: set to override the headers for a single
|
|
434
|
+
request; this effectively ignores the headers
|
|
435
|
+
in the spec for a single request.
|
|
436
|
+
:type _headers: dict, optional
|
|
437
|
+
:param _host_index: set to override the host_index for a single
|
|
438
|
+
request; this effectively ignores the host_index
|
|
439
|
+
in the spec for a single request.
|
|
440
|
+
:type _host_index: int, optional
|
|
441
|
+
:return: Returns the result object.
|
|
442
|
+
""" # noqa: E501
|
|
443
|
+
|
|
444
|
+
_param = self._create_runtime_user_connection_serialize(
|
|
445
|
+
runtime_user_connection_create_request=runtime_user_connection_create_request,
|
|
446
|
+
_request_auth=_request_auth,
|
|
447
|
+
_content_type=_content_type,
|
|
448
|
+
_headers=_headers,
|
|
449
|
+
_host_index=_host_index
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
453
|
+
'200': "RuntimeUserConnectionResponse",
|
|
454
|
+
'400': "ValidationError",
|
|
455
|
+
'401': "Error",
|
|
456
|
+
'404': None,
|
|
457
|
+
}
|
|
458
|
+
response_data = await self.api_client.call_api(
|
|
459
|
+
*_param,
|
|
460
|
+
_request_timeout=_request_timeout
|
|
461
|
+
)
|
|
462
|
+
await response_data.read()
|
|
463
|
+
return self.api_client.response_deserialize(
|
|
464
|
+
response_data=response_data,
|
|
465
|
+
response_types_map=_response_types_map,
|
|
466
|
+
)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
@validate_call
|
|
470
|
+
async def create_runtime_user_connection_without_preload_content(
|
|
471
|
+
self,
|
|
472
|
+
runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest,
|
|
473
|
+
_request_timeout: Union[
|
|
474
|
+
None,
|
|
475
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
476
|
+
Tuple[
|
|
477
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
478
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
479
|
+
]
|
|
480
|
+
] = None,
|
|
481
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
482
|
+
_content_type: Optional[StrictStr] = None,
|
|
483
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
484
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
485
|
+
) -> RESTResponseType:
|
|
486
|
+
"""Create OAuth runtime user connection
|
|
487
|
+
|
|
488
|
+
Creates an OAuth runtime user connection. The parent connection must be an established OAuth connection. This initiates the OAuth flow and provides a URL for end user authorization.
|
|
489
|
+
|
|
490
|
+
:param runtime_user_connection_create_request: (required)
|
|
491
|
+
:type runtime_user_connection_create_request: RuntimeUserConnectionCreateRequest
|
|
492
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
493
|
+
number provided, it will be total request
|
|
494
|
+
timeout. It can also be a pair (tuple) of
|
|
495
|
+
(connection, read) timeouts.
|
|
496
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
497
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
498
|
+
request; this effectively ignores the
|
|
499
|
+
authentication in the spec for a single request.
|
|
500
|
+
:type _request_auth: dict, optional
|
|
501
|
+
:param _content_type: force content-type for the request.
|
|
502
|
+
:type _content_type: str, Optional
|
|
503
|
+
:param _headers: set to override the headers for a single
|
|
504
|
+
request; this effectively ignores the headers
|
|
505
|
+
in the spec for a single request.
|
|
506
|
+
:type _headers: dict, optional
|
|
507
|
+
:param _host_index: set to override the host_index for a single
|
|
508
|
+
request; this effectively ignores the host_index
|
|
509
|
+
in the spec for a single request.
|
|
510
|
+
:type _host_index: int, optional
|
|
511
|
+
:return: Returns the result object.
|
|
512
|
+
""" # noqa: E501
|
|
513
|
+
|
|
514
|
+
_param = self._create_runtime_user_connection_serialize(
|
|
515
|
+
runtime_user_connection_create_request=runtime_user_connection_create_request,
|
|
516
|
+
_request_auth=_request_auth,
|
|
517
|
+
_content_type=_content_type,
|
|
518
|
+
_headers=_headers,
|
|
519
|
+
_host_index=_host_index
|
|
520
|
+
)
|
|
521
|
+
|
|
522
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
+
'200': "RuntimeUserConnectionResponse",
|
|
524
|
+
'400': "ValidationError",
|
|
525
|
+
'401': "Error",
|
|
526
|
+
'404': None,
|
|
527
|
+
}
|
|
528
|
+
response_data = await self.api_client.call_api(
|
|
529
|
+
*_param,
|
|
530
|
+
_request_timeout=_request_timeout
|
|
531
|
+
)
|
|
532
|
+
return response_data.response
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
def _create_runtime_user_connection_serialize(
|
|
536
|
+
self,
|
|
537
|
+
runtime_user_connection_create_request,
|
|
538
|
+
_request_auth,
|
|
539
|
+
_content_type,
|
|
540
|
+
_headers,
|
|
541
|
+
_host_index,
|
|
542
|
+
) -> RequestSerialized:
|
|
543
|
+
|
|
544
|
+
_host = None
|
|
545
|
+
|
|
546
|
+
_collection_formats: Dict[str, str] = {
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
_path_params: Dict[str, str] = {}
|
|
550
|
+
_query_params: List[Tuple[str, str]] = []
|
|
551
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
552
|
+
_form_params: List[Tuple[str, str]] = []
|
|
553
|
+
_files: Dict[
|
|
554
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
555
|
+
] = {}
|
|
556
|
+
_body_params: Optional[bytes] = None
|
|
557
|
+
|
|
558
|
+
# process the path parameters
|
|
559
|
+
# process the query parameters
|
|
560
|
+
# process the header parameters
|
|
561
|
+
# process the form parameters
|
|
562
|
+
# process the body parameter
|
|
563
|
+
if runtime_user_connection_create_request is not None:
|
|
564
|
+
_body_params = runtime_user_connection_create_request
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
# set the HTTP header `Accept`
|
|
568
|
+
if 'Accept' not in _header_params:
|
|
569
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
570
|
+
[
|
|
571
|
+
'application/json'
|
|
572
|
+
]
|
|
573
|
+
)
|
|
574
|
+
|
|
575
|
+
# set the HTTP header `Content-Type`
|
|
576
|
+
if _content_type:
|
|
577
|
+
_header_params['Content-Type'] = _content_type
|
|
578
|
+
else:
|
|
579
|
+
_default_content_type = (
|
|
580
|
+
self.api_client.select_header_content_type(
|
|
581
|
+
[
|
|
582
|
+
'application/json'
|
|
583
|
+
]
|
|
584
|
+
)
|
|
585
|
+
)
|
|
586
|
+
if _default_content_type is not None:
|
|
587
|
+
_header_params['Content-Type'] = _default_content_type
|
|
588
|
+
|
|
589
|
+
# authentication setting
|
|
590
|
+
_auth_settings: List[str] = [
|
|
591
|
+
'BearerAuth'
|
|
592
|
+
]
|
|
593
|
+
|
|
594
|
+
return self.api_client.param_serialize(
|
|
595
|
+
method='POST',
|
|
596
|
+
resource_path='/api/connections/runtime_user_connections',
|
|
597
|
+
path_params=_path_params,
|
|
598
|
+
query_params=_query_params,
|
|
599
|
+
header_params=_header_params,
|
|
600
|
+
body=_body_params,
|
|
601
|
+
post_params=_form_params,
|
|
602
|
+
files=_files,
|
|
603
|
+
auth_settings=_auth_settings,
|
|
604
|
+
collection_formats=_collection_formats,
|
|
605
|
+
_host=_host,
|
|
606
|
+
_request_auth=_request_auth
|
|
607
|
+
)
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
@validate_call
|
|
613
|
+
async def get_connection_oauth_url(
|
|
614
|
+
self,
|
|
615
|
+
connection_id: Annotated[StrictInt, Field(description="Connection ID")],
|
|
616
|
+
_request_timeout: Union[
|
|
617
|
+
None,
|
|
618
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
619
|
+
Tuple[
|
|
620
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
621
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
622
|
+
]
|
|
623
|
+
] = None,
|
|
624
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
625
|
+
_content_type: Optional[StrictStr] = None,
|
|
626
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
627
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
628
|
+
) -> OAuthUrlResponse:
|
|
629
|
+
"""Get OAuth URL for connection
|
|
630
|
+
|
|
631
|
+
Get the OAuth URL for a runtime user connection. This endpoint is used to retrieve the OAuth authorization URL for establishing or re-authorizing a connection.
|
|
632
|
+
|
|
633
|
+
:param connection_id: Connection ID (required)
|
|
634
|
+
:type connection_id: int
|
|
635
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
636
|
+
number provided, it will be total request
|
|
637
|
+
timeout. It can also be a pair (tuple) of
|
|
638
|
+
(connection, read) timeouts.
|
|
639
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
640
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
641
|
+
request; this effectively ignores the
|
|
642
|
+
authentication in the spec for a single request.
|
|
643
|
+
:type _request_auth: dict, optional
|
|
644
|
+
:param _content_type: force content-type for the request.
|
|
645
|
+
:type _content_type: str, Optional
|
|
646
|
+
:param _headers: set to override the headers for a single
|
|
647
|
+
request; this effectively ignores the headers
|
|
648
|
+
in the spec for a single request.
|
|
649
|
+
:type _headers: dict, optional
|
|
650
|
+
:param _host_index: set to override the host_index for a single
|
|
651
|
+
request; this effectively ignores the host_index
|
|
652
|
+
in the spec for a single request.
|
|
653
|
+
:type _host_index: int, optional
|
|
654
|
+
:return: Returns the result object.
|
|
655
|
+
""" # noqa: E501
|
|
656
|
+
|
|
657
|
+
_param = self._get_connection_oauth_url_serialize(
|
|
658
|
+
connection_id=connection_id,
|
|
659
|
+
_request_auth=_request_auth,
|
|
660
|
+
_content_type=_content_type,
|
|
661
|
+
_headers=_headers,
|
|
662
|
+
_host_index=_host_index
|
|
663
|
+
)
|
|
664
|
+
|
|
665
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
666
|
+
'200': "OAuthUrlResponse",
|
|
667
|
+
'401': "Error",
|
|
668
|
+
'404': None,
|
|
669
|
+
}
|
|
670
|
+
response_data = await self.api_client.call_api(
|
|
671
|
+
*_param,
|
|
672
|
+
_request_timeout=_request_timeout
|
|
673
|
+
)
|
|
674
|
+
await response_data.read()
|
|
675
|
+
return self.api_client.response_deserialize(
|
|
676
|
+
response_data=response_data,
|
|
677
|
+
response_types_map=_response_types_map,
|
|
678
|
+
).data
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
@validate_call
|
|
682
|
+
async def get_connection_oauth_url_with_http_info(
|
|
683
|
+
self,
|
|
684
|
+
connection_id: Annotated[StrictInt, Field(description="Connection ID")],
|
|
685
|
+
_request_timeout: Union[
|
|
686
|
+
None,
|
|
687
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
688
|
+
Tuple[
|
|
689
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
690
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
691
|
+
]
|
|
692
|
+
] = None,
|
|
693
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
694
|
+
_content_type: Optional[StrictStr] = None,
|
|
695
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
696
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
697
|
+
) -> ApiResponse[OAuthUrlResponse]:
|
|
698
|
+
"""Get OAuth URL for connection
|
|
699
|
+
|
|
700
|
+
Get the OAuth URL for a runtime user connection. This endpoint is used to retrieve the OAuth authorization URL for establishing or re-authorizing a connection.
|
|
701
|
+
|
|
702
|
+
:param connection_id: Connection ID (required)
|
|
703
|
+
:type connection_id: int
|
|
704
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
705
|
+
number provided, it will be total request
|
|
706
|
+
timeout. It can also be a pair (tuple) of
|
|
707
|
+
(connection, read) timeouts.
|
|
708
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
709
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
710
|
+
request; this effectively ignores the
|
|
711
|
+
authentication in the spec for a single request.
|
|
712
|
+
:type _request_auth: dict, optional
|
|
713
|
+
:param _content_type: force content-type for the request.
|
|
714
|
+
:type _content_type: str, Optional
|
|
715
|
+
:param _headers: set to override the headers for a single
|
|
716
|
+
request; this effectively ignores the headers
|
|
717
|
+
in the spec for a single request.
|
|
718
|
+
:type _headers: dict, optional
|
|
719
|
+
:param _host_index: set to override the host_index for a single
|
|
720
|
+
request; this effectively ignores the host_index
|
|
721
|
+
in the spec for a single request.
|
|
722
|
+
:type _host_index: int, optional
|
|
723
|
+
:return: Returns the result object.
|
|
724
|
+
""" # noqa: E501
|
|
725
|
+
|
|
726
|
+
_param = self._get_connection_oauth_url_serialize(
|
|
727
|
+
connection_id=connection_id,
|
|
728
|
+
_request_auth=_request_auth,
|
|
729
|
+
_content_type=_content_type,
|
|
730
|
+
_headers=_headers,
|
|
731
|
+
_host_index=_host_index
|
|
732
|
+
)
|
|
733
|
+
|
|
734
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
735
|
+
'200': "OAuthUrlResponse",
|
|
736
|
+
'401': "Error",
|
|
737
|
+
'404': None,
|
|
738
|
+
}
|
|
739
|
+
response_data = await self.api_client.call_api(
|
|
740
|
+
*_param,
|
|
741
|
+
_request_timeout=_request_timeout
|
|
742
|
+
)
|
|
743
|
+
await response_data.read()
|
|
744
|
+
return self.api_client.response_deserialize(
|
|
745
|
+
response_data=response_data,
|
|
746
|
+
response_types_map=_response_types_map,
|
|
747
|
+
)
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
@validate_call
|
|
751
|
+
async def get_connection_oauth_url_without_preload_content(
|
|
752
|
+
self,
|
|
753
|
+
connection_id: Annotated[StrictInt, Field(description="Connection ID")],
|
|
754
|
+
_request_timeout: Union[
|
|
755
|
+
None,
|
|
756
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
757
|
+
Tuple[
|
|
758
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
759
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
760
|
+
]
|
|
761
|
+
] = None,
|
|
762
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
763
|
+
_content_type: Optional[StrictStr] = None,
|
|
764
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
765
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
766
|
+
) -> RESTResponseType:
|
|
767
|
+
"""Get OAuth URL for connection
|
|
768
|
+
|
|
769
|
+
Get the OAuth URL for a runtime user connection. This endpoint is used to retrieve the OAuth authorization URL for establishing or re-authorizing a connection.
|
|
770
|
+
|
|
771
|
+
:param connection_id: Connection ID (required)
|
|
772
|
+
:type connection_id: int
|
|
773
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
774
|
+
number provided, it will be total request
|
|
775
|
+
timeout. It can also be a pair (tuple) of
|
|
776
|
+
(connection, read) timeouts.
|
|
777
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
778
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
779
|
+
request; this effectively ignores the
|
|
780
|
+
authentication in the spec for a single request.
|
|
781
|
+
:type _request_auth: dict, optional
|
|
782
|
+
:param _content_type: force content-type for the request.
|
|
783
|
+
:type _content_type: str, Optional
|
|
784
|
+
:param _headers: set to override the headers for a single
|
|
785
|
+
request; this effectively ignores the headers
|
|
786
|
+
in the spec for a single request.
|
|
787
|
+
:type _headers: dict, optional
|
|
788
|
+
:param _host_index: set to override the host_index for a single
|
|
789
|
+
request; this effectively ignores the host_index
|
|
790
|
+
in the spec for a single request.
|
|
791
|
+
:type _host_index: int, optional
|
|
792
|
+
:return: Returns the result object.
|
|
793
|
+
""" # noqa: E501
|
|
794
|
+
|
|
795
|
+
_param = self._get_connection_oauth_url_serialize(
|
|
796
|
+
connection_id=connection_id,
|
|
797
|
+
_request_auth=_request_auth,
|
|
798
|
+
_content_type=_content_type,
|
|
799
|
+
_headers=_headers,
|
|
800
|
+
_host_index=_host_index
|
|
801
|
+
)
|
|
802
|
+
|
|
803
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
804
|
+
'200': "OAuthUrlResponse",
|
|
805
|
+
'401': "Error",
|
|
806
|
+
'404': None,
|
|
807
|
+
}
|
|
808
|
+
response_data = await self.api_client.call_api(
|
|
809
|
+
*_param,
|
|
810
|
+
_request_timeout=_request_timeout
|
|
811
|
+
)
|
|
812
|
+
return response_data.response
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
def _get_connection_oauth_url_serialize(
|
|
816
|
+
self,
|
|
817
|
+
connection_id,
|
|
818
|
+
_request_auth,
|
|
819
|
+
_content_type,
|
|
820
|
+
_headers,
|
|
821
|
+
_host_index,
|
|
822
|
+
) -> RequestSerialized:
|
|
823
|
+
|
|
824
|
+
_host = None
|
|
825
|
+
|
|
826
|
+
_collection_formats: Dict[str, str] = {
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
_path_params: Dict[str, str] = {}
|
|
830
|
+
_query_params: List[Tuple[str, str]] = []
|
|
831
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
832
|
+
_form_params: List[Tuple[str, str]] = []
|
|
833
|
+
_files: Dict[
|
|
834
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
835
|
+
] = {}
|
|
836
|
+
_body_params: Optional[bytes] = None
|
|
837
|
+
|
|
838
|
+
# process the path parameters
|
|
839
|
+
if connection_id is not None:
|
|
840
|
+
_path_params['connection_id'] = connection_id
|
|
841
|
+
# process the query parameters
|
|
842
|
+
# process the header parameters
|
|
843
|
+
# process the form parameters
|
|
844
|
+
# process the body parameter
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
# set the HTTP header `Accept`
|
|
848
|
+
if 'Accept' not in _header_params:
|
|
849
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
850
|
+
[
|
|
851
|
+
'application/json'
|
|
852
|
+
]
|
|
853
|
+
)
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
# authentication setting
|
|
857
|
+
_auth_settings: List[str] = [
|
|
858
|
+
'BearerAuth'
|
|
859
|
+
]
|
|
860
|
+
|
|
861
|
+
return self.api_client.param_serialize(
|
|
862
|
+
method='GET',
|
|
863
|
+
resource_path='/api/connections/runtime_user_connections/{connection_id}/get_oauth_url',
|
|
864
|
+
path_params=_path_params,
|
|
865
|
+
query_params=_query_params,
|
|
866
|
+
header_params=_header_params,
|
|
867
|
+
body=_body_params,
|
|
868
|
+
post_params=_form_params,
|
|
869
|
+
files=_files,
|
|
870
|
+
auth_settings=_auth_settings,
|
|
871
|
+
collection_formats=_collection_formats,
|
|
872
|
+
_host=_host,
|
|
873
|
+
_request_auth=_request_auth
|
|
874
|
+
)
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
@validate_call
|
|
880
|
+
async def get_connection_picklist(
|
|
881
|
+
self,
|
|
882
|
+
connection_id: Annotated[StrictInt, Field(description="ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. ")],
|
|
883
|
+
picklist_request: PicklistRequest,
|
|
884
|
+
_request_timeout: Union[
|
|
885
|
+
None,
|
|
886
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
887
|
+
Tuple[
|
|
888
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
889
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
890
|
+
]
|
|
891
|
+
] = None,
|
|
892
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
893
|
+
_content_type: Optional[StrictStr] = None,
|
|
894
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
895
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
896
|
+
) -> PicklistResponse:
|
|
897
|
+
"""Get picklist values
|
|
898
|
+
|
|
899
|
+
Obtains a list of picklist values for a specified connection in a workspace. This endpoint allows you to retrieve dynamic lists of values that can be used in forms or dropdowns for the connected application.
|
|
900
|
+
|
|
901
|
+
:param connection_id: ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. (required)
|
|
902
|
+
:type connection_id: int
|
|
903
|
+
:param picklist_request: (required)
|
|
904
|
+
:type picklist_request: PicklistRequest
|
|
905
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
906
|
+
number provided, it will be total request
|
|
907
|
+
timeout. It can also be a pair (tuple) of
|
|
908
|
+
(connection, read) timeouts.
|
|
909
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
910
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
911
|
+
request; this effectively ignores the
|
|
912
|
+
authentication in the spec for a single request.
|
|
913
|
+
:type _request_auth: dict, optional
|
|
914
|
+
:param _content_type: force content-type for the request.
|
|
915
|
+
:type _content_type: str, Optional
|
|
916
|
+
:param _headers: set to override the headers for a single
|
|
917
|
+
request; this effectively ignores the headers
|
|
918
|
+
in the spec for a single request.
|
|
919
|
+
:type _headers: dict, optional
|
|
920
|
+
:param _host_index: set to override the host_index for a single
|
|
921
|
+
request; this effectively ignores the host_index
|
|
922
|
+
in the spec for a single request.
|
|
923
|
+
:type _host_index: int, optional
|
|
924
|
+
:return: Returns the result object.
|
|
925
|
+
""" # noqa: E501
|
|
926
|
+
|
|
927
|
+
_param = self._get_connection_picklist_serialize(
|
|
928
|
+
connection_id=connection_id,
|
|
929
|
+
picklist_request=picklist_request,
|
|
930
|
+
_request_auth=_request_auth,
|
|
931
|
+
_content_type=_content_type,
|
|
932
|
+
_headers=_headers,
|
|
933
|
+
_host_index=_host_index
|
|
934
|
+
)
|
|
935
|
+
|
|
936
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
937
|
+
'200': "PicklistResponse",
|
|
938
|
+
'400': "ValidationError",
|
|
939
|
+
'401': "Error",
|
|
940
|
+
'404': None,
|
|
941
|
+
}
|
|
942
|
+
response_data = await self.api_client.call_api(
|
|
943
|
+
*_param,
|
|
944
|
+
_request_timeout=_request_timeout
|
|
945
|
+
)
|
|
946
|
+
await response_data.read()
|
|
947
|
+
return self.api_client.response_deserialize(
|
|
948
|
+
response_data=response_data,
|
|
949
|
+
response_types_map=_response_types_map,
|
|
950
|
+
).data
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
@validate_call
|
|
954
|
+
async def get_connection_picklist_with_http_info(
|
|
955
|
+
self,
|
|
956
|
+
connection_id: Annotated[StrictInt, Field(description="ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. ")],
|
|
957
|
+
picklist_request: PicklistRequest,
|
|
958
|
+
_request_timeout: Union[
|
|
959
|
+
None,
|
|
960
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
961
|
+
Tuple[
|
|
962
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
963
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
964
|
+
]
|
|
965
|
+
] = None,
|
|
966
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
967
|
+
_content_type: Optional[StrictStr] = None,
|
|
968
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
969
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
970
|
+
) -> ApiResponse[PicklistResponse]:
|
|
971
|
+
"""Get picklist values
|
|
972
|
+
|
|
973
|
+
Obtains a list of picklist values for a specified connection in a workspace. This endpoint allows you to retrieve dynamic lists of values that can be used in forms or dropdowns for the connected application.
|
|
974
|
+
|
|
975
|
+
:param connection_id: ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. (required)
|
|
976
|
+
:type connection_id: int
|
|
977
|
+
:param picklist_request: (required)
|
|
978
|
+
:type picklist_request: PicklistRequest
|
|
979
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
980
|
+
number provided, it will be total request
|
|
981
|
+
timeout. It can also be a pair (tuple) of
|
|
982
|
+
(connection, read) timeouts.
|
|
983
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
984
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
985
|
+
request; this effectively ignores the
|
|
986
|
+
authentication in the spec for a single request.
|
|
987
|
+
:type _request_auth: dict, optional
|
|
988
|
+
:param _content_type: force content-type for the request.
|
|
989
|
+
:type _content_type: str, Optional
|
|
990
|
+
:param _headers: set to override the headers for a single
|
|
991
|
+
request; this effectively ignores the headers
|
|
992
|
+
in the spec for a single request.
|
|
993
|
+
:type _headers: dict, optional
|
|
994
|
+
:param _host_index: set to override the host_index for a single
|
|
995
|
+
request; this effectively ignores the host_index
|
|
996
|
+
in the spec for a single request.
|
|
997
|
+
:type _host_index: int, optional
|
|
998
|
+
:return: Returns the result object.
|
|
999
|
+
""" # noqa: E501
|
|
1000
|
+
|
|
1001
|
+
_param = self._get_connection_picklist_serialize(
|
|
1002
|
+
connection_id=connection_id,
|
|
1003
|
+
picklist_request=picklist_request,
|
|
1004
|
+
_request_auth=_request_auth,
|
|
1005
|
+
_content_type=_content_type,
|
|
1006
|
+
_headers=_headers,
|
|
1007
|
+
_host_index=_host_index
|
|
1008
|
+
)
|
|
1009
|
+
|
|
1010
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1011
|
+
'200': "PicklistResponse",
|
|
1012
|
+
'400': "ValidationError",
|
|
1013
|
+
'401': "Error",
|
|
1014
|
+
'404': None,
|
|
1015
|
+
}
|
|
1016
|
+
response_data = await self.api_client.call_api(
|
|
1017
|
+
*_param,
|
|
1018
|
+
_request_timeout=_request_timeout
|
|
1019
|
+
)
|
|
1020
|
+
await response_data.read()
|
|
1021
|
+
return self.api_client.response_deserialize(
|
|
1022
|
+
response_data=response_data,
|
|
1023
|
+
response_types_map=_response_types_map,
|
|
1024
|
+
)
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
@validate_call
|
|
1028
|
+
async def get_connection_picklist_without_preload_content(
|
|
1029
|
+
self,
|
|
1030
|
+
connection_id: Annotated[StrictInt, Field(description="ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. ")],
|
|
1031
|
+
picklist_request: PicklistRequest,
|
|
1032
|
+
_request_timeout: Union[
|
|
1033
|
+
None,
|
|
1034
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1035
|
+
Tuple[
|
|
1036
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1037
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1038
|
+
]
|
|
1039
|
+
] = None,
|
|
1040
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1041
|
+
_content_type: Optional[StrictStr] = None,
|
|
1042
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1043
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1044
|
+
) -> RESTResponseType:
|
|
1045
|
+
"""Get picklist values
|
|
1046
|
+
|
|
1047
|
+
Obtains a list of picklist values for a specified connection in a workspace. This endpoint allows you to retrieve dynamic lists of values that can be used in forms or dropdowns for the connected application.
|
|
1048
|
+
|
|
1049
|
+
:param connection_id: ID of the connection. This can be found in the URL of the app connection or is the result of the List connections endpoint. (required)
|
|
1050
|
+
:type connection_id: int
|
|
1051
|
+
:param picklist_request: (required)
|
|
1052
|
+
:type picklist_request: PicklistRequest
|
|
1053
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1054
|
+
number provided, it will be total request
|
|
1055
|
+
timeout. It can also be a pair (tuple) of
|
|
1056
|
+
(connection, read) timeouts.
|
|
1057
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1058
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1059
|
+
request; this effectively ignores the
|
|
1060
|
+
authentication in the spec for a single request.
|
|
1061
|
+
:type _request_auth: dict, optional
|
|
1062
|
+
:param _content_type: force content-type for the request.
|
|
1063
|
+
:type _content_type: str, Optional
|
|
1064
|
+
:param _headers: set to override the headers for a single
|
|
1065
|
+
request; this effectively ignores the headers
|
|
1066
|
+
in the spec for a single request.
|
|
1067
|
+
:type _headers: dict, optional
|
|
1068
|
+
:param _host_index: set to override the host_index for a single
|
|
1069
|
+
request; this effectively ignores the host_index
|
|
1070
|
+
in the spec for a single request.
|
|
1071
|
+
:type _host_index: int, optional
|
|
1072
|
+
:return: Returns the result object.
|
|
1073
|
+
""" # noqa: E501
|
|
1074
|
+
|
|
1075
|
+
_param = self._get_connection_picklist_serialize(
|
|
1076
|
+
connection_id=connection_id,
|
|
1077
|
+
picklist_request=picklist_request,
|
|
1078
|
+
_request_auth=_request_auth,
|
|
1079
|
+
_content_type=_content_type,
|
|
1080
|
+
_headers=_headers,
|
|
1081
|
+
_host_index=_host_index
|
|
1082
|
+
)
|
|
1083
|
+
|
|
1084
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1085
|
+
'200': "PicklistResponse",
|
|
1086
|
+
'400': "ValidationError",
|
|
1087
|
+
'401': "Error",
|
|
1088
|
+
'404': None,
|
|
1089
|
+
}
|
|
1090
|
+
response_data = await self.api_client.call_api(
|
|
1091
|
+
*_param,
|
|
1092
|
+
_request_timeout=_request_timeout
|
|
1093
|
+
)
|
|
1094
|
+
return response_data.response
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
def _get_connection_picklist_serialize(
|
|
1098
|
+
self,
|
|
1099
|
+
connection_id,
|
|
1100
|
+
picklist_request,
|
|
1101
|
+
_request_auth,
|
|
1102
|
+
_content_type,
|
|
1103
|
+
_headers,
|
|
1104
|
+
_host_index,
|
|
1105
|
+
) -> RequestSerialized:
|
|
1106
|
+
|
|
1107
|
+
_host = None
|
|
1108
|
+
|
|
1109
|
+
_collection_formats: Dict[str, str] = {
|
|
1110
|
+
}
|
|
1111
|
+
|
|
1112
|
+
_path_params: Dict[str, str] = {}
|
|
1113
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1114
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1115
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1116
|
+
_files: Dict[
|
|
1117
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1118
|
+
] = {}
|
|
1119
|
+
_body_params: Optional[bytes] = None
|
|
1120
|
+
|
|
1121
|
+
# process the path parameters
|
|
1122
|
+
if connection_id is not None:
|
|
1123
|
+
_path_params['connection_id'] = connection_id
|
|
1124
|
+
# process the query parameters
|
|
1125
|
+
# process the header parameters
|
|
1126
|
+
# process the form parameters
|
|
1127
|
+
# process the body parameter
|
|
1128
|
+
if picklist_request is not None:
|
|
1129
|
+
_body_params = picklist_request
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
# set the HTTP header `Accept`
|
|
1133
|
+
if 'Accept' not in _header_params:
|
|
1134
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1135
|
+
[
|
|
1136
|
+
'application/json'
|
|
1137
|
+
]
|
|
1138
|
+
)
|
|
1139
|
+
|
|
1140
|
+
# set the HTTP header `Content-Type`
|
|
1141
|
+
if _content_type:
|
|
1142
|
+
_header_params['Content-Type'] = _content_type
|
|
1143
|
+
else:
|
|
1144
|
+
_default_content_type = (
|
|
1145
|
+
self.api_client.select_header_content_type(
|
|
1146
|
+
[
|
|
1147
|
+
'application/json'
|
|
1148
|
+
]
|
|
1149
|
+
)
|
|
1150
|
+
)
|
|
1151
|
+
if _default_content_type is not None:
|
|
1152
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1153
|
+
|
|
1154
|
+
# authentication setting
|
|
1155
|
+
_auth_settings: List[str] = [
|
|
1156
|
+
'BearerAuth'
|
|
1157
|
+
]
|
|
1158
|
+
|
|
1159
|
+
return self.api_client.param_serialize(
|
|
1160
|
+
method='POST',
|
|
1161
|
+
resource_path='/api/connections/{connection_id}/pick_list',
|
|
1162
|
+
path_params=_path_params,
|
|
1163
|
+
query_params=_query_params,
|
|
1164
|
+
header_params=_header_params,
|
|
1165
|
+
body=_body_params,
|
|
1166
|
+
post_params=_form_params,
|
|
1167
|
+
files=_files,
|
|
1168
|
+
auth_settings=_auth_settings,
|
|
1169
|
+
collection_formats=_collection_formats,
|
|
1170
|
+
_host=_host,
|
|
1171
|
+
_request_auth=_request_auth
|
|
1172
|
+
)
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
@validate_call
|
|
1178
|
+
async def list_connections(
|
|
1179
|
+
self,
|
|
1180
|
+
folder_id: Annotated[Optional[StrictInt], Field(description="Folder ID of the connection")] = None,
|
|
1181
|
+
parent_id: Annotated[Optional[StrictInt], Field(description="Parent ID of the connection (must be same provider)")] = None,
|
|
1182
|
+
external_id: Annotated[Optional[StrictStr], Field(description="External identifier for the connection")] = None,
|
|
1183
|
+
include_runtime_connections: Annotated[Optional[StrictBool], Field(description="When \"true\", include all runtime user connections")] = None,
|
|
1184
|
+
includes: Annotated[Optional[List[StrictStr]], Field(description="Additional fields to include (e.g., tags)")] = None,
|
|
1185
|
+
_request_timeout: Union[
|
|
1186
|
+
None,
|
|
1187
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1188
|
+
Tuple[
|
|
1189
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1190
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1191
|
+
]
|
|
1192
|
+
] = None,
|
|
1193
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1194
|
+
_content_type: Optional[StrictStr] = None,
|
|
1195
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1196
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1197
|
+
) -> List[Connection]:
|
|
1198
|
+
"""List connections
|
|
1199
|
+
|
|
1200
|
+
Returns all connections and associated data for the authenticated user
|
|
1201
|
+
|
|
1202
|
+
:param folder_id: Folder ID of the connection
|
|
1203
|
+
:type folder_id: int
|
|
1204
|
+
:param parent_id: Parent ID of the connection (must be same provider)
|
|
1205
|
+
:type parent_id: int
|
|
1206
|
+
:param external_id: External identifier for the connection
|
|
1207
|
+
:type external_id: str
|
|
1208
|
+
:param include_runtime_connections: When \"true\", include all runtime user connections
|
|
1209
|
+
:type include_runtime_connections: bool
|
|
1210
|
+
:param includes: Additional fields to include (e.g., tags)
|
|
1211
|
+
:type includes: List[str]
|
|
1212
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1213
|
+
number provided, it will be total request
|
|
1214
|
+
timeout. It can also be a pair (tuple) of
|
|
1215
|
+
(connection, read) timeouts.
|
|
1216
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1217
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1218
|
+
request; this effectively ignores the
|
|
1219
|
+
authentication in the spec for a single request.
|
|
1220
|
+
:type _request_auth: dict, optional
|
|
1221
|
+
:param _content_type: force content-type for the request.
|
|
1222
|
+
:type _content_type: str, Optional
|
|
1223
|
+
:param _headers: set to override the headers for a single
|
|
1224
|
+
request; this effectively ignores the headers
|
|
1225
|
+
in the spec for a single request.
|
|
1226
|
+
:type _headers: dict, optional
|
|
1227
|
+
:param _host_index: set to override the host_index for a single
|
|
1228
|
+
request; this effectively ignores the host_index
|
|
1229
|
+
in the spec for a single request.
|
|
1230
|
+
:type _host_index: int, optional
|
|
1231
|
+
:return: Returns the result object.
|
|
1232
|
+
""" # noqa: E501
|
|
1233
|
+
|
|
1234
|
+
_param = self._list_connections_serialize(
|
|
1235
|
+
folder_id=folder_id,
|
|
1236
|
+
parent_id=parent_id,
|
|
1237
|
+
external_id=external_id,
|
|
1238
|
+
include_runtime_connections=include_runtime_connections,
|
|
1239
|
+
includes=includes,
|
|
1240
|
+
_request_auth=_request_auth,
|
|
1241
|
+
_content_type=_content_type,
|
|
1242
|
+
_headers=_headers,
|
|
1243
|
+
_host_index=_host_index
|
|
1244
|
+
)
|
|
1245
|
+
|
|
1246
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1247
|
+
'200': "List[Connection]",
|
|
1248
|
+
'401': "Error",
|
|
1249
|
+
}
|
|
1250
|
+
response_data = await self.api_client.call_api(
|
|
1251
|
+
*_param,
|
|
1252
|
+
_request_timeout=_request_timeout
|
|
1253
|
+
)
|
|
1254
|
+
await response_data.read()
|
|
1255
|
+
return self.api_client.response_deserialize(
|
|
1256
|
+
response_data=response_data,
|
|
1257
|
+
response_types_map=_response_types_map,
|
|
1258
|
+
).data
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
@validate_call
|
|
1262
|
+
async def list_connections_with_http_info(
|
|
1263
|
+
self,
|
|
1264
|
+
folder_id: Annotated[Optional[StrictInt], Field(description="Folder ID of the connection")] = None,
|
|
1265
|
+
parent_id: Annotated[Optional[StrictInt], Field(description="Parent ID of the connection (must be same provider)")] = None,
|
|
1266
|
+
external_id: Annotated[Optional[StrictStr], Field(description="External identifier for the connection")] = None,
|
|
1267
|
+
include_runtime_connections: Annotated[Optional[StrictBool], Field(description="When \"true\", include all runtime user connections")] = None,
|
|
1268
|
+
includes: Annotated[Optional[List[StrictStr]], Field(description="Additional fields to include (e.g., tags)")] = None,
|
|
1269
|
+
_request_timeout: Union[
|
|
1270
|
+
None,
|
|
1271
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1272
|
+
Tuple[
|
|
1273
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1274
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1275
|
+
]
|
|
1276
|
+
] = None,
|
|
1277
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1278
|
+
_content_type: Optional[StrictStr] = None,
|
|
1279
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1280
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1281
|
+
) -> ApiResponse[List[Connection]]:
|
|
1282
|
+
"""List connections
|
|
1283
|
+
|
|
1284
|
+
Returns all connections and associated data for the authenticated user
|
|
1285
|
+
|
|
1286
|
+
:param folder_id: Folder ID of the connection
|
|
1287
|
+
:type folder_id: int
|
|
1288
|
+
:param parent_id: Parent ID of the connection (must be same provider)
|
|
1289
|
+
:type parent_id: int
|
|
1290
|
+
:param external_id: External identifier for the connection
|
|
1291
|
+
:type external_id: str
|
|
1292
|
+
:param include_runtime_connections: When \"true\", include all runtime user connections
|
|
1293
|
+
:type include_runtime_connections: bool
|
|
1294
|
+
:param includes: Additional fields to include (e.g., tags)
|
|
1295
|
+
:type includes: List[str]
|
|
1296
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1297
|
+
number provided, it will be total request
|
|
1298
|
+
timeout. It can also be a pair (tuple) of
|
|
1299
|
+
(connection, read) timeouts.
|
|
1300
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1301
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1302
|
+
request; this effectively ignores the
|
|
1303
|
+
authentication in the spec for a single request.
|
|
1304
|
+
:type _request_auth: dict, optional
|
|
1305
|
+
:param _content_type: force content-type for the request.
|
|
1306
|
+
:type _content_type: str, Optional
|
|
1307
|
+
:param _headers: set to override the headers for a single
|
|
1308
|
+
request; this effectively ignores the headers
|
|
1309
|
+
in the spec for a single request.
|
|
1310
|
+
:type _headers: dict, optional
|
|
1311
|
+
:param _host_index: set to override the host_index for a single
|
|
1312
|
+
request; this effectively ignores the host_index
|
|
1313
|
+
in the spec for a single request.
|
|
1314
|
+
:type _host_index: int, optional
|
|
1315
|
+
:return: Returns the result object.
|
|
1316
|
+
""" # noqa: E501
|
|
1317
|
+
|
|
1318
|
+
_param = self._list_connections_serialize(
|
|
1319
|
+
folder_id=folder_id,
|
|
1320
|
+
parent_id=parent_id,
|
|
1321
|
+
external_id=external_id,
|
|
1322
|
+
include_runtime_connections=include_runtime_connections,
|
|
1323
|
+
includes=includes,
|
|
1324
|
+
_request_auth=_request_auth,
|
|
1325
|
+
_content_type=_content_type,
|
|
1326
|
+
_headers=_headers,
|
|
1327
|
+
_host_index=_host_index
|
|
1328
|
+
)
|
|
1329
|
+
|
|
1330
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1331
|
+
'200': "List[Connection]",
|
|
1332
|
+
'401': "Error",
|
|
1333
|
+
}
|
|
1334
|
+
response_data = await self.api_client.call_api(
|
|
1335
|
+
*_param,
|
|
1336
|
+
_request_timeout=_request_timeout
|
|
1337
|
+
)
|
|
1338
|
+
await response_data.read()
|
|
1339
|
+
return self.api_client.response_deserialize(
|
|
1340
|
+
response_data=response_data,
|
|
1341
|
+
response_types_map=_response_types_map,
|
|
1342
|
+
)
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
@validate_call
|
|
1346
|
+
async def list_connections_without_preload_content(
|
|
1347
|
+
self,
|
|
1348
|
+
folder_id: Annotated[Optional[StrictInt], Field(description="Folder ID of the connection")] = None,
|
|
1349
|
+
parent_id: Annotated[Optional[StrictInt], Field(description="Parent ID of the connection (must be same provider)")] = None,
|
|
1350
|
+
external_id: Annotated[Optional[StrictStr], Field(description="External identifier for the connection")] = None,
|
|
1351
|
+
include_runtime_connections: Annotated[Optional[StrictBool], Field(description="When \"true\", include all runtime user connections")] = None,
|
|
1352
|
+
includes: Annotated[Optional[List[StrictStr]], Field(description="Additional fields to include (e.g., tags)")] = None,
|
|
1353
|
+
_request_timeout: Union[
|
|
1354
|
+
None,
|
|
1355
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1356
|
+
Tuple[
|
|
1357
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1358
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1359
|
+
]
|
|
1360
|
+
] = None,
|
|
1361
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1362
|
+
_content_type: Optional[StrictStr] = None,
|
|
1363
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1364
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1365
|
+
) -> RESTResponseType:
|
|
1366
|
+
"""List connections
|
|
1367
|
+
|
|
1368
|
+
Returns all connections and associated data for the authenticated user
|
|
1369
|
+
|
|
1370
|
+
:param folder_id: Folder ID of the connection
|
|
1371
|
+
:type folder_id: int
|
|
1372
|
+
:param parent_id: Parent ID of the connection (must be same provider)
|
|
1373
|
+
:type parent_id: int
|
|
1374
|
+
:param external_id: External identifier for the connection
|
|
1375
|
+
:type external_id: str
|
|
1376
|
+
:param include_runtime_connections: When \"true\", include all runtime user connections
|
|
1377
|
+
:type include_runtime_connections: bool
|
|
1378
|
+
:param includes: Additional fields to include (e.g., tags)
|
|
1379
|
+
:type includes: List[str]
|
|
1380
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1381
|
+
number provided, it will be total request
|
|
1382
|
+
timeout. It can also be a pair (tuple) of
|
|
1383
|
+
(connection, read) timeouts.
|
|
1384
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1385
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1386
|
+
request; this effectively ignores the
|
|
1387
|
+
authentication in the spec for a single request.
|
|
1388
|
+
:type _request_auth: dict, optional
|
|
1389
|
+
:param _content_type: force content-type for the request.
|
|
1390
|
+
:type _content_type: str, Optional
|
|
1391
|
+
:param _headers: set to override the headers for a single
|
|
1392
|
+
request; this effectively ignores the headers
|
|
1393
|
+
in the spec for a single request.
|
|
1394
|
+
:type _headers: dict, optional
|
|
1395
|
+
:param _host_index: set to override the host_index for a single
|
|
1396
|
+
request; this effectively ignores the host_index
|
|
1397
|
+
in the spec for a single request.
|
|
1398
|
+
:type _host_index: int, optional
|
|
1399
|
+
:return: Returns the result object.
|
|
1400
|
+
""" # noqa: E501
|
|
1401
|
+
|
|
1402
|
+
_param = self._list_connections_serialize(
|
|
1403
|
+
folder_id=folder_id,
|
|
1404
|
+
parent_id=parent_id,
|
|
1405
|
+
external_id=external_id,
|
|
1406
|
+
include_runtime_connections=include_runtime_connections,
|
|
1407
|
+
includes=includes,
|
|
1408
|
+
_request_auth=_request_auth,
|
|
1409
|
+
_content_type=_content_type,
|
|
1410
|
+
_headers=_headers,
|
|
1411
|
+
_host_index=_host_index
|
|
1412
|
+
)
|
|
1413
|
+
|
|
1414
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1415
|
+
'200': "List[Connection]",
|
|
1416
|
+
'401': "Error",
|
|
1417
|
+
}
|
|
1418
|
+
response_data = await self.api_client.call_api(
|
|
1419
|
+
*_param,
|
|
1420
|
+
_request_timeout=_request_timeout
|
|
1421
|
+
)
|
|
1422
|
+
return response_data.response
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
def _list_connections_serialize(
|
|
1426
|
+
self,
|
|
1427
|
+
folder_id,
|
|
1428
|
+
parent_id,
|
|
1429
|
+
external_id,
|
|
1430
|
+
include_runtime_connections,
|
|
1431
|
+
includes,
|
|
1432
|
+
_request_auth,
|
|
1433
|
+
_content_type,
|
|
1434
|
+
_headers,
|
|
1435
|
+
_host_index,
|
|
1436
|
+
) -> RequestSerialized:
|
|
1437
|
+
|
|
1438
|
+
_host = None
|
|
1439
|
+
|
|
1440
|
+
_collection_formats: Dict[str, str] = {
|
|
1441
|
+
'includes[]': 'multi',
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
_path_params: Dict[str, str] = {}
|
|
1445
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1446
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1447
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1448
|
+
_files: Dict[
|
|
1449
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1450
|
+
] = {}
|
|
1451
|
+
_body_params: Optional[bytes] = None
|
|
1452
|
+
|
|
1453
|
+
# process the path parameters
|
|
1454
|
+
# process the query parameters
|
|
1455
|
+
if folder_id is not None:
|
|
1456
|
+
|
|
1457
|
+
_query_params.append(('folder_id', folder_id))
|
|
1458
|
+
|
|
1459
|
+
if parent_id is not None:
|
|
1460
|
+
|
|
1461
|
+
_query_params.append(('parent_id', parent_id))
|
|
1462
|
+
|
|
1463
|
+
if external_id is not None:
|
|
1464
|
+
|
|
1465
|
+
_query_params.append(('external_id', external_id))
|
|
1466
|
+
|
|
1467
|
+
if include_runtime_connections is not None:
|
|
1468
|
+
|
|
1469
|
+
_query_params.append(('include_runtime_connections', include_runtime_connections))
|
|
1470
|
+
|
|
1471
|
+
if includes is not None:
|
|
1472
|
+
|
|
1473
|
+
_query_params.append(('includes[]', includes))
|
|
1474
|
+
|
|
1475
|
+
# process the header parameters
|
|
1476
|
+
# process the form parameters
|
|
1477
|
+
# process the body parameter
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
# set the HTTP header `Accept`
|
|
1481
|
+
if 'Accept' not in _header_params:
|
|
1482
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1483
|
+
[
|
|
1484
|
+
'application/json'
|
|
1485
|
+
]
|
|
1486
|
+
)
|
|
1487
|
+
|
|
1488
|
+
|
|
1489
|
+
# authentication setting
|
|
1490
|
+
_auth_settings: List[str] = [
|
|
1491
|
+
'BearerAuth'
|
|
1492
|
+
]
|
|
1493
|
+
|
|
1494
|
+
return self.api_client.param_serialize(
|
|
1495
|
+
method='GET',
|
|
1496
|
+
resource_path='/api/connections',
|
|
1497
|
+
path_params=_path_params,
|
|
1498
|
+
query_params=_query_params,
|
|
1499
|
+
header_params=_header_params,
|
|
1500
|
+
body=_body_params,
|
|
1501
|
+
post_params=_form_params,
|
|
1502
|
+
files=_files,
|
|
1503
|
+
auth_settings=_auth_settings,
|
|
1504
|
+
collection_formats=_collection_formats,
|
|
1505
|
+
_host=_host,
|
|
1506
|
+
_request_auth=_request_auth
|
|
1507
|
+
)
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
|
|
1512
|
+
@validate_call
|
|
1513
|
+
async def update_connection(
|
|
1514
|
+
self,
|
|
1515
|
+
connection_id: Annotated[StrictInt, Field(description="The ID of the connection")],
|
|
1516
|
+
connection_update_request: Optional[ConnectionUpdateRequest] = None,
|
|
1517
|
+
_request_timeout: Union[
|
|
1518
|
+
None,
|
|
1519
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1520
|
+
Tuple[
|
|
1521
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1522
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1523
|
+
]
|
|
1524
|
+
] = None,
|
|
1525
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1526
|
+
_content_type: Optional[StrictStr] = None,
|
|
1527
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1528
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1529
|
+
) -> Connection:
|
|
1530
|
+
"""Update a connection
|
|
1531
|
+
|
|
1532
|
+
Updates a connection in a non-embedded workspace. Allows updating connection metadata and parameters without requiring full re-creation.
|
|
1533
|
+
|
|
1534
|
+
:param connection_id: The ID of the connection (required)
|
|
1535
|
+
:type connection_id: int
|
|
1536
|
+
:param connection_update_request:
|
|
1537
|
+
:type connection_update_request: ConnectionUpdateRequest
|
|
1538
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1539
|
+
number provided, it will be total request
|
|
1540
|
+
timeout. It can also be a pair (tuple) of
|
|
1541
|
+
(connection, read) timeouts.
|
|
1542
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1543
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1544
|
+
request; this effectively ignores the
|
|
1545
|
+
authentication in the spec for a single request.
|
|
1546
|
+
:type _request_auth: dict, optional
|
|
1547
|
+
:param _content_type: force content-type for the request.
|
|
1548
|
+
:type _content_type: str, Optional
|
|
1549
|
+
:param _headers: set to override the headers for a single
|
|
1550
|
+
request; this effectively ignores the headers
|
|
1551
|
+
in the spec for a single request.
|
|
1552
|
+
:type _headers: dict, optional
|
|
1553
|
+
:param _host_index: set to override the host_index for a single
|
|
1554
|
+
request; this effectively ignores the host_index
|
|
1555
|
+
in the spec for a single request.
|
|
1556
|
+
:type _host_index: int, optional
|
|
1557
|
+
:return: Returns the result object.
|
|
1558
|
+
""" # noqa: E501
|
|
1559
|
+
|
|
1560
|
+
_param = self._update_connection_serialize(
|
|
1561
|
+
connection_id=connection_id,
|
|
1562
|
+
connection_update_request=connection_update_request,
|
|
1563
|
+
_request_auth=_request_auth,
|
|
1564
|
+
_content_type=_content_type,
|
|
1565
|
+
_headers=_headers,
|
|
1566
|
+
_host_index=_host_index
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1570
|
+
'200': "Connection",
|
|
1571
|
+
'400': "ValidationError",
|
|
1572
|
+
'401': "Error",
|
|
1573
|
+
'404': None,
|
|
1574
|
+
}
|
|
1575
|
+
response_data = await self.api_client.call_api(
|
|
1576
|
+
*_param,
|
|
1577
|
+
_request_timeout=_request_timeout
|
|
1578
|
+
)
|
|
1579
|
+
await response_data.read()
|
|
1580
|
+
return self.api_client.response_deserialize(
|
|
1581
|
+
response_data=response_data,
|
|
1582
|
+
response_types_map=_response_types_map,
|
|
1583
|
+
).data
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
@validate_call
|
|
1587
|
+
async def update_connection_with_http_info(
|
|
1588
|
+
self,
|
|
1589
|
+
connection_id: Annotated[StrictInt, Field(description="The ID of the connection")],
|
|
1590
|
+
connection_update_request: Optional[ConnectionUpdateRequest] = None,
|
|
1591
|
+
_request_timeout: Union[
|
|
1592
|
+
None,
|
|
1593
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1594
|
+
Tuple[
|
|
1595
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1596
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1597
|
+
]
|
|
1598
|
+
] = None,
|
|
1599
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1600
|
+
_content_type: Optional[StrictStr] = None,
|
|
1601
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1602
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1603
|
+
) -> ApiResponse[Connection]:
|
|
1604
|
+
"""Update a connection
|
|
1605
|
+
|
|
1606
|
+
Updates a connection in a non-embedded workspace. Allows updating connection metadata and parameters without requiring full re-creation.
|
|
1607
|
+
|
|
1608
|
+
:param connection_id: The ID of the connection (required)
|
|
1609
|
+
:type connection_id: int
|
|
1610
|
+
:param connection_update_request:
|
|
1611
|
+
:type connection_update_request: ConnectionUpdateRequest
|
|
1612
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1613
|
+
number provided, it will be total request
|
|
1614
|
+
timeout. It can also be a pair (tuple) of
|
|
1615
|
+
(connection, read) timeouts.
|
|
1616
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1617
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1618
|
+
request; this effectively ignores the
|
|
1619
|
+
authentication in the spec for a single request.
|
|
1620
|
+
:type _request_auth: dict, optional
|
|
1621
|
+
:param _content_type: force content-type for the request.
|
|
1622
|
+
:type _content_type: str, Optional
|
|
1623
|
+
:param _headers: set to override the headers for a single
|
|
1624
|
+
request; this effectively ignores the headers
|
|
1625
|
+
in the spec for a single request.
|
|
1626
|
+
:type _headers: dict, optional
|
|
1627
|
+
:param _host_index: set to override the host_index for a single
|
|
1628
|
+
request; this effectively ignores the host_index
|
|
1629
|
+
in the spec for a single request.
|
|
1630
|
+
:type _host_index: int, optional
|
|
1631
|
+
:return: Returns the result object.
|
|
1632
|
+
""" # noqa: E501
|
|
1633
|
+
|
|
1634
|
+
_param = self._update_connection_serialize(
|
|
1635
|
+
connection_id=connection_id,
|
|
1636
|
+
connection_update_request=connection_update_request,
|
|
1637
|
+
_request_auth=_request_auth,
|
|
1638
|
+
_content_type=_content_type,
|
|
1639
|
+
_headers=_headers,
|
|
1640
|
+
_host_index=_host_index
|
|
1641
|
+
)
|
|
1642
|
+
|
|
1643
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1644
|
+
'200': "Connection",
|
|
1645
|
+
'400': "ValidationError",
|
|
1646
|
+
'401': "Error",
|
|
1647
|
+
'404': None,
|
|
1648
|
+
}
|
|
1649
|
+
response_data = await self.api_client.call_api(
|
|
1650
|
+
*_param,
|
|
1651
|
+
_request_timeout=_request_timeout
|
|
1652
|
+
)
|
|
1653
|
+
await response_data.read()
|
|
1654
|
+
return self.api_client.response_deserialize(
|
|
1655
|
+
response_data=response_data,
|
|
1656
|
+
response_types_map=_response_types_map,
|
|
1657
|
+
)
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
@validate_call
|
|
1661
|
+
async def update_connection_without_preload_content(
|
|
1662
|
+
self,
|
|
1663
|
+
connection_id: Annotated[StrictInt, Field(description="The ID of the connection")],
|
|
1664
|
+
connection_update_request: Optional[ConnectionUpdateRequest] = None,
|
|
1665
|
+
_request_timeout: Union[
|
|
1666
|
+
None,
|
|
1667
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1668
|
+
Tuple[
|
|
1669
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1670
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1671
|
+
]
|
|
1672
|
+
] = None,
|
|
1673
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1674
|
+
_content_type: Optional[StrictStr] = None,
|
|
1675
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1676
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1677
|
+
) -> RESTResponseType:
|
|
1678
|
+
"""Update a connection
|
|
1679
|
+
|
|
1680
|
+
Updates a connection in a non-embedded workspace. Allows updating connection metadata and parameters without requiring full re-creation.
|
|
1681
|
+
|
|
1682
|
+
:param connection_id: The ID of the connection (required)
|
|
1683
|
+
:type connection_id: int
|
|
1684
|
+
:param connection_update_request:
|
|
1685
|
+
:type connection_update_request: ConnectionUpdateRequest
|
|
1686
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1687
|
+
number provided, it will be total request
|
|
1688
|
+
timeout. It can also be a pair (tuple) of
|
|
1689
|
+
(connection, read) timeouts.
|
|
1690
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1691
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1692
|
+
request; this effectively ignores the
|
|
1693
|
+
authentication in the spec for a single request.
|
|
1694
|
+
:type _request_auth: dict, optional
|
|
1695
|
+
:param _content_type: force content-type for the request.
|
|
1696
|
+
:type _content_type: str, Optional
|
|
1697
|
+
:param _headers: set to override the headers for a single
|
|
1698
|
+
request; this effectively ignores the headers
|
|
1699
|
+
in the spec for a single request.
|
|
1700
|
+
:type _headers: dict, optional
|
|
1701
|
+
:param _host_index: set to override the host_index for a single
|
|
1702
|
+
request; this effectively ignores the host_index
|
|
1703
|
+
in the spec for a single request.
|
|
1704
|
+
:type _host_index: int, optional
|
|
1705
|
+
:return: Returns the result object.
|
|
1706
|
+
""" # noqa: E501
|
|
1707
|
+
|
|
1708
|
+
_param = self._update_connection_serialize(
|
|
1709
|
+
connection_id=connection_id,
|
|
1710
|
+
connection_update_request=connection_update_request,
|
|
1711
|
+
_request_auth=_request_auth,
|
|
1712
|
+
_content_type=_content_type,
|
|
1713
|
+
_headers=_headers,
|
|
1714
|
+
_host_index=_host_index
|
|
1715
|
+
)
|
|
1716
|
+
|
|
1717
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1718
|
+
'200': "Connection",
|
|
1719
|
+
'400': "ValidationError",
|
|
1720
|
+
'401': "Error",
|
|
1721
|
+
'404': None,
|
|
1722
|
+
}
|
|
1723
|
+
response_data = await self.api_client.call_api(
|
|
1724
|
+
*_param,
|
|
1725
|
+
_request_timeout=_request_timeout
|
|
1726
|
+
)
|
|
1727
|
+
return response_data.response
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
def _update_connection_serialize(
|
|
1731
|
+
self,
|
|
1732
|
+
connection_id,
|
|
1733
|
+
connection_update_request,
|
|
1734
|
+
_request_auth,
|
|
1735
|
+
_content_type,
|
|
1736
|
+
_headers,
|
|
1737
|
+
_host_index,
|
|
1738
|
+
) -> RequestSerialized:
|
|
1739
|
+
|
|
1740
|
+
_host = None
|
|
1741
|
+
|
|
1742
|
+
_collection_formats: Dict[str, str] = {
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
_path_params: Dict[str, str] = {}
|
|
1746
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1747
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1748
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1749
|
+
_files: Dict[
|
|
1750
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1751
|
+
] = {}
|
|
1752
|
+
_body_params: Optional[bytes] = None
|
|
1753
|
+
|
|
1754
|
+
# process the path parameters
|
|
1755
|
+
if connection_id is not None:
|
|
1756
|
+
_path_params['connection_id'] = connection_id
|
|
1757
|
+
# process the query parameters
|
|
1758
|
+
# process the header parameters
|
|
1759
|
+
# process the form parameters
|
|
1760
|
+
# process the body parameter
|
|
1761
|
+
if connection_update_request is not None:
|
|
1762
|
+
_body_params = connection_update_request
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
# set the HTTP header `Accept`
|
|
1766
|
+
if 'Accept' not in _header_params:
|
|
1767
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1768
|
+
[
|
|
1769
|
+
'application/json'
|
|
1770
|
+
]
|
|
1771
|
+
)
|
|
1772
|
+
|
|
1773
|
+
# set the HTTP header `Content-Type`
|
|
1774
|
+
if _content_type:
|
|
1775
|
+
_header_params['Content-Type'] = _content_type
|
|
1776
|
+
else:
|
|
1777
|
+
_default_content_type = (
|
|
1778
|
+
self.api_client.select_header_content_type(
|
|
1779
|
+
[
|
|
1780
|
+
'application/json'
|
|
1781
|
+
]
|
|
1782
|
+
)
|
|
1783
|
+
)
|
|
1784
|
+
if _default_content_type is not None:
|
|
1785
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1786
|
+
|
|
1787
|
+
# authentication setting
|
|
1788
|
+
_auth_settings: List[str] = [
|
|
1789
|
+
'BearerAuth'
|
|
1790
|
+
]
|
|
1791
|
+
|
|
1792
|
+
return self.api_client.param_serialize(
|
|
1793
|
+
method='PUT',
|
|
1794
|
+
resource_path='/api/connections/{connection_id}',
|
|
1795
|
+
path_params=_path_params,
|
|
1796
|
+
query_params=_query_params,
|
|
1797
|
+
header_params=_header_params,
|
|
1798
|
+
body=_body_params,
|
|
1799
|
+
post_params=_form_params,
|
|
1800
|
+
files=_files,
|
|
1801
|
+
auth_settings=_auth_settings,
|
|
1802
|
+
collection_formats=_collection_formats,
|
|
1803
|
+
_host=_host,
|
|
1804
|
+
_request_auth=_request_auth
|
|
1805
|
+
)
|
|
1806
|
+
|
|
1807
|
+
|