pluggy-sdk 1.0.0.post12__py3-none-any.whl → 1.0.0.post14__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.
@@ -0,0 +1,570 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Pluggy API
5
+
6
+ Pluggy's main API to review data and execute connectors
7
+
8
+ The version of the OpenAPI document: 1.0.0
9
+ Contact: hello@pluggy.ai
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, StrictStr
21
+ from typing_extensions import Annotated
22
+ from pluggy_sdk.models.consent import Consent
23
+ from pluggy_sdk.models.page_response_consents import PageResponseConsents
24
+
25
+ from pluggy_sdk.api_client import ApiClient, RequestSerialized
26
+ from pluggy_sdk.api_response import ApiResponse
27
+ from pluggy_sdk.rest import RESTResponseType
28
+
29
+
30
+ class ConsentApi:
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 consent_retrieve(
45
+ self,
46
+ id: Annotated[StrictStr, Field(description="Consent primary identifier")],
47
+ _request_timeout: Union[
48
+ None,
49
+ Annotated[StrictFloat, Field(gt=0)],
50
+ Tuple[
51
+ Annotated[StrictFloat, Field(gt=0)],
52
+ Annotated[StrictFloat, Field(gt=0)]
53
+ ]
54
+ ] = None,
55
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
56
+ _content_type: Optional[StrictStr] = None,
57
+ _headers: Optional[Dict[StrictStr, Any]] = None,
58
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
59
+ ) -> Consent:
60
+ """Retrieve
61
+
62
+ Recovers the consent resource by it's id
63
+
64
+ :param id: Consent primary identifier (required)
65
+ :type id: str
66
+ :param _request_timeout: timeout setting for this request. If one
67
+ number provided, it will be total request
68
+ timeout. It can also be a pair (tuple) of
69
+ (connection, read) timeouts.
70
+ :type _request_timeout: int, tuple(int, int), optional
71
+ :param _request_auth: set to override the auth_settings for an a single
72
+ request; this effectively ignores the
73
+ authentication in the spec for a single request.
74
+ :type _request_auth: dict, optional
75
+ :param _content_type: force content-type for the request.
76
+ :type _content_type: str, Optional
77
+ :param _headers: set to override the headers for a single
78
+ request; this effectively ignores the headers
79
+ in the spec for a single request.
80
+ :type _headers: dict, optional
81
+ :param _host_index: set to override the host_index for a single
82
+ request; this effectively ignores the host_index
83
+ in the spec for a single request.
84
+ :type _host_index: int, optional
85
+ :return: Returns the result object.
86
+ """ # noqa: E501
87
+
88
+ _param = self._consent_retrieve_serialize(
89
+ id=id,
90
+ _request_auth=_request_auth,
91
+ _content_type=_content_type,
92
+ _headers=_headers,
93
+ _host_index=_host_index
94
+ )
95
+
96
+ _response_types_map: Dict[str, Optional[str]] = {
97
+ '200': "Consent",
98
+ '404': "GlobalErrorResponse",
99
+ '500': "GlobalErrorResponse",
100
+ }
101
+ response_data = self.api_client.call_api(
102
+ *_param,
103
+ _request_timeout=_request_timeout
104
+ )
105
+ response_data.read()
106
+ return self.api_client.response_deserialize(
107
+ response_data=response_data,
108
+ response_types_map=_response_types_map,
109
+ ).data
110
+
111
+
112
+ @validate_call
113
+ def consent_retrieve_with_http_info(
114
+ self,
115
+ id: Annotated[StrictStr, Field(description="Consent primary identifier")],
116
+ _request_timeout: Union[
117
+ None,
118
+ Annotated[StrictFloat, Field(gt=0)],
119
+ Tuple[
120
+ Annotated[StrictFloat, Field(gt=0)],
121
+ Annotated[StrictFloat, Field(gt=0)]
122
+ ]
123
+ ] = None,
124
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
125
+ _content_type: Optional[StrictStr] = None,
126
+ _headers: Optional[Dict[StrictStr, Any]] = None,
127
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
128
+ ) -> ApiResponse[Consent]:
129
+ """Retrieve
130
+
131
+ Recovers the consent resource by it's id
132
+
133
+ :param id: Consent primary identifier (required)
134
+ :type id: str
135
+ :param _request_timeout: timeout setting for this request. If one
136
+ number provided, it will be total request
137
+ timeout. It can also be a pair (tuple) of
138
+ (connection, read) timeouts.
139
+ :type _request_timeout: int, tuple(int, int), optional
140
+ :param _request_auth: set to override the auth_settings for an a single
141
+ request; this effectively ignores the
142
+ authentication in the spec for a single request.
143
+ :type _request_auth: dict, optional
144
+ :param _content_type: force content-type for the request.
145
+ :type _content_type: str, Optional
146
+ :param _headers: set to override the headers for a single
147
+ request; this effectively ignores the headers
148
+ in the spec for a single request.
149
+ :type _headers: dict, optional
150
+ :param _host_index: set to override the host_index for a single
151
+ request; this effectively ignores the host_index
152
+ in the spec for a single request.
153
+ :type _host_index: int, optional
154
+ :return: Returns the result object.
155
+ """ # noqa: E501
156
+
157
+ _param = self._consent_retrieve_serialize(
158
+ id=id,
159
+ _request_auth=_request_auth,
160
+ _content_type=_content_type,
161
+ _headers=_headers,
162
+ _host_index=_host_index
163
+ )
164
+
165
+ _response_types_map: Dict[str, Optional[str]] = {
166
+ '200': "Consent",
167
+ '404': "GlobalErrorResponse",
168
+ '500': "GlobalErrorResponse",
169
+ }
170
+ response_data = self.api_client.call_api(
171
+ *_param,
172
+ _request_timeout=_request_timeout
173
+ )
174
+ response_data.read()
175
+ return self.api_client.response_deserialize(
176
+ response_data=response_data,
177
+ response_types_map=_response_types_map,
178
+ )
179
+
180
+
181
+ @validate_call
182
+ def consent_retrieve_without_preload_content(
183
+ self,
184
+ id: Annotated[StrictStr, Field(description="Consent primary identifier")],
185
+ _request_timeout: Union[
186
+ None,
187
+ Annotated[StrictFloat, Field(gt=0)],
188
+ Tuple[
189
+ Annotated[StrictFloat, Field(gt=0)],
190
+ Annotated[StrictFloat, Field(gt=0)]
191
+ ]
192
+ ] = None,
193
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
194
+ _content_type: Optional[StrictStr] = None,
195
+ _headers: Optional[Dict[StrictStr, Any]] = None,
196
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
197
+ ) -> RESTResponseType:
198
+ """Retrieve
199
+
200
+ Recovers the consent resource by it's id
201
+
202
+ :param id: Consent primary identifier (required)
203
+ :type id: str
204
+ :param _request_timeout: timeout setting for this request. If one
205
+ number provided, it will be total request
206
+ timeout. It can also be a pair (tuple) of
207
+ (connection, read) timeouts.
208
+ :type _request_timeout: int, tuple(int, int), optional
209
+ :param _request_auth: set to override the auth_settings for an a single
210
+ request; this effectively ignores the
211
+ authentication in the spec for a single request.
212
+ :type _request_auth: dict, optional
213
+ :param _content_type: force content-type for the request.
214
+ :type _content_type: str, Optional
215
+ :param _headers: set to override the headers for a single
216
+ request; this effectively ignores the headers
217
+ in the spec for a single request.
218
+ :type _headers: dict, optional
219
+ :param _host_index: set to override the host_index for a single
220
+ request; this effectively ignores the host_index
221
+ in the spec for a single request.
222
+ :type _host_index: int, optional
223
+ :return: Returns the result object.
224
+ """ # noqa: E501
225
+
226
+ _param = self._consent_retrieve_serialize(
227
+ id=id,
228
+ _request_auth=_request_auth,
229
+ _content_type=_content_type,
230
+ _headers=_headers,
231
+ _host_index=_host_index
232
+ )
233
+
234
+ _response_types_map: Dict[str, Optional[str]] = {
235
+ '200': "Consent",
236
+ '404': "GlobalErrorResponse",
237
+ '500': "GlobalErrorResponse",
238
+ }
239
+ response_data = self.api_client.call_api(
240
+ *_param,
241
+ _request_timeout=_request_timeout
242
+ )
243
+ return response_data.response
244
+
245
+
246
+ def _consent_retrieve_serialize(
247
+ self,
248
+ id,
249
+ _request_auth,
250
+ _content_type,
251
+ _headers,
252
+ _host_index,
253
+ ) -> RequestSerialized:
254
+
255
+ _host = None
256
+
257
+ _collection_formats: Dict[str, str] = {
258
+ }
259
+
260
+ _path_params: Dict[str, str] = {}
261
+ _query_params: List[Tuple[str, str]] = []
262
+ _header_params: Dict[str, Optional[str]] = _headers or {}
263
+ _form_params: List[Tuple[str, str]] = []
264
+ _files: Dict[str, Union[str, bytes]] = {}
265
+ _body_params: Optional[bytes] = None
266
+
267
+ # process the path parameters
268
+ if id is not None:
269
+ _path_params['id'] = id
270
+ # process the query parameters
271
+ # process the header parameters
272
+ # process the form parameters
273
+ # process the body parameter
274
+
275
+
276
+ # set the HTTP header `Accept`
277
+ _header_params['Accept'] = self.api_client.select_header_accept(
278
+ [
279
+ 'application/json'
280
+ ]
281
+ )
282
+
283
+
284
+ # authentication setting
285
+ _auth_settings: List[str] = [
286
+ 'default'
287
+ ]
288
+
289
+ return self.api_client.param_serialize(
290
+ method='GET',
291
+ resource_path='/consents/{id}',
292
+ path_params=_path_params,
293
+ query_params=_query_params,
294
+ header_params=_header_params,
295
+ body=_body_params,
296
+ post_params=_form_params,
297
+ files=_files,
298
+ auth_settings=_auth_settings,
299
+ collection_formats=_collection_formats,
300
+ _host=_host,
301
+ _request_auth=_request_auth
302
+ )
303
+
304
+
305
+
306
+
307
+ @validate_call
308
+ def consents_list(
309
+ self,
310
+ item_id: Annotated[StrictStr, Field(description="Item primary identifier")],
311
+ _request_timeout: Union[
312
+ None,
313
+ Annotated[StrictFloat, Field(gt=0)],
314
+ Tuple[
315
+ Annotated[StrictFloat, Field(gt=0)],
316
+ Annotated[StrictFloat, Field(gt=0)]
317
+ ]
318
+ ] = None,
319
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
320
+ _content_type: Optional[StrictStr] = None,
321
+ _headers: Optional[Dict[StrictStr, Any]] = None,
322
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
323
+ ) -> PageResponseConsents:
324
+ """List
325
+
326
+ Recovers all consents given to the item provided
327
+
328
+ :param item_id: Item primary identifier (required)
329
+ :type item_id: str
330
+ :param _request_timeout: timeout setting for this request. If one
331
+ number provided, it will be total request
332
+ timeout. It can also be a pair (tuple) of
333
+ (connection, read) timeouts.
334
+ :type _request_timeout: int, tuple(int, int), optional
335
+ :param _request_auth: set to override the auth_settings for an a single
336
+ request; this effectively ignores the
337
+ authentication in the spec for a single request.
338
+ :type _request_auth: dict, optional
339
+ :param _content_type: force content-type for the request.
340
+ :type _content_type: str, Optional
341
+ :param _headers: set to override the headers for a single
342
+ request; this effectively ignores the headers
343
+ in the spec for a single request.
344
+ :type _headers: dict, optional
345
+ :param _host_index: set to override the host_index for a single
346
+ request; this effectively ignores the host_index
347
+ in the spec for a single request.
348
+ :type _host_index: int, optional
349
+ :return: Returns the result object.
350
+ """ # noqa: E501
351
+
352
+ _param = self._consents_list_serialize(
353
+ item_id=item_id,
354
+ _request_auth=_request_auth,
355
+ _content_type=_content_type,
356
+ _headers=_headers,
357
+ _host_index=_host_index
358
+ )
359
+
360
+ _response_types_map: Dict[str, Optional[str]] = {
361
+ '200': "PageResponseConsents",
362
+ '400': "GlobalErrorResponse",
363
+ '500': "GlobalErrorResponse",
364
+ }
365
+ response_data = self.api_client.call_api(
366
+ *_param,
367
+ _request_timeout=_request_timeout
368
+ )
369
+ response_data.read()
370
+ return self.api_client.response_deserialize(
371
+ response_data=response_data,
372
+ response_types_map=_response_types_map,
373
+ ).data
374
+
375
+
376
+ @validate_call
377
+ def consents_list_with_http_info(
378
+ self,
379
+ item_id: Annotated[StrictStr, Field(description="Item primary identifier")],
380
+ _request_timeout: Union[
381
+ None,
382
+ Annotated[StrictFloat, Field(gt=0)],
383
+ Tuple[
384
+ Annotated[StrictFloat, Field(gt=0)],
385
+ Annotated[StrictFloat, Field(gt=0)]
386
+ ]
387
+ ] = None,
388
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
389
+ _content_type: Optional[StrictStr] = None,
390
+ _headers: Optional[Dict[StrictStr, Any]] = None,
391
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
392
+ ) -> ApiResponse[PageResponseConsents]:
393
+ """List
394
+
395
+ Recovers all consents given to the item provided
396
+
397
+ :param item_id: Item primary identifier (required)
398
+ :type item_id: str
399
+ :param _request_timeout: timeout setting for this request. If one
400
+ number provided, it will be total request
401
+ timeout. It can also be a pair (tuple) of
402
+ (connection, read) timeouts.
403
+ :type _request_timeout: int, tuple(int, int), optional
404
+ :param _request_auth: set to override the auth_settings for an a single
405
+ request; this effectively ignores the
406
+ authentication in the spec for a single request.
407
+ :type _request_auth: dict, optional
408
+ :param _content_type: force content-type for the request.
409
+ :type _content_type: str, Optional
410
+ :param _headers: set to override the headers for a single
411
+ request; this effectively ignores the headers
412
+ in the spec for a single request.
413
+ :type _headers: dict, optional
414
+ :param _host_index: set to override the host_index for a single
415
+ request; this effectively ignores the host_index
416
+ in the spec for a single request.
417
+ :type _host_index: int, optional
418
+ :return: Returns the result object.
419
+ """ # noqa: E501
420
+
421
+ _param = self._consents_list_serialize(
422
+ item_id=item_id,
423
+ _request_auth=_request_auth,
424
+ _content_type=_content_type,
425
+ _headers=_headers,
426
+ _host_index=_host_index
427
+ )
428
+
429
+ _response_types_map: Dict[str, Optional[str]] = {
430
+ '200': "PageResponseConsents",
431
+ '400': "GlobalErrorResponse",
432
+ '500': "GlobalErrorResponse",
433
+ }
434
+ response_data = self.api_client.call_api(
435
+ *_param,
436
+ _request_timeout=_request_timeout
437
+ )
438
+ response_data.read()
439
+ return self.api_client.response_deserialize(
440
+ response_data=response_data,
441
+ response_types_map=_response_types_map,
442
+ )
443
+
444
+
445
+ @validate_call
446
+ def consents_list_without_preload_content(
447
+ self,
448
+ item_id: Annotated[StrictStr, Field(description="Item primary identifier")],
449
+ _request_timeout: Union[
450
+ None,
451
+ Annotated[StrictFloat, Field(gt=0)],
452
+ Tuple[
453
+ Annotated[StrictFloat, Field(gt=0)],
454
+ Annotated[StrictFloat, Field(gt=0)]
455
+ ]
456
+ ] = None,
457
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
458
+ _content_type: Optional[StrictStr] = None,
459
+ _headers: Optional[Dict[StrictStr, Any]] = None,
460
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
461
+ ) -> RESTResponseType:
462
+ """List
463
+
464
+ Recovers all consents given to the item provided
465
+
466
+ :param item_id: Item primary identifier (required)
467
+ :type item_id: str
468
+ :param _request_timeout: timeout setting for this request. If one
469
+ number provided, it will be total request
470
+ timeout. It can also be a pair (tuple) of
471
+ (connection, read) timeouts.
472
+ :type _request_timeout: int, tuple(int, int), optional
473
+ :param _request_auth: set to override the auth_settings for an a single
474
+ request; this effectively ignores the
475
+ authentication in the spec for a single request.
476
+ :type _request_auth: dict, optional
477
+ :param _content_type: force content-type for the request.
478
+ :type _content_type: str, Optional
479
+ :param _headers: set to override the headers for a single
480
+ request; this effectively ignores the headers
481
+ in the spec for a single request.
482
+ :type _headers: dict, optional
483
+ :param _host_index: set to override the host_index for a single
484
+ request; this effectively ignores the host_index
485
+ in the spec for a single request.
486
+ :type _host_index: int, optional
487
+ :return: Returns the result object.
488
+ """ # noqa: E501
489
+
490
+ _param = self._consents_list_serialize(
491
+ item_id=item_id,
492
+ _request_auth=_request_auth,
493
+ _content_type=_content_type,
494
+ _headers=_headers,
495
+ _host_index=_host_index
496
+ )
497
+
498
+ _response_types_map: Dict[str, Optional[str]] = {
499
+ '200': "PageResponseConsents",
500
+ '400': "GlobalErrorResponse",
501
+ '500': "GlobalErrorResponse",
502
+ }
503
+ response_data = self.api_client.call_api(
504
+ *_param,
505
+ _request_timeout=_request_timeout
506
+ )
507
+ return response_data.response
508
+
509
+
510
+ def _consents_list_serialize(
511
+ self,
512
+ item_id,
513
+ _request_auth,
514
+ _content_type,
515
+ _headers,
516
+ _host_index,
517
+ ) -> RequestSerialized:
518
+
519
+ _host = None
520
+
521
+ _collection_formats: Dict[str, str] = {
522
+ }
523
+
524
+ _path_params: Dict[str, str] = {}
525
+ _query_params: List[Tuple[str, str]] = []
526
+ _header_params: Dict[str, Optional[str]] = _headers or {}
527
+ _form_params: List[Tuple[str, str]] = []
528
+ _files: Dict[str, Union[str, bytes]] = {}
529
+ _body_params: Optional[bytes] = None
530
+
531
+ # process the path parameters
532
+ # process the query parameters
533
+ if item_id is not None:
534
+
535
+ _query_params.append(('itemId', item_id))
536
+
537
+ # process the header parameters
538
+ # process the form parameters
539
+ # process the body parameter
540
+
541
+
542
+ # set the HTTP header `Accept`
543
+ _header_params['Accept'] = self.api_client.select_header_accept(
544
+ [
545
+ 'application/json'
546
+ ]
547
+ )
548
+
549
+
550
+ # authentication setting
551
+ _auth_settings: List[str] = [
552
+ 'default'
553
+ ]
554
+
555
+ return self.api_client.param_serialize(
556
+ method='GET',
557
+ resource_path='/consents',
558
+ path_params=_path_params,
559
+ query_params=_query_params,
560
+ header_params=_header_params,
561
+ body=_body_params,
562
+ post_params=_form_params,
563
+ files=_files,
564
+ auth_settings=_auth_settings,
565
+ collection_formats=_collection_formats,
566
+ _host=_host,
567
+ _request_auth=_request_auth
568
+ )
569
+
570
+
@@ -1138,7 +1138,7 @@ class PaymentRequestApi:
1138
1138
  _headers: Optional[Dict[StrictStr, Any]] = None,
