archil-openapi 0.0.64__tar.gz → 0.0.65__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.64 → archil_openapi-0.0.65}/PKG-INFO +1 -1
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/pyproject.toml +1 -1
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_summary.py +52 -40
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_usage.py +48 -24
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/__init__.py +14 -30
- archil_openapi-0.0.65/src/archil_openapi/models/billing_credit_grant.py +120 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_issued_invoice.py +7 -4
- archil_openapi-0.0.65/src/archil_openapi/models/billing_issued_invoice_status.py +11 -0
- archil_openapi-0.0.65/src/archil_openapi/models/billing_line.py +138 -0
- archil_openapi-0.0.65/src/archil_openapi/models/billing_line_type.py +11 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_health.py +7 -7
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription.py +6 -4
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_state.py +6 -4
- archil_openapi-0.0.65/src/archil_openapi/models/billing_subscription_state_subscription_status.py +10 -0
- archil_openapi-0.0.65/src/archil_openapi/models/billing_subscription_subscription_status.py +10 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_summary.py +46 -70
- archil_openapi-0.0.65/src/archil_openapi/models/billing_summary_plan.py +67 -0
- archil_openapi-0.0.64/src/archil_openapi/models/billing_credit_standing.py → archil_openapi-0.0.65/src/archil_openapi/models/billing_summary_projection.py +19 -25
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage.py +42 -2
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_interval.py +9 -1
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_interval_features.py +1 -1
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_quantity.py +9 -1
- archil_openapi-0.0.64/src/archil_openapi/models/billing_costs_rates_cents_per_unit.py → archil_openapi-0.0.65/src/archil_openapi/models/billing_usage_rates_per_unit.py +9 -6
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_window.py +16 -7
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_window_features.py +1 -1
- archil_openapi-0.0.64/src/archil_openapi/api/billing/get_billing_costs.py +0 -273
- archil_openapi-0.0.64/src/archil_openapi/models/api_response_billing_costs.py +0 -73
- archil_openapi-0.0.64/src/archil_openapi/models/billing_adjustment.py +0 -78
- archil_openapi-0.0.64/src/archil_openapi/models/billing_adjustment_type.py +0 -10
- archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_interval.py +0 -89
- archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_interval_features.py +0 -57
- archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_window.py +0 -92
- archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_window_features.py +0 -57
- archil_openapi-0.0.64/src/archil_openapi/models/billing_costs.py +0 -150
- archil_openapi-0.0.64/src/archil_openapi/models/billing_costs_granularity.py +0 -9
- archil_openapi-0.0.64/src/archil_openapi/models/billing_feature_cost.py +0 -75
- archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_metered_cost_breakdown.py +0 -57
- archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_plan.py +0 -83
- archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_projection.py +0 -101
- archil_openapi-0.0.64/src/archil_openapi/models/get_billing_costs_for.py +0 -13
- archil_openapi-0.0.64/src/archil_openapi/models/get_billing_costs_granularity.py +0 -9
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/LICENSE +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/README.md +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/activity/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/activity/list_activity.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/create_api_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/delete_api_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/list_api_tokens.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/cancel_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/change_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/create_billing_setup_intent.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/create_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/delete_billing_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_credits.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_invoice.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_operation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_profile.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/keep_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/list_billing_invoices.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/list_billing_payment_methods.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/pay_billing_invoice.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/preview_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/set_billing_default_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/update_billing_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/update_billing_profile.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/withdraw_billing_scheduled_change.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/get_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/get_sandbox_mount.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/list_delegations.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/revoke_delegation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/set_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/set_sandbox_mount.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/add_disk_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/remove_disk_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_branch.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_share_url.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/delete_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/exec_.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/exec_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/get_branch.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/get_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/grep_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/list_branches.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/list_disks.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/__init__.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_image.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox_connection.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox_port.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/expose_sandbox_port.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/fork_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_image.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox_network.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandbox_port_tokens.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandbox_ports.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandboxes.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/pause_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/resume_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/set_sandbox_timeout.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/start_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/stop_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/update_sandbox_network.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/client.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/errors.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event_details.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event_level.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_activity_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_allowed_i_ps.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_allowed_i_ps_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_authorized_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_cancellation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_credits.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_default_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_default_payment_method_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_default_payment_method_data_scope.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_invoice_detail.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_invoices.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_method_removed.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_method_removed_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_operation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_payment_methods.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_profile.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_setup_intent.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_setup_intent_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription_preview.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription_state.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_summary.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_usage.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_create_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_create_disk_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_delegations.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_delegations_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_disk_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_empty.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_exec.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_exec_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_grep_disk.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_image.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_message.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_message_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_connection.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_list_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_mount.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_mount_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_network.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_share_url.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_share_url_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_created.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_created_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_list_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_token_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user_status.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/aws_sts_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/aws_sts_user_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/azure_blob_storage.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/azure_blob_storage_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_address.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_address_patch.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_balance_transaction.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_reason.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_reason_feedback.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_timing.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation_settlement.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation_settlement_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request_timing.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_credit_note.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_credits.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_credit.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_detail.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_line.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_summary.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_tax.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_keep_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_next_action.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_next_action_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_failure.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_invoice.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_state.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_status.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_owner.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_owner_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_pay_invoice_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_health_status.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method_billing_details.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method_card.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_period.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_line.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request_timing.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_billing_mode.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_code.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_data.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_data_field_errors.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price_component.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price_usage_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change_target_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_state_conflict.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscribe_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscribe_request_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_actions.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_billing_mode.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_current_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_kind.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_qualifications_item.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_target_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_timing.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_state_plan.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_granularity.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_api_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_list_api_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/cloudflare_r2.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/cloudflare_r2_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/connected_client.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_api_token_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_branch_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_disk_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_image_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_port_token_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_request_env.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_share_url_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/created_sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/delegation_entry.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_metrics.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response_capabilities_item.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response_status.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/error_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_disk_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_disk_result.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_mount.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_request_disks.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_timing.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/fork_sandbox_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/get_billing_usage_for.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/get_billing_usage_granularity.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/google_cloud_storage.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/google_cloud_storage_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_disk_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_disk_result.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_group.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_group_line.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_match.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_stopped_reason.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image_failure_reason.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image_state.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/list_activity_level_item.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_config_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_access_mode.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_authorization_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_connection_status.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/registry_auth.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/remove_disk_user_user_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/revoke_delegation_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/root_attrs.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_compatible.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_compatible_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_connection.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_policy.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_rule.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_transform.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_transform_headers.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_endpoint.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_mount.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_network.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_network_action.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_platform.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_token.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_token_list.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_state.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_timeout_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_allowed_i_ps_body.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_billing_default_payment_method_body.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_sandbox_mount_body.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/start_sandbox_request.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/token_user.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/token_user_type.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/update_billing_payment_method_body.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/update_billing_profile_body.py +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/py.typed +0 -0
- {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/types.py +0 -0
|
@@ -74,16 +74,19 @@ def sync_detailed(
|
|
|
74
74
|
client: AuthenticatedClient,
|
|
75
75
|
period: Union[Unset, str] = "current",
|
|
76
76
|
) -> Response[Union[ApiResponseBillingSummary, ErrorResponse]]:
|
|
77
|
-
"""Get a billing period's statement
|
|
78
|
-
|
|
79
|
-
Returns a billing period's statement as
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
77
|
+
"""Get a billing period's statement
|
|
78
|
+
|
|
79
|
+
Returns a billing period's statement as billing itself states it: `lines`, each line invoiced for
|
|
80
|
+
the period or previewed for its end (a fixed fee, a meter's usage billed past its grants, a credit
|
|
81
|
+
taken off, anything else under its own name), and `billedCost`, their sum, which is what the period
|
|
82
|
+
invoices or would if it ended now. On the current period also `credits`, the grants the account
|
|
83
|
+
still draws on, and a projection to the period end at the recent daily pace. Nothing here is derived
|
|
84
|
+
from the plan's terms: a plan billing can express, this route reports. Money is in dollars to the
|
|
85
|
+
cent, before tax. A line is before discounts, as billing reports it, and what a reward takes off
|
|
86
|
+
follows as an `other` line named `Discount`: off each line previewed for the period end, and off
|
|
87
|
+
each invoice as a whole (its total under its lines' sum), on the span of the invoice's fixed fee
|
|
88
|
+
when it has one, else of its first line on the period. So the sum is what the period invoiced, or
|
|
89
|
+
will.
|
|
87
90
|
|
|
88
91
|
Args:
|
|
89
92
|
period (Union[Unset, str]): Default: 'current'. Example: 2026-09-20.
|
|
@@ -112,16 +115,19 @@ def sync(
|
|
|
112
115
|
client: AuthenticatedClient,
|
|
113
116
|
period: Union[Unset, str] = "current",
|
|
114
117
|
) -> Optional[Union[ApiResponseBillingSummary, ErrorResponse]]:
|
|
115
|
-
"""Get a billing period's statement
|
|
116
|
-
|
|
117
|
-
Returns a billing period's statement as
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
118
|
+
"""Get a billing period's statement
|
|
119
|
+
|
|
120
|
+
Returns a billing period's statement as billing itself states it: `lines`, each line invoiced for
|
|
121
|
+
the period or previewed for its end (a fixed fee, a meter's usage billed past its grants, a credit
|
|
122
|
+
taken off, anything else under its own name), and `billedCost`, their sum, which is what the period
|
|
123
|
+
invoices or would if it ended now. On the current period also `credits`, the grants the account
|
|
124
|
+
still draws on, and a projection to the period end at the recent daily pace. Nothing here is derived
|
|
125
|
+
from the plan's terms: a plan billing can express, this route reports. Money is in dollars to the
|
|
126
|
+
cent, before tax. A line is before discounts, as billing reports it, and what a reward takes off
|
|
127
|
+
follows as an `other` line named `Discount`: off each line previewed for the period end, and off
|
|
128
|
+
each invoice as a whole (its total under its lines' sum), on the span of the invoice's fixed fee
|
|
129
|
+
when it has one, else of its first line on the period. So the sum is what the period invoiced, or
|
|
130
|
+
will.
|
|
125
131
|
|
|
126
132
|
Args:
|
|
127
133
|
period (Union[Unset, str]): Default: 'current'. Example: 2026-09-20.
|
|
@@ -145,16 +151,19 @@ async def asyncio_detailed(
|
|
|
145
151
|
client: AuthenticatedClient,
|
|
146
152
|
period: Union[Unset, str] = "current",
|
|
147
153
|
) -> Response[Union[ApiResponseBillingSummary, ErrorResponse]]:
|
|
148
|
-
"""Get a billing period's statement
|
|
149
|
-
|
|
150
|
-
Returns a billing period's statement as
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
154
|
+
"""Get a billing period's statement
|
|
155
|
+
|
|
156
|
+
Returns a billing period's statement as billing itself states it: `lines`, each line invoiced for
|
|
157
|
+
the period or previewed for its end (a fixed fee, a meter's usage billed past its grants, a credit
|
|
158
|
+
taken off, anything else under its own name), and `billedCost`, their sum, which is what the period
|
|
159
|
+
invoices or would if it ended now. On the current period also `credits`, the grants the account
|
|
160
|
+
still draws on, and a projection to the period end at the recent daily pace. Nothing here is derived
|
|
161
|
+
from the plan's terms: a plan billing can express, this route reports. Money is in dollars to the
|
|
162
|
+
cent, before tax. A line is before discounts, as billing reports it, and what a reward takes off
|
|
163
|
+
follows as an `other` line named `Discount`: off each line previewed for the period end, and off
|
|
164
|
+
each invoice as a whole (its total under its lines' sum), on the span of the invoice's fixed fee
|
|
165
|
+
when it has one, else of its first line on the period. So the sum is what the period invoiced, or
|
|
166
|
+
will.
|
|
158
167
|
|
|
159
168
|
Args:
|
|
160
169
|
period (Union[Unset, str]): Default: 'current'. Example: 2026-09-20.
|
|
@@ -181,16 +190,19 @@ async def asyncio(
|
|
|
181
190
|
client: AuthenticatedClient,
|
|
182
191
|
period: Union[Unset, str] = "current",
|
|
183
192
|
) -> Optional[Union[ApiResponseBillingSummary, ErrorResponse]]:
|
|
184
|
-
"""Get a billing period's statement
|
|
185
|
-
|
|
186
|
-
Returns a billing period's statement as
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
193
|
+
"""Get a billing period's statement
|
|
194
|
+
|
|
195
|
+
Returns a billing period's statement as billing itself states it: `lines`, each line invoiced for
|
|
196
|
+
the period or previewed for its end (a fixed fee, a meter's usage billed past its grants, a credit
|
|
197
|
+
taken off, anything else under its own name), and `billedCost`, their sum, which is what the period
|
|
198
|
+
invoices or would if it ended now. On the current period also `credits`, the grants the account
|
|
199
|
+
still draws on, and a projection to the period end at the recent daily pace. Nothing here is derived
|
|
200
|
+
from the plan's terms: a plan billing can express, this route reports. Money is in dollars to the
|
|
201
|
+
cent, before tax. A line is before discounts, as billing reports it, and what a reward takes off
|
|
202
|
+
follows as an `other` line named `Discount`: off each line previewed for the period end, and off
|
|
203
|
+
each invoice as a whole (its total under its lines' sum), on the span of the invoice's fixed fee
|
|
204
|
+
when it has one, else of its first line on the period. So the sum is what the period invoiced, or
|
|
205
|
+
will.
|
|
194
206
|
|
|
195
207
|
Args:
|
|
196
208
|
period (Union[Unset, str]): Default: 'current'. Example: 2026-09-20.
|
{archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_usage.py
RENAMED
|
@@ -100,14 +100,20 @@ def sync_detailed(
|
|
|
100
100
|
granularity: Union[Unset, GetBillingUsageGranularity] = GetBillingUsageGranularity.VALUE_0,
|
|
101
101
|
timezone: Union[Unset, str] = "UTC",
|
|
102
102
|
) -> Response[Union[ApiResponseBillingUsage, ErrorResponse]]:
|
|
103
|
-
"""Get metered usage over a window
|
|
103
|
+
"""Get metered usage and its cost over a window
|
|
104
104
|
|
|
105
105
|
Returns what the account's meters recorded over a window, for the window as a whole and per
|
|
106
|
-
interval, in each meter's own unit (vCPU-hours, GiB-hours, GiB-months
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
is
|
|
106
|
+
interval, in each meter's own unit (such as vCPU-hours, GiB-hours, GiB-months or calls), and what
|
|
107
|
+
that usage comes to at the account's rates, per meter and in total, before any grant and fixed fee:
|
|
108
|
+
the cost of what was used, not what will be invoiced, which `/api/billing/summary` reports. The
|
|
109
|
+
meters are the catalog's metered features, so a meter added there is reported from then on. A
|
|
110
|
+
meter's rate is the price of the plan item its usage is billed from: the meter's own item, or the
|
|
111
|
+
credit system whose rate card names it, at the plan's own prices and overrides; a meter the plan
|
|
112
|
+
does not price has a zero rate, and a tiered item is priced at its first tier. Usage reaches billing
|
|
113
|
+
once per reporter interval from every region, so an interval's figures can still grow for a few
|
|
114
|
+
minutes after it ends, longer if a region's reporter is behind. The default window is the seven days
|
|
115
|
+
(hourly: 24 hours) up to now; a window may be at most 31 days, and is widened to whole intervals.
|
|
116
|
+
Money is in dollars, to the cent.
|
|
111
117
|
|
|
112
118
|
Args:
|
|
113
119
|
start (Union[Unset, str]): Example: 2026-10-13.
|
|
@@ -149,14 +155,20 @@ def sync(
|
|
|
149
155
|
granularity: Union[Unset, GetBillingUsageGranularity] = GetBillingUsageGranularity.VALUE_0,
|
|
150
156
|
timezone: Union[Unset, str] = "UTC",
|
|
151
157
|
) -> Optional[Union[ApiResponseBillingUsage, ErrorResponse]]:
|
|
152
|
-
"""Get metered usage over a window
|
|
158
|
+
"""Get metered usage and its cost over a window
|
|
153
159
|
|
|
154
160
|
Returns what the account's meters recorded over a window, for the window as a whole and per
|
|
155
|
-
interval, in each meter's own unit (vCPU-hours, GiB-hours, GiB-months
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
is
|
|
161
|
+
interval, in each meter's own unit (such as vCPU-hours, GiB-hours, GiB-months or calls), and what
|
|
162
|
+
that usage comes to at the account's rates, per meter and in total, before any grant and fixed fee:
|
|
163
|
+
the cost of what was used, not what will be invoiced, which `/api/billing/summary` reports. The
|
|
164
|
+
meters are the catalog's metered features, so a meter added there is reported from then on. A
|
|
165
|
+
meter's rate is the price of the plan item its usage is billed from: the meter's own item, or the
|
|
166
|
+
credit system whose rate card names it, at the plan's own prices and overrides; a meter the plan
|
|
167
|
+
does not price has a zero rate, and a tiered item is priced at its first tier. Usage reaches billing
|
|
168
|
+
once per reporter interval from every region, so an interval's figures can still grow for a few
|
|
169
|
+
minutes after it ends, longer if a region's reporter is behind. The default window is the seven days
|
|
170
|
+
(hourly: 24 hours) up to now; a window may be at most 31 days, and is widened to whole intervals.
|
|
171
|
+
Money is in dollars, to the cent.
|
|
160
172
|
|
|
161
173
|
Args:
|
|
162
174
|
start (Union[Unset, str]): Example: 2026-10-13.
|
|
@@ -193,14 +205,20 @@ async def asyncio_detailed(
|
|
|
193
205
|
granularity: Union[Unset, GetBillingUsageGranularity] = GetBillingUsageGranularity.VALUE_0,
|
|
194
206
|
timezone: Union[Unset, str] = "UTC",
|
|
195
207
|
) -> Response[Union[ApiResponseBillingUsage, ErrorResponse]]:
|
|
196
|
-
"""Get metered usage over a window
|
|
208
|
+
"""Get metered usage and its cost over a window
|
|
197
209
|
|
|
198
210
|
Returns what the account's meters recorded over a window, for the window as a whole and per
|
|
199
|
-
interval, in each meter's own unit (vCPU-hours, GiB-hours, GiB-months
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
is
|
|
211
|
+
interval, in each meter's own unit (such as vCPU-hours, GiB-hours, GiB-months or calls), and what
|
|
212
|
+
that usage comes to at the account's rates, per meter and in total, before any grant and fixed fee:
|
|
213
|
+
the cost of what was used, not what will be invoiced, which `/api/billing/summary` reports. The
|
|
214
|
+
meters are the catalog's metered features, so a meter added there is reported from then on. A
|
|
215
|
+
meter's rate is the price of the plan item its usage is billed from: the meter's own item, or the
|
|
216
|
+
credit system whose rate card names it, at the plan's own prices and overrides; a meter the plan
|
|
217
|
+
does not price has a zero rate, and a tiered item is priced at its first tier. Usage reaches billing
|
|
218
|
+
once per reporter interval from every region, so an interval's figures can still grow for a few
|
|
219
|
+
minutes after it ends, longer if a region's reporter is behind. The default window is the seven days
|
|
220
|
+
(hourly: 24 hours) up to now; a window may be at most 31 days, and is widened to whole intervals.
|
|
221
|
+
Money is in dollars, to the cent.
|
|
204
222
|
|
|
205
223
|
Args:
|
|
206
224
|
start (Union[Unset, str]): Example: 2026-10-13.
|
|
@@ -240,14 +258,20 @@ async def asyncio(
|
|
|
240
258
|
granularity: Union[Unset, GetBillingUsageGranularity] = GetBillingUsageGranularity.VALUE_0,
|
|
241
259
|
timezone: Union[Unset, str] = "UTC",
|
|
242
260
|
) -> Optional[Union[ApiResponseBillingUsage, ErrorResponse]]:
|
|
243
|
-
"""Get metered usage over a window
|
|
261
|
+
"""Get metered usage and its cost over a window
|
|
244
262
|
|
|
245
263
|
Returns what the account's meters recorded over a window, for the window as a whole and per
|
|
246
|
-
interval, in each meter's own unit (vCPU-hours, GiB-hours, GiB-months
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
is
|
|
264
|
+
interval, in each meter's own unit (such as vCPU-hours, GiB-hours, GiB-months or calls), and what
|
|
265
|
+
that usage comes to at the account's rates, per meter and in total, before any grant and fixed fee:
|
|
266
|
+
the cost of what was used, not what will be invoiced, which `/api/billing/summary` reports. The
|
|
267
|
+
meters are the catalog's metered features, so a meter added there is reported from then on. A
|
|
268
|
+
meter's rate is the price of the plan item its usage is billed from: the meter's own item, or the
|
|
269
|
+
credit system whose rate card names it, at the plan's own prices and overrides; a meter the plan
|
|
270
|
+
does not price has a zero rate, and a tiered item is priced at its first tier. Usage reaches billing
|
|
271
|
+
once per reporter interval from every region, so an interval's figures can still grow for a few
|
|
272
|
+
minutes after it ends, longer if a region's reporter is behind. The default window is the seven days
|
|
273
|
+
(hourly: 24 hours) up to now; a window may be at most 31 days, and is widened to whole intervals.
|
|
274
|
+
Money is in dollars, to the cent.
|
|
251
275
|
|
|
252
276
|
Args:
|
|
253
277
|
start (Union[Unset, str]): Example: 2026-10-13.
|
|
@@ -8,7 +8,6 @@ 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
10
|
from .api_response_billing_cancellation import ApiResponseBillingCancellation
|
|
11
|
-
from .api_response_billing_costs import ApiResponseBillingCosts
|
|
12
11
|
from .api_response_billing_credits import ApiResponseBillingCredits
|
|
13
12
|
from .api_response_billing_default_payment_method import ApiResponseBillingDefaultPaymentMethod
|
|
14
13
|
from .api_response_billing_default_payment_method_data import ApiResponseBillingDefaultPaymentMethodData
|
|
@@ -69,8 +68,6 @@ from .azure_blob_storage import AzureBlobStorage
|
|
|
69
68
|
from .azure_blob_storage_type import AzureBlobStorageType
|
|
70
69
|
from .billing_address import BillingAddress
|
|
71
70
|
from .billing_address_patch import BillingAddressPatch
|
|
72
|
-
from .billing_adjustment import BillingAdjustment
|
|
73
|
-
from .billing_adjustment_type import BillingAdjustmentType
|
|
74
71
|
from .billing_balance_transaction import BillingBalanceTransaction
|
|
75
72
|
from .billing_cancel_request import BillingCancelRequest
|
|
76
73
|
from .billing_cancel_request_reason import BillingCancelRequestReason
|
|
@@ -82,24 +79,19 @@ from .billing_cancellation_settlement_method import BillingCancellationSettlemen
|
|
|
82
79
|
from .billing_change_request import BillingChangeRequest
|
|
83
80
|
from .billing_change_request_plan import BillingChangeRequestPlan
|
|
84
81
|
from .billing_change_request_timing import BillingChangeRequestTiming
|
|
85
|
-
from .
|
|
86
|
-
from .billing_cost_interval_features import BillingCostIntervalFeatures
|
|
87
|
-
from .billing_cost_window import BillingCostWindow
|
|
88
|
-
from .billing_cost_window_features import BillingCostWindowFeatures
|
|
89
|
-
from .billing_costs import BillingCosts
|
|
90
|
-
from .billing_costs_granularity import BillingCostsGranularity
|
|
91
|
-
from .billing_costs_rates_cents_per_unit import BillingCostsRatesCentsPerUnit
|
|
82
|
+
from .billing_credit_grant import BillingCreditGrant
|
|
92
83
|
from .billing_credit_note import BillingCreditNote
|
|
93
|
-
from .billing_credit_standing import BillingCreditStanding
|
|
94
84
|
from .billing_credits import BillingCredits
|
|
95
|
-
from .billing_feature_cost import BillingFeatureCost
|
|
96
85
|
from .billing_invoice_credit import BillingInvoiceCredit
|
|
97
86
|
from .billing_invoice_detail import BillingInvoiceDetail
|
|
98
87
|
from .billing_invoice_line import BillingInvoiceLine
|
|
99
88
|
from .billing_invoice_summary import BillingInvoiceSummary
|
|
100
89
|
from .billing_invoice_tax import BillingInvoiceTax
|
|
101
90
|
from .billing_issued_invoice import BillingIssuedInvoice
|
|
91
|
+
from .billing_issued_invoice_status import BillingIssuedInvoiceStatus
|
|
102
92
|
from .billing_keep_request import BillingKeepRequest
|
|
93
|
+
from .billing_line import BillingLine
|
|
94
|
+
from .billing_line_type import BillingLineType
|
|
103
95
|
from .billing_next_action import BillingNextAction
|
|
104
96
|
from .billing_next_action_type import BillingNextActionType
|
|
105
97
|
from .billing_operation import BillingOperation
|
|
@@ -149,8 +141,9 @@ from .billing_subscription_preview_target_plan import BillingSubscriptionPreview
|
|
|
149
141
|
from .billing_subscription_preview_timing import BillingSubscriptionPreviewTiming
|
|
150
142
|
from .billing_subscription_state import BillingSubscriptionState
|
|
151
143
|
from .billing_subscription_state_plan import BillingSubscriptionStatePlan
|
|
144
|
+
from .billing_subscription_state_subscription_status import BillingSubscriptionStateSubscriptionStatus
|
|
145
|
+
from .billing_subscription_subscription_status import BillingSubscriptionSubscriptionStatus
|
|
152
146
|
from .billing_summary import BillingSummary
|
|
153
|
-
from .billing_summary_metered_cost_breakdown import BillingSummaryMeteredCostBreakdown
|
|
154
147
|
from .billing_summary_plan import BillingSummaryPlan
|
|
155
148
|
from .billing_summary_projection import BillingSummaryProjection
|
|
156
149
|
from .billing_usage import BillingUsage
|
|
@@ -158,6 +151,7 @@ from .billing_usage_granularity import BillingUsageGranularity
|
|
|
158
151
|
from .billing_usage_interval import BillingUsageInterval
|
|
159
152
|
from .billing_usage_interval_features import BillingUsageIntervalFeatures
|
|
160
153
|
from .billing_usage_quantity import BillingUsageQuantity
|
|
154
|
+
from .billing_usage_rates_per_unit import BillingUsageRatesPerUnit
|
|
161
155
|
from .billing_usage_window import BillingUsageWindow
|
|
162
156
|
from .billing_usage_window_features import BillingUsageWindowFeatures
|
|
163
157
|
from .branch_api_response import BranchApiResponse
|
|
@@ -188,8 +182,6 @@ from .exec_request import ExecRequest
|
|
|
188
182
|
from .exec_request_disks import ExecRequestDisks
|
|
189
183
|
from .exec_timing import ExecTiming
|
|
190
184
|
from .fork_sandbox_request import ForkSandboxRequest
|
|
191
|
-
from .get_billing_costs_for import GetBillingCostsFor
|
|
192
|
-
from .get_billing_costs_granularity import GetBillingCostsGranularity
|
|
193
185
|
from .get_billing_usage_for import GetBillingUsageFor
|
|
194
186
|
from .get_billing_usage_granularity import GetBillingUsageGranularity
|
|
195
187
|
from .google_cloud_storage import GoogleCloudStorage
|
|
@@ -253,7 +245,6 @@ __all__ = (
|
|
|
253
245
|
"ApiResponseAllowedIPsData",
|
|
254
246
|
"ApiResponseAuthorizedUser",
|
|
255
247
|
"ApiResponseBillingCancellation",
|
|
256
|
-
"ApiResponseBillingCosts",
|
|
257
248
|
"ApiResponseBillingCredits",
|
|
258
249
|
"ApiResponseBillingDefaultPaymentMethod",
|
|
259
250
|
"ApiResponseBillingDefaultPaymentMethodData",
|
|
@@ -314,8 +305,6 @@ __all__ = (
|
|
|
314
305
|
"AzureBlobStorageType",
|
|
315
306
|
"BillingAddress",
|
|
316
307
|
"BillingAddressPatch",
|
|
317
|
-
"BillingAdjustment",
|
|
318
|
-
"BillingAdjustmentType",
|
|
319
308
|
"BillingBalanceTransaction",
|
|
320
309
|
"BillingCancellation",
|
|
321
310
|
"BillingCancellationSettlement",
|
|
@@ -327,24 +316,19 @@ __all__ = (
|
|
|
327
316
|
"BillingChangeRequest",
|
|
328
317
|
"BillingChangeRequestPlan",
|
|
329
318
|
"BillingChangeRequestTiming",
|
|
330
|
-
"
|
|
331
|
-
"BillingCostIntervalFeatures",
|
|
332
|
-
"BillingCosts",
|
|
333
|
-
"BillingCostsGranularity",
|
|
334
|
-
"BillingCostsRatesCentsPerUnit",
|
|
335
|
-
"BillingCostWindow",
|
|
336
|
-
"BillingCostWindowFeatures",
|
|
319
|
+
"BillingCreditGrant",
|
|
337
320
|
"BillingCreditNote",
|
|
338
321
|
"BillingCredits",
|
|
339
|
-
"BillingCreditStanding",
|
|
340
|
-
"BillingFeatureCost",
|
|
341
322
|
"BillingInvoiceCredit",
|
|
342
323
|
"BillingInvoiceDetail",
|
|
343
324
|
"BillingInvoiceLine",
|
|
344
325
|
"BillingInvoiceSummary",
|
|
345
326
|
"BillingInvoiceTax",
|
|
346
327
|
"BillingIssuedInvoice",
|
|
328
|
+
"BillingIssuedInvoiceStatus",
|
|
347
329
|
"BillingKeepRequest",
|
|
330
|
+
"BillingLine",
|
|
331
|
+
"BillingLineType",
|
|
348
332
|
"BillingNextAction",
|
|
349
333
|
"BillingNextActionType",
|
|
350
334
|
"BillingOperation",
|
|
@@ -394,8 +378,9 @@ __all__ = (
|
|
|
394
378
|
"BillingSubscriptionPreviewTiming",
|
|
395
379
|
"BillingSubscriptionState",
|
|
396
380
|
"BillingSubscriptionStatePlan",
|
|
381
|
+
"BillingSubscriptionStateSubscriptionStatus",
|
|
382
|
+
"BillingSubscriptionSubscriptionStatus",
|
|
397
383
|
"BillingSummary",
|
|
398
|
-
"BillingSummaryMeteredCostBreakdown",
|
|
399
384
|
"BillingSummaryPlan",
|
|
400
385
|
"BillingSummaryProjection",
|
|
401
386
|
"BillingUsage",
|
|
@@ -403,6 +388,7 @@ __all__ = (
|
|
|
403
388
|
"BillingUsageInterval",
|
|
404
389
|
"BillingUsageIntervalFeatures",
|
|
405
390
|
"BillingUsageQuantity",
|
|
391
|
+
"BillingUsageRatesPerUnit",
|
|
406
392
|
"BillingUsageWindow",
|
|
407
393
|
"BillingUsageWindowFeatures",
|
|
408
394
|
"BranchApiResponse",
|
|
@@ -433,8 +419,6 @@ __all__ = (
|
|
|
433
419
|
"ExecRequestDisks",
|
|
434
420
|
"ExecTiming",
|
|
435
421
|
"ForkSandboxRequest",
|
|
436
|
-
"GetBillingCostsFor",
|
|
437
|
-
"GetBillingCostsGranularity",
|
|
438
422
|
"GetBillingUsageFor",
|
|
439
423
|
"GetBillingUsageGranularity",
|
|
440
424
|
"GoogleCloudStorage",
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
from collections.abc import Mapping
|
|
2
|
+
from typing import Any, TypeVar, Union, cast
|
|
3
|
+
|
|
4
|
+
from attrs import define as _attrs_define
|
|
5
|
+
from attrs import field as _attrs_field
|
|
6
|
+
|
|
7
|
+
T = TypeVar("T", bound="BillingCreditGrant")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@_attrs_define
|
|
11
|
+
class BillingCreditGrant:
|
|
12
|
+
"""One grant the account draws before it is billed, described by when it refills or expires rather than by a kind.
|
|
13
|
+
|
|
14
|
+
Attributes:
|
|
15
|
+
feature_id (str): The feature the grant is on, such as `prepaid_credit`.
|
|
16
|
+
name (str): The feature's name, such as `Prepaid credit (USD)`.
|
|
17
|
+
unit (str): The unit the grant is counted in, such as USD or disks.
|
|
18
|
+
granted (float): What the grant carries, per period for one that refills.
|
|
19
|
+
remaining (float): What is left on it, rounded to two decimals.
|
|
20
|
+
resets_at (Union[None, int]): Unix timestamp in seconds when the grant refills; null for a one-time grant.
|
|
21
|
+
expires_at (Union[None, int]): Unix timestamp in seconds when the grant lapses; null when it does not.
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
feature_id: str
|
|
25
|
+
name: str
|
|
26
|
+
unit: str
|
|
27
|
+
granted: float
|
|
28
|
+
remaining: float
|
|
29
|
+
resets_at: Union[None, int]
|
|
30
|
+
expires_at: Union[None, int]
|
|
31
|
+
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
32
|
+
|
|
33
|
+
def to_dict(self) -> dict[str, Any]:
|
|
34
|
+
feature_id = self.feature_id
|
|
35
|
+
|
|
36
|
+
name = self.name
|
|
37
|
+
|
|
38
|
+
unit = self.unit
|
|
39
|
+
|
|
40
|
+
granted = self.granted
|
|
41
|
+
|
|
42
|
+
remaining = self.remaining
|
|
43
|
+
|
|
44
|
+
resets_at: Union[None, int]
|
|
45
|
+
resets_at = self.resets_at
|
|
46
|
+
|
|
47
|
+
expires_at: Union[None, int]
|
|
48
|
+
expires_at = self.expires_at
|
|
49
|
+
|
|
50
|
+
field_dict: dict[str, Any] = {}
|
|
51
|
+
field_dict.update(self.additional_properties)
|
|
52
|
+
field_dict.update(
|
|
53
|
+
{
|
|
54
|
+
"featureId": feature_id,
|
|
55
|
+
"name": name,
|
|
56
|
+
"unit": unit,
|
|
57
|
+
"granted": granted,
|
|
58
|
+
"remaining": remaining,
|
|
59
|
+
"resetsAt": resets_at,
|
|
60
|
+
"expiresAt": expires_at,
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
return field_dict
|
|
65
|
+
|
|
66
|
+
@classmethod
|
|
67
|
+
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
68
|
+
d = dict(src_dict)
|
|
69
|
+
feature_id = d.pop("featureId")
|
|
70
|
+
|
|
71
|
+
name = d.pop("name")
|
|
72
|
+
|
|
73
|
+
unit = d.pop("unit")
|
|
74
|
+
|
|
75
|
+
granted = d.pop("granted")
|
|
76
|
+
|
|
77
|
+
remaining = d.pop("remaining")
|
|
78
|
+
|
|
79
|
+
def _parse_resets_at(data: object) -> Union[None, int]:
|
|
80
|
+
if data is None:
|
|
81
|
+
return data
|
|
82
|
+
return cast(Union[None, int], data)
|
|
83
|
+
|
|
84
|
+
resets_at = _parse_resets_at(d.pop("resetsAt"))
|
|
85
|
+
|
|
86
|
+
def _parse_expires_at(data: object) -> Union[None, int]:
|
|
87
|
+
if data is None:
|
|
88
|
+
return data
|
|
89
|
+
return cast(Union[None, int], data)
|
|
90
|
+
|
|
91
|
+
expires_at = _parse_expires_at(d.pop("expiresAt"))
|
|
92
|
+
|
|
93
|
+
billing_credit_grant = cls(
|
|
94
|
+
feature_id=feature_id,
|
|
95
|
+
name=name,
|
|
96
|
+
unit=unit,
|
|
97
|
+
granted=granted,
|
|
98
|
+
remaining=remaining,
|
|
99
|
+
resets_at=resets_at,
|
|
100
|
+
expires_at=expires_at,
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
billing_credit_grant.additional_properties = d
|
|
104
|
+
return billing_credit_grant
|
|
105
|
+
|
|
106
|
+
@property
|
|
107
|
+
def additional_keys(self) -> list[str]:
|
|
108
|
+
return list(self.additional_properties.keys())
|
|
109
|
+
|
|
110
|
+
def __getitem__(self, key: str) -> Any:
|
|
111
|
+
return self.additional_properties[key]
|
|
112
|
+
|
|
113
|
+
def __setitem__(self, key: str, value: Any) -> None:
|
|
114
|
+
self.additional_properties[key] = value
|
|
115
|
+
|
|
116
|
+
def __delitem__(self, key: str) -> None:
|
|
117
|
+
del self.additional_properties[key]
|
|
118
|
+
|
|
119
|
+
def __contains__(self, key: str) -> bool:
|
|
120
|
+
return key in self.additional_properties
|
{archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_issued_invoice.py
RENAMED
|
@@ -4,6 +4,7 @@ from typing import Any, TypeVar, Union
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
+
from ..models.billing_issued_invoice_status import BillingIssuedInvoiceStatus
|
|
7
8
|
from ..types import UNSET, Unset
|
|
8
9
|
|
|
9
10
|
T = TypeVar("T", bound="BillingIssuedInvoice")
|
|
@@ -14,19 +15,21 @@ class BillingIssuedInvoice:
|
|
|
14
15
|
"""
|
|
15
16
|
Attributes:
|
|
16
17
|
id (str):
|
|
17
|
-
status (
|
|
18
|
+
status (BillingIssuedInvoiceStatus): The invoice's status with the billing processor. `draft` is a renewal the
|
|
19
|
+
processor has not finalized yet, for about an hour after the period rolls; it already carries every line it will
|
|
20
|
+
bill. Voided invoices are not listed.
|
|
18
21
|
hosted_invoice_url (Union[Unset, str]): The invoice as the billing processor hosts it.
|
|
19
22
|
"""
|
|
20
23
|
|
|
21
24
|
id: str
|
|
22
|
-
status:
|
|
25
|
+
status: BillingIssuedInvoiceStatus
|
|
23
26
|
hosted_invoice_url: Union[Unset, str] = UNSET
|
|
24
27
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
25
28
|
|
|
26
29
|
def to_dict(self) -> dict[str, Any]:
|
|
27
30
|
id = self.id
|
|
28
31
|
|
|
29
|
-
status = self.status
|
|
32
|
+
status = self.status.value
|
|
30
33
|
|
|
31
34
|
hosted_invoice_url = self.hosted_invoice_url
|
|
32
35
|
|
|
@@ -48,7 +51,7 @@ class BillingIssuedInvoice:
|
|
|
48
51
|
d = dict(src_dict)
|
|
49
52
|
id = d.pop("id")
|
|
50
53
|
|
|
51
|
-
status = d.pop("status")
|
|
54
|
+
status = BillingIssuedInvoiceStatus(d.pop("status"))
|
|
52
55
|
|
|
53
56
|
hosted_invoice_url = d.pop("hostedInvoiceUrl", UNSET)
|
|
54
57
|
|