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.
Files changed (335) hide show
  1. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/PKG-INFO +1 -1
  2. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/pyproject.toml +1 -1
  3. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_summary.py +52 -40
  4. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_usage.py +48 -24
  5. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/__init__.py +14 -30
  6. archil_openapi-0.0.65/src/archil_openapi/models/billing_credit_grant.py +120 -0
  7. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_issued_invoice.py +7 -4
  8. archil_openapi-0.0.65/src/archil_openapi/models/billing_issued_invoice_status.py +11 -0
  9. archil_openapi-0.0.65/src/archil_openapi/models/billing_line.py +138 -0
  10. archil_openapi-0.0.65/src/archil_openapi/models/billing_line_type.py +11 -0
  11. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_health.py +7 -7
  12. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription.py +6 -4
  13. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_state.py +6 -4
  14. archil_openapi-0.0.65/src/archil_openapi/models/billing_subscription_state_subscription_status.py +10 -0
  15. archil_openapi-0.0.65/src/archil_openapi/models/billing_subscription_subscription_status.py +10 -0
  16. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_summary.py +46 -70
  17. archil_openapi-0.0.65/src/archil_openapi/models/billing_summary_plan.py +67 -0
  18. 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
  19. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage.py +42 -2
  20. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_interval.py +9 -1
  21. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_interval_features.py +1 -1
  22. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_quantity.py +9 -1
  23. 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
  24. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_window.py +16 -7
  25. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_window_features.py +1 -1
  26. archil_openapi-0.0.64/src/archil_openapi/api/billing/get_billing_costs.py +0 -273
  27. archil_openapi-0.0.64/src/archil_openapi/models/api_response_billing_costs.py +0 -73
  28. archil_openapi-0.0.64/src/archil_openapi/models/billing_adjustment.py +0 -78
  29. archil_openapi-0.0.64/src/archil_openapi/models/billing_adjustment_type.py +0 -10
  30. archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_interval.py +0 -89
  31. archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_interval_features.py +0 -57
  32. archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_window.py +0 -92
  33. archil_openapi-0.0.64/src/archil_openapi/models/billing_cost_window_features.py +0 -57
  34. archil_openapi-0.0.64/src/archil_openapi/models/billing_costs.py +0 -150
  35. archil_openapi-0.0.64/src/archil_openapi/models/billing_costs_granularity.py +0 -9
  36. archil_openapi-0.0.64/src/archil_openapi/models/billing_feature_cost.py +0 -75
  37. archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_metered_cost_breakdown.py +0 -57
  38. archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_plan.py +0 -83
  39. archil_openapi-0.0.64/src/archil_openapi/models/billing_summary_projection.py +0 -101
  40. archil_openapi-0.0.64/src/archil_openapi/models/get_billing_costs_for.py +0 -13
  41. archil_openapi-0.0.64/src/archil_openapi/models/get_billing_costs_granularity.py +0 -9
  42. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/LICENSE +0 -0
  43. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/README.md +0 -0
  44. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/__init__.py +0 -0
  45. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/__init__.py +0 -0
  46. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/activity/__init__.py +0 -0
  47. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/activity/list_activity.py +0 -0
  48. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/__init__.py +0 -0
  49. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/create_api_token.py +0 -0
  50. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/delete_api_token.py +0 -0
  51. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/api_tokens/list_api_tokens.py +0 -0
  52. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/__init__.py +0 -0
  53. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/cancel_billing_subscription.py +0 -0
  54. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/change_billing_subscription.py +0 -0
  55. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/create_billing_setup_intent.py +0 -0
  56. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/create_billing_subscription.py +0 -0
  57. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/delete_billing_payment_method.py +0 -0
  58. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_credits.py +0 -0
  59. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_invoice.py +0 -0
  60. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_operation.py +0 -0
  61. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_profile.py +0 -0
  62. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/get_billing_subscription.py +0 -0
  63. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/keep_billing_subscription.py +0 -0
  64. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/list_billing_invoices.py +0 -0
  65. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/list_billing_payment_methods.py +0 -0
  66. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/pay_billing_invoice.py +0 -0
  67. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/preview_billing_subscription.py +0 -0
  68. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/set_billing_default_payment_method.py +0 -0
  69. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/update_billing_payment_method.py +0 -0
  70. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/update_billing_profile.py +0 -0
  71. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/billing/withdraw_billing_scheduled_change.py +0 -0
  72. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/__init__.py +0 -0
  73. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/get_allowed_i_ps.py +0 -0
  74. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/get_sandbox_mount.py +0 -0
  75. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/list_delegations.py +0 -0
  76. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/revoke_delegation.py +0 -0
  77. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/set_allowed_i_ps.py +0 -0
  78. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_configuration/set_sandbox_mount.py +0 -0
  79. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/__init__.py +0 -0
  80. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/add_disk_user.py +0 -0
  81. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disk_users/remove_disk_user.py +0 -0
  82. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/__init__.py +0 -0
  83. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_branch.py +0 -0
  84. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_disk.py +0 -0
  85. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/create_share_url.py +0 -0
  86. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/delete_disk.py +0 -0
  87. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/exec_.py +0 -0
  88. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/exec_disk.py +0 -0
  89. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/get_branch.py +0 -0
  90. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/get_disk.py +0 -0
  91. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/grep_disk.py +0 -0
  92. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/list_branches.py +0 -0
  93. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/disks/list_disks.py +0 -0
  94. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/__init__.py +0 -0
  95. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_image.py +0 -0
  96. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox.py +0 -0
  97. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox_connection.py +0 -0
  98. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/create_sandbox_port_token.py +0 -0
  99. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox.py +0 -0
  100. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox_port.py +0 -0
  101. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/delete_sandbox_port_token.py +0 -0
  102. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/expose_sandbox_port.py +0 -0
  103. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/fork_sandbox.py +0 -0
  104. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_image.py +0 -0
  105. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox.py +0 -0
  106. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox_network.py +0 -0
  107. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/get_sandbox_port_token.py +0 -0
  108. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandbox_port_tokens.py +0 -0
  109. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandbox_ports.py +0 -0
  110. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/list_sandboxes.py +0 -0
  111. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/pause_sandbox.py +0 -0
  112. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/resume_sandbox.py +0 -0
  113. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/set_sandbox_timeout.py +0 -0
  114. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/start_sandbox.py +0 -0
  115. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/stop_sandbox.py +0 -0
  116. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/api/sandboxes/update_sandbox_network.py +0 -0
  117. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/client.py +0 -0
  118. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/errors.py +0 -0
  119. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event.py +0 -0
  120. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event_details.py +0 -0
  121. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/activity_event_level.py +0 -0
  122. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_activity_list.py +0 -0
  123. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_allowed_i_ps.py +0 -0
  124. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_allowed_i_ps_data.py +0 -0
  125. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_authorized_user.py +0 -0
  126. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_cancellation.py +0 -0
  127. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_credits.py +0 -0
  128. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_default_payment_method.py +0 -0
  129. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_default_payment_method_data.py +0 -0
  130. {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
  131. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_invoice_detail.py +0 -0
  132. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_invoices.py +0 -0
  133. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_method_removed.py +0 -0
  134. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_method_removed_data.py +0 -0
  135. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_operation.py +0 -0
  136. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_payment_method.py +0 -0
  137. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_payment_methods.py +0 -0
  138. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_profile.py +0 -0
  139. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_setup_intent.py +0 -0
  140. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_setup_intent_data.py +0 -0
  141. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription.py +0 -0
  142. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription_preview.py +0 -0
  143. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_subscription_state.py +0 -0
  144. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_summary.py +0 -0
  145. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_billing_usage.py +0 -0
  146. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_create_disk.py +0 -0
  147. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_create_disk_data.py +0 -0
  148. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_created_sandbox_port_token.py +0 -0
  149. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_delegations.py +0 -0
  150. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_delegations_data.py +0 -0
  151. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_disk.py +0 -0
  152. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_disk_list.py +0 -0
  153. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_empty.py +0 -0
  154. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_exec.py +0 -0
  155. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_exec_disk.py +0 -0
  156. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_grep_disk.py +0 -0
  157. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_image.py +0 -0
  158. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_message.py +0 -0
  159. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_message_data.py +0 -0
  160. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox.py +0 -0
  161. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_connection.py +0 -0
  162. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_list.py +0 -0
  163. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_list_data.py +0 -0
  164. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_mount.py +0 -0
  165. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_mount_data.py +0 -0
  166. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_network.py +0 -0
  167. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port.py +0 -0
  168. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_list.py +0 -0
  169. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_token.py +0 -0
  170. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_sandbox_port_token_list.py +0 -0
  171. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_share_url.py +0 -0
  172. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_share_url_data.py +0 -0
  173. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_created.py +0 -0
  174. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_created_data.py +0 -0
  175. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_list.py +0 -0
  176. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_response_token_list_data.py +0 -0
  177. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/api_token_response.py +0 -0
  178. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user.py +0 -0
  179. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user_status.py +0 -0
  180. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/authorized_user_type.py +0 -0
  181. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/aws_sts_user.py +0 -0
  182. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/aws_sts_user_type.py +0 -0
  183. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/azure_blob_storage.py +0 -0
  184. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/azure_blob_storage_type.py +0 -0
  185. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_address.py +0 -0
  186. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_address_patch.py +0 -0
  187. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_balance_transaction.py +0 -0
  188. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request.py +0 -0
  189. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_reason.py +0 -0
  190. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_reason_feedback.py +0 -0
  191. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancel_request_timing.py +0 -0
  192. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation.py +0 -0
  193. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation_settlement.py +0 -0
  194. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_cancellation_settlement_method.py +0 -0
  195. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request.py +0 -0
  196. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request_plan.py +0 -0
  197. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_change_request_timing.py +0 -0
  198. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_credit_note.py +0 -0
  199. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_credits.py +0 -0
  200. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_credit.py +0 -0
  201. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_detail.py +0 -0
  202. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_line.py +0 -0
  203. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_summary.py +0 -0
  204. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_invoice_tax.py +0 -0
  205. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_keep_request.py +0 -0
  206. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_next_action.py +0 -0
  207. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_next_action_type.py +0 -0
  208. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation.py +0 -0
  209. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_failure.py +0 -0
  210. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_invoice.py +0 -0
  211. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_plan.py +0 -0
  212. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_state.py +0 -0
  213. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_status.py +0 -0
  214. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_operation_type.py +0 -0
  215. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_owner.py +0 -0
  216. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_owner_type.py +0 -0
  217. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_pay_invoice_request.py +0 -0
  218. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_health_status.py +0 -0
  219. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method.py +0 -0
  220. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method_billing_details.py +0 -0
  221. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_payment_method_card.py +0 -0
  222. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_period.py +0 -0
  223. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_line.py +0 -0
  224. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request.py +0 -0
  225. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request_plan.py +0 -0
  226. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_preview_request_timing.py +0 -0
  227. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile.py +0 -0
  228. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_billing_mode.py +0 -0
  229. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error.py +0 -0
  230. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_code.py +0 -0
  231. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_data.py +0 -0
  232. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_profile_validation_error_data_field_errors.py +0 -0
  233. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price.py +0 -0
  234. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price_component.py +0 -0
  235. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_recurring_price_usage_type.py +0 -0
  236. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change.py +0 -0
  237. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change_target_plan.py +0 -0
  238. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_scheduled_change_type.py +0 -0
  239. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_state_conflict.py +0 -0
  240. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscribe_request.py +0 -0
  241. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscribe_request_plan.py +0 -0
  242. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_actions.py +0 -0
  243. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_billing_mode.py +0 -0
  244. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_plan.py +0 -0
  245. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview.py +0 -0
  246. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_current_plan.py +0 -0
  247. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_kind.py +0 -0
  248. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_qualifications_item.py +0 -0
  249. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_target_plan.py +0 -0
  250. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_preview_timing.py +0 -0
  251. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_subscription_state_plan.py +0 -0
  252. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/billing_usage_granularity.py +0 -0
  253. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_api_response.py +0 -0
  254. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_list_api_response.py +0 -0
  255. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/branch_response.py +0 -0
  256. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/cloudflare_r2.py +0 -0
  257. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/cloudflare_r2_type.py +0 -0
  258. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/connected_client.py +0 -0
  259. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_api_token_request.py +0 -0
  260. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_branch_request.py +0 -0
  261. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_disk_request.py +0 -0
  262. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_image_request.py +0 -0
  263. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_port_token_request.py +0 -0
  264. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_request.py +0 -0
  265. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_sandbox_request_env.py +0 -0
  266. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/create_share_url_request.py +0 -0
  267. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/created_sandbox_port_token.py +0 -0
  268. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/delegation_entry.py +0 -0
  269. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_metrics.py +0 -0
  270. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response.py +0 -0
  271. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response_capabilities_item.py +0 -0
  272. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/disk_response_status.py +0 -0
  273. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/error_response.py +0 -0
  274. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_disk_request.py +0 -0
  275. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_disk_result.py +0 -0
  276. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_mount.py +0 -0
  277. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_request.py +0 -0
  278. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_request_disks.py +0 -0
  279. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/exec_timing.py +0 -0
  280. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/fork_sandbox_request.py +0 -0
  281. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/get_billing_usage_for.py +0 -0
  282. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/get_billing_usage_granularity.py +0 -0
  283. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/google_cloud_storage.py +0 -0
  284. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/google_cloud_storage_type.py +0 -0
  285. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_disk_request.py +0 -0
  286. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_disk_result.py +0 -0
  287. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_group.py +0 -0
  288. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_group_line.py +0 -0
  289. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_match.py +0 -0
  290. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/grep_stopped_reason.py +0 -0
  291. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image.py +0 -0
  292. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image_failure_reason.py +0 -0
  293. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/image_state.py +0 -0
  294. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/list_activity_level_item.py +0 -0
  295. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_config_response.py +0 -0
  296. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response.py +0 -0
  297. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_access_mode.py +0 -0
  298. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_authorization_type.py +0 -0
  299. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_connection_status.py +0 -0
  300. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/mount_response_type.py +0 -0
  301. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/registry_auth.py +0 -0
  302. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/remove_disk_user_user_type.py +0 -0
  303. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/revoke_delegation_request.py +0 -0
  304. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/root_attrs.py +0 -0
  305. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3.py +0 -0
  306. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_compatible.py +0 -0
  307. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_compatible_type.py +0 -0
  308. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/s3_type.py +0 -0
  309. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox.py +0 -0
  310. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_connection.py +0 -0
  311. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_policy.py +0 -0
  312. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_rule.py +0 -0
  313. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_transform.py +0 -0
  314. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_egress_transform_headers.py +0 -0
  315. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_endpoint.py +0 -0
  316. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_mount.py +0 -0
  317. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_network.py +0 -0
  318. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_network_action.py +0 -0
  319. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_platform.py +0 -0
  320. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port.py +0 -0
  321. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_list.py +0 -0
  322. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_token.py +0 -0
  323. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_port_token_list.py +0 -0
  324. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_state.py +0 -0
  325. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/sandbox_timeout_request.py +0 -0
  326. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_allowed_i_ps_body.py +0 -0
  327. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_billing_default_payment_method_body.py +0 -0
  328. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/set_sandbox_mount_body.py +0 -0
  329. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/start_sandbox_request.py +0 -0
  330. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/token_user.py +0 -0
  331. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/token_user_type.py +0 -0
  332. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/update_billing_payment_method_body.py +0 -0
  333. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/models/update_billing_profile_body.py +0 -0
  334. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/py.typed +0 -0
  335. {archil_openapi-0.0.64 → archil_openapi-0.0.65}/src/archil_openapi/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: archil-openapi
3
- Version: 0.0.64
3
+ Version: 0.0.65
4
4
  Summary: Generated low-level Python client for the Archil control plane API
5
5
  Keywords: archil,openapi
6
6
  Author: Archil, Inc.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "archil-openapi"
3
- version = "0.0.64"
3
+ version = "0.0.65"
4
4
  description = "Generated low-level Python client for the Archil control plane API"
5
5
  readme = "README.md"
6
6
  license = { file = "LICENSE" }
@@ -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 as a sum
78
-
79
- Returns a billing period's statement as a sum: `meteredCostCents`, the period's usage at the
80
- account's rates with a breakdown by meter; `adjustments`, the lines the plan applies (the included
81
- credits taken off, the base price added); and `billedCostCents`, what they come to, which is what
82
- the period invoices or would if it ended now. Also the account's standing on the plan's credit pool
83
- and, for the current period, a projection to its end at the recent daily pace. A past period's lines
84
- are read from the invoices issued for it. The only billing route where the plan's base price and
85
- included credits enter. Money is in integer cents. On a plan that prices no usage, `priced` is false
86
- and the amounts are zero.
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 as a sum
116
-
117
- Returns a billing period's statement as a sum: `meteredCostCents`, the period's usage at the
118
- account's rates with a breakdown by meter; `adjustments`, the lines the plan applies (the included
119
- credits taken off, the base price added); and `billedCostCents`, what they come to, which is what
120
- the period invoices or would if it ended now. Also the account's standing on the plan's credit pool
121
- and, for the current period, a projection to its end at the recent daily pace. A past period's lines
122
- are read from the invoices issued for it. The only billing route where the plan's base price and
123
- included credits enter. Money is in integer cents. On a plan that prices no usage, `priced` is false
124
- and the amounts are zero.
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 as a sum
149
-
150
- Returns a billing period's statement as a sum: `meteredCostCents`, the period's usage at the
151
- account's rates with a breakdown by meter; `adjustments`, the lines the plan applies (the included
152
- credits taken off, the base price added); and `billedCostCents`, what they come to, which is what
153
- the period invoices or would if it ended now. Also the account's standing on the plan's credit pool
154
- and, for the current period, a projection to its end at the recent daily pace. A past period's lines
155
- are read from the invoices issued for it. The only billing route where the plan's base price and
156
- included credits enter. Money is in integer cents. On a plan that prices no usage, `priced` is false
157
- and the amounts are zero.
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 as a sum
185
-
186
- Returns a billing period's statement as a sum: `meteredCostCents`, the period's usage at the
187
- account's rates with a breakdown by meter; `adjustments`, the lines the plan applies (the included
188
- credits taken off, the base price added); and `billedCostCents`, what they come to, which is what
189
- the period invoices or would if it ended now. Also the account's standing on the plan's credit pool
190
- and, for the current period, a projection to its end at the recent daily pace. A past period's lines
191
- are read from the invoices issued for it. The only billing route where the plan's base price and
192
- included credits enter. Money is in integer cents. On a plan that prices no usage, `priced` is false
193
- and the amounts are zero.
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.
@@ -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, calls) with no prices
107
- applied. Usage reaches billing once per reporter interval from every region, so an interval's
108
- figures can still grow for a few minutes after it ends, longer if a region's reporter is behind. The
109
- default window is the seven days (hourly: 24 hours) up to now; a window may be at most 31 days, and
110
- is widened to whole intervals.
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, calls) with no prices
156
- applied. Usage reaches billing once per reporter interval from every region, so an interval's
157
- figures can still grow for a few minutes after it ends, longer if a region's reporter is behind. The
158
- default window is the seven days (hourly: 24 hours) up to now; a window may be at most 31 days, and
159
- is widened to whole intervals.
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, calls) with no prices
200
- applied. Usage reaches billing once per reporter interval from every region, so an interval's
201
- figures can still grow for a few minutes after it ends, longer if a region's reporter is behind. The
202
- default window is the seven days (hourly: 24 hours) up to now; a window may be at most 31 days, and
203
- is widened to whole intervals.
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, calls) with no prices
247
- applied. Usage reaches billing once per reporter interval from every region, so an interval's
248
- figures can still grow for a few minutes after it ends, longer if a region's reporter is behind. The
249
- default window is the seven days (hourly: 24 hours) up to now; a window may be at most 31 days, and
250
- is widened to whole intervals.
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 .billing_cost_interval import BillingCostInterval
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
- "BillingCostInterval",
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
@@ -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 (str): open, paid or uncollectible.
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: str
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
 
@@ -0,0 +1,11 @@
1
+ from enum import Enum
2
+
3
+
4
+ class BillingIssuedInvoiceStatus(str, Enum):
5
+ DRAFT = "draft"
6
+ OPEN = "open"
7
+ PAID = "paid"
8
+ UNCOLLECTIBLE = "uncollectible"
9
+
10
+ def __str__(self) -> str:
11
+ return str(self.value)