rxfoundry.clients.swifty-oauth-api 0.0.620__py3-none-any.whl → 1.0.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.
- {rxfoundry_clients_swifty_oauth_api-0.0.620.dist-info → rxfoundry_clients_swifty_oauth_api-1.0.0.dist-info}/METADATA +1 -1
- rxfoundry_clients_swifty_oauth_api-1.0.0.dist-info/RECORD +19 -0
- rxfoundry/clients/p2rx_api/__init__.py +0 -79
- rxfoundry/clients/p2rx_api/api/__init__.py +0 -17
- rxfoundry/clients/p2rx_api/api/async_api.py +0 -862
- rxfoundry/clients/p2rx_api/api/code_api.py +0 -337
- rxfoundry/clients/p2rx_api/api/fax_api.py +0 -632
- rxfoundry/clients/p2rx_api/api/medication_api.py +0 -666
- rxfoundry/clients/p2rx_api/api/patient_api.py +0 -981
- rxfoundry/clients/p2rx_api/api/pharmacist_api.py +0 -615
- rxfoundry/clients/p2rx_api/api/pharmacy_api.py +0 -684
- rxfoundry/clients/p2rx_api/api/prescriber_api.py +0 -615
- rxfoundry/clients/p2rx_api/api/prescription_api.py +0 -1864
- rxfoundry/clients/p2rx_api/api/token_api.py +0 -314
- rxfoundry/clients/p2rx_api/api/user_api.py +0 -306
- rxfoundry/clients/p2rx_api/api/version_api.py +0 -282
- rxfoundry/clients/p2rx_api/api/virtual_pharmacy_api.py +0 -284
- rxfoundry/clients/p2rx_api/api_client.py +0 -798
- rxfoundry/clients/p2rx_api/api_response.py +0 -21
- rxfoundry/clients/p2rx_api/configuration.py +0 -583
- rxfoundry/clients/p2rx_api/exceptions.py +0 -217
- rxfoundry/clients/p2rx_api/models/__init__.py +0 -50
- rxfoundry/clients/p2rx_api/models/address.py +0 -106
- rxfoundry/clients/p2rx_api/models/asynchronous_response.py +0 -90
- rxfoundry/clients/p2rx_api/models/code.py +0 -92
- rxfoundry/clients/p2rx_api/models/code_qualifier_code.py +0 -96
- rxfoundry/clients/p2rx_api/models/error_message.py +0 -90
- rxfoundry/clients/p2rx_api/models/fax.py +0 -141
- rxfoundry/clients/p2rx_api/models/medication.py +0 -137
- rxfoundry/clients/p2rx_api/models/medication_program_pricing.py +0 -99
- rxfoundry/clients/p2rx_api/models/medication_variant.py +0 -96
- rxfoundry/clients/p2rx_api/models/patient.py +0 -128
- rxfoundry/clients/p2rx_api/models/patient_activity_notification.py +0 -114
- rxfoundry/clients/p2rx_api/models/patient_external_identifier.py +0 -94
- rxfoundry/clients/p2rx_api/models/pharmacist.py +0 -104
- rxfoundry/clients/p2rx_api/models/pharmacy.py +0 -156
- rxfoundry/clients/p2rx_api/models/pharmacy_chain.py +0 -100
- rxfoundry/clients/p2rx_api/models/pharmacy_other_identifier.py +0 -98
- rxfoundry/clients/p2rx_api/models/pharmacy_program_pricing.py +0 -103
- rxfoundry/clients/p2rx_api/models/prescriber.py +0 -106
- rxfoundry/clients/p2rx_api/models/prescription.py +0 -278
- rxfoundry/clients/p2rx_api/models/prescription_change_request.py +0 -123
- rxfoundry/clients/p2rx_api/models/prescription_issue.py +0 -120
- rxfoundry/clients/p2rx_api/models/prescription_patch.py +0 -113
- rxfoundry/clients/p2rx_api/models/prescription_task.py +0 -130
- rxfoundry/clients/p2rx_api/models/prescription_task_status.py +0 -95
- rxfoundry/clients/p2rx_api/models/prescription_transfer_request.py +0 -93
- rxfoundry/clients/p2rx_api/models/prescription_verification.py +0 -107
- rxfoundry/clients/p2rx_api/models/pricing_program.py +0 -90
- rxfoundry/clients/p2rx_api/models/surescripts_message.py +0 -111
- rxfoundry/clients/p2rx_api/models/token.py +0 -92
- rxfoundry/clients/p2rx_api/models/user.py +0 -98
- rxfoundry/clients/p2rx_api/models/version.py +0 -88
- rxfoundry/clients/p2rx_api/models/virtual_pharmacy.py +0 -96
- rxfoundry/clients/p2rx_api/models/workflow_request.py +0 -90
- rxfoundry/clients/p2rx_api/py.typed +0 -0
- rxfoundry/clients/p2rx_api/rest.py +0 -259
- rxfoundry/clients/swifty_api/__init__.py +0 -79
- rxfoundry/clients/swifty_api/api/__init__.py +0 -17
- rxfoundry/clients/swifty_api/api/async_api.py +0 -862
- rxfoundry/clients/swifty_api/api/code_api.py +0 -337
- rxfoundry/clients/swifty_api/api/fax_api.py +0 -632
- rxfoundry/clients/swifty_api/api/medication_api.py +0 -666
- rxfoundry/clients/swifty_api/api/patient_api.py +0 -981
- rxfoundry/clients/swifty_api/api/pharmacist_api.py +0 -615
- rxfoundry/clients/swifty_api/api/pharmacy_api.py +0 -684
- rxfoundry/clients/swifty_api/api/prescriber_api.py +0 -615
- rxfoundry/clients/swifty_api/api/prescription_api.py +0 -1864
- rxfoundry/clients/swifty_api/api/token_api.py +0 -314
- rxfoundry/clients/swifty_api/api/user_api.py +0 -306
- rxfoundry/clients/swifty_api/api/version_api.py +0 -282
- rxfoundry/clients/swifty_api/api/virtual_pharmacy_api.py +0 -284
- rxfoundry/clients/swifty_api/api_client.py +0 -798
- rxfoundry/clients/swifty_api/api_response.py +0 -21
- rxfoundry/clients/swifty_api/configuration.py +0 -583
- rxfoundry/clients/swifty_api/exceptions.py +0 -217
- rxfoundry/clients/swifty_api/models/__init__.py +0 -50
- rxfoundry/clients/swifty_api/models/address.py +0 -106
- rxfoundry/clients/swifty_api/models/asynchronous_response.py +0 -90
- rxfoundry/clients/swifty_api/models/code.py +0 -92
- rxfoundry/clients/swifty_api/models/code_qualifier_code.py +0 -96
- rxfoundry/clients/swifty_api/models/error_message.py +0 -90
- rxfoundry/clients/swifty_api/models/fax.py +0 -141
- rxfoundry/clients/swifty_api/models/medication.py +0 -137
- rxfoundry/clients/swifty_api/models/medication_program_pricing.py +0 -99
- rxfoundry/clients/swifty_api/models/medication_variant.py +0 -96
- rxfoundry/clients/swifty_api/models/patient.py +0 -128
- rxfoundry/clients/swifty_api/models/patient_activity_notification.py +0 -114
- rxfoundry/clients/swifty_api/models/patient_external_identifier.py +0 -94
- rxfoundry/clients/swifty_api/models/pharmacist.py +0 -104
- rxfoundry/clients/swifty_api/models/pharmacy.py +0 -156
- rxfoundry/clients/swifty_api/models/pharmacy_chain.py +0 -100
- rxfoundry/clients/swifty_api/models/pharmacy_other_identifier.py +0 -98
- rxfoundry/clients/swifty_api/models/pharmacy_program_pricing.py +0 -103
- rxfoundry/clients/swifty_api/models/prescriber.py +0 -106
- rxfoundry/clients/swifty_api/models/prescription.py +0 -278
- rxfoundry/clients/swifty_api/models/prescription_change_request.py +0 -123
- rxfoundry/clients/swifty_api/models/prescription_issue.py +0 -120
- rxfoundry/clients/swifty_api/models/prescription_patch.py +0 -113
- rxfoundry/clients/swifty_api/models/prescription_task.py +0 -130
- rxfoundry/clients/swifty_api/models/prescription_task_status.py +0 -95
- rxfoundry/clients/swifty_api/models/prescription_transfer_request.py +0 -93
- rxfoundry/clients/swifty_api/models/prescription_verification.py +0 -107
- rxfoundry/clients/swifty_api/models/pricing_program.py +0 -90
- rxfoundry/clients/swifty_api/models/surescripts_message.py +0 -111
- rxfoundry/clients/swifty_api/models/token.py +0 -92
- rxfoundry/clients/swifty_api/models/user.py +0 -98
- rxfoundry/clients/swifty_api/models/version.py +0 -88
- rxfoundry/clients/swifty_api/models/virtual_pharmacy.py +0 -98
- rxfoundry/clients/swifty_api/models/workflow_request.py +0 -90
- rxfoundry/clients/swifty_api/py.typed +0 -0
- rxfoundry/clients/swifty_api/rest.py +0 -259
- rxfoundry/clients/swifty_oauth_api/models/token_post_request.py +0 -94
- rxfoundry_clients_swifty_oauth_api-0.0.620.dist-info/RECORD +0 -130
- {rxfoundry_clients_swifty_oauth_api-0.0.620.dist-info → rxfoundry_clients_swifty_oauth_api-1.0.0.dist-info}/WHEEL +0 -0
- {rxfoundry_clients_swifty_oauth_api-0.0.620.dist-info → rxfoundry_clients_swifty_oauth_api-1.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
P2RX API
|
|
5
|
-
|
|
6
|
-
API for the P2RX Backend
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 0.1.DEV-0
|
|
9
|
-
Contact: paul.tindall@rxfoundry.com
|
|
10
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
-
|
|
12
|
-
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import io
|
|
17
|
-
import json
|
|
18
|
-
import re
|
|
19
|
-
import ssl
|
|
20
|
-
|
|
21
|
-
import urllib3
|
|
22
|
-
|
|
23
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiException, ApiValueError
|
|
24
|
-
|
|
25
|
-
SUPPORTED_SOCKS_PROXIES = {"socks5", "socks5h", "socks4", "socks4a"}
|
|
26
|
-
RESTResponseType = urllib3.HTTPResponse
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
def is_socks_proxy_url(url):
|
|
30
|
-
if url is None:
|
|
31
|
-
return False
|
|
32
|
-
split_section = url.split("://")
|
|
33
|
-
if len(split_section) < 2:
|
|
34
|
-
return False
|
|
35
|
-
else:
|
|
36
|
-
return split_section[0].lower() in SUPPORTED_SOCKS_PROXIES
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
class RESTResponse(io.IOBase):
|
|
40
|
-
|
|
41
|
-
def __init__(self, resp) -> None:
|
|
42
|
-
self.response = resp
|
|
43
|
-
self.status = resp.status
|
|
44
|
-
self.reason = resp.reason
|
|
45
|
-
self.data = None
|
|
46
|
-
|
|
47
|
-
def read(self):
|
|
48
|
-
if self.data is None:
|
|
49
|
-
self.data = self.response.data
|
|
50
|
-
return self.data
|
|
51
|
-
|
|
52
|
-
def getheaders(self):
|
|
53
|
-
"""Returns a dictionary of the response headers."""
|
|
54
|
-
return self.response.headers
|
|
55
|
-
|
|
56
|
-
def getheader(self, name, default=None):
|
|
57
|
-
"""Returns a given response header."""
|
|
58
|
-
return self.response.headers.get(name, default)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
class RESTClientObject:
|
|
62
|
-
|
|
63
|
-
def __init__(self, configuration) -> None:
|
|
64
|
-
# urllib3.PoolManager will pass all kw parameters to connectionpool
|
|
65
|
-
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501
|
|
66
|
-
# https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501
|
|
67
|
-
# Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501
|
|
68
|
-
|
|
69
|
-
# cert_reqs
|
|
70
|
-
if configuration.verify_ssl:
|
|
71
|
-
cert_reqs = ssl.CERT_REQUIRED
|
|
72
|
-
else:
|
|
73
|
-
cert_reqs = ssl.CERT_NONE
|
|
74
|
-
|
|
75
|
-
pool_args = {
|
|
76
|
-
"cert_reqs": cert_reqs,
|
|
77
|
-
"ca_certs": configuration.ssl_ca_cert,
|
|
78
|
-
"cert_file": configuration.cert_file,
|
|
79
|
-
"key_file": configuration.key_file,
|
|
80
|
-
"ca_cert_data": configuration.ca_cert_data,
|
|
81
|
-
}
|
|
82
|
-
if configuration.assert_hostname is not None:
|
|
83
|
-
pool_args['assert_hostname'] = (
|
|
84
|
-
configuration.assert_hostname
|
|
85
|
-
)
|
|
86
|
-
|
|
87
|
-
if configuration.retries is not None:
|
|
88
|
-
pool_args['retries'] = configuration.retries
|
|
89
|
-
|
|
90
|
-
if configuration.tls_server_name:
|
|
91
|
-
pool_args['server_hostname'] = configuration.tls_server_name
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
if configuration.socket_options is not None:
|
|
95
|
-
pool_args['socket_options'] = configuration.socket_options
|
|
96
|
-
|
|
97
|
-
if configuration.connection_pool_maxsize is not None:
|
|
98
|
-
pool_args['maxsize'] = configuration.connection_pool_maxsize
|
|
99
|
-
|
|
100
|
-
# https pool manager
|
|
101
|
-
self.pool_manager: urllib3.PoolManager
|
|
102
|
-
|
|
103
|
-
if configuration.proxy:
|
|
104
|
-
if is_socks_proxy_url(configuration.proxy):
|
|
105
|
-
from urllib3.contrib.socks import SOCKSProxyManager
|
|
106
|
-
pool_args["proxy_url"] = configuration.proxy
|
|
107
|
-
pool_args["headers"] = configuration.proxy_headers
|
|
108
|
-
self.pool_manager = SOCKSProxyManager(**pool_args)
|
|
109
|
-
else:
|
|
110
|
-
pool_args["proxy_url"] = configuration.proxy
|
|
111
|
-
pool_args["proxy_headers"] = configuration.proxy_headers
|
|
112
|
-
self.pool_manager = urllib3.ProxyManager(**pool_args)
|
|
113
|
-
else:
|
|
114
|
-
self.pool_manager = urllib3.PoolManager(**pool_args)
|
|
115
|
-
|
|
116
|
-
def request(
|
|
117
|
-
self,
|
|
118
|
-
method,
|
|
119
|
-
url,
|
|
120
|
-
headers=None,
|
|
121
|
-
body=None,
|
|
122
|
-
post_params=None,
|
|
123
|
-
_request_timeout=None
|
|
124
|
-
):
|
|
125
|
-
"""Perform requests.
|
|
126
|
-
|
|
127
|
-
:param method: http request method
|
|
128
|
-
:param url: http request url
|
|
129
|
-
:param headers: http request headers
|
|
130
|
-
:param body: request json body, for `application/json`
|
|
131
|
-
:param post_params: request post parameters,
|
|
132
|
-
`application/x-www-form-urlencoded`
|
|
133
|
-
and `multipart/form-data`
|
|
134
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
135
|
-
number provided, it will be total request
|
|
136
|
-
timeout. It can also be a pair (tuple) of
|
|
137
|
-
(connection, read) timeouts.
|
|
138
|
-
"""
|
|
139
|
-
method = method.upper()
|
|
140
|
-
assert method in [
|
|
141
|
-
'GET',
|
|
142
|
-
'HEAD',
|
|
143
|
-
'DELETE',
|
|
144
|
-
'POST',
|
|
145
|
-
'PUT',
|
|
146
|
-
'PATCH',
|
|
147
|
-
'OPTIONS'
|
|
148
|
-
]
|
|
149
|
-
|
|
150
|
-
if post_params and body:
|
|
151
|
-
raise ApiValueError(
|
|
152
|
-
"body parameter cannot be used with post_params parameter."
|
|
153
|
-
)
|
|
154
|
-
|
|
155
|
-
post_params = post_params or {}
|
|
156
|
-
headers = headers or {}
|
|
157
|
-
|
|
158
|
-
timeout = None
|
|
159
|
-
if _request_timeout:
|
|
160
|
-
if isinstance(_request_timeout, (int, float)):
|
|
161
|
-
timeout = urllib3.Timeout(total=_request_timeout)
|
|
162
|
-
elif (
|
|
163
|
-
isinstance(_request_timeout, tuple)
|
|
164
|
-
and len(_request_timeout) == 2
|
|
165
|
-
):
|
|
166
|
-
timeout = urllib3.Timeout(
|
|
167
|
-
connect=_request_timeout[0],
|
|
168
|
-
read=_request_timeout[1]
|
|
169
|
-
)
|
|
170
|
-
|
|
171
|
-
try:
|
|
172
|
-
# For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE`
|
|
173
|
-
if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']:
|
|
174
|
-
|
|
175
|
-
# no content type provided or payload is json
|
|
176
|
-
content_type = headers.get('Content-Type')
|
|
177
|
-
if (
|
|
178
|
-
not content_type
|
|
179
|
-
or re.search('json', content_type, re.IGNORECASE)
|
|
180
|
-
):
|
|
181
|
-
request_body = None
|
|
182
|
-
if body is not None:
|
|
183
|
-
request_body = json.dumps(body)
|
|
184
|
-
r = self.pool_manager.request(
|
|
185
|
-
method,
|
|
186
|
-
url,
|
|
187
|
-
body=request_body,
|
|
188
|
-
timeout=timeout,
|
|
189
|
-
headers=headers,
|
|
190
|
-
preload_content=False
|
|
191
|
-
)
|
|
192
|
-
elif content_type == 'application/x-www-form-urlencoded':
|
|
193
|
-
r = self.pool_manager.request(
|
|
194
|
-
method,
|
|
195
|
-
url,
|
|
196
|
-
fields=post_params,
|
|
197
|
-
encode_multipart=False,
|
|
198
|
-
timeout=timeout,
|
|
199
|
-
headers=headers,
|
|
200
|
-
preload_content=False
|
|
201
|
-
)
|
|
202
|
-
elif content_type == 'multipart/form-data':
|
|
203
|
-
# must del headers['Content-Type'], or the correct
|
|
204
|
-
# Content-Type which generated by urllib3 will be
|
|
205
|
-
# overwritten.
|
|
206
|
-
del headers['Content-Type']
|
|
207
|
-
# Ensures that dict objects are serialized
|
|
208
|
-
post_params = [(a, json.dumps(b)) if isinstance(b, dict) else (a,b) for a, b in post_params]
|
|
209
|
-
r = self.pool_manager.request(
|
|
210
|
-
method,
|
|
211
|
-
url,
|
|
212
|
-
fields=post_params,
|
|
213
|
-
encode_multipart=True,
|
|
214
|
-
timeout=timeout,
|
|
215
|
-
headers=headers,
|
|
216
|
-
preload_content=False
|
|
217
|
-
)
|
|
218
|
-
# Pass a `string` parameter directly in the body to support
|
|
219
|
-
# other content types than JSON when `body` argument is
|
|
220
|
-
# provided in serialized form.
|
|
221
|
-
elif isinstance(body, str) or isinstance(body, bytes):
|
|
222
|
-
r = self.pool_manager.request(
|
|
223
|
-
method,
|
|
224
|
-
url,
|
|
225
|
-
body=body,
|
|
226
|
-
timeout=timeout,
|
|
227
|
-
headers=headers,
|
|
228
|
-
preload_content=False
|
|
229
|
-
)
|
|
230
|
-
elif headers['Content-Type'].startswith('text/') and isinstance(body, bool):
|
|
231
|
-
request_body = "true" if body else "false"
|
|
232
|
-
r = self.pool_manager.request(
|
|
233
|
-
method,
|
|
234
|
-
url,
|
|
235
|
-
body=request_body,
|
|
236
|
-
preload_content=False,
|
|
237
|
-
timeout=timeout,
|
|
238
|
-
headers=headers)
|
|
239
|
-
else:
|
|
240
|
-
# Cannot generate the request from given parameters
|
|
241
|
-
msg = """Cannot prepare a request message for provided
|
|
242
|
-
arguments. Please check that your arguments match
|
|
243
|
-
declared content type."""
|
|
244
|
-
raise ApiException(status=0, reason=msg)
|
|
245
|
-
# For `GET`, `HEAD`
|
|
246
|
-
else:
|
|
247
|
-
r = self.pool_manager.request(
|
|
248
|
-
method,
|
|
249
|
-
url,
|
|
250
|
-
fields={},
|
|
251
|
-
timeout=timeout,
|
|
252
|
-
headers=headers,
|
|
253
|
-
preload_content=False
|
|
254
|
-
)
|
|
255
|
-
except urllib3.exceptions.SSLError as e:
|
|
256
|
-
msg = "\n".join([type(e).__name__, str(e)])
|
|
257
|
-
raise ApiException(status=0, reason=msg)
|
|
258
|
-
|
|
259
|
-
return RESTResponse(r)
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
# flake8: noqa
|
|
4
|
-
|
|
5
|
-
"""
|
|
6
|
-
SwiftyRX API
|
|
7
|
-
|
|
8
|
-
API for the SwiftyRX Backend
|
|
9
|
-
|
|
10
|
-
The version of the OpenAPI document: 0.1.DEV-0
|
|
11
|
-
Contact: paul.tindall@rxfoundry.com
|
|
12
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
13
|
-
|
|
14
|
-
Do not edit the class manually.
|
|
15
|
-
""" # noqa: E501
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
__version__ = "1.0.0"
|
|
19
|
-
|
|
20
|
-
# import apis into sdk package
|
|
21
|
-
from rxfoundry.clients.swifty_api.api.async_api import AsyncApi
|
|
22
|
-
from rxfoundry.clients.swifty_api.api.code_api import CodeApi
|
|
23
|
-
from rxfoundry.clients.swifty_api.api.fax_api import FaxApi
|
|
24
|
-
from rxfoundry.clients.swifty_api.api.medication_api import MedicationApi
|
|
25
|
-
from rxfoundry.clients.swifty_api.api.patient_api import PatientApi
|
|
26
|
-
from rxfoundry.clients.swifty_api.api.pharmacist_api import PharmacistApi
|
|
27
|
-
from rxfoundry.clients.swifty_api.api.pharmacy_api import PharmacyApi
|
|
28
|
-
from rxfoundry.clients.swifty_api.api.prescriber_api import PrescriberApi
|
|
29
|
-
from rxfoundry.clients.swifty_api.api.prescription_api import PrescriptionApi
|
|
30
|
-
from rxfoundry.clients.swifty_api.api.token_api import TokenApi
|
|
31
|
-
from rxfoundry.clients.swifty_api.api.user_api import UserApi
|
|
32
|
-
from rxfoundry.clients.swifty_api.api.version_api import VersionApi
|
|
33
|
-
from rxfoundry.clients.swifty_api.api.virtual_pharmacy_api import VirtualPharmacyApi
|
|
34
|
-
|
|
35
|
-
# import ApiClient
|
|
36
|
-
from rxfoundry.clients.swifty_api.api_response import ApiResponse
|
|
37
|
-
from rxfoundry.clients.swifty_api.api_client import ApiClient
|
|
38
|
-
from rxfoundry.clients.swifty_api.configuration import Configuration
|
|
39
|
-
from rxfoundry.clients.swifty_api.exceptions import OpenApiException
|
|
40
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiTypeError
|
|
41
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiValueError
|
|
42
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiKeyError
|
|
43
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiAttributeError
|
|
44
|
-
from rxfoundry.clients.swifty_api.exceptions import ApiException
|
|
45
|
-
|
|
46
|
-
# import models into sdk package
|
|
47
|
-
from rxfoundry.clients.swifty_api.models.address import Address
|
|
48
|
-
from rxfoundry.clients.swifty_api.models.asynchronous_response import AsynchronousResponse
|
|
49
|
-
from rxfoundry.clients.swifty_api.models.code import Code
|
|
50
|
-
from rxfoundry.clients.swifty_api.models.code_qualifier_code import CodeQualifierCode
|
|
51
|
-
from rxfoundry.clients.swifty_api.models.error_message import ErrorMessage
|
|
52
|
-
from rxfoundry.clients.swifty_api.models.fax import Fax
|
|
53
|
-
from rxfoundry.clients.swifty_api.models.medication import Medication
|
|
54
|
-
from rxfoundry.clients.swifty_api.models.medication_program_pricing import MedicationProgramPricing
|
|
55
|
-
from rxfoundry.clients.swifty_api.models.medication_variant import MedicationVariant
|
|
56
|
-
from rxfoundry.clients.swifty_api.models.patient import Patient
|
|
57
|
-
from rxfoundry.clients.swifty_api.models.patient_activity_notification import PatientActivityNotification
|
|
58
|
-
from rxfoundry.clients.swifty_api.models.patient_external_identifier import PatientExternalIdentifier
|
|
59
|
-
from rxfoundry.clients.swifty_api.models.pharmacist import Pharmacist
|
|
60
|
-
from rxfoundry.clients.swifty_api.models.pharmacy import Pharmacy
|
|
61
|
-
from rxfoundry.clients.swifty_api.models.pharmacy_chain import PharmacyChain
|
|
62
|
-
from rxfoundry.clients.swifty_api.models.pharmacy_other_identifier import PharmacyOtherIdentifier
|
|
63
|
-
from rxfoundry.clients.swifty_api.models.pharmacy_program_pricing import PharmacyProgramPricing
|
|
64
|
-
from rxfoundry.clients.swifty_api.models.prescriber import Prescriber
|
|
65
|
-
from rxfoundry.clients.swifty_api.models.prescription import Prescription
|
|
66
|
-
from rxfoundry.clients.swifty_api.models.prescription_change_request import PrescriptionChangeRequest
|
|
67
|
-
from rxfoundry.clients.swifty_api.models.prescription_issue import PrescriptionIssue
|
|
68
|
-
from rxfoundry.clients.swifty_api.models.prescription_patch import PrescriptionPatch
|
|
69
|
-
from rxfoundry.clients.swifty_api.models.prescription_task import PrescriptionTask
|
|
70
|
-
from rxfoundry.clients.swifty_api.models.prescription_task_status import PrescriptionTaskStatus
|
|
71
|
-
from rxfoundry.clients.swifty_api.models.prescription_transfer_request import PrescriptionTransferRequest
|
|
72
|
-
from rxfoundry.clients.swifty_api.models.prescription_verification import PrescriptionVerification
|
|
73
|
-
from rxfoundry.clients.swifty_api.models.pricing_program import PricingProgram
|
|
74
|
-
from rxfoundry.clients.swifty_api.models.surescripts_message import SurescriptsMessage
|
|
75
|
-
from rxfoundry.clients.swifty_api.models.token import Token
|
|
76
|
-
from rxfoundry.clients.swifty_api.models.user import User
|
|
77
|
-
from rxfoundry.clients.swifty_api.models.version import Version
|
|
78
|
-
from rxfoundry.clients.swifty_api.models.virtual_pharmacy import VirtualPharmacy
|
|
79
|
-
from rxfoundry.clients.swifty_api.models.workflow_request import WorkflowRequest
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# flake8: noqa
|
|
2
|
-
|
|
3
|
-
# import apis into api package
|
|
4
|
-
from rxfoundry.clients.swifty_api.api.async_api import AsyncApi
|
|
5
|
-
from rxfoundry.clients.swifty_api.api.code_api import CodeApi
|
|
6
|
-
from rxfoundry.clients.swifty_api.api.fax_api import FaxApi
|
|
7
|
-
from rxfoundry.clients.swifty_api.api.medication_api import MedicationApi
|
|
8
|
-
from rxfoundry.clients.swifty_api.api.patient_api import PatientApi
|
|
9
|
-
from rxfoundry.clients.swifty_api.api.pharmacist_api import PharmacistApi
|
|
10
|
-
from rxfoundry.clients.swifty_api.api.pharmacy_api import PharmacyApi
|
|
11
|
-
from rxfoundry.clients.swifty_api.api.prescriber_api import PrescriberApi
|
|
12
|
-
from rxfoundry.clients.swifty_api.api.prescription_api import PrescriptionApi
|
|
13
|
-
from rxfoundry.clients.swifty_api.api.token_api import TokenApi
|
|
14
|
-
from rxfoundry.clients.swifty_api.api.user_api import UserApi
|
|
15
|
-
from rxfoundry.clients.swifty_api.api.version_api import VersionApi
|
|
16
|
-
from rxfoundry.clients.swifty_api.api.virtual_pharmacy_api import VirtualPharmacyApi
|
|
17
|
-
|