crypticorn 2.1.2__py3-none-any.whl → 2.1.4__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 (32) hide show
  1. crypticorn/common/auth.py +0 -28
  2. crypticorn/common/auth_client.py +14 -18
  3. crypticorn/common/errors.py +216 -253
  4. crypticorn/common/sorter.py +36 -0
  5. crypticorn/pay/client/__init__.py +1 -0
  6. crypticorn/pay/client/api/now_payments_api.py +3 -16
  7. crypticorn/pay/client/api/payments_api.py +0 -42
  8. crypticorn/pay/client/api/products_api.py +18 -57
  9. crypticorn/pay/client/configuration.py +2 -1
  10. crypticorn/pay/client/models/__init__.py +1 -0
  11. crypticorn/pay/client/models/body_create_now_invoice.py +98 -0
  12. crypticorn/pay/client/models/body_create_product.py +98 -0
  13. crypticorn/pay/client/models/body_get_products.py +87 -0
  14. crypticorn/pay/client/models/body_handle_now_webhook.py +98 -0
  15. crypticorn/pay/client/models/body_update_product.py +98 -0
  16. crypticorn/pay/client/models/now_webhook_payload.py +1 -1
  17. crypticorn/pay/client/models/product_model.py +9 -0
  18. crypticorn/pay/client/models/scope.py +56 -0
  19. crypticorn/trade/client/api/api_keys_api.py +5 -70
  20. crypticorn/trade/client/api/bots_api.py +4 -56
  21. crypticorn/trade/client/api/exchanges_api.py +2 -19
  22. crypticorn/trade/client/api/futures_trading_panel_api.py +6 -74
  23. crypticorn/trade/client/api/notifications_api.py +6 -87
  24. crypticorn/trade/client/api/orders_api.py +2 -15
  25. crypticorn/trade/client/api/strategies_api.py +4 -56
  26. crypticorn/trade/client/api/trading_actions_api.py +1 -14
  27. crypticorn/trade/client/configuration.py +2 -1
  28. crypticorn/trade/client/models/api_error_identifier.py +4 -0
  29. {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/METADATA +1 -1
  30. {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/RECORD +32 -25
  31. {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/WHEEL +0 -0
  32. {crypticorn-2.1.2.dist-info → crypticorn-2.1.4.dist-info}/top_level.txt +0 -0
@@ -41,7 +41,6 @@ class NotificationsApi:
41
41
  async def create_notification(
42
42
  self,
43
43
  notification_model: NotificationModel,
44
- access_token: Optional[StrictStr] = None,
45
44
  _request_timeout: Union[
46
45
  None,
47
46
  Annotated[StrictFloat, Field(gt=0)],
@@ -60,8 +59,6 @@ class NotificationsApi:
60
59
 
61
60
  :param notification_model: (required)
62
61
  :type notification_model: NotificationModel
63
- :param access_token:
64
- :type access_token: str
65
62
  :param _request_timeout: timeout setting for this request. If one
66
63
  number provided, it will be total request
67
64
  timeout. It can also be a pair (tuple) of
@@ -86,7 +83,6 @@ class NotificationsApi:
86
83
 
87
84
  _param = self._create_notification_serialize(
88
85
  notification_model=notification_model,
89
- access_token=access_token,
90
86
  _request_auth=_request_auth,
91
87
  _content_type=_content_type,
92
88
  _headers=_headers,
@@ -110,7 +106,6 @@ class NotificationsApi:
110
106
  async def create_notification_with_http_info(
111
107
  self,
112
108
  notification_model: NotificationModel,
113
- access_token: Optional[StrictStr] = None,
114
109
  _request_timeout: Union[
115
110
  None,
116
111
  Annotated[StrictFloat, Field(gt=0)],
@@ -129,8 +124,6 @@ class NotificationsApi:
129
124
 
130
125
  :param notification_model: (required)
131
126
  :type notification_model: NotificationModel
132
- :param access_token:
133
- :type access_token: str
134
127
  :param _request_timeout: timeout setting for this request. If one
135
128
  number provided, it will be total request
136
129
  timeout. It can also be a pair (tuple) of
@@ -155,7 +148,6 @@ class NotificationsApi:
155
148
 
156
149
  _param = self._create_notification_serialize(
157
150
  notification_model=notification_model,
158
- access_token=access_token,
159
151
  _request_auth=_request_auth,
160
152
  _content_type=_content_type,
161
153
  _headers=_headers,
@@ -179,7 +171,6 @@ class NotificationsApi:
179
171
  async def create_notification_without_preload_content(
180
172
  self,
181
173
  notification_model: NotificationModel,
182
- access_token: Optional[StrictStr] = None,
183
174
  _request_timeout: Union[
184
175
  None,
185
176
  Annotated[StrictFloat, Field(gt=0)],
@@ -198,8 +189,6 @@ class NotificationsApi:
198
189
 
199
190
  :param notification_model: (required)
200
191
  :type notification_model: NotificationModel
201
- :param access_token:
202
- :type access_token: str
203
192
  :param _request_timeout: timeout setting for this request. If one
204
193
  number provided, it will be total request
205
194
  timeout. It can also be a pair (tuple) of
@@ -224,7 +213,6 @@ class NotificationsApi:
224
213
 
225
214
  _param = self._create_notification_serialize(
226
215
  notification_model=notification_model,
227
- access_token=access_token,
228
216
  _request_auth=_request_auth,
229
217
  _content_type=_content_type,
230
218
  _headers=_headers,
@@ -243,7 +231,6 @@ class NotificationsApi:
243
231
  def _create_notification_serialize(
244
232
  self,
245
233
  notification_model,
246
- access_token,
247
234
  _request_auth,
248
235
  _content_type,
249
236
  _headers,
@@ -288,7 +275,7 @@ class NotificationsApi:
288
275
  _header_params["Content-Type"] = _default_content_type
289
276
 
290
277
  # authentication setting
291
- _auth_settings: List[str] = ["HTTPBearer"]
278
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
292
279
 
293
280
  return self.api_client.param_serialize(
294
281
  method="POST",
@@ -309,7 +296,6 @@ class NotificationsApi:
309
296
  async def delete_notification(
310
297
  self,
311
298
  id: StrictStr,
312
- access_token: Optional[StrictStr] = None,
313
299
  _request_timeout: Union[
314
300
  None,
315
301
  Annotated[StrictFloat, Field(gt=0)],
@@ -327,8 +313,6 @@ class NotificationsApi:
327
313
 
328
314
  :param id: (required)
329
315
  :type id: str
330
- :param access_token:
331
- :type access_token: str
332
316
  :param _request_timeout: timeout setting for this request. If one
333
317
  number provided, it will be total request
334
318
  timeout. It can also be a pair (tuple) of
@@ -353,7 +337,6 @@ class NotificationsApi:
353
337
 
354
338
  _param = self._delete_notification_serialize(
355
339
  id=id,
356
- access_token=access_token,
357
340
  _request_auth=_request_auth,
358
341
  _content_type=_content_type,
359
342
  _headers=_headers,
@@ -377,7 +360,6 @@ class NotificationsApi:
377
360
  async def delete_notification_with_http_info(
378
361
  self,
379
362
  id: StrictStr,
380
- access_token: Optional[StrictStr] = None,
381
363
  _request_timeout: Union[
382
364
  None,
383
365
  Annotated[StrictFloat, Field(gt=0)],
@@ -395,8 +377,6 @@ class NotificationsApi:
395
377
 
396
378
  :param id: (required)
397
379
  :type id: str
398
- :param access_token:
399
- :type access_token: str
400
380
  :param _request_timeout: timeout setting for this request. If one
401
381
  number provided, it will be total request
402
382
  timeout. It can also be a pair (tuple) of
@@ -421,7 +401,6 @@ class NotificationsApi:
421
401
 
422
402
  _param = self._delete_notification_serialize(
423
403
  id=id,
424
- access_token=access_token,
425
404
  _request_auth=_request_auth,
426
405
  _content_type=_content_type,
427
406
  _headers=_headers,
@@ -445,7 +424,6 @@ class NotificationsApi:
445
424
  async def delete_notification_without_preload_content(
446
425
  self,
447
426
  id: StrictStr,
448
- access_token: Optional[StrictStr] = None,
449
427
  _request_timeout: Union[
450
428
  None,
451
429
  Annotated[StrictFloat, Field(gt=0)],
@@ -463,8 +441,6 @@ class NotificationsApi:
463
441
 
464
442
  :param id: (required)
465
443
  :type id: str
466
- :param access_token:
467
- :type access_token: str
468
444
  :param _request_timeout: timeout setting for this request. If one
469
445
  number provided, it will be total request
470
446
  timeout. It can also be a pair (tuple) of
@@ -489,7 +465,6 @@ class NotificationsApi:
489
465
 
490
466
  _param = self._delete_notification_serialize(
491
467
  id=id,
492
- access_token=access_token,
493
468
  _request_auth=_request_auth,
494
469
  _content_type=_content_type,
495
470
  _headers=_headers,
@@ -508,7 +483,6 @@ class NotificationsApi:
508
483
  def _delete_notification_serialize(
509
484
  self,
510
485
  id,
511
- access_token,
512
486
  _request_auth,
513
487
  _content_type,
514
488
  _headers,
@@ -543,7 +517,7 @@ class NotificationsApi:
543
517
  )
544
518
 
545
519
  # authentication setting
546
- _auth_settings: List[str] = ["HTTPBearer"]
520
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
547
521
 
548
522
  return self.api_client.param_serialize(
549
523
  method="DELETE",
@@ -563,7 +537,6 @@ class NotificationsApi:
563
537
  @validate_call
564
538
  async def delete_notifications(
565
539
  self,
566
- access_token: Optional[StrictStr] = None,
567
540
  _request_timeout: Union[
568
541
  None,
569
542
  Annotated[StrictFloat, Field(gt=0)],
@@ -580,8 +553,6 @@ class NotificationsApi:
580
553
 
581
554
  Delete all notifications for the authenticated user
582
555
 
583
- :param access_token:
584
- :type access_token: str
585
556
  :param _request_timeout: timeout setting for this request. If one
586
557
  number provided, it will be total request
587
558
  timeout. It can also be a pair (tuple) of
@@ -605,7 +576,6 @@ class NotificationsApi:
605
576
  """ # noqa: E501
606
577
 
607
578
  _param = self._delete_notifications_serialize(
608
- access_token=access_token,
609
579
  _request_auth=_request_auth,
610
580
  _content_type=_content_type,
611
581
  _headers=_headers,
@@ -614,7 +584,6 @@ class NotificationsApi:
614
584
 
615
585
  _response_types_map: Dict[str, Optional[str]] = {
616
586
  "200": "object",
617
- "422": "HTTPValidationError",
618
587
  }
619
588
  response_data = await self.api_client.call_api(
620
589
  *_param, _request_timeout=_request_timeout
@@ -628,7 +597,6 @@ class NotificationsApi:
628
597
  @validate_call
629
598
  async def delete_notifications_with_http_info(
630
599
  self,
631
- access_token: Optional[StrictStr] = None,
632
600
  _request_timeout: Union[
633
601
  None,
634
602
  Annotated[StrictFloat, Field(gt=0)],
@@ -645,8 +613,6 @@ class NotificationsApi:
645
613
 
646
614
  Delete all notifications for the authenticated user
647
615
 
648
- :param access_token:
649
- :type access_token: str
650
616
  :param _request_timeout: timeout setting for this request. If one
651
617
  number provided, it will be total request
652
618
  timeout. It can also be a pair (tuple) of
@@ -670,7 +636,6 @@ class NotificationsApi:
670
636
  """ # noqa: E501
671
637
 
672
638
  _param = self._delete_notifications_serialize(
673
- access_token=access_token,
674
639
  _request_auth=_request_auth,
675
640
  _content_type=_content_type,
676
641
  _headers=_headers,
@@ -679,7 +644,6 @@ class NotificationsApi:
679
644
 
680
645
  _response_types_map: Dict[str, Optional[str]] = {
681
646
  "200": "object",
682
- "422": "HTTPValidationError",
683
647
  }
684
648
  response_data = await self.api_client.call_api(
685
649
  *_param, _request_timeout=_request_timeout
@@ -693,7 +657,6 @@ class NotificationsApi:
693
657
  @validate_call
694
658
  async def delete_notifications_without_preload_content(
695
659
  self,
696
- access_token: Optional[StrictStr] = None,
697
660
  _request_timeout: Union[
698
661
  None,
699
662
  Annotated[StrictFloat, Field(gt=0)],
@@ -710,8 +673,6 @@ class NotificationsApi:
710
673
 
711
674
  Delete all notifications for the authenticated user
712
675
 
713
- :param access_token:
714
- :type access_token: str
715
676
  :param _request_timeout: timeout setting for this request. If one
716
677
  number provided, it will be total request
717
678
  timeout. It can also be a pair (tuple) of
@@ -735,7 +696,6 @@ class NotificationsApi:
735
696
  """ # noqa: E501
736
697
 
737
698
  _param = self._delete_notifications_serialize(
738
- access_token=access_token,
739
699
  _request_auth=_request_auth,
740
700
  _content_type=_content_type,
741
701
  _headers=_headers,
@@ -744,7 +704,6 @@ class NotificationsApi:
744
704
 
745
705
  _response_types_map: Dict[str, Optional[str]] = {
746
706
  "200": "object",
747
- "422": "HTTPValidationError",
748
707
  }
749
708
  response_data = await self.api_client.call_api(
750
709
  *_param, _request_timeout=_request_timeout
@@ -753,7 +712,6 @@ class NotificationsApi:
753
712
 
754
713
  def _delete_notifications_serialize(
755
714
  self,
756
- access_token,
757
715
  _request_auth,
758
716
  _content_type,
759
717
  _headers,
@@ -786,7 +744,7 @@ class NotificationsApi:
786
744
  )
787
745
 
788
746
  # authentication setting
789
- _auth_settings: List[str] = ["HTTPBearer"]
747
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
790
748
 
791
749
  return self.api_client.param_serialize(
792
750
  method="DELETE",
@@ -808,7 +766,6 @@ class NotificationsApi:
808
766
  self,
809
767
  limit: Optional[StrictInt] = None,
810
768
  offset: Optional[StrictInt] = None,
811
- access_token: Optional[StrictStr] = None,
812
769
  _request_timeout: Union[
813
770
  None,
814
771
  Annotated[StrictFloat, Field(gt=0)],
@@ -829,8 +786,6 @@ class NotificationsApi:
829
786
  :type limit: int
830
787
  :param offset:
831
788
  :type offset: int
832
- :param access_token:
833
- :type access_token: str
834
789
  :param _request_timeout: timeout setting for this request. If one
835
790
  number provided, it will be total request
836
791
  timeout. It can also be a pair (tuple) of
@@ -856,7 +811,6 @@ class NotificationsApi:
856
811
  _param = self._get_notifications_serialize(
857
812
  limit=limit,
858
813
  offset=offset,
859
- access_token=access_token,
860
814
  _request_auth=_request_auth,
861
815
  _content_type=_content_type,
862
816
  _headers=_headers,
@@ -881,7 +835,6 @@ class NotificationsApi:
881
835
  self,
882
836
  limit: Optional[StrictInt] = None,
883
837
  offset: Optional[StrictInt] = None,
884
- access_token: Optional[StrictStr] = None,
885
838
  _request_timeout: Union[
886
839
  None,
887
840
  Annotated[StrictFloat, Field(gt=0)],
@@ -902,8 +855,6 @@ class NotificationsApi:
902
855
  :type limit: int
903
856
  :param offset:
904
857
  :type offset: int
905
- :param access_token:
906
- :type access_token: str
907
858
  :param _request_timeout: timeout setting for this request. If one
908
859
  number provided, it will be total request
909
860
  timeout. It can also be a pair (tuple) of
@@ -929,7 +880,6 @@ class NotificationsApi:
929
880
  _param = self._get_notifications_serialize(
930
881
  limit=limit,
931
882
  offset=offset,
932
- access_token=access_token,
933
883
  _request_auth=_request_auth,
934
884
  _content_type=_content_type,
935
885
  _headers=_headers,
@@ -954,7 +904,6 @@ class NotificationsApi:
954
904
  self,
955
905
  limit: Optional[StrictInt] = None,
956
906
  offset: Optional[StrictInt] = None,
957
- access_token: Optional[StrictStr] = None,
958
907
  _request_timeout: Union[
959
908
  None,
960
909
  Annotated[StrictFloat, Field(gt=0)],
@@ -975,8 +924,6 @@ class NotificationsApi:
975
924
  :type limit: int
976
925
  :param offset:
977
926
  :type offset: int
978
- :param access_token:
979
- :type access_token: str
980
927
  :param _request_timeout: timeout setting for this request. If one
981
928
  number provided, it will be total request
982
929
  timeout. It can also be a pair (tuple) of
@@ -1002,7 +949,6 @@ class NotificationsApi:
1002
949
  _param = self._get_notifications_serialize(
1003
950
  limit=limit,
1004
951
  offset=offset,
1005
- access_token=access_token,
1006
952
  _request_auth=_request_auth,
1007
953
  _content_type=_content_type,
1008
954
  _headers=_headers,
@@ -1022,7 +968,6 @@ class NotificationsApi:
1022
968
  self,
1023
969
  limit,
1024
970
  offset,
1025
- access_token,
1026
971
  _request_auth,
1027
972
  _content_type,
1028
973
  _headers,
@@ -1063,7 +1008,7 @@ class NotificationsApi:
1063
1008
  )
1064
1009
 
1065
1010
  # authentication setting
1066
- _auth_settings: List[str] = ["HTTPBearer"]
1011
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1067
1012
 
1068
1013
  return self.api_client.param_serialize(
1069
1014
  method="GET",
@@ -1086,7 +1031,6 @@ class NotificationsApi:
1086
1031
  id: StrictStr,
1087
1032
  viewed: StrictBool,
1088
1033
  sent: StrictBool,
1089
- access_token: Optional[StrictStr] = None,
1090
1034
  _request_timeout: Union[
1091
1035
  None,
1092
1036
  Annotated[StrictFloat, Field(gt=0)],
@@ -1109,8 +1053,6 @@ class NotificationsApi:
1109
1053
  :type viewed: bool
1110
1054
  :param sent: (required)
1111
1055
  :type sent: bool
1112
- :param access_token:
1113
- :type access_token: str
1114
1056
  :param _request_timeout: timeout setting for this request. If one
1115
1057
  number provided, it will be total request
1116
1058
  timeout. It can also be a pair (tuple) of
@@ -1137,7 +1079,6 @@ class NotificationsApi:
1137
1079
  id=id,
1138
1080
  viewed=viewed,
1139
1081
  sent=sent,
1140
- access_token=access_token,
1141
1082
  _request_auth=_request_auth,
1142
1083
  _content_type=_content_type,
1143
1084
  _headers=_headers,
@@ -1163,7 +1104,6 @@ class NotificationsApi:
1163
1104
  id: StrictStr,
1164
1105
  viewed: StrictBool,
1165
1106
  sent: StrictBool,
1166
- access_token: Optional[StrictStr] = None,
1167
1107
  _request_timeout: Union[
1168
1108
  None,
1169
1109
  Annotated[StrictFloat, Field(gt=0)],
@@ -1186,8 +1126,6 @@ class NotificationsApi:
1186
1126
  :type viewed: bool
1187
1127
  :param sent: (required)
1188
1128
  :type sent: bool
1189
- :param access_token:
1190
- :type access_token: str
1191
1129
  :param _request_timeout: timeout setting for this request. If one
1192
1130
  number provided, it will be total request
1193
1131
  timeout. It can also be a pair (tuple) of
@@ -1214,7 +1152,6 @@ class NotificationsApi:
1214
1152
  id=id,
1215
1153
  viewed=viewed,
1216
1154
  sent=sent,
1217
- access_token=access_token,
1218
1155
  _request_auth=_request_auth,
1219
1156
  _content_type=_content_type,
1220
1157
  _headers=_headers,
@@ -1240,7 +1177,6 @@ class NotificationsApi:
1240
1177
  id: StrictStr,
1241
1178
  viewed: StrictBool,
1242
1179
  sent: StrictBool,
1243
- access_token: Optional[StrictStr] = None,
1244
1180
  _request_timeout: Union[
1245
1181
  None,
1246
1182
  Annotated[StrictFloat, Field(gt=0)],
@@ -1263,8 +1199,6 @@ class NotificationsApi:
1263
1199
  :type viewed: bool
1264
1200
  :param sent: (required)
1265
1201
  :type sent: bool
1266
- :param access_token:
1267
- :type access_token: str
1268
1202
  :param _request_timeout: timeout setting for this request. If one
1269
1203
  number provided, it will be total request
1270
1204
  timeout. It can also be a pair (tuple) of
@@ -1291,7 +1225,6 @@ class NotificationsApi:
1291
1225
  id=id,
1292
1226
  viewed=viewed,
1293
1227
  sent=sent,
1294
- access_token=access_token,
1295
1228
  _request_auth=_request_auth,
1296
1229
  _content_type=_content_type,
1297
1230
  _headers=_headers,
@@ -1312,7 +1245,6 @@ class NotificationsApi:
1312
1245
  id,
1313
1246
  viewed,
1314
1247
  sent,
1315
- access_token,
1316
1248
  _request_auth,
1317
1249
  _content_type,
1318
1250
  _headers,
@@ -1355,7 +1287,7 @@ class NotificationsApi:
1355
1287
  )
1356
1288
 
1357
1289
  # authentication setting
1358
- _auth_settings: List[str] = ["HTTPBearer"]
1290
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1359
1291
 
1360
1292
  return self.api_client.param_serialize(
1361
1293
  method="PUT",
@@ -1377,7 +1309,6 @@ class NotificationsApi:
1377
1309
  self,
1378
1310
  viewed: StrictBool,
1379
1311
  sent: StrictBool,
1380
- access_token: Optional[StrictStr] = None,
1381
1312
  _request_timeout: Union[
1382
1313
  None,
1383
1314
  Annotated[StrictFloat, Field(gt=0)],
@@ -1398,8 +1329,6 @@ class NotificationsApi:
1398
1329
  :type viewed: bool
1399
1330
  :param sent: (required)
1400
1331
  :type sent: bool
1401
- :param access_token:
1402
- :type access_token: str
1403
1332
  :param _request_timeout: timeout setting for this request. If one
1404
1333
  number provided, it will be total request
1405
1334
  timeout. It can also be a pair (tuple) of
@@ -1425,7 +1354,6 @@ class NotificationsApi:
1425
1354
  _param = self._update_notifications_serialize(
1426
1355
  viewed=viewed,
1427
1356
  sent=sent,
1428
- access_token=access_token,
1429
1357
  _request_auth=_request_auth,
1430
1358
  _content_type=_content_type,
1431
1359
  _headers=_headers,
@@ -1450,7 +1378,6 @@ class NotificationsApi:
1450
1378
  self,
1451
1379
  viewed: StrictBool,
1452
1380
  sent: StrictBool,
1453
- access_token: Optional[StrictStr] = None,
1454
1381
  _request_timeout: Union[
1455
1382
  None,
1456
1383
  Annotated[StrictFloat, Field(gt=0)],
@@ -1471,8 +1398,6 @@ class NotificationsApi:
1471
1398
  :type viewed: bool
1472
1399
  :param sent: (required)
1473
1400
  :type sent: bool
1474
- :param access_token:
1475
- :type access_token: str
1476
1401
  :param _request_timeout: timeout setting for this request. If one
1477
1402
  number provided, it will be total request
1478
1403
  timeout. It can also be a pair (tuple) of
@@ -1498,7 +1423,6 @@ class NotificationsApi:
1498
1423
  _param = self._update_notifications_serialize(
1499
1424
  viewed=viewed,
1500
1425
  sent=sent,
1501
- access_token=access_token,
1502
1426
  _request_auth=_request_auth,
1503
1427
  _content_type=_content_type,
1504
1428
  _headers=_headers,
@@ -1523,7 +1447,6 @@ class NotificationsApi:
1523
1447
  self,
1524
1448
  viewed: StrictBool,
1525
1449
  sent: StrictBool,
1526
- access_token: Optional[StrictStr] = None,
1527
1450
  _request_timeout: Union[
1528
1451
  None,
1529
1452
  Annotated[StrictFloat, Field(gt=0)],
@@ -1544,8 +1467,6 @@ class NotificationsApi:
1544
1467
  :type viewed: bool
1545
1468
  :param sent: (required)
1546
1469
  :type sent: bool
1547
- :param access_token:
1548
- :type access_token: str
1549
1470
  :param _request_timeout: timeout setting for this request. If one
1550
1471
  number provided, it will be total request
1551
1472
  timeout. It can also be a pair (tuple) of
@@ -1571,7 +1492,6 @@ class NotificationsApi:
1571
1492
  _param = self._update_notifications_serialize(
1572
1493
  viewed=viewed,
1573
1494
  sent=sent,
1574
- access_token=access_token,
1575
1495
  _request_auth=_request_auth,
1576
1496
  _content_type=_content_type,
1577
1497
  _headers=_headers,
@@ -1591,7 +1511,6 @@ class NotificationsApi:
1591
1511
  self,
1592
1512
  viewed,
1593
1513
  sent,
1594
- access_token,
1595
1514
  _request_auth,
1596
1515
  _content_type,
1597
1516
  _headers,
@@ -1632,7 +1551,7 @@ class NotificationsApi:
1632
1551
  )
1633
1552
 
1634
1553
  # authentication setting
1635
- _auth_settings: List[str] = ["HTTPBearer"]
1554
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
1636
1555
 
1637
1556
  return self.api_client.param_serialize(
1638
1557
  method="PUT",
@@ -16,7 +16,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
16
  from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
- from pydantic import StrictInt, StrictStr
19
+ from pydantic import StrictInt
20
20
  from typing import List, Optional
21
21
  from crypticorn.trade.client.models.order_model import OrderModel
22
22
 
@@ -42,7 +42,6 @@ class OrdersApi:
42
42
  self,
43
43
  limit: Optional[StrictInt] = None,
44
44
  offset: Optional[StrictInt] = None,
45
- access_token: Optional[StrictStr] = None,
46
45
  _request_timeout: Union[
47
46
  None,
48
47
  Annotated[StrictFloat, Field(gt=0)],
@@ -62,8 +61,6 @@ class OrdersApi:
62
61
  :type limit: int
63
62
  :param offset:
64
63
  :type offset: int
65
- :param access_token:
66
- :type access_token: str
67
64
  :param _request_timeout: timeout setting for this request. If one
68
65
  number provided, it will be total request
69
66
  timeout. It can also be a pair (tuple) of
@@ -89,7 +86,6 @@ class OrdersApi:
89
86
  _param = self._get_orders_serialize(
90
87
  limit=limit,
91
88
  offset=offset,
92
- access_token=access_token,
93
89
  _request_auth=_request_auth,
94
90
  _content_type=_content_type,
95
91
  _headers=_headers,
@@ -114,7 +110,6 @@ class OrdersApi:
114
110
  self,
115
111
  limit: Optional[StrictInt] = None,
116
112
  offset: Optional[StrictInt] = None,
117
- access_token: Optional[StrictStr] = None,
118
113
  _request_timeout: Union[
119
114
  None,
120
115
  Annotated[StrictFloat, Field(gt=0)],
@@ -134,8 +129,6 @@ class OrdersApi:
134
129
  :type limit: int
135
130
  :param offset:
136
131
  :type offset: int
137
- :param access_token:
138
- :type access_token: str
139
132
  :param _request_timeout: timeout setting for this request. If one
140
133
  number provided, it will be total request
141
134
  timeout. It can also be a pair (tuple) of
@@ -161,7 +154,6 @@ class OrdersApi:
161
154
  _param = self._get_orders_serialize(
162
155
  limit=limit,
163
156
  offset=offset,
164
- access_token=access_token,
165
157
  _request_auth=_request_auth,
166
158
  _content_type=_content_type,
167
159
  _headers=_headers,
@@ -186,7 +178,6 @@ class OrdersApi:
186
178
  self,
187
179
  limit: Optional[StrictInt] = None,
188
180
  offset: Optional[StrictInt] = None,
189
- access_token: Optional[StrictStr] = None,
190
181
  _request_timeout: Union[
191
182
  None,
192
183
  Annotated[StrictFloat, Field(gt=0)],
@@ -206,8 +197,6 @@ class OrdersApi:
206
197
  :type limit: int
207
198
  :param offset:
208
199
  :type offset: int
209
- :param access_token:
210
- :type access_token: str
211
200
  :param _request_timeout: timeout setting for this request. If one
212
201
  number provided, it will be total request
213
202
  timeout. It can also be a pair (tuple) of
@@ -233,7 +222,6 @@ class OrdersApi:
233
222
  _param = self._get_orders_serialize(
234
223
  limit=limit,
235
224
  offset=offset,
236
- access_token=access_token,
237
225
  _request_auth=_request_auth,
238
226
  _content_type=_content_type,
239
227
  _headers=_headers,
@@ -253,7 +241,6 @@ class OrdersApi:
253
241
  self,
254
242
  limit,
255
243
  offset,
256
- access_token,
257
244
  _request_auth,
258
245
  _content_type,
259
246
  _headers,
@@ -294,7 +281,7 @@ class OrdersApi:
294
281
  )
295
282
 
296
283
  # authentication setting
297
- _auth_settings: List[str] = ["HTTPBearer"]
284
+ _auth_settings: List[str] = ["APIKeyHeader", "HTTPBearer"]
298
285
 
299
286
  return self.api_client.param_serialize(
300
287
  method="GET",