1139
1139
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1140
1140
  ) -> PaymentReceipt:
1141
- """Create
1141
+ """Create Payment Receipt
1142
1142
 
1143
1143
  Creates the payment receipt resource
1144
1144
 
@@ -1205,7 +1205,7 @@ class PaymentRequestApi:
1205
1205
  _headers: Optional[Dict[StrictStr, Any]] = None,
1206
1206
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1207
1207
  ) -> ApiResponse[PaymentReceipt]:
1208
- """Create
1208
+ """Create Payment Receipt
1209
1209
 
1210
1210
  Creates the payment receipt resource
1211
1211
 
@@ -1272,7 +1272,7 @@ class PaymentRequestApi:
1272
1272
  _headers: Optional[Dict[StrictStr, Any]] = None,
1273
1273
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1274
1274
  ) -> RESTResponseType:
1275
- """Create
1275
+ """Create Payment Receipt
1276
1276
 
1277
1277
  Creates the payment receipt resource
1278
1278
 
@@ -1408,7 +1408,7 @@ class PaymentRequestApi:
1408
1408
  _headers: Optional[Dict[StrictStr, Any]] = None,
1409
1409
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1410
1410
  ) -> PaymentRequestReceiptList200Response:
1411
- """List
1411
+ """List Payment Receipts
1412
1412
 
