hushscript 1.1.2__tar.gz → 1.2.0__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 (213) hide show
  1. {hushscript-1.1.2 → hushscript-1.2.0}/PKG-INFO +11 -8
  2. {hushscript-1.1.2 → hushscript-1.2.0}/README.md +10 -7
  3. {hushscript-1.1.2 → hushscript-1.2.0}/pyproject.toml +1 -1
  4. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_client.py +20 -6
  5. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_models.py +6 -0
  6. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_shapes.py +2 -0
  7. hushscript-1.2.0/src/hushscript/_version.py +1 -0
  8. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/create_upload.py +20 -16
  9. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/upload_part.py +12 -4
  10. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/catalog.py +11 -2
  11. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/__init__.py +64 -0
  12. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_signup_request.py +3 -2
  13. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/create_upload_body.py +92 -0
  14. hushscript-1.2.0/src/hushscript/generated/models/create_upload_body_origin_source_type_1.py +20 -0
  15. hushscript-1.2.0/src/hushscript/generated/models/create_upload_body_origin_source_type_2_type_1.py +20 -0
  16. hushscript-1.2.0/src/hushscript/generated/models/create_upload_body_origin_source_type_3_type_1.py +20 -0
  17. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/create_upload_body_transcription_options_type_0.py +48 -14
  18. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/job.py +166 -0
  19. hushscript-1.2.0/src/hushscript/generated/models/job_origin_app_type_1.py +19 -0
  20. hushscript-1.2.0/src/hushscript/generated/models/job_origin_app_type_2_type_1.py +19 -0
  21. hushscript-1.2.0/src/hushscript/generated/models/job_origin_app_type_3_type_1.py +19 -0
  22. hushscript-1.2.0/src/hushscript/generated/models/job_origin_source_type_1.py +17 -0
  23. hushscript-1.2.0/src/hushscript/generated/models/job_origin_source_type_2_type_1.py +17 -0
  24. hushscript-1.2.0/src/hushscript/generated/models/job_origin_source_type_3_type_1.py +17 -0
  25. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/options_summary.py +20 -2
  26. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transaction.py +14 -0
  27. hushscript-1.2.0/src/hushscript/generated/models/transaction_provider.py +17 -0
  28. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail.py +360 -0
  29. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_app_type_1.py +21 -0
  30. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_app_type_2_type_1.py +25 -0
  31. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_app_type_3_type_1.py +25 -0
  32. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_source_type_1.py +21 -0
  33. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_source_type_2_type_1.py +21 -0
  34. hushscript-1.2.0/src/hushscript/generated/models/transcript_detail_origin_source_type_3_type_1.py +21 -0
  35. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row.py +318 -0
  36. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_app_type_1.py +21 -0
  37. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_app_type_2_type_1.py +25 -0
  38. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_app_type_3_type_1.py +25 -0
  39. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_source_type_1.py +21 -0
  40. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_source_type_2_type_1.py +21 -0
  41. hushscript-1.2.0/src/hushscript/generated/models/transcript_list_row_origin_source_type_3_type_1.py +21 -0
  42. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/preflight.py +192 -30
  43. hushscript-1.1.2/src/hushscript/_version.py +0 -1
  44. hushscript-1.1.2/src/hushscript/generated/models/transcript_detail.py +0 -194
  45. hushscript-1.1.2/src/hushscript/generated/models/transcript_list_row.py +0 -152
  46. {hushscript-1.1.2 → hushscript-1.2.0}/.gitignore +0 -0
  47. {hushscript-1.1.2 → hushscript-1.2.0}/LICENSE +0 -0
  48. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/__init__.py +0 -0
  49. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_clock.py +0 -0
  50. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_config.py +0 -0
  51. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_errors.py +0 -0
  52. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_guard.py +0 -0
  53. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_http.py +0 -0
  54. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_json.py +0 -0
  55. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_log.py +0 -0
  56. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_pacing.py +0 -0
  57. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_redact.py +0 -0
  58. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_response.py +0 -0
  59. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_retry.py +0 -0
  60. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/_shape.py +0 -0
  61. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/format.py +0 -0
  62. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/__init__.py +0 -0
  63. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/__init__.py +0 -0
  64. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/__init__.py +0 -0
  65. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/buy_minutes.py +0 -0
  66. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/claim_agent_account.py +0 -0
  67. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/complete_upload.py +0 -0
  68. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/create_agent_account_signup.py +0 -0
  69. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/create_setup_session.py +0 -0
  70. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_account.py +0 -0
  71. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_job.py +0 -0
  72. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_org.py +0 -0
  73. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_transcript.py +0 -0
  74. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_transcription_context.py +0 -0
  75. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/get_upload_part_urls.py +0 -0
  76. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/heartbeat_upload.py +0 -0
  77. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/lift_transcript_hold.py +0 -0
  78. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_credit_ledger.py +0 -0
  79. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_deleted_transcripts.py +0 -0
  80. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_holds.py +0 -0
  81. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_jobs.py +0 -0
  82. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_audit.py +0 -0
  83. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_invoices.py +0 -0
  84. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_ledger.py +0 -0
  85. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_matters.py +0 -0
  86. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_members.py +0 -0
  87. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_org_transcripts.py +0 -0
  88. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_packs.py +0 -0
  89. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_saved_cards.py +0 -0
  90. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_transactions.py +0 -0
  91. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/list_transcripts.py +0 -0
  92. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/org_audit_csv.py +0 -0
  93. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/org_ledger_csv.py +0 -0
  94. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/org_usage_report.py +0 -0
  95. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/org_usage_report_csv.py +0 -0
  96. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/patch_org_member.py +0 -0
  97. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/place_transcript_hold.py +0 -0
  98. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/rotate_agent_credentials.py +0 -0
  99. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/schedule_org_custody.py +0 -0
  100. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/api/default/set_default_card.py +0 -0
  101. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/client.py +0 -0
  102. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/errors.py +0 -0
  103. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/hints.py +0 -0
  104. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/account_response.py +0 -0
  105. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/active_hold.py +0 -0
  106. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/active_hold_kind.py +0 -0
  107. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_claim_request.py +0 -0
  108. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_claim_response.py +0 -0
  109. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_credentials_rotate_response.py +0 -0
  110. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_signup_request_agent.py +0 -0
  111. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/agent_signup_response.py +0 -0
  112. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/buy_minutes_body.py +0 -0
  113. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/card.py +0 -0
  114. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/cards_response.py +0 -0
  115. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/complete_upload_body.py +0 -0
  116. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/complete_upload_body_parts_type_0_item.py +0 -0
  117. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/context_dictionary.py +0 -0
  118. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/context_prompt_preset.py +0 -0
  119. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/create_setup_session_body.py +0 -0
  120. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/credit_ledger_entry.py +0 -0
  121. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/credit_ledger_response.py +0 -0
  122. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/deleted_transcript.py +0 -0
  123. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/deleted_transcript_cause.py +0 -0
  124. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/deleted_transcript_receipt_type_0.py +0 -0
  125. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/deleted_transcript_receipt_type_0_items_item.py +0 -0
  126. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/deleted_transcripts_response.py +0 -0
  127. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/dictionary_entry.py +0 -0
  128. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/dictionary_entry_category.py +0 -0
  129. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/error.py +0 -0
  130. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/error_details.py +0 -0
  131. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/get_upload_part_urls_response_200.py +0 -0
  132. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/heartbeat_upload_response_200.py +0 -0
  133. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/holds_response.py +0 -0
  134. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/job_failure_kind_type_1.py +0 -0
  135. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/job_failure_kind_type_2_type_1.py +0 -0
  136. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/job_failure_kind_type_3_type_1.py +0 -0
  137. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/job_list.py +0 -0
  138. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/lift_transcript_hold_response_200.py +0 -0
  139. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/list_jobs_active.py +0 -0
  140. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/list_org_matters_status.py +0 -0
  141. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_audit_entry.py +0 -0
  142. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_audit_response.py +0 -0
  143. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_invoice.py +0 -0
  144. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_invoices_response.py +0 -0
  145. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_ledger_entry.py +0 -0
  146. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_ledger_response.py +0 -0
  147. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_matter.py +0 -0
  148. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_matter_status.py +0 -0
  149. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_matters_response.py +0 -0
  150. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_member.py +0 -0
  151. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_members_response.py +0 -0
  152. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_summary_response.py +0 -0
  153. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_transcript.py +0 -0
  154. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_transcripts_response.py +0 -0
  155. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_usage_report_csv_group_by.py +0 -0
  156. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_usage_report_group_by.py +0 -0
  157. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_usage_response.py +0 -0
  158. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_usage_response_group_by.py +0 -0
  159. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/org_usage_row.py +0 -0
  160. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/pack.py +0 -0
  161. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/packs_response.py +0 -0
  162. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/patch_org_member_body.py +0 -0
  163. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/patch_org_member_response_200.py +0 -0
  164. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/place_transcript_hold_response_200.py +0 -0
  165. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/presigned_part_url.py +0 -0
  166. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/purchase_response.py +0 -0
  167. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/schedule_org_custody_body.py +0 -0
  168. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/schedule_org_custody_body_custody.py +0 -0
  169. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/schedule_org_custody_response_200.py +0 -0
  170. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/set_default_card_body.py +0 -0
  171. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/set_default_card_response_200.py +0 -0
  172. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/setup_session_response.py +0 -0
  173. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transactions_response.py +0 -0
  174. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_detail_speaker_names.py +0 -0
  175. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_envelope.py +0 -0
  176. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_envelope_translations.py +0 -0
  177. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_language.py +0 -0
  178. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_list.py +0 -0
  179. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcript_list_row_insights_state.py +0 -0
  180. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/transcription_context_response.py +0 -0
  181. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_complete_response.py +0 -0
  182. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_create_response.py +0 -0
  183. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_create_response_funding.py +0 -0
  184. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_create_response_upload_type_0.py +0 -0
  185. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_limits.py +0 -0
  186. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/upload_part_response_200.py +0 -0
  187. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/models/utterance.py +0 -0
  188. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/scopes.py +0 -0
  189. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/generated/types.py +0 -0
  190. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/money.py +0 -0
  191. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/paginate.py +0 -0
  192. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/py.typed +0 -0
  193. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/__init__.py +0 -0
  194. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/_params.py +0 -0
  195. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/account.py +0 -0
  196. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/agent.py +0 -0
  197. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/billing.py +0 -0
  198. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/jobs.py +0 -0
  199. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/resources/transcripts.py +0 -0
  200. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/__init__.py +0 -0
  201. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/apipeline.py +0 -0
  202. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/aupload.py +0 -0
  203. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/heartbeat.py +0 -0
  204. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/pipeline.py +0 -0
  205. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/probe.py +0 -0
  206. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/resume.py +0 -0
  207. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/segment.py +0 -0
  208. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/session.py +0 -0
  209. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/sniff.py +0 -0
  210. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/source.py +0 -0
  211. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/upload.py +0 -0
  212. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcribe/wait.py +0 -0
  213. {hushscript-1.1.2 → hushscript-1.2.0}/src/hushscript/transcript.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: hushscript
