payi 0.1.0a103__tar.gz → 0.1.0a105__tar.gz
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.
Potentially problematic release.
This version of payi might be problematic. Click here for more details.
- {payi-0.1.0a103 → payi-0.1.0a105}/.gitignore +0 -1
- payi-0.1.0a105/.release-please-manifest.json +3 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/CHANGELOG.md +16 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/PKG-INFO +1 -1
- {payi-0.1.0a103 → payi-0.1.0a105}/api.md +25 -9
- {payi-0.1.0a103 → payi-0.1.0a105}/pyproject.toml +1 -1
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_version.py +1 -1
- payi-0.1.0a105/src/payi/resources/requests/__init__.py +47 -0
- {payi-0.1.0a103/src/payi/resources/requests → payi-0.1.0a105/src/payi/resources/requests/request_id}/__init__.py +20 -20
- {payi-0.1.0a103/src/payi/resources/requests → payi-0.1.0a105/src/payi/resources/requests/request_id}/properties.py +22 -22
- payi-0.1.0a103/src/payi/resources/requests/requests.py → payi-0.1.0a105/src/payi/resources/requests/request_id/request_id.py +49 -49
- {payi-0.1.0a103/src/payi/resources/requests → payi-0.1.0a105/src/payi/resources/requests/request_id}/result.py +8 -14
- payi-0.1.0a105/src/payi/resources/requests/requests.py +134 -0
- payi-0.1.0a105/src/payi/resources/requests/response_id/__init__.py +47 -0
- payi-0.1.0a105/src/payi/resources/requests/response_id/properties.py +181 -0
- payi-0.1.0a105/src/payi/resources/requests/response_id/response_id.py +134 -0
- payi-0.1.0a105/src/payi/resources/requests/response_id/result.py +173 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/properties.py +15 -15
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/__init__.py +1 -0
- {payi-0.1.0a103/src/payi/types/requests → payi-0.1.0a105/src/payi/types}/request_result.py +2 -2
- payi-0.1.0a105/src/payi/types/requests/__init__.py +3 -0
- payi-0.1.0a105/src/payi/types/requests/request_id/__init__.py +5 -0
- payi-0.1.0a103/src/payi/types/use_cases/property_create_params.py → payi-0.1.0a105/src/payi/types/requests/request_id/property_update_params.py +2 -2
- payi-0.1.0a105/src/payi/types/requests/response_id/__init__.py +5 -0
- payi-0.1.0a105/src/payi/types/requests/response_id/property_update_params.py +14 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/xproxy_result.py +2 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/__init__.py +1 -1
- payi-0.1.0a103/src/payi/types/requests/property_create_params.py → payi-0.1.0a105/src/payi/types/use_cases/property_update_params.py +2 -2
- {payi-0.1.0a103/tests/api_resources/requests → payi-0.1.0a105/tests/api_resources/requests/request_id}/test_properties.py +16 -16
- payi-0.1.0a105/tests/api_resources/requests/request_id/test_result.py +100 -0
- payi-0.1.0a105/tests/api_resources/requests/response_id/test_properties.py +130 -0
- {payi-0.1.0a103/tests/api_resources/requests → payi-0.1.0a105/tests/api_resources/requests/response_id}/test_result.py +23 -23
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/test_limits.py +0 -4
- payi-0.1.0a105/tests/api_resources/use_cases/__init__.py +1 -0
- payi-0.1.0a105/tests/api_resources/use_cases/definitions/__init__.py +1 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/definitions/test_kpis.py +12 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/test_properties.py +16 -16
- payi-0.1.0a103/.release-please-manifest.json +0 -3
- payi-0.1.0a103/src/payi/types/requests/__init__.py +0 -6
- {payi-0.1.0a103 → payi-0.1.0a105}/CONTRIBUTING.md +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/LICENSE +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/README.md +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/SECURITY.md +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/bin/check-release-environment +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/bin/publish-pypi +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/examples/.keep +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/mypy.ini +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/noxfile.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/release-please-config.json +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/requirements-dev.lock +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/requirements.lock +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_base_client.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_client.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_compat.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_constants.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_exceptions.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_files.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_models.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_qs.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_resource.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_streaming.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_types.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_logs.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_proxy.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_reflection.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_resources_proxy.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_streams.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_sync.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_transform.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_typing.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/_utils/_utils.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/.keep +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/AnthropicInstrumentor.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/BedrockInstrumentor.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/GoogleGenAiInstrumentor.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/OpenAIInstrumentor.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/Stopwatch.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/VertexInstrumentor.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/VertexRequest.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/helpers.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/instrument.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/lib/version_helper.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/pagination.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/py.typed +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/categories/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/categories/categories.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/categories/fixed_cost_resources.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/categories/resources.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/ingest.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/limits/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/limits/limits.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/limits/tags.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/definitions/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/definitions/definitions.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/definitions/kpis.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/definitions/limit_config.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/definitions/version.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/kpis.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/resources/use_cases/use_cases.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/bulk_ingest_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/categories/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/categories/fixed_cost_resource_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/categories/resource_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/categories/resource_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_delete_resource_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_delete_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_list_resources_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_resource_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/category_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/cost_data.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/cost_details.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/default_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/ingest_bulk_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/ingest_event_param.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/ingest_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/ingest_units_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_history_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_list_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_reset_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limit_update_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/limit_tags.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_create_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_delete_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_list_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_remove_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_remove_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_update_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/limits/tag_update_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/pay_i_common_models_api_router_header_info_param.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/requests_data.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/evaluation_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/ingest_units.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/pay_i_common_models_budget_management_cost_details_base.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/pay_i_common_models_budget_management_create_limit_base.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/properties_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared/xproxy_error.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared_params/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared_params/ingest_units.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/shared_params/pay_i_common_models_budget_management_create_limit_base.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/total_cost_data.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_case_create_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_case_delete_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_case_retrieve_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definition_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definition_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definition_update_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_create_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_delete_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_list_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_retrieve_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_update_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/kpi_update_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/definitions/limit_config_create_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/kpi_list_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/kpi_list_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/kpi_update_params.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/property_create_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/src/payi/types/use_cases/use_case_definition.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/categories/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/categories/test_fixed_cost_resources.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/categories/test_resources.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/limits/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/limits/test_tags.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/requests/__init__.py +0 -0
- {payi-0.1.0a103/tests/api_resources/use_cases → payi-0.1.0a105/tests/api_resources/requests/request_id}/__init__.py +0 -0
- {payi-0.1.0a103/tests/api_resources/use_cases/definitions → payi-0.1.0a105/tests/api_resources/requests/response_id}/__init__.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/test_categories.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/test_ingest.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/test_use_cases.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/definitions/test_limit_config.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/definitions/test_version.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/test_definitions.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/api_resources/use_cases/test_kpis.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/conftest.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/sample_file.txt +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_client.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_deepcopy.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_extract_files.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_files.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_models.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_qs.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_required_args.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_response.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_streaming.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_transform.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_utils/test_proxy.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/test_utils/test_typing.py +0 -0
- {payi-0.1.0a103 → payi-0.1.0a105}/tests/utils.py +0 -0
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.105 (2025-07-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.104...v0.1.0-alpha.105](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.104...v0.1.0-alpha.105)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** manual updates ([48d04d8](https://github.com/Pay-i/pay-i-python/commit/48d04d8d5e8d0627d2c52f28639640f09c960445))
|
|
10
|
+
|
|
11
|
+
## 0.1.0-alpha.104 (2025-07-25)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.1.0-alpha.103...v0.1.0-alpha.104](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.103...v0.1.0-alpha.104)
|
|
14
|
+
|
|
15
|
+
### Chores
|
|
16
|
+
|
|
17
|
+
* **project:** add settings file for vscode ([b3eb6f5](https://github.com/Pay-i/pay-i-python/commit/b3eb6f51668fbaa2c81fd0822e883d181c989df2))
|
|
18
|
+
|
|
3
19
|
## 0.1.0-alpha.103 (2025-07-23)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.1.0-alpha.102...v0.1.0-alpha.103](https://github.com/Pay-i/pay-i-python/compare/v0.1.0-alpha.102...v0.1.0-alpha.103)
|
|
@@ -202,24 +202,40 @@ from payi.types.use_cases import PropertyCreateResponse
|
|
|
202
202
|
|
|
203
203
|
Methods:
|
|
204
204
|
|
|
205
|
-
- <code title="
|
|
205
|
+
- <code title="put /api/v1/use_cases/instances/{use_case_id}/properties">client.use_cases.properties.<a href="./src/payi/resources/use_cases/properties.py">update</a>(use_case_id, \*\*<a href="src/payi/types/use_cases/property_update_params.py">params</a>) -> <a href="./src/payi/types/use_case_instance_response.py">UseCaseInstanceResponse</a></code>
|
|
206
206
|
|
|
207
207
|
# Requests
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
Types:
|
|
210
|
+
|
|
211
|
+
```python
|
|
212
|
+
from payi.types import RequestResult
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
## RequestID
|
|
216
|
+
|
|
217
|
+
### Result
|
|
210
218
|
|
|
211
219
|
Methods:
|
|
212
220
|
|
|
213
|
-
- <code title="
|
|
221
|
+
- <code title="get /api/v1/requests/{request_id}/result">client.requests.request_id.result.<a href="./src/payi/resources/requests/request_id/result.py">retrieve</a>(request_id) -> <a href="./src/payi/types/request_result.py">RequestResult</a></code>
|
|
214
222
|
|
|
215
|
-
|
|
223
|
+
### Properties
|
|
216
224
|
|
|
217
|
-
|
|
225
|
+
Methods:
|
|
218
226
|
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
227
|
+
- <code title="put /api/v1/requests/{request_id}/properties">client.requests.request_id.properties.<a href="./src/payi/resources/requests/request_id/properties.py">update</a>(request_id, \*\*<a href="src/payi/types/requests/request_id/property_update_params.py">params</a>) -> <a href="./src/payi/types/shared/properties_response.py">PropertiesResponse</a></code>
|
|
228
|
+
|
|
229
|
+
## ResponseID
|
|
230
|
+
|
|
231
|
+
### Result
|
|
232
|
+
|
|
233
|
+
Methods:
|
|
234
|
+
|
|
235
|
+
- <code title="get /api/v1/requests/provider/{category}/{provider_response_id}/result">client.requests.response_id.result.<a href="./src/payi/resources/requests/response_id/result.py">retrieve</a>(provider_response_id, \*, category) -> <a href="./src/payi/types/request_result.py">RequestResult</a></code>
|
|
236
|
+
|
|
237
|
+
### Properties
|
|
222
238
|
|
|
223
239
|
Methods:
|
|
224
240
|
|
|
225
|
-
- <code title="
|
|
241
|
+
- <code title="put /api/v1/requests/provider/{category}/{provider_response_id}/properties">client.requests.response_id.properties.<a href="./src/payi/resources/requests/response_id/properties.py">update</a>(provider_response_id, \*, category, \*\*<a href="src/payi/types/requests/response_id/property_update_params.py">params</a>) -> <a href="./src/payi/types/shared/properties_response.py">PropertiesResponse</a></code>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from .requests import (
|
|
4
|
+
RequestsResource,
|
|
5
|
+
AsyncRequestsResource,
|
|
6
|
+
RequestsResourceWithRawResponse,
|
|
7
|
+
AsyncRequestsResourceWithRawResponse,
|
|
8
|
+
RequestsResourceWithStreamingResponse,
|
|
9
|
+
AsyncRequestsResourceWithStreamingResponse,
|
|
10
|
+
)
|
|
11
|
+
from .request_id import (
|
|
12
|
+
RequestIDResource,
|
|
13
|
+
AsyncRequestIDResource,
|
|
14
|
+
RequestIDResourceWithRawResponse,
|
|
15
|
+
AsyncRequestIDResourceWithRawResponse,
|
|
16
|
+
RequestIDResourceWithStreamingResponse,
|
|
17
|
+
AsyncRequestIDResourceWithStreamingResponse,
|
|
18
|
+
)
|
|
19
|
+
from .response_id import (
|
|
20
|
+
ResponseIDResource,
|
|
21
|
+
AsyncResponseIDResource,
|
|
22
|
+
ResponseIDResourceWithRawResponse,
|
|
23
|
+
AsyncResponseIDResourceWithRawResponse,
|
|
24
|
+
ResponseIDResourceWithStreamingResponse,
|
|
25
|
+
AsyncResponseIDResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"RequestIDResource",
|
|
30
|
+
"AsyncRequestIDResource",
|
|
31
|
+
"RequestIDResourceWithRawResponse",
|
|
32
|
+
"AsyncRequestIDResourceWithRawResponse",
|
|
33
|
+
"RequestIDResourceWithStreamingResponse",
|
|
34
|
+
"AsyncRequestIDResourceWithStreamingResponse",
|
|
35
|
+
"ResponseIDResource",
|
|
36
|
+
"AsyncResponseIDResource",
|
|
37
|
+
"ResponseIDResourceWithRawResponse",
|
|
38
|
+
"AsyncResponseIDResourceWithRawResponse",
|
|
39
|
+
"ResponseIDResourceWithStreamingResponse",
|
|
40
|
+
"AsyncResponseIDResourceWithStreamingResponse",
|
|
41
|
+
"RequestsResource",
|
|
42
|
+
"AsyncRequestsResource",
|
|
43
|
+
"RequestsResourceWithRawResponse",
|
|
44
|
+
"AsyncRequestsResourceWithRawResponse",
|
|
45
|
+
"RequestsResourceWithStreamingResponse",
|
|
46
|
+
"AsyncRequestsResourceWithStreamingResponse",
|
|
47
|
+
]
|
|
@@ -8,14 +8,6 @@ from .result import (
|
|
|
8
8
|
ResultResourceWithStreamingResponse,
|
|
9
9
|
AsyncResultResourceWithStreamingResponse,
|
|
10
10
|
)
|
|
11
|
-
from .requests import (
|
|
12
|
-
RequestsResource,
|
|
13
|
-
AsyncRequestsResource,
|
|
14
|
-
RequestsResourceWithRawResponse,
|
|
15
|
-
AsyncRequestsResourceWithRawResponse,
|
|
16
|
-
RequestsResourceWithStreamingResponse,
|
|
17
|
-
AsyncRequestsResourceWithStreamingResponse,
|
|
18
|
-
)
|
|
19
11
|
from .properties import (
|
|
20
12
|
PropertiesResource,
|
|
21
13
|
AsyncPropertiesResource,
|
|
@@ -24,24 +16,32 @@ from .properties import (
|
|
|
24
16
|
PropertiesResourceWithStreamingResponse,
|
|
25
17
|
AsyncPropertiesResourceWithStreamingResponse,
|
|
26
18
|
)
|
|
19
|
+
from .request_id import (
|
|
20
|
+
RequestIDResource,
|
|
21
|
+
AsyncRequestIDResource,
|
|
22
|
+
RequestIDResourceWithRawResponse,
|
|
23
|
+
AsyncRequestIDResourceWithRawResponse,
|
|
24
|
+
RequestIDResourceWithStreamingResponse,
|
|
25
|
+
AsyncRequestIDResourceWithStreamingResponse,
|
|
26
|
+
)
|
|
27
27
|
|
|
28
28
|
__all__ = [
|
|
29
|
-
"PropertiesResource",
|
|
30
|
-
"AsyncPropertiesResource",
|
|
31
|
-
"PropertiesResourceWithRawResponse",
|
|
32
|
-
"AsyncPropertiesResourceWithRawResponse",
|
|
33
|
-
"PropertiesResourceWithStreamingResponse",
|
|
34
|
-
"AsyncPropertiesResourceWithStreamingResponse",
|
|
35
29
|
"ResultResource",
|
|
36
30
|
"AsyncResultResource",
|
|
37
31
|
"ResultResourceWithRawResponse",
|
|
38
32
|
"AsyncResultResourceWithRawResponse",
|
|
39
33
|
"ResultResourceWithStreamingResponse",
|
|
40
34
|
"AsyncResultResourceWithStreamingResponse",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
35
|
+
"PropertiesResource",
|
|
36
|
+
"AsyncPropertiesResource",
|
|
37
|
+
"PropertiesResourceWithRawResponse",
|
|
38
|
+
"AsyncPropertiesResourceWithRawResponse",
|
|
39
|
+
"PropertiesResourceWithStreamingResponse",
|
|
40
|
+
"AsyncPropertiesResourceWithStreamingResponse",
|
|
41
|
+
"RequestIDResource",
|
|
42
|
+
"AsyncRequestIDResource",
|
|
43
|
+
"RequestIDResourceWithRawResponse",
|
|
44
|
+
"AsyncRequestIDResourceWithRawResponse",
|
|
45
|
+
"RequestIDResourceWithStreamingResponse",
|
|
46
|
+
"AsyncRequestIDResourceWithStreamingResponse",
|
|
47
47
|
]
|
|
@@ -6,19 +6,19 @@ from typing import Dict
|
|
|
6
6
|
|
|
7
7
|
import httpx
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from
|
|
11
|
-
from
|
|
12
|
-
from
|
|
13
|
-
from
|
|
9
|
+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
10
|
+
from ...._utils import maybe_transform, async_maybe_transform
|
|
11
|
+
from ...._compat import cached_property
|
|
12
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
13
|
+
from ...._response import (
|
|
14
14
|
to_raw_response_wrapper,
|
|
15
15
|
to_streamed_response_wrapper,
|
|
16
16
|
async_to_raw_response_wrapper,
|
|
17
17
|
async_to_streamed_response_wrapper,
|
|
18
18
|
)
|
|
19
|
-
from
|
|
20
|
-
from
|
|
21
|
-
from
|
|
19
|
+
from ...._base_client import make_request_options
|
|
20
|
+
from ....types.requests.request_id import property_update_params
|
|
21
|
+
from ....types.shared.properties_response import PropertiesResponse
|
|
22
22
|
|
|
23
23
|
__all__ = ["PropertiesResource", "AsyncPropertiesResource"]
|
|
24
24
|
|
|
@@ -43,7 +43,7 @@ class PropertiesResource(SyncAPIResource):
|
|
|
43
43
|
"""
|
|
44
44
|
return PropertiesResourceWithStreamingResponse(self)
|
|
45
45
|
|
|
46
|
-
def
|
|
46
|
+
def update(
|
|
47
47
|
self,
|
|
48
48
|
request_id: str,
|
|
49
49
|
*,
|
|
@@ -69,9 +69,9 @@ class PropertiesResource(SyncAPIResource):
|
|
|
69
69
|
"""
|
|
70
70
|
if not request_id:
|
|
71
71
|
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
72
|
-
return self.
|
|
72
|
+
return self._put(
|
|
73
73
|
f"/api/v1/requests/{request_id}/properties",
|
|
74
|
-
body=maybe_transform({"properties": properties},
|
|
74
|
+
body=maybe_transform({"properties": properties}, property_update_params.PropertyUpdateParams),
|
|
75
75
|
options=make_request_options(
|
|
76
76
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
77
77
|
),
|
|
@@ -99,7 +99,7 @@ class AsyncPropertiesResource(AsyncAPIResource):
|
|
|
99
99
|
"""
|
|
100
100
|
return AsyncPropertiesResourceWithStreamingResponse(self)
|
|
101
101
|
|
|
102
|
-
async def
|
|
102
|
+
async def update(
|
|
103
103
|
self,
|
|
104
104
|
request_id: str,
|
|
105
105
|
*,
|
|
@@ -125,9 +125,9 @@ class AsyncPropertiesResource(AsyncAPIResource):
|
|
|
125
125
|
"""
|
|
126
126
|
if not request_id:
|
|
127
127
|
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
128
|
-
return await self.
|
|
128
|
+
return await self._put(
|
|
129
129
|
f"/api/v1/requests/{request_id}/properties",
|
|
130
|
-
body=await async_maybe_transform({"properties": properties},
|
|
130
|
+
body=await async_maybe_transform({"properties": properties}, property_update_params.PropertyUpdateParams),
|
|
131
131
|
options=make_request_options(
|
|
132
132
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
133
133
|
),
|
|
@@ -139,8 +139,8 @@ class PropertiesResourceWithRawResponse:
|
|
|
139
139
|
def __init__(self, properties: PropertiesResource) -> None:
|
|
140
140
|
self._properties = properties
|
|
141
141
|
|
|
142
|
-
self.
|
|
143
|
-
properties.
|
|
142
|
+
self.update = to_raw_response_wrapper(
|
|
143
|
+
properties.update,
|
|
144
144
|
)
|
|
145
145
|
|
|
146
146
|
|
|
@@ -148,8 +148,8 @@ class AsyncPropertiesResourceWithRawResponse:
|
|
|
148
148
|
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
149
149
|
self._properties = properties
|
|
150
150
|
|
|
151
|
-
self.
|
|
152
|
-
properties.
|
|
151
|
+
self.update = async_to_raw_response_wrapper(
|
|
152
|
+
properties.update,
|
|
153
153
|
)
|
|
154
154
|
|
|
155
155
|
|
|
@@ -157,8 +157,8 @@ class PropertiesResourceWithStreamingResponse:
|
|
|
157
157
|
def __init__(self, properties: PropertiesResource) -> None:
|
|
158
158
|
self._properties = properties
|
|
159
159
|
|
|
160
|
-
self.
|
|
161
|
-
properties.
|
|
160
|
+
self.update = to_streamed_response_wrapper(
|
|
161
|
+
properties.update,
|
|
162
162
|
)
|
|
163
163
|
|
|
164
164
|
|
|
@@ -166,6 +166,6 @@ class AsyncPropertiesResourceWithStreamingResponse:
|
|
|
166
166
|
def __init__(self, properties: AsyncPropertiesResource) -> None:
|
|
167
167
|
self._properties = properties
|
|
168
168
|
|
|
169
|
-
self.
|
|
170
|
-
properties.
|
|
169
|
+
self.update = async_to_streamed_response_wrapper(
|
|
170
|
+
properties.update,
|
|
171
171
|
)
|
|
@@ -10,7 +10,7 @@ from .result import (
|
|
|
10
10
|
ResultResourceWithStreamingResponse,
|
|
11
11
|
AsyncResultResourceWithStreamingResponse,
|
|
12
12
|
)
|
|
13
|
-
from
|
|
13
|
+
from ...._compat import cached_property
|
|
14
14
|
from .properties import (
|
|
15
15
|
PropertiesResource,
|
|
16
16
|
AsyncPropertiesResource,
|
|
@@ -19,116 +19,116 @@ from .properties import (
|
|
|
19
19
|
PropertiesResourceWithStreamingResponse,
|
|
20
20
|
AsyncPropertiesResourceWithStreamingResponse,
|
|
21
21
|
)
|
|
22
|
-
from
|
|
22
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
23
23
|
|
|
24
|
-
__all__ = ["
|
|
24
|
+
__all__ = ["RequestIDResource", "AsyncRequestIDResource"]
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
class
|
|
28
|
-
@cached_property
|
|
29
|
-
def properties(self) -> PropertiesResource:
|
|
30
|
-
return PropertiesResource(self._client)
|
|
31
|
-
|
|
27
|
+
class RequestIDResource(SyncAPIResource):
|
|
32
28
|
@cached_property
|
|
33
29
|
def result(self) -> ResultResource:
|
|
34
30
|
return ResultResource(self._client)
|
|
35
31
|
|
|
36
32
|
@cached_property
|
|
37
|
-
def
|
|
33
|
+
def properties(self) -> PropertiesResource:
|
|
34
|
+
return PropertiesResource(self._client)
|
|
35
|
+
|
|
36
|
+
@cached_property
|
|
37
|
+
def with_raw_response(self) -> RequestIDResourceWithRawResponse:
|
|
38
38
|
"""
|
|
39
39
|
This property can be used as a prefix for any HTTP method call to return
|
|
40
40
|
the raw response object instead of the parsed content.
|
|
41
41
|
|
|
42
42
|
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
43
43
|
"""
|
|
44
|
-
return
|
|
44
|
+
return RequestIDResourceWithRawResponse(self)
|
|
45
45
|
|
|
46
46
|
@cached_property
|
|
47
|
-
def with_streaming_response(self) ->
|
|
47
|
+
def with_streaming_response(self) -> RequestIDResourceWithStreamingResponse:
|
|
48
48
|
"""
|
|
49
49
|
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
50
50
|
|
|
51
51
|
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
52
52
|
"""
|
|
53
|
-
return
|
|
53
|
+
return RequestIDResourceWithStreamingResponse(self)
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
class
|
|
57
|
-
@cached_property
|
|
58
|
-
def properties(self) -> AsyncPropertiesResource:
|
|
59
|
-
return AsyncPropertiesResource(self._client)
|
|
60
|
-
|
|
56
|
+
class AsyncRequestIDResource(AsyncAPIResource):
|
|
61
57
|
@cached_property
|
|
62
58
|
def result(self) -> AsyncResultResource:
|
|
63
59
|
return AsyncResultResource(self._client)
|
|
64
60
|
|
|
65
61
|
@cached_property
|
|
66
|
-
def
|
|
62
|
+
def properties(self) -> AsyncPropertiesResource:
|
|
63
|
+
return AsyncPropertiesResource(self._client)
|
|
64
|
+
|
|
65
|
+
@cached_property
|
|
66
|
+
def with_raw_response(self) -> AsyncRequestIDResourceWithRawResponse:
|
|
67
67
|
"""
|
|
68
68
|
This property can be used as a prefix for any HTTP method call to return
|
|
69
69
|
the raw response object instead of the parsed content.
|
|
70
70
|
|
|
71
71
|
For more information, see https://www.github.com/Pay-i/pay-i-python#accessing-raw-response-data-eg-headers
|
|
72
72
|
"""
|
|
73
|
-
return
|
|
73
|
+
return AsyncRequestIDResourceWithRawResponse(self)
|
|
74
74
|
|
|
75
75
|
@cached_property
|
|
76
|
-
def with_streaming_response(self) ->
|
|
76
|
+
def with_streaming_response(self) -> AsyncRequestIDResourceWithStreamingResponse:
|
|
77
77
|
"""
|
|
78
78
|
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
|
79
79
|
|
|
80
80
|
For more information, see https://www.github.com/Pay-i/pay-i-python#with_streaming_response
|
|
81
81
|
"""
|
|
82
|
-
return
|
|
82
|
+
return AsyncRequestIDResourceWithStreamingResponse(self)
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
class
|
|
86
|
-
def __init__(self,
|
|
87
|
-
self.
|
|
85
|
+
class RequestIDResourceWithRawResponse:
|
|
86
|
+
def __init__(self, request_id: RequestIDResource) -> None:
|
|
87
|
+
self._request_id = request_id
|
|
88
88
|
|
|
89
89
|
@cached_property
|
|
90
|
-
def
|
|
91
|
-
return
|
|
90
|
+
def result(self) -> ResultResourceWithRawResponse:
|
|
91
|
+
return ResultResourceWithRawResponse(self._request_id.result)
|
|
92
92
|
|
|
93
93
|
@cached_property
|
|
94
|
-
def
|
|
95
|
-
return
|
|
94
|
+
def properties(self) -> PropertiesResourceWithRawResponse:
|
|
95
|
+
return PropertiesResourceWithRawResponse(self._request_id.properties)
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
class
|
|
99
|
-
def __init__(self,
|
|
100
|
-
self.
|
|
98
|
+
class AsyncRequestIDResourceWithRawResponse:
|
|
99
|
+
def __init__(self, request_id: AsyncRequestIDResource) -> None:
|
|
100
|
+
self._request_id = request_id
|
|
101
101
|
|
|
102
102
|
@cached_property
|
|
103
|
-
def
|
|
104
|
-
return
|
|
103
|
+
def result(self) -> AsyncResultResourceWithRawResponse:
|
|
104
|
+
return AsyncResultResourceWithRawResponse(self._request_id.result)
|
|
105
105
|
|
|
106
106
|
@cached_property
|
|
107
|
-
def
|
|
108
|
-
return
|
|
107
|
+
def properties(self) -> AsyncPropertiesResourceWithRawResponse:
|
|
108
|
+
return AsyncPropertiesResourceWithRawResponse(self._request_id.properties)
|
|
109
109
|
|
|
110
110
|
|
|
111
|
-
class
|
|
112
|
-
def __init__(self,
|
|
113
|
-
self.
|
|
111
|
+
class RequestIDResourceWithStreamingResponse:
|
|
112
|
+
def __init__(self, request_id: RequestIDResource) -> None:
|
|
113
|
+
self._request_id = request_id
|
|
114
114
|
|
|
115
115
|
@cached_property
|
|
116
|
-
def
|
|
117
|
-
return
|
|
116
|
+
def result(self) -> ResultResourceWithStreamingResponse:
|
|
117
|
+
return ResultResourceWithStreamingResponse(self._request_id.result)
|
|
118
118
|
|
|
119
119
|
@cached_property
|
|
120
|
-
def
|
|
121
|
-
return
|
|
120
|
+
def properties(self) -> PropertiesResourceWithStreamingResponse:
|
|
121
|
+
return PropertiesResourceWithStreamingResponse(self._request_id.properties)
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
class
|
|
125
|
-
def __init__(self,
|
|
126
|
-
self.
|
|
124
|
+
class AsyncRequestIDResourceWithStreamingResponse:
|
|
125
|
+
def __init__(self, request_id: AsyncRequestIDResource) -> None:
|
|
126
|
+
self._request_id = request_id
|
|
127
127
|
|
|
128
128
|
@cached_property
|
|
129
|
-
def
|
|
130
|
-
return
|
|
129
|
+
def result(self) -> AsyncResultResourceWithStreamingResponse:
|
|
130
|
+
return AsyncResultResourceWithStreamingResponse(self._request_id.result)
|
|
131
131
|
|
|
132
132
|
@cached_property
|
|
133
|
-
def
|
|
134
|
-
return
|
|
133
|
+
def properties(self) -> AsyncPropertiesResourceWithStreamingResponse:
|
|
134
|
+
return AsyncPropertiesResourceWithStreamingResponse(self._request_id.properties)
|
|
@@ -4,17 +4,17 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
import httpx
|
|
6
6
|
|
|
7
|
-
from
|
|
8
|
-
from
|
|
9
|
-
from
|
|
10
|
-
from
|
|
7
|
+
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
|
8
|
+
from ...._compat import cached_property
|
|
9
|
+
from ...._resource import SyncAPIResource, AsyncAPIResource
|
|
10
|
+
from ...._response import (
|
|
11
11
|
to_raw_response_wrapper,
|
|
12
12
|
to_streamed_response_wrapper,
|
|
13
13
|
async_to_raw_response_wrapper,
|
|
14
14
|
async_to_streamed_response_wrapper,
|
|
15
15
|
)
|
|
16
|
-
from
|
|
17
|
-
from
|
|
16
|
+
from ...._base_client import make_request_options
|
|
17
|
+
from ....types.request_result import RequestResult
|
|
18
18
|
|
|
19
19
|
__all__ = ["ResultResource", "AsyncResultResource"]
|
|
20
20
|
|
|
@@ -43,7 +43,6 @@ class ResultResource(SyncAPIResource):
|
|
|
43
43
|
self,
|
|
44
44
|
request_id: str,
|
|
45
45
|
*,
|
|
46
|
-
category: str,
|
|
47
46
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
48
47
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
49
48
|
extra_headers: Headers | None = None,
|
|
@@ -63,12 +62,10 @@ class ResultResource(SyncAPIResource):
|
|
|
63
62
|
|
|
64
63
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
65
64
|
"""
|
|
66
|
-
if not category:
|
|
67
|
-
raise ValueError(f"Expected a non-empty value for `category` but received {category!r}")
|
|
68
65
|
if not request_id:
|
|
69
66
|
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
70
67
|
return self._get(
|
|
71
|
-
f"/api/v1/requests/
|
|
68
|
+
f"/api/v1/requests/{request_id}/result",
|
|
72
69
|
options=make_request_options(
|
|
73
70
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
74
71
|
),
|
|
@@ -100,7 +97,6 @@ class AsyncResultResource(AsyncAPIResource):
|
|
|
100
97
|
self,
|
|
101
98
|
request_id: str,
|
|
102
99
|
*,
|
|
103
|
-
category: str,
|
|
104
100
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
105
101
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
106
102
|
extra_headers: Headers | None = None,
|
|
@@ -120,12 +116,10 @@ class AsyncResultResource(AsyncAPIResource):
|
|
|
120
116
|
|
|
121
117
|
timeout: Override the client-level default timeout for this request, in seconds
|
|
122
118
|
"""
|
|
123
|
-
if not category:
|
|
124
|
-
raise ValueError(f"Expected a non-empty value for `category` but received {category!r}")
|
|
125
119
|
if not request_id:
|
|
126
120
|
raise ValueError(f"Expected a non-empty value for `request_id` but received {request_id!r}")
|
|
127
121
|
return await self._get(
|
|
128
|
-
f"/api/v1/requests/
|
|
122
|
+
f"/api/v1/requests/{request_id}/result",
|
|
129
123
|
options=make_request_options(
|
|
130
124
|
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
|
131
125
|
),
|