samplehc 0.16.0__py3-none-any.whl → 0.18.0__py3-none-any.whl

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 (150) hide show
  1. samplehc/_client.py +1 -38
  2. samplehc/_version.py +1 -1
  3. samplehc/resources/__init__.py +0 -14
  4. samplehc/resources/v2/__init__.py +0 -98
  5. samplehc/resources/v2/async_results.py +0 -79
  6. samplehc/resources/v2/documents/__init__.py +0 -14
  7. samplehc/resources/v2/documents/documents.py +0 -194
  8. samplehc/resources/v2/v2.py +0 -224
  9. samplehc/types/__init__.py +0 -5
  10. samplehc/types/v2/__init__.py +0 -53
  11. samplehc/types/v2/documents/__init__.py +0 -3
  12. {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/METADATA +22 -27
  13. samplehc-0.18.0.dist-info/RECORD +92 -0
  14. samplehc/resources/v1/__init__.py +0 -19
  15. samplehc/resources/v1/v1.py +0 -298
  16. samplehc/resources/v2/clearinghouse/__init__.py +0 -47
  17. samplehc/resources/v2/clearinghouse/claim.py +0 -407
  18. samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
  19. samplehc/resources/v2/clearinghouse/payers.py +0 -224
  20. samplehc/resources/v2/documents/pdf_template.py +0 -165
  21. samplehc/resources/v2/hie/__init__.py +0 -47
  22. samplehc/resources/v2/hie/adt.py +0 -249
  23. samplehc/resources/v2/hie/documents.py +0 -390
  24. samplehc/resources/v2/hie/hie.py +0 -134
  25. samplehc/resources/v2/integrations/__init__.py +0 -131
  26. samplehc/resources/v2/integrations/bank/__init__.py +0 -33
  27. samplehc/resources/v2/integrations/bank/bank.py +0 -102
  28. samplehc/resources/v2/integrations/bank/transactions.py +0 -185
  29. samplehc/resources/v2/integrations/careviso.py +0 -372
  30. samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
  31. samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
  32. samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
  33. samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
  34. samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
  35. samplehc/resources/v2/integrations/integrations.py +0 -326
  36. samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
  37. samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
  38. samplehc/resources/v2/integrations/kno2/messages.py +0 -260
  39. samplehc/resources/v2/integrations/salesforce.py +0 -277
  40. samplehc/resources/v2/integrations/snowflake.py +0 -173
  41. samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
  42. samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
  43. samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
  44. samplehc/resources/v2/integrations/xcures.py +0 -197
  45. samplehc/resources/v2/policies.py +0 -655
  46. samplehc/resources/v2/tasks/__init__.py +0 -33
  47. samplehc/resources/v2/tasks/state.py +0 -266
  48. samplehc/resources/v2/tasks/tasks.py +0 -754
  49. samplehc/resources/v2/workflow_runs/__init__.py +0 -33
  50. samplehc/resources/v2/workflow_runs/step.py +0 -169
  51. samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
  52. samplehc/resources/v2/workflows.py +0 -365
  53. samplehc/types/v1/__init__.py +0 -3
  54. samplehc/types/v1_query_audit_logs_params.py +0 -12
  55. samplehc/types/v1_query_audit_logs_response.py +0 -16
  56. samplehc/types/v1_sql_execute_params.py +0 -27
  57. samplehc/types/v1_sql_execute_response.py +0 -27
  58. samplehc/types/v2/async_result_retrieve_response.py +0 -18
  59. samplehc/types/v2/clearinghouse/__init__.py +0 -9
  60. samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
  61. samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
  62. samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
  63. samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
  64. samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
  65. samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
  66. samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
  67. samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
  68. samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
  69. samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
  70. samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
  71. samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
  72. samplehc/types/v2/document_unzip_async_response.py +0 -12
  73. samplehc/types/v2/document_unzip_response.py +0 -20
  74. samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
  75. samplehc/types/v2/hie/__init__.py +0 -8
  76. samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
  77. samplehc/types/v2/hie/document_query_params.py +0 -92
  78. samplehc/types/v2/hie/document_query_response.py +0 -16
  79. samplehc/types/v2/hie/document_upload_params.py +0 -54
  80. samplehc/types/v2/integrations/__init__.py +0 -23
  81. samplehc/types/v2/integrations/bank/__init__.py +0 -6
  82. samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
  83. samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
  84. samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
  85. samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
  86. samplehc/types/v2/integrations/glidian/__init__.py +0 -20
  87. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
  88. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
  89. samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
  90. samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
  91. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
  92. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
  93. samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
  94. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
  95. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
  96. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
  97. samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
  98. samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
  99. samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
  100. samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
  101. samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
  102. samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
  103. samplehc/types/v2/integrations/kno2/__init__.py +0 -6
  104. samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
  105. samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
  106. samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
  107. samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
  108. samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
  109. samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
  110. samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
  111. samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
  112. samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
  113. samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
  114. samplehc/types/v2/ledger/__init__.py +0 -3
  115. samplehc/types/v2/policy_list_companies_params.py +0 -18
  116. samplehc/types/v2/policy_list_companies_response.py +0 -24
  117. samplehc/types/v2/policy_list_params.py +0 -47
  118. samplehc/types/v2/policy_list_plans_params.py +0 -18
  119. samplehc/types/v2/policy_list_plans_response.py +0 -30
  120. samplehc/types/v2/policy_list_response.py +0 -67
  121. samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
  122. samplehc/types/v2/policy_retrieve_text_response.py +0 -12
  123. samplehc/types/v2/task_cancel_response.py +0 -12
  124. samplehc/types/v2/task_complete_params.py +0 -12
  125. samplehc/types/v2/task_complete_response.py +0 -16
  126. samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
  127. samplehc/types/v2/task_retrieve_response.py +0 -22
  128. samplehc/types/v2/task_retry_response.py +0 -10
  129. samplehc/types/v2/task_update_column_params.py +0 -19
  130. samplehc/types/v2/task_update_column_response.py +0 -9
  131. samplehc/types/v2/task_update_screen_time_params.py +0 -14
  132. samplehc/types/v2/task_update_screen_time_response.py +0 -8
  133. samplehc/types/v2/tasks/__init__.py +0 -7
  134. samplehc/types/v2/tasks/state_get_response.py +0 -8
  135. samplehc/types/v2/tasks/state_update_params.py +0 -13
  136. samplehc/types/v2/tasks/state_update_response.py +0 -9
  137. samplehc/types/v2/workflow_deploy_response.py +0 -12
  138. samplehc/types/v2/workflow_query_params.py +0 -12
  139. samplehc/types/v2/workflow_query_response.py +0 -8
  140. samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
  141. samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
  142. samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
  143. samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
  144. samplehc/types/v2/workflow_runs/__init__.py +0 -5
  145. samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
  146. samplehc/types/v2/workflow_start_params.py +0 -17
  147. samplehc/types/v2/workflow_start_response.py +0 -25
  148. samplehc-0.16.0.dist-info/RECORD +0 -226
  149. {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/WHEEL +0 -0
  150. {samplehc-0.16.0.dist-info → samplehc-0.18.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,24 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["PolicyListCompaniesResponse", "Company"]
8
-
9
-
10
- class Company(BaseModel):
11
- id: str
12
- """Unique identifier for the company"""
13
-
14
- name: str
15
- """Company name"""
16
-
17
-
18
- class PolicyListCompaniesResponse(BaseModel):
19
- """Successfully retrieved companies"""
20
-
21
- companies: List[Company]
22
-
23
- count: float
24
- """Total number of companies available"""
@@ -1,47 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["PolicyListParams"]
10
-
11
-
12
- class PolicyListParams(TypedDict, total=False):
13
- active_at: Annotated[str, PropertyInfo(alias="activeAt")]
14
- """Filter policies active at this date (YYYY-MM-DD)"""
15
-
16
- company_id: Annotated[str, PropertyInfo(alias="companyId")]
17
- """ID of the company to which the policy belongs"""
18
-
19
- hcpcs_codes: Annotated[str, PropertyInfo(alias="hcpcsCodes")]
20
- """Comma-separated HCPCS codes to filter by"""
21
-
22
- icd10_cm_codes: Annotated[str, PropertyInfo(alias="icd10CmCodes")]
23
- """Comma-separated ICD-10-CM codes to filter by"""
24
-
25
- limit: float
26
- """Maximum number of results to return"""
27
-
28
- plan_id: Annotated[str, PropertyInfo(alias="planId")]
29
- """ID of the plan to which the policy belongs"""
30
-
31
- policy_topic: Annotated[str, PropertyInfo(alias="policyTopic")]
32
- """Keywords describing the policy content"""
33
-
34
- policy_topic_for_keyword_extraction: Annotated[str, PropertyInfo(alias="policyTopicForKeywordExtraction")]
35
- """String for keyword extraction (beta)"""
36
-
37
- policy_type: Annotated[str, PropertyInfo(alias="policyType")]
38
- """Type of policy (MEDICAL_POLICY, PAYMENT_POLICY, etc.)"""
39
-
40
- skip: float
41
- """Number of results to skip"""
42
-
43
- updated_at_max: Annotated[str, PropertyInfo(alias="updatedAtMax")]
44
- """Filter policies updated on or before this date (YYYY-MM-DD)"""
45
-
46
- updated_at_min: Annotated[str, PropertyInfo(alias="updatedAtMin")]
47
- """Filter policies updated on or after this date (YYYY-MM-DD)"""
@@ -1,18 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import TypedDict
6
-
7
- __all__ = ["PolicyListPlansParams"]
8
-
9
-
10
- class PolicyListPlansParams(TypedDict, total=False):
11
- limit: float
12
- """Maximum number of results to return"""
13
-
14
- plan_name: str
15
- """Plan name to filter by"""
16
-
17
- skip: float
18
- """Number of results to skip"""
@@ -1,30 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["PolicyListPlansResponse", "Plan"]
8
-
9
-
10
- class Plan(BaseModel):
11
- id: str
12
- """Unique identifier for the plan"""
13
-
14
- company_id: str
15
- """ID of the company that owns this plan"""
16
-
17
- name: str
18
- """Plan name"""
19
-
20
- state: str
21
- """State where the plan is available"""
22
-
23
-
24
- class PolicyListPlansResponse(BaseModel):
25
- """Successfully retrieved plans"""
26
-
27
- count: float
28
- """Total number of plans available"""
29
-
30
- plans: List[Plan]
@@ -1,67 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import List, Optional
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["PolicyListResponse", "Policy", "PolicyPlan"]
8
-
9
-
10
- class PolicyPlan(BaseModel):
11
- name: str
12
- """Plan name"""
13
-
14
- state: str
15
- """State where the plan is available"""
16
-
17
-
18
- class Policy(BaseModel):
19
- id: str
20
- """Unique identifier for the policy"""
21
-
22
- date_effective: str
23
- """Effective date of the policy"""
24
-
25
- date_expiration: Optional[str] = None
26
- """Expiration date of the policy"""
27
-
28
- file_url: str
29
- """URL to the policy document"""
30
-
31
- hcpcs_codes: List[str]
32
- """Associated HCPCS codes"""
33
-
34
- icd10_cm_codes: List[str]
35
- """Associated ICD-10-CM codes"""
36
-
37
- is_active: bool
38
- """Whether the policy is currently active"""
39
-
40
- name: str
41
- """Policy name"""
42
-
43
- parent_policy_id: str
44
- """Parent policy identifier"""
45
-
46
- plan: PolicyPlan
47
-
48
- plan_policy_id: str
49
- """Plan-specific policy identifier"""
50
-
51
- rank: Optional[float] = None
52
- """Policy ranking"""
53
-
54
- type: str
55
- """Type of policy (MEDICAL_POLICY, PAYMENT_POLICY, etc.)"""
56
-
57
- updated_at: str
58
- """Last updated date"""
59
-
60
-
61
- class PolicyListResponse(BaseModel):
62
- """Successfully retrieved policies"""
63
-
64
- count: float
65
- """Total number of policies available"""
66
-
67
- policies: List[Policy]
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["PolicyRetrievePresignedURLResponse"]
8
-
9
-
10
- class PolicyRetrievePresignedURLResponse(BaseModel):
11
- """Successfully retrieved presigned URL"""
12
-
13
- mime_type: str = FieldInfo(alias="mimeType")
14
- """MIME type of the policy document"""
15
-
16
- url: str
17
- """Presigned URL to access the policy document"""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ..._models import BaseModel
4
-
5
- __all__ = ["PolicyRetrieveTextResponse"]
6
-
7
-
8
- class PolicyRetrieveTextResponse(BaseModel):
9
- """Successfully retrieved policy text"""
10
-
11
- text: str
12
- """Raw text content of the policy document"""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ..._models import BaseModel
4
-
5
- __all__ = ["TaskCancelResponse"]
6
-
7
-
8
- class TaskCancelResponse(BaseModel):
9
- """Task cancelled successfully."""
10
-
11
- message: str
12
- """Confirmation message that the task has been cancelled."""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import TypedDict
6
-
7
- __all__ = ["TaskCompleteParams"]
8
-
9
-
10
- class TaskCompleteParams(TypedDict, total=False):
11
- result: object
12
- """The result data from the task's execution."""
@@ -1,16 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["TaskCompleteResponse"]
10
-
11
-
12
- class TaskCompleteResponse(BaseModel):
13
- """Task completed successfully."""
14
-
15
- next_task_id: Optional[str] = FieldInfo(alias="nextTaskId", default=None)
16
- """The ID of the next task in the workflow, if any, or null."""
@@ -1,8 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict
4
- from typing_extensions import TypeAlias
5
-
6
- __all__ = ["TaskGetSuspendedPayloadResponse"]
7
-
8
- TaskGetSuspendedPayloadResponse: TypeAlias = Dict[str, object]
@@ -1,22 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict, Optional
4
- from typing_extensions import Literal
5
-
6
- from pydantic import Field as FieldInfo
7
-
8
- from ..._models import BaseModel
9
-
10
- __all__ = ["TaskRetrieveResponse"]
11
-
12
-
13
- class TaskRetrieveResponse(BaseModel):
14
- id: str
15
-
16
- output: Optional[Dict[str, object]] = None
17
-
18
- state: Optional[Dict[str, object]] = None
19
-
20
- status: Literal["running", "waiting-dependencies", "suspended", "completed", "failed", "cancelled"]
21
-
22
- workflow_run_id: str = FieldInfo(alias="workflowRunId")
@@ -1,10 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ..._models import BaseModel
4
-
5
- __all__ = ["TaskRetryResponse"]
6
-
7
-
8
- class TaskRetryResponse(BaseModel):
9
- message: str
10
- """Confirmation message that the task retry has been initiated."""
@@ -1,19 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing import Union
6
- from typing_extensions import Literal, Required, TypedDict
7
-
8
- __all__ = ["TaskUpdateColumnParams"]
9
-
10
-
11
- class TaskUpdateColumnParams(TypedDict, total=False):
12
- key: Required[str]
13
- """The column key to update or insert."""
14
-
15
- value: Required[Union[str, float, bool, None]]
16
- """The value to set for the column."""
17
-
18
- type: Literal["string", "number", "boolean", "date", "datetime"]
19
- """The semantic type of the column. Defaults to string when omitted."""
@@ -1,9 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ..._models import BaseModel
4
-
5
- __all__ = ["TaskUpdateColumnResponse"]
6
-
7
-
8
- class TaskUpdateColumnResponse(BaseModel):
9
- success: bool
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["TaskUpdateScreenTimeParams"]
10
-
11
-
12
- class TaskUpdateScreenTimeParams(TypedDict, total=False):
13
- additional_screen_time: Required[Annotated[float, PropertyInfo(alias="additionalScreenTime")]]
14
- """The additional screen time in milliseconds to add to the task's total."""
@@ -1,8 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
- from typing_extensions import Literal, TypeAlias
5
-
6
- __all__ = ["TaskUpdateScreenTimeResponse"]
7
-
8
- TaskUpdateScreenTimeResponse: TypeAlias = Optional[Literal["null"]]
@@ -1,7 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .state_get_response import StateGetResponse as StateGetResponse
6
- from .state_update_params import StateUpdateParams as StateUpdateParams
7
- from .state_update_response import StateUpdateResponse as StateUpdateResponse
@@ -1,8 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict
4
- from typing_extensions import TypeAlias
5
-
6
- __all__ = ["StateGetResponse"]
7
-
8
- StateGetResponse: TypeAlias = Dict[str, object]
@@ -1,13 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, TypedDict
6
-
7
- __all__ = ["StateUpdateParams"]
8
-
9
-
10
- class StateUpdateParams(TypedDict, total=False):
11
- key: Required[str]
12
-
13
- value: object
@@ -1,9 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ...._models import BaseModel
4
-
5
- __all__ = ["StateUpdateResponse"]
6
-
7
-
8
- class StateUpdateResponse(BaseModel):
9
- success: bool
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from pydantic import Field as FieldInfo
4
-
5
- from ..._models import BaseModel
6
-
7
- __all__ = ["WorkflowDeployResponse"]
8
-
9
-
10
- class WorkflowDeployResponse(BaseModel):
11
- async_result_id: str = FieldInfo(alias="asyncResultId")
12
- """The ID of the async result tracking the deployment progress."""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, TypedDict
6
-
7
- __all__ = ["WorkflowQueryParams"]
8
-
9
-
10
- class WorkflowQueryParams(TypedDict, total=False):
11
- query: Required[str]
12
- """The query to run on the workflow outputs."""
@@ -1,8 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Dict, List
4
- from typing_extensions import TypeAlias
5
-
6
- __all__ = ["WorkflowQueryResponse"]
7
-
8
- WorkflowQueryResponse: TypeAlias = List[Dict[str, object]]
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["WorkflowRunGetStartDataResponse"]
10
-
11
-
12
- class WorkflowRunGetStartDataResponse(BaseModel):
13
- start_data: Optional[object] = FieldInfo(alias="startData", default=None)
14
- """The initial data payload provided when this workflow run was started."""
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Required, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["WorkflowRunResumeWhenCompleteParams"]
10
-
11
-
12
- class WorkflowRunResumeWhenCompleteParams(TypedDict, total=False):
13
- async_result_id: Required[Annotated[str, PropertyInfo(alias="asyncResultId")]]
14
- """The unique identifier of the asynchronous result to monitor before resuming."""
@@ -1,12 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from ..._models import BaseModel
4
-
5
- __all__ = ["WorkflowRunResumeWhenCompleteResponse"]
6
-
7
-
8
- class WorkflowRunResumeWhenCompleteResponse(BaseModel):
9
- """Request accepted, processing to resume workflow has been initiated."""
10
-
11
- message: str
12
- """A message indicating the request has been accepted for processing."""
@@ -1,16 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["WorkflowRunRetrieveResponse"]
10
-
11
-
12
- class WorkflowRunRetrieveResponse(BaseModel):
13
- """Successfully retrieved workflow run details."""
14
-
15
- workflow_run: Optional[object] = FieldInfo(alias="workflowRun", default=None)
16
- """The detailed workflow run object."""
@@ -1,5 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from .step_get_output_response import StepGetOutputResponse as StepGetOutputResponse
@@ -1,14 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from ...._models import BaseModel
6
-
7
- __all__ = ["StepGetOutputResponse"]
8
-
9
-
10
- class StepGetOutputResponse(BaseModel):
11
- """Successfully retrieved step output data."""
12
-
13
- output: Optional[object] = None
14
- """The output data generated by the specified workflow step."""
@@ -1,17 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from __future__ import annotations
4
-
5
- from typing_extensions import Literal, Annotated, TypedDict
6
-
7
- from ..._utils import PropertyInfo
8
-
9
- __all__ = ["WorkflowStartParams"]
10
-
11
-
12
- class WorkflowStartParams(TypedDict, total=False):
13
- body: object
14
-
15
- x_sample_start_data_parse_method: Annotated[
16
- Literal["standard", "top-level"], PropertyInfo(alias="X-Sample-Start-Data-Parse-Method")
17
- ]
@@ -1,25 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from typing import Optional
4
-
5
- from pydantic import Field as FieldInfo
6
-
7
- from ..._models import BaseModel
8
-
9
- __all__ = ["WorkflowStartResponse"]
10
-
11
-
12
- class WorkflowStartResponse(BaseModel):
13
- """Workflow initiated successfully."""
14
-
15
- next_task_id: Optional[str] = FieldInfo(alias="nextTaskId", default=None)
16
- """
17
- The ID of the first task in the workflow run, or null if the workflow completes
18
- synchronously or has no starting task.
19
- """
20
-
21
- workflow_run_id: str = FieldInfo(alias="workflowRunId")
22
- """The ID of the newly started workflow run.
23
-
24
- This can be used to check its status or cancel the run.
25
- """