3
- Version: 1.1.2
3
+ Version: 1.2.0
4
4
  Summary: The official Python SDK for the Hushscript transcription API.
5
5
  Project-URL: Homepage, https://hushscript.com
6
6
  Project-URL: Source, https://github.com/Hushscript/hushscript-sdk-python
@@ -36,7 +36,7 @@ the failures in between so you do not have to.
36
36
  ## Why Hushscript
37
37
 
38
38
  - **No subscription.** You buy prepaid minute packs, and nothing recurs. Current prices are on the
39
- [pricing page](https://hushscript.com/pricing).
39
+ [pricing page](https://hushscript.com/pay-as-you-go-transcription-pricing).
40
40
  - **The audio you send isn't kept.** The audio sent for transcription isn't kept after processing. Stored
41
41
  transcripts are encrypted at rest, and you choose how long they stay.
42
42
  - **Free speaker labels and AI insights.** Speaker labels carry no extra charge (medical mode and
@@ -63,7 +63,7 @@ the failures in between so you do not have to.
63
63
  allow it).
64
64
  - Let an agent sign up, pay at a hosted checkout and claim its own token, with no human account.
65
65
 
66
- [Website](https://hushscript.com) · [Pricing](https://hushscript.com/pricing) · [SDK docs](https://hushscript.com/sdks) · [API reference](https://hushscript.com/developers)
66
+ [Website](https://hushscript.com) · [Pricing](https://hushscript.com/pay-as-you-go-transcription-pricing) · [SDK docs](https://hushscript.com/developers#sdks-and-cli) · [API reference](https://hushscript.com/developers)
67
67
 
68
68
  ## Quick start
69
69
 
@@ -107,10 +107,13 @@ terms are dropped, and an empty list or a blank prompt is not sent. The limits a
107
107
  any upload, and a breach raises `PreflightError` with code `invalid_option` naming the limit and the
108
108
  offending term:
109
109
 
110
- - `keyterms`: up to 1000 unique terms, each at most 6 words and 128 characters.
110
+ - `keyterms`: up to 1000 unique terms, each at most 6 words and 128 characters, and at most 1000
111
+ words in total.
111
112
  - `prompt`: at most 2000 characters.
112
- - Both together: the API wraps them into one prompt, and the 2000 limit covers that whole text,
113
- which is 203 characters of fixed text plus the prompt, each term plus 2, and 1 between terms.
113
+
114
+ The prompt and the key terms are sent as separate fields, each checked on its own; the server checks
115
+ the token budget. Languages the API serves with its universal-2 model refuse typed key terms and a
116
+ prompt (`invalid_option`); set `language` to a supported one or drop them.
114
117
 
115
118
  Lengths count Unicode code points, and words are split on Unicode white space.
116
119
 
@@ -437,7 +440,7 @@ client-side code is a leaked token.
437
440
  Personal accounts buy prepaid minute packs. The price of a pack depends on your country, and your
438
441
  minutes stay valid for a year after your last transcription or purchase. A transcription uses the
439
442
  minutes of the recording; medical mode and each translation target use more. Current prices are on
440
- [hushscript.com/pricing](https://hushscript.com/pricing).
443
+ [hushscript.com/pay-as-you-go-transcription-pricing](https://hushscript.com/pay-as-you-go-transcription-pricing).
441
444
 
442
445
  ## Requirements
443
446
 
@@ -447,7 +450,7 @@ The 3.15 image builds final Python 3.15.0 from its checksum-pinned official sour
447
450
 
448
451
  ## Links
449
452
 
450
- - Documentation: <https://hushscript.com/sdks>
453
+ - Documentation: <https://hushscript.com/developers#sdks-and-cli>
451
454
  - REST API reference: <https://hushscript.com/developers>
452
455
  - Package on PyPI: <https://pypi.org/project/hushscript/>
453
456
  - Source: <https://github.com/Hushscript/hushscript-sdk-python>
@@ -7,7 +7,7 @@ the failures in between so you do not have to.
7
7
  ## Why Hushscript
8
8
 
9
9
  - **No subscription.** You buy prepaid minute packs, and nothing recurs. Current prices are on the
10
- [pricing page](https://hushscript.com/pricing).
10
+ [pricing page](https://hushscript.com/pay-as-you-go-transcription-pricing).
11
11
  - **The audio you send isn't kept.** The audio sent for transcription isn't kept after processing. Stored
12
12
  transcripts are encrypted at rest, and you choose how long they stay.
13
13
  - **Free speaker labels and AI insights.** Speaker labels carry no extra charge (medical mode and
@@ -34,7 +34,7 @@ the failures in between so you do not have to.
34
34
  allow it).
35
35
  - Let an agent sign up, pay at a hosted checkout and claim its own token, with no human account.
36
36
 
37
- [Website](https://hushscript.com) · [Pricing](https://hushscript.com/pricing) · [SDK docs](https://hushscript.com/sdks) · [API reference](https://hushscript.com/developers)
37
+ [Website](https://hushscript.com) · [Pricing](https://hushscript.com/pay-as-you-go-transcription-pricing) · [SDK docs](https://hushscript.com/developers#sdks-and-cli) · [API reference](https://hushscript.com/developers)
38
38
 
39
39
  ## Quick start
40
40
 
@@ -78,10 +78,13 @@ terms are dropped, and an empty list or a blank prompt is not sent. The limits a
78
78
  any upload, and a breach raises `PreflightError` with code `invalid_option` naming the limit and the
79
79
  offending term:
80
80
 
81
- - `keyterms`: up to 1000 unique terms, each at most 6 words and 128 characters.
81
+ - `keyterms`: up to 1000 unique terms, each at most 6 words and 128 characters, and at most 1000
82
+ words in total.
82
83
  - `prompt`: at most 2000 characters.
83
- - Both together: the API wraps them into one prompt, and the 2000 limit covers that whole text,
84
- which is 203 characters of fixed text plus the prompt, each term plus 2, and 1 between terms.
84
+
85
+ The prompt and the key terms are sent as separate fields, each checked on its own; the server checks
86
+ the token budget. Languages the API serves with its universal-2 model refuse typed key terms and a
87
+ prompt (`invalid_option`); set `language` to a supported one or drop them.
85
88
 
86
89
  Lengths count Unicode code points, and words are split on Unicode white space.
87
90
 
@@ -408,7 +411,7 @@ client-side code is a leaked token.
408
411
  Personal accounts buy prepaid minute packs. The price of a pack depends on your country, and your
409
412
  minutes stay valid for a year after your last transcription or purchase. A transcription uses the
410
413
  minutes of the recording; medical mode and each translation target use more. Current prices are on
411
- [hushscript.com/pricing](https://hushscript.com/pricing).
414
+ [hushscript.com/pay-as-you-go-transcription-pricing](https://hushscript.com/pay-as-you-go-transcription-pricing).
412
415
 
413
416
  ## Requirements
414
417
 
@@ -418,7 +421,7 @@ The 3.15 image builds final Python 3.15.0 from its checksum-pinned official sour
418
421
 
419
422
  ## Links
420
423
 
421
- - Documentation: <https://hushscript.com/sdks>
424
+ - Documentation: <https://hushscript.com/developers#sdks-and-cli>
422
425
  - REST API reference: <https://hushscript.com/developers>
423
426
  - Package on PyPI: <https://pypi.org/project/hushscript/>
424
427
  - Source: <https://github.com/Hushscript/hushscript-sdk-python>
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hushscript"
7
- version = "1.1.2"
7
+ version = "1.2.0"
8
8
  description = "The official Python SDK for the Hushscript transcription API."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -250,6 +250,8 @@ def _options( # noqa: PLR0913 the keyword surface of `transcribe()`, validated
250
250
  keyterms: Sequence[str] | None,
251
251
  prompt: str | None,
252
252
  medical: bool,
253
+ vet: bool,
254
+ keep_disfluencies: bool,
253
255
  multichannel: bool,
254
256
  auto_insights: bool | None,
255
257
  matter_code: str | None,
@@ -266,6 +268,8 @@ def _options( # noqa: PLR0913 the keyword surface of `transcribe()`, validated
266
268
  keyterms=tuple(keyterms or ()),
267
269
  prompt=prompt,
268
270
  medical=medical,
271
+ vet=vet,
272
+ keep_disfluencies=keep_disfluencies,
269
273
  multichannel=multichannel,
270
274
  auto_insights=auto_insights,
271
275
  matter_code=matter_code,
@@ -414,6 +418,8 @@ class Hushscript:
414
418
  keyterms: Sequence[str] | None = None,
415
419
  prompt: str | None = None,
416
420
  medical: bool = False,
421
+ vet: bool = False,
422
+ keep_disfluencies: bool = False,
417
423
  multichannel: bool = False,
418
424
  auto_insights: bool | None = None,
419
425
  matter_code: str | None = None,
@@ -430,9 +436,10 @@ class Hushscript:
430
436
 
431
437
  Key terms and the prompt are trimmed first: blank terms are dropped, and an empty
432
438
  list or a blank prompt is not sent. `keyterms` takes up to 1000 unique terms of at most
433
- 6 words and 128 characters each. `prompt` takes up to 2000 characters; with key terms
434
- set, the 2000 covers the prompt and the key terms the API wraps around it (203
435
- characters of fixed text, each term plus 2, and 1 between terms)."""
439
+ 6 words and 128 characters each, and at most 1000 words in total. `prompt` takes up to
440
+ 2000 characters. They are sent separately, and the server checks the token budget.
441
+ Languages the API applies neither to (the universal-2 ones) refuse typed key terms and
442
+ a prompt."""
436
443
  options = _options(
437
444
  title=title,
438
445
  language=language,
@@ -441,6 +448,8 @@ class Hushscript:
441
448
  keyterms=keyterms,
442
449
  prompt=prompt,
443
450
  medical=medical,
451
+ vet=vet,
452
+ keep_disfluencies=keep_disfluencies,
444
453
  multichannel=multichannel,
445
454
  auto_insights=auto_insights,
446
455
  matter_code=matter_code,
@@ -617,6 +626,8 @@ class AsyncHushscript:
617
626
  keyterms: Sequence[str] | None = None,
618
627
  prompt: str | None = None,
619
628
  medical: bool = False,
629
+ vet: bool = False,
630
+ keep_disfluencies: bool = False,
620
631
  multichannel: bool = False,
621
632
  auto_insights: bool | None = None,
622
633
  matter_code: str | None = None,
@@ -632,9 +643,10 @@ class AsyncHushscript:
632
643
 
633
644
  Key terms and the prompt are trimmed first: blank terms are dropped, and an empty
634
645
  list or a blank prompt is not sent. `keyterms` takes up to 1000 unique terms of at most
635
- 6 words and 128 characters each. `prompt` takes up to 2000 characters; with key terms
636
- set, the 2000 covers the prompt and the key terms the API wraps around it (203
637
- characters of fixed text, each term plus 2, and 1 between terms)."""
646
+ 6 words and 128 characters each, and at most 1000 words in total. `prompt` takes up to
647
+ 2000 characters. They are sent separately, and the server checks the token budget.
648
+ Languages the API applies neither to (the universal-2 ones) refuse typed key terms and
649
+ a prompt."""
638
650
  options = _options(
639
651
  title=title,
640
652
  language=language,
@@ -643,6 +655,8 @@ class AsyncHushscript:
643
655
  keyterms=keyterms,
644
656
  prompt=prompt,
645
657
  medical=medical,
658
+ vet=vet,
659
+ keep_disfluencies=keep_disfluencies,
646
660
  multichannel=multichannel,
647
661
  auto_insights=auto_insights,
648
662
  matter_code=matter_code,
@@ -50,6 +50,8 @@ class JobOptions(ExtraFields):
50
50
  """The forced language, or None when it was auto-detected."""
51
51
  speaker_detection: bool
52
52
  medical_mode: bool
53
+ vet_mode: bool
54
+ keep_disfluencies: bool
53
55
  multichannel: bool
54
56
  translation_targets: list[str]
55
57
  keyterms: bool
@@ -124,6 +126,8 @@ class Job(ExtraFields):
124
126
  "language_code",
125
127
  "speaker_detection",
126
128
  "medical_mode",
129
+ "vet_mode",
130
+ "keep_disfluencies",
127
131
  "multichannel",
128
132
  "translation_targets",
129
133
  "keyterms",
@@ -133,6 +137,8 @@ class Job(ExtraFields):
133
137
  language_code=maybe_text(options["language_code"]),
134
138
  speaker_detection=as_flag(options["speaker_detection"]),
135
139
  medical_mode=as_flag(options["medical_mode"]),
140
+ vet_mode=as_flag(options["vet_mode"]),
141
+ keep_disfluencies=as_flag(options["keep_disfluencies"]),
136
142
  multichannel=as_flag(options["multichannel"]),
137
143
  translation_targets=[
138
144
  as_text(t) for t in as_list(options["translation_targets"]) or []
@@ -58,6 +58,8 @@ OPTIONS_SUMMARY: Final[Shape] = object_of(
58
58
  "language_code": nullable(string),
59
59
  "speaker_detection": boolean,
60
60
  "medical_mode": boolean,
61
+ "vet_mode": boolean,
62
+ "keep_disfluencies": boolean,
61
63
  "multichannel": boolean,
62
64
  "translation_targets": array_of(string),
63
65
  "keyterms": boolean,
@@ -0,0 +1 @@
1
+ __version__ = "1.2.0" # x-release-please-version
@@ -103,10 +103,11 @@ def sync_detailed(
103
103
  """Start a new transcription upload and place a credit hold
104
104
 
105
105
  Declares the size and duration of a new audio upload, places a credit hold for the billable seconds
106
- (duration plus any transcription_options surcharge), and returns a job id plus, when direct-to-R2
107
- uploads are available, a first page of presigned part URLs. Resending the same idempotency_key
108
- returns the already-created job instead of opening a second one. Long direct-to-R2 transfers must
109
- call heartbeat_upload periodically or the job is reaped as idle.
106
+ (duration plus any transcription_options surcharge: medical_mode or vet_mode, multichannel,
107
+ translation), and returns a job id plus, when direct-to-R2 uploads are available, a first page of
108
+ presigned part URLs. Resending the same idempotency_key returns the already-created job instead of
109
+ opening a second one. Long direct-to-R2 transfers must call heartbeat_upload periodically or the job
110
+ is reaped as idle.
110
111
 
111
112
  Args:
112
113
  body (CreateUploadBody):
@@ -138,10 +139,11 @@ def sync(
138
139
  """Start a new transcription upload and place a credit hold
139
140
 
140
141
  Declares the size and duration of a new audio upload, places a credit hold for the billable seconds
141
- (duration plus any transcription_options surcharge), and returns a job id plus, when direct-to-R2
142
- uploads are available, a first page of presigned part URLs. Resending the same idempotency_key
143
- returns the already-created job instead of opening a second one. Long direct-to-R2 transfers must
144
- call heartbeat_upload periodically or the job is reaped as idle.
142
+ (duration plus any transcription_options surcharge: medical_mode or vet_mode, multichannel,
143
+ translation), and returns a job id plus, when direct-to-R2 uploads are available, a first page of
144
+ presigned part URLs. Resending the same idempotency_key returns the already-created job instead of
145
+ opening a second one. Long direct-to-R2 transfers must call heartbeat_upload periodically or the job
146
+ is reaped as idle.
145
147
 
146
148
  Args:
147
149
  body (CreateUploadBody):
@@ -168,10 +170,11 @@ async def asyncio_detailed(
168
170
  """Start a new transcription upload and place a credit hold
169
171
 
170
172
  Declares the size and duration of a new audio upload, places a credit hold for the billable seconds
171
- (duration plus any transcription_options surcharge), and returns a job id plus, when direct-to-R2
172
- uploads are available, a first page of presigned part URLs. Resending the same idempotency_key
173
- returns the already-created job instead of opening a second one. Long direct-to-R2 transfers must
174
- call heartbeat_upload periodically or the job is reaped as idle.
173
+ (duration plus any transcription_options surcharge: medical_mode or vet_mode, multichannel,
174
+ translation), and returns a job id plus, when direct-to-R2 uploads are available, a first page of
175
+ presigned part URLs. Resending the same idempotency_key returns the already-created job instead of
176
+ opening a second one. Long direct-to-R2 transfers must call heartbeat_upload periodically or the job
177
+ is reaped as idle.
175
178
 
176
179
  Args:
177
180
  body (CreateUploadBody):
@@ -201,10 +204,11 @@ async def asyncio(
201
204
  """Start a new transcription upload and place a credit hold
202
205
 
203
206
  Declares the size and duration of a new audio upload, places a credit hold for the billable seconds
204
- (duration plus any transcription_options surcharge), and returns a job id plus, when direct-to-R2
205
- uploads are available, a first page of presigned part URLs. Resending the same idempotency_key
206
- returns the already-created job instead of opening a second one. Long direct-to-R2 transfers must
207
- call heartbeat_upload periodically or the job is reaped as idle.
207
+ (duration plus any transcription_options surcharge: medical_mode or vet_mode, multichannel,
208
+ translation), and returns a job id plus, when direct-to-R2 uploads are available, a first page of
209
+ presigned part URLs. Resending the same idempotency_key returns the already-created job instead of
210
+ opening a second one. Long direct-to-R2 transfers must call heartbeat_upload periodically or the job
211
+ is reaped as idle.
208
212
 
209
213
  Args:
210
214
  body (CreateUploadBody):
@@ -111,7 +111,9 @@ def sync_detailed(
111
111
  Sends one part's raw bytes to be written into the job's in-progress R2 multipart upload. Only needed
112
112
  when direct-to-R2 presigned URLs are unavailable, or as a fallback for a part whose presigned PUT
113
113
  failed. A repeated PUT of the same part number replaces that part rather than adding to the declared
114
- total, so retries are always safe.
114
+ total, so retries are always safe. A Content-Length header is required: the body is streamed to
115
+ storage and held to that length, and a part sent without one (chunked transfer) is refused with 400
116
+ bad_request.
115
117
 
116
118
  Args:
117
119
  job (str):
@@ -151,7 +153,9 @@ def sync(
151
153
  Sends one part's raw bytes to be written into the job's in-progress R2 multipart upload. Only needed
152
154
  when direct-to-R2 presigned URLs are unavailable, or as a fallback for a part whose presigned PUT
153
155
  failed. A repeated PUT of the same part number replaces that part rather than adding to the declared
154
- total, so retries are always safe.
156
+ total, so retries are always safe. A Content-Length header is required: the body is streamed to
157
+ storage and held to that length, and a part sent without one (chunked transfer) is refused with 400
158
+ bad_request.
155
159
 
156
160
  Args:
157
161
  job (str):
@@ -186,7 +190,9 @@ async def asyncio_detailed(
186
190
  Sends one part's raw bytes to be written into the job's in-progress R2 multipart upload. Only needed
187
191
  when direct-to-R2 presigned URLs are unavailable, or as a fallback for a part whose presigned PUT
188
192
  failed. A repeated PUT of the same part number replaces that part rather than adding to the declared
189
- total, so retries are always safe.
193
+ total, so retries are always safe. A Content-Length header is required: the body is streamed to
194
+ storage and held to that length, and a part sent without one (chunked transfer) is refused with 400
195
+ bad_request.
190
196
 
191
197
  Args:
192
198
  job (str):
@@ -224,7 +230,9 @@ async def asyncio(
224
230
  Sends one part's raw bytes to be written into the job's in-progress R2 multipart upload. Only needed
225
231
  when direct-to-R2 presigned URLs are unavailable, or as a fallback for a part whose presigned PUT
226
232
  failed. A repeated PUT of the same part number replaces that part rather than adding to the declared
227
- total, so retries are always safe.
233
+ total, so retries are always safe. A Content-Length header is required: the body is streamed to
234
+ storage and held to that length, and a part sent without one (chunked transfer) is refused with 400
235
+ bad_request.
228
236
 
229
237
  Args:
230
238
  job (str):
@@ -43,9 +43,10 @@ ERROR_CATALOG: Final[dict[str, ErrorCatalogEntry]] = {
43
43
  "invalid_idempotency_key": ErrorCatalogEntry(1040, 422, "The supplied idempotency_key was outside the accepted length bounds. Send a key between the documented minimum and maximum length, or omit it."),
44
44
  "upload_incomplete": ErrorCatalogEntry(1041, 422, "The assembled object was shorter than the size declared at creation, so the hold was released and nothing was billed. Re-upload every part and call complete again."),
45
45
  "url_target_busy": ErrorCatalogEntry(1042, 429, "This API is already fetching from that target host as fast as it will, so the fetch was refused before it was attempted. This bounds the target site, not the caller: a different source URL will go through immediately, and the same one will after a short wait."),
46
- "policy_version_stale": ErrorCatalogEntry(1043, 422, "accept_terms_version did not match the server's current policy version. The server records its own value, never the caller's, so retry with the current version, which this same error names in details.current_version."),
47
- "terms_acceptance_required": ErrorCatalogEntry(1044, 422, "A first Apple or Google sign-in creates an account, so the current terms version must be accepted. Send the version in accept_terms_version; details.current_version names the value to send."),
46
+ "policy_version_stale": ErrorCatalogEntry(1043, 422, "accept_terms_version was neither the server's current policy version nor, for 30 days after its date, the previous one. The server records only a version it defines, so retry with the current version, which this same error names in details.current_version."),
47
+ "terms_acceptance_required": ErrorCatalogEntry(1044, 422, "A first Apple or Google sign-in creates an account, so the current terms version, or the previous one for 30 days after the current version's date, must be accepted. Send the version in accept_terms_version; details.current_version names the value to send."),
48
48
  "password_reused": ErrorCatalogEntry(1045, 400, "The new password equals the account's current password or one of the three before it. Choose a password that differs from the last four. Each comparison counts against the same hourly failure limit as a wrong current password."),
49
+ "store_purchase_invalid": ErrorCatalogEntry(1046, 422, "A store purchase receipt failed verification. The token is unknown to the store, is not a completed purchase, belongs to another app or product, or cannot be credited. Nothing was credited and the purchase is not consumed; do not retry the same token."),
49
50
  "unauthorized": ErrorCatalogEntry(2000, 401, "The bearer token is missing, malformed, expired, or revoked. This is also the answer for a revoked, malformed, or unknown Personal Access Token, so a caller holding a PAT should mint a fresh one rather than retry the same one. Obtain a fresh session token or Personal Access Token and retry with it in the Authorization header."),
50
51
  "invalid_credentials": ErrorCatalogEntry(2001, 401, "The submitted email/password pair did not match an account. Check the credentials or use the password-reset flow."),
51
52
  "turnstile_failed": ErrorCatalogEntry(2010, 403, "The Cloudflare Turnstile challenge could not be verified. Re-run the challenge on the client and resend with a fresh token."),
@@ -59,6 +60,7 @@ ERROR_CATALOG: Final[dict[str, ErrorCatalogEntry]] = {
59
60
  "step_up_required": ErrorCatalogEntry(2024, 403, "Deleting an account needs proof it is the holder asking. DELETE /api/me carried neither current_password nor email_code, or sent current_password for a password set or changed in the last 7 days, or one the requesting session itself set. Send the current password (set more than 7 days ago, not by this session), a code sent by POST /api/me/deletion-code, or a reauth_grant from a fresh Apple or Google re-authentication. Unlinking a sign-in method needs the same proof unless the session is under 15 minutes old."),
60
61
  "id_token_invalid": ErrorCatalogEntry(2025, 401, "The Apple or Google ID token failed verification: signature, issuer, audience, nonce, age, replay or shape. The cause is never reported to the caller."),
61
62
  "identity_email_unverified": ErrorCatalogEntry(2026, 403, "The Apple or Google account has no verified email address, so no account can be created or matched from it. Verify the email with the provider or sign in another way."),
63
+ "integrity_failed": ErrorCatalogEntry(2027, 403, "The native app's Play Integrity attestation was refused: the token is invalid, stale, replayed, for another package or request, or the device does not meet the required integrity level. Fetch a fresh nonce and retry, or fall back to the Turnstile challenge."),
62
64
  "card_required": ErrorCatalogEntry(3000, 402, "No longer emitted: no current route returns this code. It stays in the catalog, with its code, slug and status unchanged, for clients that may still key on it. It used to mean: This purchase needs a card on file and the account has none. Add a card through the account's payment settings before retrying."),
63
65
  "insufficient_balance": ErrorCatalogEntry(3001, 402, "The account's balance cannot cover the requested seconds. The error body's needed_seconds and balance_seconds report the shortfall; top up before retrying."),
64
66
  "card_declined": ErrorCatalogEntry(3002, 402, "No longer emitted: no current route returns this code. It stays in the catalog, with its code, slug and status unchanged, for clients that may still key on it. It used to mean: The card on file was declined when charged. Use a different payment method or contact the card issuer."),
@@ -135,6 +137,11 @@ ERROR_CATALOG: Final[dict[str, ErrorCatalogEntry]] = {
135
137
  "identity_last_method": ErrorCatalogEntry(4073, 409, "Unlinking would leave the account with no way to sign in; add a password or another sign-in method first."),
136
138
  "identity_mismatch": ErrorCatalogEntry(4074, 403, "The provider account used to confirm this action is not the one linked to this account."),
137
139
  "job_not_awaiting_unlock": ErrorCatalogEntry(4075, 409, "The job is not parked awaiting credit and cannot be started from its current state."),
140
+ "transcript_revision_conflict": ErrorCatalogEntry(4076, 409, "A body write carried an If-Match revision that is no longer the stored one. The response body's revision field names the current revision."),
141
+ "login_code_invalid": ErrorCatalogEntry(4077, 422, "The six-digit code typed into the app for a native magic link is wrong, expired, already used, or out of guesses. Every failure gets this one answer, so it cannot be used to probe."),
142
+ "preview_device_used": ErrorCatalogEntry(4078, 409, "This device has already used its free preview. Sign in or sign up to keep transcribing; a preview from the same device is not offered again."),
143
+ "gift_unavailable": ErrorCatalogEntry(4079, 409, "The gift cannot be redeemed or created right now. details.reason names why, for example that it was already claimed, has expired, or that the daily gift limit was reached."),
144
+ "store_purchase_claimed": ErrorCatalogEntry(4080, 409, "This store purchase token was already credited to another account. Nothing is credited. (The same account submitting it again gets 200 already_credited.)"),
138
145
  "rate_limited": ErrorCatalogEntry(5000, 429, "The caller has been rate limited. PAT-authenticated traffic carries a Retry-After header naming the wait in seconds; other rate-limited routes may not."),
139
146
  "too_many_active_jobs": ErrorCatalogEntry(5001, 429, "The account already has the maximum number of concurrent pipeline jobs in flight. Wait for one to finish before starting another."),
140
147
  "ai_cap_reached": ErrorCatalogEntry(5002, 503, "The Insights provider's own capacity is temporarily exhausted. Retry the generation after a short delay."),
@@ -143,6 +150,8 @@ ERROR_CATALOG: Final[dict[str, ErrorCatalogEntry]] = {
143
150
  "stripe_error": ErrorCatalogEntry(6002, 502, "The payment provider returned an error or could not be reached. This is usually transient; retry after a delay."),
144
151
  "email_error": ErrorCatalogEntry(6003, 502, "The transactional email provider could not be reached or refused the message. Not directly actionable by an API caller; the underlying action may still have succeeded."),
145
152
  "identity_provider_unavailable": ErrorCatalogEntry(6010, 503, "Apple or Google sign-in is turned off or the provider could not be reached. Try again later or use another sign-in method."),
153
+ "attestation_unavailable": ErrorCatalogEntry(6020, 503, "The device attestation service could not be reached or is not configured, so the native app's token could not be checked. Open the Turnstile challenge and resend with its token."),
154
+ "store_unavailable": ErrorCatalogEntry(6030, 503, "The app store could not be reached or is not configured, so the purchase could not be verified. The purchase stays unconsumed and nothing was credited; the app retries it later."),
146
155
  "internal_error": ErrorCatalogEntry(9000, 500, "An unexpected server-side failure occurred. Retry later; if it persists, it is a bug on the backend, not the request."),
147
156
  "transcript_data_missing": ErrorCatalogEntry(9001, 500, "No longer emitted: no current route returns this code. It stays in the catalog, with its code, slug and status unchanged, for clients that may still key on it. It used to mean: The transcript's stored body could not be found or read where this action expected it. Treat as a transient storage fault and retry, or contact support if it persists."),
148
157
  }
@@ -18,6 +18,13 @@ from .context_dictionary import ContextDictionary
18
18
  from .context_prompt_preset import ContextPromptPreset
19
19
  from .create_setup_session_body import CreateSetupSessionBody
20
20
  from .create_upload_body import CreateUploadBody
21
+ from .create_upload_body_origin_source_type_1 import CreateUploadBodyOriginSourceType1
22
+ from .create_upload_body_origin_source_type_2_type_1 import (
23
+ CreateUploadBodyOriginSourceType2Type1,
24
+ )
25
+ from .create_upload_body_origin_source_type_3_type_1 import (
26
+ CreateUploadBodyOriginSourceType3Type1,
27
+ )
21
28
  from .create_upload_body_transcription_options_type_0 import (
22
29
  CreateUploadBodyTranscriptionOptionsType0,
23
30
  )
@@ -42,6 +49,12 @@ from .job_failure_kind_type_1 import JobFailureKindType1
42
49
  from .job_failure_kind_type_2_type_1 import JobFailureKindType2Type1
43
50
  from .job_failure_kind_type_3_type_1 import JobFailureKindType3Type1
44
51
  from .job_list import JobList
52
+ from .job_origin_app_type_1 import JobOriginAppType1
53
+ from .job_origin_app_type_2_type_1 import JobOriginAppType2Type1
54
+ from .job_origin_app_type_3_type_1 import JobOriginAppType3Type1
55
+ from .job_origin_source_type_1 import JobOriginSourceType1
56
+ from .job_origin_source_type_2_type_1 import JobOriginSourceType2Type1
57
+ from .job_origin_source_type_3_type_1 import JobOriginSourceType3Type1
45
58
  from .lift_transcript_hold_response_200 import LiftTranscriptHoldResponse200
46
59
  from .list_jobs_active import ListJobsActive
47
60
  from .list_org_matters_status import ListOrgMattersStatus
@@ -79,8 +92,23 @@ from .set_default_card_body import SetDefaultCardBody
79
92
  from .set_default_card_response_200 import SetDefaultCardResponse200
80
93
  from .setup_session_response import SetupSessionResponse
81
94
  from .transaction import Transaction
95
+ from .transaction_provider import TransactionProvider
82
96
  from .transactions_response import TransactionsResponse
83
97
  from .transcript_detail import TranscriptDetail
98
+ from .transcript_detail_origin_app_type_1 import TranscriptDetailOriginAppType1
99
+ from .transcript_detail_origin_app_type_2_type_1 import (
100
+ TranscriptDetailOriginAppType2Type1,
101
+ )
102
+ from .transcript_detail_origin_app_type_3_type_1 import (
103
+ TranscriptDetailOriginAppType3Type1,
104
+ )
105
+ from .transcript_detail_origin_source_type_1 import TranscriptDetailOriginSourceType1
106
+ from .transcript_detail_origin_source_type_2_type_1 import (
107
+ TranscriptDetailOriginSourceType2Type1,
108
+ )
109
+ from .transcript_detail_origin_source_type_3_type_1 import (
110
+ TranscriptDetailOriginSourceType3Type1,
111
+ )
84
112
  from .transcript_detail_speaker_names import TranscriptDetailSpeakerNames
85
113
  from .transcript_envelope import TranscriptEnvelope
86
114
  from .transcript_envelope_translations import TranscriptEnvelopeTranslations
@@ -88,6 +116,20 @@ from .transcript_language import TranscriptLanguage
88
116
  from .transcript_list import TranscriptList
89
117
  from .transcript_list_row import TranscriptListRow
90
118
  from .transcript_list_row_insights_state import TranscriptListRowInsightsState
119
+ from .transcript_list_row_origin_app_type_1 import TranscriptListRowOriginAppType1
120
+ from .transcript_list_row_origin_app_type_2_type_1 import (
121
+ TranscriptListRowOriginAppType2Type1,
122
+ )
123
+ from .transcript_list_row_origin_app_type_3_type_1 import (
124
+ TranscriptListRowOriginAppType3Type1,
125
+ )
126
+ from .transcript_list_row_origin_source_type_1 import TranscriptListRowOriginSourceType1
127
+ from .transcript_list_row_origin_source_type_2_type_1 import (
128
+ TranscriptListRowOriginSourceType2Type1,
129
+ )
130
+ from .transcript_list_row_origin_source_type_3_type_1 import (
131
+ TranscriptListRowOriginSourceType3Type1,
132
+ )
91
133
  from .transcription_context_response import TranscriptionContextResponse
92
134
  from .upload_complete_response import UploadCompleteResponse
93
135
  from .upload_create_response import UploadCreateResponse
@@ -116,6 +158,9 @@ __all__ = (
116
158
  "ContextPromptPreset",
117
159
  "CreateSetupSessionBody",
118
160
  "CreateUploadBody",
161
+ "CreateUploadBodyOriginSourceType1",
162
+ "CreateUploadBodyOriginSourceType2Type1",
163
+ "CreateUploadBodyOriginSourceType3Type1",
119
164
  "CreateUploadBodyTranscriptionOptionsType0",
120
165
  "CreditLedgerEntry",
121
166
  "CreditLedgerResponse",
@@ -136,6 +181,12 @@ __all__ = (
136
181
  "JobFailureKindType2Type1",
137
182
  "JobFailureKindType3Type1",
138
183
  "JobList",
184
+ "JobOriginAppType1",
185
+ "JobOriginAppType2Type1",
186
+ "JobOriginAppType3Type1",
187
+ "JobOriginSourceType1",
188
+ "JobOriginSourceType2Type1",
189
+ "JobOriginSourceType3Type1",
139
190
  "LiftTranscriptHoldResponse200",
140
191
  "ListJobsActive",
141
192
  "ListOrgMattersStatus",
@@ -173,8 +224,15 @@ __all__ = (
173
224
  "SetDefaultCardResponse200",
174
225
  "SetupSessionResponse",
175
226
  "Transaction",
227
+ "TransactionProvider",
176
228
  "TransactionsResponse",
177
229
  "TranscriptDetail",
230
+ "TranscriptDetailOriginAppType1",
231
+ "TranscriptDetailOriginAppType2Type1",
232
+ "TranscriptDetailOriginAppType3Type1",
233
+ "TranscriptDetailOriginSourceType1",
234
+ "TranscriptDetailOriginSourceType2Type1",
235
+ "TranscriptDetailOriginSourceType3Type1",
178
236
  "TranscriptDetailSpeakerNames",
179
237
  "TranscriptEnvelope",
180
238
  "TranscriptEnvelopeTranslations",
@@ -183,6 +241,12 @@ __all__ = (
183
241
  "TranscriptList",
184
242
  "TranscriptListRow",
185
243
  "TranscriptListRowInsightsState",
244
+ "TranscriptListRowOriginAppType1",
245
+ "TranscriptListRowOriginAppType2Type1",
246
+ "TranscriptListRowOriginAppType3Type1",
247
+ "TranscriptListRowOriginSourceType1",
248
+ "TranscriptListRowOriginSourceType2Type1",
249
+ "TranscriptListRowOriginSourceType3Type1",
186
250
  "UploadCompleteResponse",
187
251
  "UploadCreateResponse",
188
252
  "UploadCreateResponseFunding",
@@ -23,8 +23,9 @@ class AgentSignupRequest:
23
23
  contact_email (str): Address for receipts and notices only. Never used to sign in; the created account has no
24
24
  login path of its own.
25
25
  pack_id (str): Which minute pack to buy. See GET /v1/billing/packs for the catalogue.
26
- accept_terms_version (str): Must equal the server's current policy version or the request is refused with
27
- policy_version_stale, which names the current value.
26
+ accept_terms_version (str): Must be the server's current policy version or, for 30 days after the current
27
+ version's date, the previous one; otherwise the request is refused with policy_version_stale, which names the
28
+ current value.
28
29
  agent (AgentSignupRequestAgent):
29
30
  data_region (str | Unset): Optional region hint. Honored only when it agrees with the region derived from your
30
31
  network location; otherwise the derived region is used silently.