archil-openapi 0.0.34__tar.gz → 0.0.35__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.
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/PKG-INFO +1 -1
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/pyproject.toml +1 -1
- archil_openapi-0.0.35/src/archil_openapi/api/billing/create_billing_setup_intent.py +142 -0
- archil_openapi-0.0.35/src/archil_openapi/api/billing/list_billing_payment_methods.py +194 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/__init__.py +10 -0
- archil_openapi-0.0.35/src/archil_openapi/models/api_response_billing_payment_methods.py +92 -0
- archil_openapi-0.0.35/src/archil_openapi/models/api_response_billing_setup_intent.py +73 -0
- archil_openapi-0.0.35/src/archil_openapi/models/api_response_billing_setup_intent_data.py +67 -0
- archil_openapi-0.0.35/src/archil_openapi/models/billing_payment_method.py +115 -0
- archil_openapi-0.0.35/src/archil_openapi/models/billing_payment_method_card.py +83 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/LICENSE +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/README.md +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/activity/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/activity/list_activity.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/api_tokens/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/api_tokens/create_api_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/api_tokens/delete_api_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/api_tokens/list_api_tokens.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/billing/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/billing/get_billing_summary.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_configuration/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_configuration/get_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_configuration/list_delegations.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_configuration/revoke_delegation.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_configuration/set_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_users/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_users/add_disk_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disk_users/remove_disk_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/create_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/create_share_url.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/delete_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/exec_.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/exec_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/get_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/grep_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/disks/list_disks.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/__init__.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/create_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/create_sandbox_connection.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/create_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/delete_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/delete_sandbox_port.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/delete_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/expose_sandbox_port.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/fork_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/get_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/get_sandbox_network.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/get_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/list_sandbox_port_tokens.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/list_sandbox_ports.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/list_sandboxes.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/pause_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/resume_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/set_sandbox_timeout.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/start_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/stop_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/api/sandboxes/update_sandbox_network.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/client.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/errors.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/activity_event.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/activity_event_details.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/activity_event_level.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_activity_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_allowed_i_ps_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_authorized_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_billing_summary.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_create_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_create_disk_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_delegations.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_delegations_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_disk_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_empty.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_exec.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_exec_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_grep_disk.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_message.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_message_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_connection.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_list_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_network.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_port.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_port_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_share_url.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_share_url_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_token_created.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_token_created_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_token_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_response_token_list_data.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/api_token_response.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/authorized_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/authorized_user_status.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/authorized_user_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/aws_sts_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/aws_sts_user_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/azure_blob_storage.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/azure_blob_storage_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_owner.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_owner_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_payment_health.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_payment_health_status.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_period.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_scheduled_change.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_scheduled_change_target_plan.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_scheduled_change_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_summary.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_summary_actions.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_summary_billing_mode.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/billing_summary_plan.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/cloudflare_r2.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/cloudflare_r2_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/connected_client.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_api_token_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_disk_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_sandbox_port_token_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_sandbox_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_sandbox_request_env.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/create_share_url_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/delegation_entry.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/disk_metrics.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/disk_response.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/disk_response_capabilities_item.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/disk_response_status.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/error_response.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_disk_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_disk_result.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_mount.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_request_disks.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/exec_timing.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/fork_sandbox_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/google_cloud_storage.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/google_cloud_storage_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/grep_disk_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/grep_disk_result.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/grep_match.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/grep_stopped_reason.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/list_activity_level_item.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_config_response.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_response.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_response_access_mode.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_response_authorization_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_response_connection_status.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/mount_response_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/remove_disk_user_user_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/revoke_delegation_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/root_attrs.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/s3.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/s3_compatible.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/s3_compatible_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/s3_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_connection.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_egress_policy.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_egress_rule.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_egress_transform.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_egress_transform_headers.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_endpoint.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_mount.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_network.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_network_action.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_platform.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_port.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_port_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_port_token.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_state.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/sandbox_timeout_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/set_allowed_i_ps_body.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/start_sandbox_request.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/token_user.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/models/token_user_type.py +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/py.typed +0 -0
- {archil_openapi-0.0.34 → archil_openapi-0.0.35}/src/archil_openapi/types.py +0 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.api_response_billing_setup_intent import ApiResponseBillingSetupIntent
|
|
9
|
+
from ...models.error_response import ErrorResponse
|
|
10
|
+
from ...types import Response
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs() -> dict[str, Any]:
|
|
14
|
+
_kwargs: dict[str, Any] = {
|
|
15
|
+
"method": "post",
|
|
16
|
+
"url": "/api/billing/setup-intents",
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
return _kwargs
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def _parse_response(
|
|
23
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
24
|
+
) -> Optional[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
25
|
+
if response.status_code == 200:
|
|
26
|
+
response_200 = ApiResponseBillingSetupIntent.from_dict(response.json())
|
|
27
|
+
|
|
28
|
+
return response_200
|
|
29
|
+
|
|
30
|
+
if response.status_code == 401:
|
|
31
|
+
response_401 = response.text
|
|
32
|
+
return response_401
|
|
33
|
+
|
|
34
|
+
if response.status_code == 409:
|
|
35
|
+
response_409 = ErrorResponse.from_dict(response.json())
|
|
36
|
+
|
|
37
|
+
return response_409
|
|
38
|
+
|
|
39
|
+
if response.status_code == 502:
|
|
40
|
+
response_502 = ErrorResponse.from_dict(response.json())
|
|
41
|
+
|
|
42
|
+
return response_502
|
|
43
|
+
|
|
44
|
+
if client.raise_on_unexpected_status:
|
|
45
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
46
|
+
else:
|
|
47
|
+
return None
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def _build_response(
|
|
51
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
52
|
+
) -> Response[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
53
|
+
return Response(
|
|
54
|
+
status_code=HTTPStatus(response.status_code),
|
|
55
|
+
content=response.content,
|
|
56
|
+
headers=response.headers,
|
|
57
|
+
parsed=_parse_response(client=client, response=response),
|
|
58
|
+
)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def sync_detailed(
|
|
62
|
+
*,
|
|
63
|
+
client: AuthenticatedClient,
|
|
64
|
+
) -> Response[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
65
|
+
"""Start card setup with Stripe Elements
|
|
66
|
+
|
|
67
|
+
Raises:
|
|
68
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
69
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
70
|
+
|
|
71
|
+
Returns:
|
|
72
|
+
Response[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
kwargs = _get_kwargs()
|
|
76
|
+
|
|
77
|
+
response = client.get_httpx_client().request(
|
|
78
|
+
**kwargs,
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
return _build_response(client=client, response=response)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def sync(
|
|
85
|
+
*,
|
|
86
|
+
client: AuthenticatedClient,
|
|
87
|
+
) -> Optional[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
88
|
+
"""Start card setup with Stripe Elements
|
|
89
|
+
|
|
90
|
+
Raises:
|
|
91
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
92
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
93
|
+
|
|
94
|
+
Returns:
|
|
95
|
+
Union[ApiResponseBillingSetupIntent, ErrorResponse, str]
|
|
96
|
+
"""
|
|
97
|
+
|
|
98
|
+
return sync_detailed(
|
|
99
|
+
client=client,
|
|
100
|
+
).parsed
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
async def asyncio_detailed(
|
|
104
|
+
*,
|
|
105
|
+
client: AuthenticatedClient,
|
|
106
|
+
) -> Response[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
107
|
+
"""Start card setup with Stripe Elements
|
|
108
|
+
|
|
109
|
+
Raises:
|
|
110
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
111
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
112
|
+
|
|
113
|
+
Returns:
|
|
114
|
+
Response[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
kwargs = _get_kwargs()
|
|
118
|
+
|
|
119
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
120
|
+
|
|
121
|
+
return _build_response(client=client, response=response)
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
async def asyncio(
|
|
125
|
+
*,
|
|
126
|
+
client: AuthenticatedClient,
|
|
127
|
+
) -> Optional[Union[ApiResponseBillingSetupIntent, ErrorResponse, str]]:
|
|
128
|
+
"""Start card setup with Stripe Elements
|
|
129
|
+
|
|
130
|
+
Raises:
|
|
131
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
132
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
133
|
+
|
|
134
|
+
Returns:
|
|
135
|
+
Union[ApiResponseBillingSetupIntent, ErrorResponse, str]
|
|
136
|
+
"""
|
|
137
|
+
|
|
138
|
+
return (
|
|
139
|
+
await asyncio_detailed(
|
|
140
|
+
client=client,
|
|
141
|
+
)
|
|
142
|
+
).parsed
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ... import errors
|
|
7
|
+
from ...client import AuthenticatedClient, Client
|
|
8
|
+
from ...models.api_response_billing_payment_methods import ApiResponseBillingPaymentMethods
|
|
9
|
+
from ...models.error_response import ErrorResponse
|
|
10
|
+
from ...types import UNSET, Response, Unset
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def _get_kwargs(
|
|
14
|
+
*,
|
|
15
|
+
limit: Union[Unset, int] = 20,
|
|
16
|
+
cursor: Union[Unset, str] = UNSET,
|
|
17
|
+
) -> dict[str, Any]:
|
|
18
|
+
params: dict[str, Any] = {}
|
|
19
|
+
|
|
20
|
+
params["limit"] = limit
|
|
21
|
+
|
|
22
|
+
params["cursor"] = cursor
|
|
23
|
+
|
|
24
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
25
|
+
|
|
26
|
+
_kwargs: dict[str, Any] = {
|
|
27
|
+
"method": "get",
|
|
28
|
+
"url": "/api/billing/payment-methods",
|
|
29
|
+
"params": params,
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return _kwargs
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _parse_response(
|
|
36
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
37
|
+
) -> Optional[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
38
|
+
if response.status_code == 200:
|
|
39
|
+
response_200 = ApiResponseBillingPaymentMethods.from_dict(response.json())
|
|
40
|
+
|
|
41
|
+
return response_200
|
|
42
|
+
|
|
43
|
+
if response.status_code == 400:
|
|
44
|
+
response_400 = ErrorResponse.from_dict(response.json())
|
|
45
|
+
|
|
46
|
+
return response_400
|
|
47
|
+
|
|
48
|
+
if response.status_code == 401:
|
|
49
|
+
response_401 = response.text
|
|
50
|
+
return response_401
|
|
51
|
+
|
|
52
|
+
if response.status_code == 409:
|
|
53
|
+
response_409 = ErrorResponse.from_dict(response.json())
|
|
54
|
+
|
|
55
|
+
return response_409
|
|
56
|
+
|
|
57
|
+
if response.status_code == 502:
|
|
58
|
+
response_502 = ErrorResponse.from_dict(response.json())
|
|
59
|
+
|
|
60
|
+
return response_502
|
|
61
|
+
|
|
62
|
+
if client.raise_on_unexpected_status:
|
|
63
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
64
|
+
else:
|
|
65
|
+
return None
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
def _build_response(
|
|
69
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
70
|
+
) -> Response[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
71
|
+
return Response(
|
|
72
|
+
status_code=HTTPStatus(response.status_code),
|
|
73
|
+
content=response.content,
|
|
74
|
+
headers=response.headers,
|
|
75
|
+
parsed=_parse_response(client=client, response=response),
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
def sync_detailed(
|
|
80
|
+
*,
|
|
81
|
+
client: AuthenticatedClient,
|
|
82
|
+
limit: Union[Unset, int] = 20,
|
|
83
|
+
cursor: Union[Unset, str] = UNSET,
|
|
84
|
+
) -> Response[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
85
|
+
"""List saved billing payment methods
|
|
86
|
+
|
|
87
|
+
Args:
|
|
88
|
+
limit (Union[Unset, int]): Default: 20.
|
|
89
|
+
cursor (Union[Unset, str]):
|
|
90
|
+
|
|
91
|
+
Raises:
|
|
92
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
93
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
94
|
+
|
|
95
|
+
Returns:
|
|
96
|
+
Response[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]
|
|
97
|
+
"""
|
|
98
|
+
|
|
99
|
+
kwargs = _get_kwargs(
|
|
100
|
+
limit=limit,
|
|
101
|
+
cursor=cursor,
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
response = client.get_httpx_client().request(
|
|
105
|
+
**kwargs,
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
return _build_response(client=client, response=response)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
def sync(
|
|
112
|
+
*,
|
|
113
|
+
client: AuthenticatedClient,
|
|
114
|
+
limit: Union[Unset, int] = 20,
|
|
115
|
+
cursor: Union[Unset, str] = UNSET,
|
|
116
|
+
) -> Optional[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
117
|
+
"""List saved billing payment methods
|
|
118
|
+
|
|
119
|
+
Args:
|
|
120
|
+
limit (Union[Unset, int]): Default: 20.
|
|
121
|
+
cursor (Union[Unset, str]):
|
|
122
|
+
|
|
123
|
+
Raises:
|
|
124
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
125
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
126
|
+
|
|
127
|
+
Returns:
|
|
128
|
+
Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]
|
|
129
|
+
"""
|
|
130
|
+
|
|
131
|
+
return sync_detailed(
|
|
132
|
+
client=client,
|
|
133
|
+
limit=limit,
|
|
134
|
+
cursor=cursor,
|
|
135
|
+
).parsed
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
async def asyncio_detailed(
|
|
139
|
+
*,
|
|
140
|
+
client: AuthenticatedClient,
|
|
141
|
+
limit: Union[Unset, int] = 20,
|
|
142
|
+
cursor: Union[Unset, str] = UNSET,
|
|
143
|
+
) -> Response[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
144
|
+
"""List saved billing payment methods
|
|
145
|
+
|
|
146
|
+
Args:
|
|
147
|
+
limit (Union[Unset, int]): Default: 20.
|
|
148
|
+
cursor (Union[Unset, str]):
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
152
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
Response[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
kwargs = _get_kwargs(
|
|
159
|
+
limit=limit,
|
|
160
|
+
cursor=cursor,
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
164
|
+
|
|
165
|
+
return _build_response(client=client, response=response)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
async def asyncio(
|
|
169
|
+
*,
|
|
170
|
+
client: AuthenticatedClient,
|
|
171
|
+
limit: Union[Unset, int] = 20,
|
|
172
|
+
cursor: Union[Unset, str] = UNSET,
|
|
173
|
+
) -> Optional[Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]]:
|
|
174
|
+
"""List saved billing payment methods
|
|
175
|
+
|
|
176
|
+
Args:
|
|
177
|
+
limit (Union[Unset, int]): Default: 20.
|
|
178
|
+
cursor (Union[Unset, str]):
|
|
179
|
+
|
|
180
|
+
Raises:
|
|
181
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
182
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
183
|
+
|
|
184
|
+
Returns:
|
|
185
|
+
Union[ApiResponseBillingPaymentMethods, ErrorResponse, str]
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
return (
|
|
189
|
+
await asyncio_detailed(
|
|
190
|
+
client=client,
|
|
191
|
+
limit=limit,
|
|
192
|
+
cursor=cursor,
|
|
193
|
+
)
|
|
194
|
+
).parsed
|
|
@@ -7,6 +7,9 @@ from .api_response_activity_list import ApiResponseActivityList
|
|
|
7
7
|
from .api_response_allowed_i_ps import ApiResponseAllowedIPs
|
|
8
8
|
from .api_response_allowed_i_ps_data import ApiResponseAllowedIPsData
|
|
9
9
|
from .api_response_authorized_user import ApiResponseAuthorizedUser
|
|
10
|
+
from .api_response_billing_payment_methods import ApiResponseBillingPaymentMethods
|
|
11
|
+
from .api_response_billing_setup_intent import ApiResponseBillingSetupIntent
|
|
12
|
+
from .api_response_billing_setup_intent_data import ApiResponseBillingSetupIntentData
|
|
10
13
|
from .api_response_billing_summary import ApiResponseBillingSummary
|
|
11
14
|
from .api_response_create_disk import ApiResponseCreateDisk
|
|
12
15
|
from .api_response_create_disk_data import ApiResponseCreateDiskData
|
|
@@ -48,6 +51,8 @@ from .billing_owner import BillingOwner
|
|
|
48
51
|
from .billing_owner_type import BillingOwnerType
|
|
49
52
|
from .billing_payment_health import BillingPaymentHealth
|
|
50
53
|
from .billing_payment_health_status import BillingPaymentHealthStatus
|
|
54
|
+
from .billing_payment_method import BillingPaymentMethod
|
|
55
|
+
from .billing_payment_method_card import BillingPaymentMethodCard
|
|
51
56
|
from .billing_period import BillingPeriod
|
|
52
57
|
from .billing_scheduled_change import BillingScheduledChange
|
|
53
58
|
from .billing_scheduled_change_target_plan import BillingScheduledChangeTargetPlan
|
|
@@ -129,6 +134,9 @@ __all__ = (
|
|
|
129
134
|
"ApiResponseAllowedIPs",
|
|
130
135
|
"ApiResponseAllowedIPsData",
|
|
131
136
|
"ApiResponseAuthorizedUser",
|
|
137
|
+
"ApiResponseBillingPaymentMethods",
|
|
138
|
+
"ApiResponseBillingSetupIntent",
|
|
139
|
+
"ApiResponseBillingSetupIntentData",
|
|
132
140
|
"ApiResponseBillingSummary",
|
|
133
141
|
"ApiResponseCreateDisk",
|
|
134
142
|
"ApiResponseCreateDiskData",
|
|
@@ -170,6 +178,8 @@ __all__ = (
|
|
|
170
178
|
"BillingOwnerType",
|
|
171
179
|
"BillingPaymentHealth",
|
|
172
180
|
"BillingPaymentHealthStatus",
|
|
181
|
+
"BillingPaymentMethod",
|
|
182
|
+
"BillingPaymentMethodCard",
|
|
173
183
|
"BillingPeriod",
|
|
174
184
|
"BillingScheduledChange",
|
|
175
185
|
"BillingScheduledChangeTargetPlan",
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar, Union
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
from ..types import UNSET, Unset
|
|
8
|
+
|
|
9
|
+
if TYPE_CHECKING:
|
|
10
|
+
from ..models.billing_payment_method import BillingPaymentMethod
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
T = TypeVar("T", bound="ApiResponseBillingPaymentMethods")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@_attrs_define
|
|
17
|
+
class ApiResponseBillingPaymentMethods:
|
|
18
|
+
"""
|
|
19
|
+
Attributes:
|
|
20
|
+
success (bool):
|
|
21
|
+
data (list['BillingPaymentMethod']):
|
|
22
|
+
next_cursor (Union[Unset, str]):
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
success: bool
|
|
26
|
+
data: list["BillingPaymentMethod"]
|
|
27
|
+
next_cursor: Union[Unset, str] = UNSET
|
|
28
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
29
|
+
|
|
30
|
+
def to_dict(self) -> dict[str, Any]:
|
|
31
|
+
success = self.success
|
|
32
|
+
|
|
33
|
+
data = []
|
|
34
|
+
for data_item_data in self.data:
|
|
35
|
+
data_item = data_item_data.to_dict()
|
|
36
|
+
data.append(data_item)
|
|
37
|
+
|
|
38
|
+
next_cursor = self.next_cursor
|
|
39
|
+
|
|
40
|
+
field_dict: dict[str, Any] = {}
|
|
41
|
+
field_dict.update(self.additional_properties)
|
|
42
|
+
field_dict.update(
|
|
43
|
+
{
|
|
44
|
+
"success": success,
|
|
45
|
+
"data": data,
|
|
46
|
+
}
|
|
47
|
+
)
|
|
48
|
+
if next_cursor is not UNSET:
|
|
49
|
+
field_dict["nextCursor"] = next_cursor
|
|
50
|
+
|
|
51
|
+
return field_dict
|
|
52
|
+
|
|
53
|
+
@classmethod
|
|
54
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
55
|
+
from ..models.billing_payment_method import BillingPaymentMethod
|
|
56
|
+
|
|
57
|
+
d = dict(src_dict)
|
|
58
|
+
success = d.pop("success")
|
|
59
|
+
|
|
60
|
+
data = []
|
|
61
|
+
_data = d.pop("data")
|
|
62
|
+
for data_item_data in _data:
|
|
63
|
+
data_item = BillingPaymentMethod.from_dict(data_item_data)
|
|
64
|
+
|
|
65
|
+
data.append(data_item)
|
|
66
|
+
|
|
67
|
+
next_cursor = d.pop("nextCursor", UNSET)
|
|
68
|
+
|
|
69
|
+
api_response_billing_payment_methods = cls(
|
|
70
|
+
success=success,
|
|
71
|
+
data=data,
|
|
72
|
+
next_cursor=next_cursor,
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
api_response_billing_payment_methods.additional_properties = d
|
|
76
|
+
return api_response_billing_payment_methods
|
|
77
|
+
|
|
78
|
+
@property
|
|
79
|
+
def additional_keys(self) -> list[str]:
|
|
80
|
+
return list(self.additional_properties.keys())
|
|
81
|
+
|
|
82
|
+
def __getitem__(self, key: str) -> Any:
|
|
83
|
+
return self.additional_properties[key]
|
|
84
|
+
|
|
85
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
86
|
+
self.additional_properties[key] = value
|
|
87
|
+
|
|
88
|
+
def __delitem__(self, key: str) -> None:
|
|
89
|
+
del self.additional_properties[key]
|
|
90
|
+
|
|
91
|
+
def __contains__(self, key: str) -> bool:
|
|
92
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import TYPE_CHECKING, Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from ..models.api_response_billing_setup_intent_data import ApiResponseBillingSetupIntentData
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
T = TypeVar("T", bound="ApiResponseBillingSetupIntent")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@_attrs_define
|
|
15
|
+
class ApiResponseBillingSetupIntent:
|
|
16
|
+
"""
|
|
17
|
+
Attributes:
|
|
18
|
+
success (bool):
|
|
19
|
+
data (ApiResponseBillingSetupIntentData):
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
success: bool
|
|
23
|
+
data: "ApiResponseBillingSetupIntentData"
|
|
24
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
|
+
|
|
26
|
+
def to_dict(self) -> dict[str, Any]:
|
|
27
|
+
success = self.success
|
|
28
|
+
|
|
29
|
+
data = self.data.to_dict()
|
|
30
|
+
|
|
31
|
+
field_dict: dict[str, Any] = {}
|
|
32
|
+
field_dict.update(self.additional_properties)
|
|
33
|
+
field_dict.update(
|
|
34
|
+
{
|
|
35
|
+
"success": success,
|
|
36
|
+
"data": data,
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
return field_dict
|
|
41
|
+
|
|
42
|
+
@classmethod
|
|
43
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
44
|
+
from ..models.api_response_billing_setup_intent_data import ApiResponseBillingSetupIntentData
|
|
45
|
+
|
|
46
|
+
d = dict(src_dict)
|
|
47
|
+
success = d.pop("success")
|
|
48
|
+
|
|
49
|
+
data = ApiResponseBillingSetupIntentData.from_dict(d.pop("data"))
|
|
50
|
+
|
|
51
|
+
api_response_billing_setup_intent = cls(
|
|
52
|
+
success=success,
|
|
53
|
+
data=data,
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
api_response_billing_setup_intent.additional_properties = d
|
|
57
|
+
return api_response_billing_setup_intent
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def additional_keys(self) -> list[str]:
|
|
61
|
+
return list(self.additional_properties.keys())
|
|
62
|
+
|
|
63
|
+
def __getitem__(self, key: str) -> Any:
|
|
64
|
+
return self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
67
|
+
self.additional_properties[key] = value
|
|
68
|
+
|
|
69
|
+
def __delitem__(self, key: str) -> None:
|
|
70
|
+
del self.additional_properties[key]
|
|
71
|
+
|
|
72
|
+
def __contains__(self, key: str) -> bool:
|
|
73
|
+
return key in self.additional_properties
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="ApiResponseBillingSetupIntentData")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class ApiResponseBillingSetupIntentData:
|
|
12
|
+
"""
|
|
13
|
+
Attributes:
|
|
14
|
+
id (str):
|
|
15
|
+
client_secret (str):
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
id: str
|
|
19
|
+
client_secret: str
|
|
20
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
21
|
+
|
|
22
|
+
def to_dict(self) -> dict[str, Any]:
|
|
23
|
+
id = self.id
|
|
24
|
+
|
|
25
|
+
client_secret = self.client_secret
|
|
26
|
+
|
|
27
|
+
field_dict: dict[str, Any] = {}
|
|
28
|
+
field_dict.update(self.additional_properties)
|
|
29
|
+
field_dict.update(
|
|
30
|
+
{
|
|
31
|
+
"id": id,
|
|
32
|
+
"clientSecret": client_secret,
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
return field_dict
|
|
37
|
+
|
|
38
|
+
@classmethod
|
|
39
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
40
|
+
d = dict(src_dict)
|
|
41
|
+
id = d.pop("id")
|
|
42
|
+
|
|
43
|
+
client_secret = d.pop("clientSecret")
|
|
44
|
+
|
|
45
|
+
api_response_billing_setup_intent_data = cls(
|
|
46
|
+
id=id,
|
|
47
|
+
client_secret=client_secret,
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
api_response_billing_setup_intent_data.additional_properties = d
|
|
51
|
+
return api_response_billing_setup_intent_data
|
|
52
|
+
|
|
53
|
+
@property
|
|
54
|
+
def additional_keys(self) -> list[str]:
|
|
55
|
+
return list(self.additional_properties.keys())
|
|
56
|
+
|
|
57
|
+
def __getitem__(self, key: str) -> Any:
|
|
58
|
+
return self.additional_properties[key]
|
|
59
|
+
|
|
60
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
61
|
+
self.additional_properties[key] = value
|
|
62
|
+
|
|
63
|
+
def __delitem__(self, key: str) -> None:
|
|
64
|
+
del self.additional_properties[key]
|
|
65
|
+
|
|
66
|
+
def __contains__(self, key: str) -> bool:
|
|
67
|
+
return key in self.additional_properties
|