samplehc 0.17.0__py3-none-any.whl → 0.19.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 (154) hide show
  1. samplehc/_base_client.py +5 -2
  2. samplehc/_client.py +1 -38
  3. samplehc/_compat.py +3 -3
  4. samplehc/_utils/_json.py +35 -0
  5. samplehc/_version.py +1 -1
  6. samplehc/resources/__init__.py +0 -14
  7. samplehc/resources/v2/__init__.py +0 -98
  8. samplehc/resources/v2/async_results.py +0 -79
  9. samplehc/resources/v2/documents/__init__.py +0 -14
  10. samplehc/resources/v2/documents/documents.py +44 -196
  11. samplehc/resources/v2/v2.py +0 -224
  12. samplehc/types/__init__.py +0 -5
  13. samplehc/types/v2/__init__.py +0 -53
  14. samplehc/types/v2/document_extract_params.py +20 -1
  15. samplehc/types/v2/documents/__init__.py +0 -3
  16. {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/METADATA +22 -27
  17. samplehc-0.19.0.dist-info/RECORD +93 -0
  18. samplehc/resources/v1/__init__.py +0 -19
  19. samplehc/resources/v1/v1.py +0 -298
  20. samplehc/resources/v2/clearinghouse/__init__.py +0 -47
  21. samplehc/resources/v2/clearinghouse/claim.py +0 -407
  22. samplehc/resources/v2/clearinghouse/clearinghouse.py +0 -844
  23. samplehc/resources/v2/clearinghouse/payers.py +0 -224
  24. samplehc/resources/v2/documents/pdf_template.py +0 -165
  25. samplehc/resources/v2/hie/__init__.py +0 -47
  26. samplehc/resources/v2/hie/adt.py +0 -249
  27. samplehc/resources/v2/hie/documents.py +0 -390
  28. samplehc/resources/v2/hie/hie.py +0 -134
  29. samplehc/resources/v2/integrations/__init__.py +0 -131
  30. samplehc/resources/v2/integrations/bank/__init__.py +0 -33
  31. samplehc/resources/v2/integrations/bank/bank.py +0 -102
  32. samplehc/resources/v2/integrations/bank/transactions.py +0 -185
  33. samplehc/resources/v2/integrations/careviso.py +0 -372
  34. samplehc/resources/v2/integrations/glidian/__init__.py +0 -33
  35. samplehc/resources/v2/integrations/glidian/glidian.py +0 -425
  36. samplehc/resources/v2/integrations/glidian/prior_authorizations/__init__.py +0 -33
  37. samplehc/resources/v2/integrations/glidian/prior_authorizations/clinical_questions.py +0 -276
  38. samplehc/resources/v2/integrations/glidian/prior_authorizations/prior_authorizations.py +0 -527
  39. samplehc/resources/v2/integrations/integrations.py +0 -326
  40. samplehc/resources/v2/integrations/kno2/__init__.py +0 -33
  41. samplehc/resources/v2/integrations/kno2/kno2.py +0 -102
  42. samplehc/resources/v2/integrations/kno2/messages.py +0 -260
  43. samplehc/resources/v2/integrations/salesforce.py +0 -277
  44. samplehc/resources/v2/integrations/snowflake.py +0 -173
  45. samplehc/resources/v2/integrations/wellsky/__init__.py +0 -33
  46. samplehc/resources/v2/integrations/wellsky/patients.py +0 -324
  47. samplehc/resources/v2/integrations/wellsky/wellsky.py +0 -102
  48. samplehc/resources/v2/integrations/xcures.py +0 -197
  49. samplehc/resources/v2/policies.py +0 -655
  50. samplehc/resources/v2/tasks/__init__.py +0 -33
  51. samplehc/resources/v2/tasks/state.py +0 -266
  52. samplehc/resources/v2/tasks/tasks.py +0 -754
  53. samplehc/resources/v2/workflow_runs/__init__.py +0 -33
  54. samplehc/resources/v2/workflow_runs/step.py +0 -169
  55. samplehc/resources/v2/workflow_runs/workflow_runs.py +0 -479
  56. samplehc/resources/v2/workflows.py +0 -377
  57. samplehc/types/v1/__init__.py +0 -3
  58. samplehc/types/v1_query_audit_logs_params.py +0 -12
  59. samplehc/types/v1_query_audit_logs_response.py +0 -16
  60. samplehc/types/v1_sql_execute_params.py +0 -27
  61. samplehc/types/v1_sql_execute_response.py +0 -27
  62. samplehc/types/v2/async_result_retrieve_response.py +0 -18
  63. samplehc/types/v2/clearinghouse/__init__.py +0 -9
  64. samplehc/types/v2/clearinghouse/claim_submit_params.py +0 -2693
  65. samplehc/types/v2/clearinghouse/claim_submit_response.py +0 -23
  66. samplehc/types/v2/clearinghouse/payer_list_response.py +0 -27
  67. samplehc/types/v2/clearinghouse/payer_search_params.py +0 -12
  68. samplehc/types/v2/clearinghouse/payer_search_response.py +0 -33
  69. samplehc/types/v2/clearinghouse_calculate_patient_cost_params.py +0 -3129
  70. samplehc/types/v2/clearinghouse_check_claim_status_params.py +0 -41
  71. samplehc/types/v2/clearinghouse_check_eligibility_params.py +0 -36
  72. samplehc/types/v2/clearinghouse_check_eligibility_response.py +0 -15
  73. samplehc/types/v2/clearinghouse_coordination_of_benefits_params.py +0 -35
  74. samplehc/types/v2/clearinghouse_run_discovery_params.py +0 -59
  75. samplehc/types/v2/clearinghouse_run_discovery_response.py +0 -13
  76. samplehc/types/v2/document_unzip_async_response.py +0 -12
  77. samplehc/types/v2/document_unzip_response.py +0 -20
  78. samplehc/types/v2/documents/pdf_template_retrieve_metadata_response.py +0 -17
  79. samplehc/types/v2/hie/__init__.py +0 -8
  80. samplehc/types/v2/hie/adt_subscribe_params.py +0 -92
  81. samplehc/types/v2/hie/document_query_params.py +0 -92
  82. samplehc/types/v2/hie/document_query_response.py +0 -16
  83. samplehc/types/v2/hie/document_upload_params.py +0 -54
  84. samplehc/types/v2/integrations/__init__.py +0 -23
  85. samplehc/types/v2/integrations/bank/__init__.py +0 -6
  86. samplehc/types/v2/integrations/bank/transaction_sync_params.py +0 -15
  87. samplehc/types/v2/integrations/bank/transaction_sync_response.py +0 -26
  88. samplehc/types/v2/integrations/careviso_get_payers_response.py +0 -19
  89. samplehc/types/v2/integrations/careviso_submit_prior_authorization_params.py +0 -90
  90. samplehc/types/v2/integrations/glidian/__init__.py +0 -20
  91. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_params.py +0 -32
  92. samplehc/types/v2/integrations/glidian/prior_authorization_create_draft_response.py +0 -24
  93. samplehc/types/v2/integrations/glidian/prior_authorization_retrieve_record_response.py +0 -13
  94. samplehc/types/v2/integrations/glidian/prior_authorization_submit_response.py +0 -16
  95. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_params.py +0 -20
  96. samplehc/types/v2/integrations/glidian/prior_authorization_update_record_response.py +0 -16
  97. samplehc/types/v2/integrations/glidian/prior_authorizations/__init__.py +0 -7
  98. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_list_response.py +0 -42
  99. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_params.py +0 -23
  100. samplehc/types/v2/integrations/glidian/prior_authorizations/clinical_question_update_response.py +0 -19
  101. samplehc/types/v2/integrations/glidian_get_submission_requirements_params.py +0 -17
  102. samplehc/types/v2/integrations/glidian_get_submission_requirements_response.py +0 -31
  103. samplehc/types/v2/integrations/glidian_list_payers_params.py +0 -11
  104. samplehc/types/v2/integrations/glidian_list_payers_response.py +0 -17
  105. samplehc/types/v2/integrations/glidian_list_services_params.py +0 -13
  106. samplehc/types/v2/integrations/glidian_list_services_response.py +0 -19
  107. samplehc/types/v2/integrations/kno2/__init__.py +0 -6
  108. samplehc/types/v2/integrations/kno2/message_get_attachment_response.py +0 -15
  109. samplehc/types/v2/integrations/kno2/message_retrieve_response.py +0 -13
  110. samplehc/types/v2/integrations/salesforce_run_crud_action_params.py +0 -22
  111. samplehc/types/v2/integrations/salesforce_run_soql_query_params.py +0 -11
  112. samplehc/types/v2/integrations/snowflake_query_params.py +0 -12
  113. samplehc/types/v2/integrations/snowflake_query_response.py +0 -8
  114. samplehc/types/v2/integrations/wellsky/__init__.py +0 -6
  115. samplehc/types/v2/integrations/wellsky/patient_add_params.py +0 -13
  116. samplehc/types/v2/integrations/wellsky/patient_search_params.py +0 -32
  117. samplehc/types/v2/integrations/xcure_make_request_params.py +0 -18
  118. samplehc/types/v2/ledger/__init__.py +0 -3
  119. samplehc/types/v2/policy_list_companies_params.py +0 -18
  120. samplehc/types/v2/policy_list_companies_response.py +0 -24
  121. samplehc/types/v2/policy_list_params.py +0 -47
  122. samplehc/types/v2/policy_list_plans_params.py +0 -18
  123. samplehc/types/v2/policy_list_plans_response.py +0 -30
  124. samplehc/types/v2/policy_list_response.py +0 -67
  125. samplehc/types/v2/policy_retrieve_presigned_url_response.py +0 -17
  126. samplehc/types/v2/policy_retrieve_text_response.py +0 -12
  127. samplehc/types/v2/task_cancel_response.py +0 -12
  128. samplehc/types/v2/task_complete_params.py +0 -12
  129. samplehc/types/v2/task_complete_response.py +0 -16
  130. samplehc/types/v2/task_get_suspended_payload_response.py +0 -8
  131. samplehc/types/v2/task_retrieve_response.py +0 -22
  132. samplehc/types/v2/task_retry_response.py +0 -10
  133. samplehc/types/v2/task_update_column_params.py +0 -19
  134. samplehc/types/v2/task_update_column_response.py +0 -9
  135. samplehc/types/v2/task_update_screen_time_params.py +0 -14
  136. samplehc/types/v2/task_update_screen_time_response.py +0 -8
  137. samplehc/types/v2/tasks/__init__.py +0 -7
  138. samplehc/types/v2/tasks/state_get_response.py +0 -8
  139. samplehc/types/v2/tasks/state_update_params.py +0 -13
  140. samplehc/types/v2/tasks/state_update_response.py +0 -9
  141. samplehc/types/v2/workflow_deploy_response.py +0 -12
  142. samplehc/types/v2/workflow_query_params.py +0 -12
  143. samplehc/types/v2/workflow_query_response.py +0 -8
  144. samplehc/types/v2/workflow_run_get_start_data_response.py +0 -14
  145. samplehc/types/v2/workflow_run_resume_when_complete_params.py +0 -14
  146. samplehc/types/v2/workflow_run_resume_when_complete_response.py +0 -12
  147. samplehc/types/v2/workflow_run_retrieve_response.py +0 -16
  148. samplehc/types/v2/workflow_runs/__init__.py +0 -5
  149. samplehc/types/v2/workflow_runs/step_get_output_response.py +0 -14
  150. samplehc/types/v2/workflow_start_params.py +0 -25
  151. samplehc/types/v2/workflow_start_response.py +0 -25
  152. samplehc-0.17.0.dist-info/RECORD +0 -226
  153. {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/WHEEL +0 -0
  154. {samplehc-0.17.0.dist-info → samplehc-0.19.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,326 +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 .xcures import (
6
- XcuresResource,
7
- AsyncXcuresResource,
8
- XcuresResourceWithRawResponse,
9
- AsyncXcuresResourceWithRawResponse,
10
- XcuresResourceWithStreamingResponse,
11
- AsyncXcuresResourceWithStreamingResponse,
12
- )
13
- from .careviso import (
14
- CarevisoResource,
15
- AsyncCarevisoResource,
16
- CarevisoResourceWithRawResponse,
17
- AsyncCarevisoResourceWithRawResponse,
18
- CarevisoResourceWithStreamingResponse,
19
- AsyncCarevisoResourceWithStreamingResponse,
20
- )
21
- from .bank.bank import (
22
- BankResource,
23
- AsyncBankResource,
24
- BankResourceWithRawResponse,
25
- AsyncBankResourceWithRawResponse,
26
- BankResourceWithStreamingResponse,
27
- AsyncBankResourceWithStreamingResponse,
28
- )
29
- from .kno2.kno2 import (
30
- Kno2Resource,
31
- AsyncKno2Resource,
32
- Kno2ResourceWithRawResponse,
33
- AsyncKno2ResourceWithRawResponse,
34
- Kno2ResourceWithStreamingResponse,
35
- AsyncKno2ResourceWithStreamingResponse,
36
- )
37
- from .snowflake import (
38
- SnowflakeResource,
39
- AsyncSnowflakeResource,
40
- SnowflakeResourceWithRawResponse,
41
- AsyncSnowflakeResourceWithRawResponse,
42
- SnowflakeResourceWithStreamingResponse,
43
- AsyncSnowflakeResourceWithStreamingResponse,
44
- )
45
- from ...._compat import cached_property
46
- from .salesforce import (
47
- SalesforceResource,
48
- AsyncSalesforceResource,
49
- SalesforceResourceWithRawResponse,
50
- AsyncSalesforceResourceWithRawResponse,
51
- SalesforceResourceWithStreamingResponse,
52
- AsyncSalesforceResourceWithStreamingResponse,
53
- )
54
- from ...._resource import SyncAPIResource, AsyncAPIResource
55
- from .glidian.glidian import (
56
- GlidianResource,
57
- AsyncGlidianResource,
58
- GlidianResourceWithRawResponse,
59
- AsyncGlidianResourceWithRawResponse,
60
- GlidianResourceWithStreamingResponse,
61
- AsyncGlidianResourceWithStreamingResponse,
62
- )
63
- from .wellsky.wellsky import (
64
- WellskyResource,
65
- AsyncWellskyResource,
66
- WellskyResourceWithRawResponse,
67
- AsyncWellskyResourceWithRawResponse,
68
- WellskyResourceWithStreamingResponse,
69
- AsyncWellskyResourceWithStreamingResponse,
70
- )
71
-
72
- __all__ = ["IntegrationsResource", "AsyncIntegrationsResource"]
73
-
74
-
75
- class IntegrationsResource(SyncAPIResource):
76
- @cached_property
77
- def snowflake(self) -> SnowflakeResource:
78
- return SnowflakeResource(self._client)
79
-
80
- @cached_property
81
- def wellsky(self) -> WellskyResource:
82
- return WellskyResource(self._client)
83
-
84
- @cached_property
85
- def bank(self) -> BankResource:
86
- return BankResource(self._client)
87
-
88
- @cached_property
89
- def careviso(self) -> CarevisoResource:
90
- return CarevisoResource(self._client)
91
-
92
- @cached_property
93
- def kno2(self) -> Kno2Resource:
94
- return Kno2Resource(self._client)
95
-
96
- @cached_property
97
- def glidian(self) -> GlidianResource:
98
- return GlidianResource(self._client)
99
-
100
- @cached_property
101
- def xcures(self) -> XcuresResource:
102
- return XcuresResource(self._client)
103
-
104
- @cached_property
105
- def salesforce(self) -> SalesforceResource:
106
- return SalesforceResource(self._client)
107
-
108
- @cached_property
109
- def with_raw_response(self) -> IntegrationsResourceWithRawResponse:
110
- """
111
- This property can be used as a prefix for any HTTP method call to return
112
- the raw response object instead of the parsed content.
113
-
114
- For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
115
- """
116
- return IntegrationsResourceWithRawResponse(self)
117
-
118
- @cached_property
119
- def with_streaming_response(self) -> IntegrationsResourceWithStreamingResponse:
120
- """
121
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
122
-
123
- For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
124
- """
125
- return IntegrationsResourceWithStreamingResponse(self)
126
-
127
-
128
- class AsyncIntegrationsResource(AsyncAPIResource):
129
- @cached_property
130
- def snowflake(self) -> AsyncSnowflakeResource:
131
- return AsyncSnowflakeResource(self._client)
132
-
133
- @cached_property
134
- def wellsky(self) -> AsyncWellskyResource:
135
- return AsyncWellskyResource(self._client)
136
-
137
- @cached_property
138
- def bank(self) -> AsyncBankResource:
139
- return AsyncBankResource(self._client)
140
-
141
- @cached_property
142
- def careviso(self) -> AsyncCarevisoResource:
143
- return AsyncCarevisoResource(self._client)
144
-
145
- @cached_property
146
- def kno2(self) -> AsyncKno2Resource:
147
- return AsyncKno2Resource(self._client)
148
-
149
- @cached_property
150
- def glidian(self) -> AsyncGlidianResource:
151
- return AsyncGlidianResource(self._client)
152
-
153
- @cached_property
154
- def xcures(self) -> AsyncXcuresResource:
155
- return AsyncXcuresResource(self._client)
156
-
157
- @cached_property
158
- def salesforce(self) -> AsyncSalesforceResource:
159
- return AsyncSalesforceResource(self._client)
160
-
161
- @cached_property
162
- def with_raw_response(self) -> AsyncIntegrationsResourceWithRawResponse:
163
- """
164
- This property can be used as a prefix for any HTTP method call to return
165
- the raw response object instead of the parsed content.
166
-
167
- For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
168
- """
169
- return AsyncIntegrationsResourceWithRawResponse(self)
170
-
171
- @cached_property
172
- def with_streaming_response(self) -> AsyncIntegrationsResourceWithStreamingResponse:
173
- """
174
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
175
-
176
- For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
177
- """
178
- return AsyncIntegrationsResourceWithStreamingResponse(self)
179
-
180
-
181
- class IntegrationsResourceWithRawResponse:
182
- def __init__(self, integrations: IntegrationsResource) -> None:
183
- self._integrations = integrations
184
-
185
- @cached_property
186
- def snowflake(self) -> SnowflakeResourceWithRawResponse:
187
- return SnowflakeResourceWithRawResponse(self._integrations.snowflake)
188
-
189
- @cached_property
190
- def wellsky(self) -> WellskyResourceWithRawResponse:
191
- return WellskyResourceWithRawResponse(self._integrations.wellsky)
192
-
193
- @cached_property
194
- def bank(self) -> BankResourceWithRawResponse:
195
- return BankResourceWithRawResponse(self._integrations.bank)
196
-
197
- @cached_property
198
- def careviso(self) -> CarevisoResourceWithRawResponse:
199
- return CarevisoResourceWithRawResponse(self._integrations.careviso)
200
-
201
- @cached_property
202
- def kno2(self) -> Kno2ResourceWithRawResponse:
203
- return Kno2ResourceWithRawResponse(self._integrations.kno2)
204
-
205
- @cached_property
206
- def glidian(self) -> GlidianResourceWithRawResponse:
207
- return GlidianResourceWithRawResponse(self._integrations.glidian)
208
-
209
- @cached_property
210
- def xcures(self) -> XcuresResourceWithRawResponse:
211
- return XcuresResourceWithRawResponse(self._integrations.xcures)
212
-
213
- @cached_property
214
- def salesforce(self) -> SalesforceResourceWithRawResponse:
215
- return SalesforceResourceWithRawResponse(self._integrations.salesforce)
216
-
217
-
218
- class AsyncIntegrationsResourceWithRawResponse:
219
- def __init__(self, integrations: AsyncIntegrationsResource) -> None:
220
- self._integrations = integrations
221
-
222
- @cached_property
223
- def snowflake(self) -> AsyncSnowflakeResourceWithRawResponse:
224
- return AsyncSnowflakeResourceWithRawResponse(self._integrations.snowflake)
225
-
226
- @cached_property
227
- def wellsky(self) -> AsyncWellskyResourceWithRawResponse:
228
- return AsyncWellskyResourceWithRawResponse(self._integrations.wellsky)
229
-
230
- @cached_property
231
- def bank(self) -> AsyncBankResourceWithRawResponse:
232
- return AsyncBankResourceWithRawResponse(self._integrations.bank)
233
-
234
- @cached_property
235
- def careviso(self) -> AsyncCarevisoResourceWithRawResponse:
236
- return AsyncCarevisoResourceWithRawResponse(self._integrations.careviso)
237
-
238
- @cached_property
239
- def kno2(self) -> AsyncKno2ResourceWithRawResponse:
240
- return AsyncKno2ResourceWithRawResponse(self._integrations.kno2)
241
-
242
- @cached_property
243
- def glidian(self) -> AsyncGlidianResourceWithRawResponse:
244
- return AsyncGlidianResourceWithRawResponse(self._integrations.glidian)
245
-
246
- @cached_property
247
- def xcures(self) -> AsyncXcuresResourceWithRawResponse:
248
- return AsyncXcuresResourceWithRawResponse(self._integrations.xcures)
249
-
250
- @cached_property
251
- def salesforce(self) -> AsyncSalesforceResourceWithRawResponse:
252
- return AsyncSalesforceResourceWithRawResponse(self._integrations.salesforce)
253
-
254
-
255
- class IntegrationsResourceWithStreamingResponse:
256
- def __init__(self, integrations: IntegrationsResource) -> None:
257
- self._integrations = integrations
258
-
259
- @cached_property
260
- def snowflake(self) -> SnowflakeResourceWithStreamingResponse:
261
- return SnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
262
-
263
- @cached_property
264
- def wellsky(self) -> WellskyResourceWithStreamingResponse:
265
- return WellskyResourceWithStreamingResponse(self._integrations.wellsky)
266
-
267
- @cached_property
268
- def bank(self) -> BankResourceWithStreamingResponse:
269
- return BankResourceWithStreamingResponse(self._integrations.bank)
270
-
271
- @cached_property
272
- def careviso(self) -> CarevisoResourceWithStreamingResponse:
273
- return CarevisoResourceWithStreamingResponse(self._integrations.careviso)
274
-
275
- @cached_property
276
- def kno2(self) -> Kno2ResourceWithStreamingResponse:
277
- return Kno2ResourceWithStreamingResponse(self._integrations.kno2)
278
-
279
- @cached_property
280
- def glidian(self) -> GlidianResourceWithStreamingResponse:
281
- return GlidianResourceWithStreamingResponse(self._integrations.glidian)
282
-
283
- @cached_property
284
- def xcures(self) -> XcuresResourceWithStreamingResponse:
285
- return XcuresResourceWithStreamingResponse(self._integrations.xcures)
286
-
287
- @cached_property
288
- def salesforce(self) -> SalesforceResourceWithStreamingResponse:
289
- return SalesforceResourceWithStreamingResponse(self._integrations.salesforce)
290
-
291
-
292
- class AsyncIntegrationsResourceWithStreamingResponse:
293
- def __init__(self, integrations: AsyncIntegrationsResource) -> None:
294
- self._integrations = integrations
295
-
296
- @cached_property
297
- def snowflake(self) -> AsyncSnowflakeResourceWithStreamingResponse:
298
- return AsyncSnowflakeResourceWithStreamingResponse(self._integrations.snowflake)
299
-
300
- @cached_property
301
- def wellsky(self) -> AsyncWellskyResourceWithStreamingResponse:
302
- return AsyncWellskyResourceWithStreamingResponse(self._integrations.wellsky)
303
-
304
- @cached_property
305
- def bank(self) -> AsyncBankResourceWithStreamingResponse:
306
- return AsyncBankResourceWithStreamingResponse(self._integrations.bank)
307
-
308
- @cached_property
309
- def careviso(self) -> AsyncCarevisoResourceWithStreamingResponse:
310
- return AsyncCarevisoResourceWithStreamingResponse(self._integrations.careviso)
311
-
312
- @cached_property
313
- def kno2(self) -> AsyncKno2ResourceWithStreamingResponse:
314
- return AsyncKno2ResourceWithStreamingResponse(self._integrations.kno2)
315
-
316
- @cached_property
317
- def glidian(self) -> AsyncGlidianResourceWithStreamingResponse:
318
- return AsyncGlidianResourceWithStreamingResponse(self._integrations.glidian)
319
-
320
- @cached_property
321
- def xcures(self) -> AsyncXcuresResourceWithStreamingResponse:
322
- return AsyncXcuresResourceWithStreamingResponse(self._integrations.xcures)
323
-
324
- @cached_property
325
- def salesforce(self) -> AsyncSalesforceResourceWithStreamingResponse:
326
- return AsyncSalesforceResourceWithStreamingResponse(self._integrations.salesforce)
@@ -1,33 +0,0 @@
1
- # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
-
3
- from .kno2 import (
4
- Kno2Resource,
5
- AsyncKno2Resource,
6
- Kno2ResourceWithRawResponse,
7
- AsyncKno2ResourceWithRawResponse,
8
- Kno2ResourceWithStreamingResponse,
9
- AsyncKno2ResourceWithStreamingResponse,
10
- )
11
- from .messages import (
12
- MessagesResource,
13
- AsyncMessagesResource,
14
- MessagesResourceWithRawResponse,
15
- AsyncMessagesResourceWithRawResponse,
16
- MessagesResourceWithStreamingResponse,
17
- AsyncMessagesResourceWithStreamingResponse,
18
- )
19
-
20
- __all__ = [
21
- "MessagesResource",
22
- "AsyncMessagesResource",
23
- "MessagesResourceWithRawResponse",
24
- "AsyncMessagesResourceWithRawResponse",
25
- "MessagesResourceWithStreamingResponse",
26
- "AsyncMessagesResourceWithStreamingResponse",
27
- "Kno2Resource",
28
- "AsyncKno2Resource",
29
- "Kno2ResourceWithRawResponse",
30
- "AsyncKno2ResourceWithRawResponse",
31
- "Kno2ResourceWithStreamingResponse",
32
- "AsyncKno2ResourceWithStreamingResponse",
33
- ]
@@ -1,102 +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 .messages import (
6
- MessagesResource,
7
- AsyncMessagesResource,
8
- MessagesResourceWithRawResponse,
9
- AsyncMessagesResourceWithRawResponse,
10
- MessagesResourceWithStreamingResponse,
11
- AsyncMessagesResourceWithStreamingResponse,
12
- )
13
- from ....._compat import cached_property
14
- from ....._resource import SyncAPIResource, AsyncAPIResource
15
-
16
- __all__ = ["Kno2Resource", "AsyncKno2Resource"]
17
-
18
-
19
- class Kno2Resource(SyncAPIResource):
20
- @cached_property
21
- def messages(self) -> MessagesResource:
22
- return MessagesResource(self._client)
23
-
24
- @cached_property
25
- def with_raw_response(self) -> Kno2ResourceWithRawResponse:
26
- """
27
- This property can be used as a prefix for any HTTP method call to return
28
- the raw response object instead of the parsed content.
29
-
30
- For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
31
- """
32
- return Kno2ResourceWithRawResponse(self)
33
-
34
- @cached_property
35
- def with_streaming_response(self) -> Kno2ResourceWithStreamingResponse:
36
- """
37
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
38
-
39
- For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
40
- """
41
- return Kno2ResourceWithStreamingResponse(self)
42
-
43
-
44
- class AsyncKno2Resource(AsyncAPIResource):
45
- @cached_property
46
- def messages(self) -> AsyncMessagesResource:
47
- return AsyncMessagesResource(self._client)
48
-
49
- @cached_property
50
- def with_raw_response(self) -> AsyncKno2ResourceWithRawResponse:
51
- """
52
- This property can be used as a prefix for any HTTP method call to return
53
- the raw response object instead of the parsed content.
54
-
55
- For more information, see https://www.github.com/samplehc/samplehc-python#accessing-raw-response-data-eg-headers
56
- """
57
- return AsyncKno2ResourceWithRawResponse(self)
58
-
59
- @cached_property
60
- def with_streaming_response(self) -> AsyncKno2ResourceWithStreamingResponse:
61
- """
62
- An alternative to `.with_raw_response` that doesn't eagerly read the response body.
63
-
64
- For more information, see https://www.github.com/samplehc/samplehc-python#with_streaming_response
65
- """
66
- return AsyncKno2ResourceWithStreamingResponse(self)
67
-
68
-
69
- class Kno2ResourceWithRawResponse:
70
- def __init__(self, kno2: Kno2Resource) -> None:
71
- self._kno2 = kno2
72
-
73
- @cached_property
74
- def messages(self) -> MessagesResourceWithRawResponse:
75
- return MessagesResourceWithRawResponse(self._kno2.messages)
76
-
77
-
78
- class AsyncKno2ResourceWithRawResponse:
79
- def __init__(self, kno2: AsyncKno2Resource) -> None:
80
- self._kno2 = kno2
81
-
82
- @cached_property
83
- def messages(self) -> AsyncMessagesResourceWithRawResponse:
84
- return AsyncMessagesResourceWithRawResponse(self._kno2.messages)
85
-
86
-
87
- class Kno2ResourceWithStreamingResponse:
88
- def __init__(self, kno2: Kno2Resource) -> None:
89
- self._kno2 = kno2
90
-
91
- @cached_property
92
- def messages(self) -> MessagesResourceWithStreamingResponse:
93
- return MessagesResourceWithStreamingResponse(self._kno2.messages)
94
-
95
-
96
- class AsyncKno2ResourceWithStreamingResponse:
97
- def __init__(self, kno2: AsyncKno2Resource) -> None:
98
- self._kno2 = kno2
99
-
100
- @cached_property
101
- def messages(self) -> AsyncMessagesResourceWithStreamingResponse:
102
- return AsyncMessagesResourceWithStreamingResponse(self._kno2.messages)