1413
1413
  Recovers all created payment receipts for the payment request provided
1414
1414
 
@@ -1475,7 +1475,7 @@ class PaymentRequestApi:
1475
1475
  _headers: Optional[Dict[StrictStr, Any]] = None,
1476
1476
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1477
1477
  ) -> ApiResponse[PaymentRequestReceiptList200Response]:
1478
- """List
1478
+ """List Payment Receipts
1479
1479
 
1480
1480
  Recovers all created payment receipts for the payment request provided
1481
1481
 
@@ -1542,7 +1542,7 @@ class PaymentRequestApi:
1542
1542
  _headers: Optional[Dict[StrictStr, Any]] = None,
1543
1543
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1544
1544
  ) -> RESTResponseType:
1545
- """List
1545
+ """List Payment Receipts
1546
1546
 
1547
1547
  Recovers all created payment receipts for the payment request provided
1548
1548
 
@@ -1666,7 +1666,7 @@ class PaymentRequestApi:
1666
1666
  _headers: Optional[Dict[StrictStr, Any]] = None,
1667
1667
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1668
1668
  ) -> PaymentReceipt:
1669
- """Retrieve
1669
+ """Retrieve Payment Receipt
1670
1670
 
1671
1671
  Recovers the payment receipt resource by its id
1672
1672
 
