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,337 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
SwiftyRX API
|
|
5
|
-
|
|
6
|
-
API for the SwiftyRX 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
|
-
import warnings
|
|
16
|
-
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
-
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
-
from typing_extensions import Annotated
|
|
19
|
-
|
|
20
|
-
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
-
from typing import List, Optional
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
|
-
from rxfoundry.clients.swifty_api.models.code import Code
|
|
24
|
-
|
|
25
|
-
from rxfoundry.clients.swifty_api.api_client import ApiClient, RequestSerialized
|
|
26
|
-
from rxfoundry.clients.swifty_api.api_response import ApiResponse
|
|
27
|
-
from rxfoundry.clients.swifty_api.rest import RESTResponseType
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class CodeApi:
|
|
31
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
32
|
-
Ref: https://openapi-generator.tech
|
|
33
|
-
|
|
34
|
-
Do not edit the class manually.
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
def __init__(self, api_client=None) -> None:
|
|
38
|
-
if api_client is None:
|
|
39
|
-
api_client = ApiClient.get_default()
|
|
40
|
-
self.api_client = api_client
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@validate_call
|
|
44
|
-
def get_codes(
|
|
45
|
-
self,
|
|
46
|
-
type_name: Annotated[StrictStr, Field(description="Filter codes by type name")],
|
|
47
|
-
page: Optional[StrictInt] = None,
|
|
48
|
-
results_per_page: Optional[StrictInt] = None,
|
|
49
|
-
_request_timeout: Union[
|
|
50
|
-
None,
|
|
51
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
-
Tuple[
|
|
53
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
55
|
-
]
|
|
56
|
-
] = None,
|
|
57
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
-
_content_type: Optional[StrictStr] = None,
|
|
59
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
-
) -> List[Code]:
|
|
62
|
-
"""Get all codes for a typename
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
:param type_name: Filter codes by type name (required)
|
|
66
|
-
:type type_name: str
|
|
67
|
-
:param page:
|
|
68
|
-
:type page: int
|
|
69
|
-
:param results_per_page:
|
|
70
|
-
:type results_per_page: int
|
|
71
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
72
|
-
number provided, it will be total request
|
|
73
|
-
timeout. It can also be a pair (tuple) of
|
|
74
|
-
(connection, read) timeouts.
|
|
75
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
76
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
77
|
-
request; this effectively ignores the
|
|
78
|
-
authentication in the spec for a single request.
|
|
79
|
-
:type _request_auth: dict, optional
|
|
80
|
-
:param _content_type: force content-type for the request.
|
|
81
|
-
:type _content_type: str, Optional
|
|
82
|
-
:param _headers: set to override the headers for a single
|
|
83
|
-
request; this effectively ignores the headers
|
|
84
|
-
in the spec for a single request.
|
|
85
|
-
:type _headers: dict, optional
|
|
86
|
-
:param _host_index: set to override the host_index for a single
|
|
87
|
-
request; this effectively ignores the host_index
|
|
88
|
-
in the spec for a single request.
|
|
89
|
-
:type _host_index: int, optional
|
|
90
|
-
:return: Returns the result object.
|
|
91
|
-
""" # noqa: E501
|
|
92
|
-
|
|
93
|
-
_param = self._get_codes_serialize(
|
|
94
|
-
type_name=type_name,
|
|
95
|
-
page=page,
|
|
96
|
-
results_per_page=results_per_page,
|
|
97
|
-
_request_auth=_request_auth,
|
|
98
|
-
_content_type=_content_type,
|
|
99
|
-
_headers=_headers,
|
|
100
|
-
_host_index=_host_index
|
|
101
|
-
)
|
|
102
|
-
|
|
103
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
104
|
-
'200': "List[Code]",
|
|
105
|
-
'404': None,
|
|
106
|
-
}
|
|
107
|
-
response_data = self.api_client.call_api(
|
|
108
|
-
*_param,
|
|
109
|
-
_request_timeout=_request_timeout
|
|
110
|
-
)
|
|
111
|
-
response_data.read()
|
|
112
|
-
return self.api_client.response_deserialize(
|
|
113
|
-
response_data=response_data,
|
|
114
|
-
response_types_map=_response_types_map,
|
|
115
|
-
).data
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
@validate_call
|
|
119
|
-
def get_codes_with_http_info(
|
|
120
|
-
self,
|
|
121
|
-
type_name: Annotated[StrictStr, Field(description="Filter codes by type name")],
|
|
122
|
-
page: Optional[StrictInt] = None,
|
|
123
|
-
results_per_page: Optional[StrictInt] = None,
|
|
124
|
-
_request_timeout: Union[
|
|
125
|
-
None,
|
|
126
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
-
Tuple[
|
|
128
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
130
|
-
]
|
|
131
|
-
] = None,
|
|
132
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
-
_content_type: Optional[StrictStr] = None,
|
|
134
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
|
-
) -> ApiResponse[List[Code]]:
|
|
137
|
-
"""Get all codes for a typename
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
:param type_name: Filter codes by type name (required)
|
|
141
|
-
:type type_name: str
|
|
142
|
-
:param page:
|
|
143
|
-
:type page: int
|
|
144
|
-
:param results_per_page:
|
|
145
|
-
:type results_per_page: int
|
|
146
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
147
|
-
number provided, it will be total request
|
|
148
|
-
timeout. It can also be a pair (tuple) of
|
|
149
|
-
(connection, read) timeouts.
|
|
150
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
151
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
152
|
-
request; this effectively ignores the
|
|
153
|
-
authentication in the spec for a single request.
|
|
154
|
-
:type _request_auth: dict, optional
|
|
155
|
-
:param _content_type: force content-type for the request.
|
|
156
|
-
:type _content_type: str, Optional
|
|
157
|
-
:param _headers: set to override the headers for a single
|
|
158
|
-
request; this effectively ignores the headers
|
|
159
|
-
in the spec for a single request.
|
|
160
|
-
:type _headers: dict, optional
|
|
161
|
-
:param _host_index: set to override the host_index for a single
|
|
162
|
-
request; this effectively ignores the host_index
|
|
163
|
-
in the spec for a single request.
|
|
164
|
-
:type _host_index: int, optional
|
|
165
|
-
:return: Returns the result object.
|
|
166
|
-
""" # noqa: E501
|
|
167
|
-
|
|
168
|
-
_param = self._get_codes_serialize(
|
|
169
|
-
type_name=type_name,
|
|
170
|
-
page=page,
|
|
171
|
-
results_per_page=results_per_page,
|
|
172
|
-
_request_auth=_request_auth,
|
|
173
|
-
_content_type=_content_type,
|
|
174
|
-
_headers=_headers,
|
|
175
|
-
_host_index=_host_index
|
|
176
|
-
)
|
|
177
|
-
|
|
178
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
179
|
-
'200': "List[Code]",
|
|
180
|
-
'404': None,
|
|
181
|
-
}
|
|
182
|
-
response_data = self.api_client.call_api(
|
|
183
|
-
*_param,
|
|
184
|
-
_request_timeout=_request_timeout
|
|
185
|
-
)
|
|
186
|
-
response_data.read()
|
|
187
|
-
return self.api_client.response_deserialize(
|
|
188
|
-
response_data=response_data,
|
|
189
|
-
response_types_map=_response_types_map,
|
|
190
|
-
)
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
@validate_call
|
|
194
|
-
def get_codes_without_preload_content(
|
|
195
|
-
self,
|
|
196
|
-
type_name: Annotated[StrictStr, Field(description="Filter codes by type name")],
|
|
197
|
-
page: Optional[StrictInt] = None,
|
|
198
|
-
results_per_page: Optional[StrictInt] = None,
|
|
199
|
-
_request_timeout: Union[
|
|
200
|
-
None,
|
|
201
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
202
|
-
Tuple[
|
|
203
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
204
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
205
|
-
]
|
|
206
|
-
] = None,
|
|
207
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
208
|
-
_content_type: Optional[StrictStr] = None,
|
|
209
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
210
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
211
|
-
) -> RESTResponseType:
|
|
212
|
-
"""Get all codes for a typename
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
:param type_name: Filter codes by type name (required)
|
|
216
|
-
:type type_name: str
|
|
217
|
-
:param page:
|
|
218
|
-
:type page: int
|
|
219
|
-
:param results_per_page:
|
|
220
|
-
:type results_per_page: int
|
|
221
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
222
|
-
number provided, it will be total request
|
|
223
|
-
timeout. It can also be a pair (tuple) of
|
|
224
|
-
(connection, read) timeouts.
|
|
225
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
226
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
227
|
-
request; this effectively ignores the
|
|
228
|
-
authentication in the spec for a single request.
|
|
229
|
-
:type _request_auth: dict, optional
|
|
230
|
-
:param _content_type: force content-type for the request.
|
|
231
|
-
:type _content_type: str, Optional
|
|
232
|
-
:param _headers: set to override the headers for a single
|
|
233
|
-
request; this effectively ignores the headers
|
|
234
|
-
in the spec for a single request.
|
|
235
|
-
:type _headers: dict, optional
|
|
236
|
-
:param _host_index: set to override the host_index for a single
|
|
237
|
-
request; this effectively ignores the host_index
|
|
238
|
-
in the spec for a single request.
|
|
239
|
-
:type _host_index: int, optional
|
|
240
|
-
:return: Returns the result object.
|
|
241
|
-
""" # noqa: E501
|
|
242
|
-
|
|
243
|
-
_param = self._get_codes_serialize(
|
|
244
|
-
type_name=type_name,
|
|
245
|
-
page=page,
|
|
246
|
-
results_per_page=results_per_page,
|
|
247
|
-
_request_auth=_request_auth,
|
|
248
|
-
_content_type=_content_type,
|
|
249
|
-
_headers=_headers,
|
|
250
|
-
_host_index=_host_index
|
|
251
|
-
)
|
|
252
|
-
|
|
253
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
254
|
-
'200': "List[Code]",
|
|
255
|
-
'404': None,
|
|
256
|
-
}
|
|
257
|
-
response_data = self.api_client.call_api(
|
|
258
|
-
*_param,
|
|
259
|
-
_request_timeout=_request_timeout
|
|
260
|
-
)
|
|
261
|
-
return response_data.response
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
def _get_codes_serialize(
|
|
265
|
-
self,
|
|
266
|
-
type_name,
|
|
267
|
-
page,
|
|
268
|
-
results_per_page,
|
|
269
|
-
_request_auth,
|
|
270
|
-
_content_type,
|
|
271
|
-
_headers,
|
|
272
|
-
_host_index,
|
|
273
|
-
) -> RequestSerialized:
|
|
274
|
-
|
|
275
|
-
_host = None
|
|
276
|
-
|
|
277
|
-
_collection_formats: Dict[str, str] = {
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
_path_params: Dict[str, str] = {}
|
|
281
|
-
_query_params: List[Tuple[str, str]] = []
|
|
282
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
283
|
-
_form_params: List[Tuple[str, str]] = []
|
|
284
|
-
_files: Dict[
|
|
285
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
286
|
-
] = {}
|
|
287
|
-
_body_params: Optional[bytes] = None
|
|
288
|
-
|
|
289
|
-
# process the path parameters
|
|
290
|
-
# process the query parameters
|
|
291
|
-
if type_name is not None:
|
|
292
|
-
|
|
293
|
-
_query_params.append(('type_name', type_name))
|
|
294
|
-
|
|
295
|
-
if page is not None:
|
|
296
|
-
|
|
297
|
-
_query_params.append(('page', page))
|
|
298
|
-
|
|
299
|
-
if results_per_page is not None:
|
|
300
|
-
|
|
301
|
-
_query_params.append(('results_per_page', results_per_page))
|
|
302
|
-
|
|
303
|
-
# process the header parameters
|
|
304
|
-
# process the form parameters
|
|
305
|
-
# process the body parameter
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
# set the HTTP header `Accept`
|
|
309
|
-
if 'Accept' not in _header_params:
|
|
310
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
311
|
-
[
|
|
312
|
-
'application/json'
|
|
313
|
-
]
|
|
314
|
-
)
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
# authentication setting
|
|
318
|
-
_auth_settings: List[str] = [
|
|
319
|
-
'opaque_token'
|
|
320
|
-
]
|
|
321
|
-
|
|
322
|
-
return self.api_client.param_serialize(
|
|
323
|
-
method='GET',
|
|
324
|
-
resource_path='/swifty/1/codes',
|
|
325
|
-
path_params=_path_params,
|
|
326
|
-
query_params=_query_params,
|
|
327
|
-
header_params=_header_params,
|
|
328
|
-
body=_body_params,
|
|
329
|
-
post_params=_form_params,
|
|
330
|
-
files=_files,
|
|
331
|
-
auth_settings=_auth_settings,
|
|
332
|
-
collection_formats=_collection_formats,
|
|
333
|
-
_host=_host,
|
|
334
|
-
_request_auth=_request_auth
|
|
335
|
-
)
|
|
336
|
-
|
|
337
|
-
|