@@ -1737,7 +1737,7 @@ class PaymentRequestApi:
1737
1737
  _headers: Optional[Dict[StrictStr, Any]] = None,
1738
1738
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1739
1739
  ) -> ApiResponse[PaymentReceipt]:
1740
- """Retrieve
1740
+ """Retrieve Payment Receipt
1741
1741
 
1742
1742
  Recovers the payment receipt resource by its id
1743
1743
 
@@ -1808,7 +1808,7 @@ class PaymentRequestApi:
1808
1808
  _headers: Optional[Dict[StrictStr, Any]] = None,
1809
1809
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1810
1810
  ) -> RESTResponseType:
1811
- """Retrieve
1811
+ """Retrieve Payment Receipt
1812
1812
 
1813
1813
  Recovers the payment receipt resource by its id
1814
1814
 
pluggy_sdk/api_client.py CHANGED
@@ -89,7 +89,7 @@ class ApiClient:
89
89
  self.default_headers[header_name] = header_value
90
90
  self.cookie = cookie
91
91
  # Set default User-Agent.
92
- self.user_agent = 'OpenAPI-Generator/1.0.0.post12/python'
92
+ self.user_agent = 'OpenAPI-Generator/1.0.0.post14/python'
93
93
  self.client_side_validation = configuration.client_side_validation
94
94
 
95
95
  def __enter__(self):
@@ -400,7 +400,7 @@ conf = pluggy_sdk.Configuration(
400
400
  "OS: {env}\n"\
401
401
  "Python Version: {pyversion}\n"\
402
402
  "Version of the API: 1.0.0\n"\
403
- "SDK Package Version: 1.0.0.post12".\
403
+ "SDK Package Version: 1.0.0.post14".\
404
404
  format(env=sys.platform, pyversion=sys.version)
405
405
 
406
406
  def get_host_settings(self):