tesla-api-sdk 1.0.3__py3-none-any.whl → 1.0.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tesla-api-sdk
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Tesla-API SDK
5
5
  Author-email: Muhammad Rafay <muhammad.rafay@apimatic.io>
6
6
  Project-URL: Documentation, https://developer.tesla.com/
@@ -28,15 +28,15 @@ The package is compatible with Python versions `3.7+`.
28
28
  Install the package from PyPi using the following pip command:
29
29
 
30
30
  ```bash
31
- pip install tesla-api-sdk==1.0.3
31
+ pip install tesla-api-sdk==1.0.4
32
32
  ```
33
33
 
34
34
  You can also view the package at:
35
- https://pypi.python.org/pypi/tesla-api-sdk/1.0.3
35
+ https://pypi.python.org/pypi/tesla-api-sdk/1.0.4
36
36
 
37
37
  ## Initialize the API Client
38
38
 
39
- **_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/client.md)
39
+ **_Note:_** Documentation for the client can be found [here.](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/client.md)
40
40
 
41
41
  The following parameters are configurable for the API Client:
42
42
 
@@ -51,10 +51,10 @@ The following parameters are configurable for the API Client:
51
51
  | backoff_factor | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
52
52
  | retry_statuses | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
53
53
  | retry_methods | `Array of string` | The http methods on which retry is to be done. <br> **Default: ["GET", "PUT"]** |
54
- | proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
55
- | logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md) | The SDK logging configuration for API calls |
56
- | bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md) | The credential object for OAuth 2 Bearer token |
57
- | thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md) | The credential object for OAuth 2 Authorization Code Grant |
54
+ | proxy_settings | [`ProxySettings`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/proxy-settings.md) | Optional proxy configuration to route HTTP requests through a proxy server. |
55
+ | logging_configuration | [`LoggingConfiguration`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/logging-configuration.md) | The SDK logging configuration for API calls |
56
+ | bearer_auth_credentials | [`BearerAuthCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/auth/oauth-2-bearer-token.md) | The credential object for OAuth 2 Bearer token |
57
+ | thirdpartytoken_credentials | [`ThirdpartytokenCredentials`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/auth/oauth-2-authorization-code-grant.md) | The credential object for OAuth 2 Authorization Code Grant |
58
58
 
59
59
  The API client can be initialized as follows:
60
60
 
@@ -107,45 +107,45 @@ from teslafleetmanagementapi.teslafleetmanagementapi_client import Teslafleetman
107
107
  client = TeslafleetmanagementapiClient.from_environment(dotenv_path='/path/to/.env')
108
108
  ```
109
109
 
110
- See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md) section for details.
110
+ See the [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/environment-based-client-initialization.md) section for details.
111
111
 
112
112
  ## Authorization
113
113
 
114
114
  This API uses the following authentication schemes.
115
115
 
116
- * [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-bearer-token.md)
117
- * [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/auth/oauth-2-authorization-code-grant.md)
116
+ * [`bearerAuth (OAuth 2 Bearer token)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/auth/oauth-2-bearer-token.md)
117
+ * [`thirdpartytoken (OAuth 2 Authorization Code Grant)`](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/auth/oauth-2-authorization-code-grant.md)
118
118
 
119
119
  ## List of APIs
120
120
 
121
- * [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicle-commands.md)
122
- * [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/charging.md)
123
- * [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/energy.md)
124
- * [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/partner.md)
125
- * [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/user.md)
126
- * [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/controllers/vehicles.md)
121
+ * [Vehicle Commands](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/vehicle-commands.md)
122
+ * [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/charging.md)
123
+ * [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/energy.md)
124
+ * [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/partner.md)
125
+ * [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/user.md)
126
+ * [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/controllers/vehicles.md)
127
127
 
128
128
  ## SDK Infrastructure
129
129
 
130
130
  ### Configuration
131
131
 
132
- * [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/proxy-settings.md)
133
- * [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/environment-based-client-initialization.md)
134
- * [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/abstract-logger.md)
135
- * [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/logging-configuration.md)
136
- * [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/request-logging-configuration.md)
137
- * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/response-logging-configuration.md)
132
+ * [ProxySettings](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/proxy-settings.md)
133
+ * [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/environment-based-client-initialization.md)
134
+ * [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/abstract-logger.md)
135
+ * [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/logging-configuration.md)
136
+ * [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/request-logging-configuration.md)
137
+ * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/response-logging-configuration.md)
138
138
 
139
139
  ### HTTP
140
140
 
141
- * [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-response.md)
142
- * [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-request.md)
141
+ * [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-response.md)
142
+ * [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-request.md)
143
143
 
144
144
  ### Utilities
145
145
 
146
- * [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-response.md)
147
- * [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/api-helper.md)
148
- * [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/http-date-time.md)
149
- * [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/rfc3339-date-time.md)
150
- * [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.3/doc/unix-date-time.md)
146
+ * [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/api-response.md)
147
+ * [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/api-helper.md)
148
+ * [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/http-date-time.md)
149
+ * [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/rfc3339-date-time.md)
150
+ * [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.4/doc/unix-date-time.md)
151
151
 
@@ -1,17 +1,17 @@
1
- tesla_api_sdk-1.0.3.dist-info/licenses/LICENSE,sha256=o5qrSek4x1g9YArvhgZmSORdSoQn7unl7I44zmz7iBc,1213
1
+ tesla_api_sdk-1.0.4.dist-info/licenses/LICENSE,sha256=o5qrSek4x1g9YArvhgZmSORdSoQn7unl7I44zmz7iBc,1213
2
2
  teslafleetmanagementapi/__init__.py,sha256=E7NIgboxbvRm8fOqogNH8Y2yjDuOiGW5FAfLtPqbW-A,301
3
3
  teslafleetmanagementapi/api_helper.py,sha256=oS6aPLpKimVdkHpVaoYwgutBH3gYAK01f76Edkxiwvg,551
4
4
  teslafleetmanagementapi/configuration.py,sha256=675WvUO1TGB7Pcx6bFqN-mK_Xy6QPfred1mb03S3rck,10464
5
5
  teslafleetmanagementapi/teslafleetmanagementapi_client.py,sha256=u0gtwvb6hi_aManch1SW745hQ0_bsR57QwwvWk7idDw,5128
6
6
  teslafleetmanagementapi/controllers/__init__.py,sha256=mkqIbaivL00VyN-OTregSFpS4z1ZcHsUqRxnVnU4vec,353
7
- teslafleetmanagementapi/controllers/base_controller.py,sha256=44Bd2vbClMv5K56wkFkpRnPJ-8LyrADguHXKE43uqEA,2126
8
- teslafleetmanagementapi/controllers/charging_controller.py,sha256=CYeduJQ0r6TICfzCLvXPWtrfWH9SSD27RnStxk1_mWo,5375
9
- teslafleetmanagementapi/controllers/energy_controller.py,sha256=A6dSFfsC7_PMptC2ZplA4fXA10-uq0-Q9NeXquqHnjY,23973
7
+ teslafleetmanagementapi/controllers/base_controller.py,sha256=D_2lvm_7wR8duq5HEZbUORHgYiz___GdXQVbGbdQ3jY,2126
8
+ teslafleetmanagementapi/controllers/charging_controller.py,sha256=-W0X8fXH14O9bJBcCLe1w_vn_coi3ugptqY8oTLASQU,5221
9
+ teslafleetmanagementapi/controllers/energy_controller.py,sha256=5WUfSJ6f2TQJcu-b4fTBk1m0XrJtQTf2Ki-Z9XPBBJg,23611
10
10
  teslafleetmanagementapi/controllers/o_auth_authorization_controller.py,sha256=SDNgcUAHN11vJfg3qrtzJCN0sNiLMwY4vSzXz7yf68U,6544
11
- teslafleetmanagementapi/controllers/partner_controller.py,sha256=b4MBhAYZwhQVDt-LBB_PWvImGeDKFDqslEKz1-SFym8,7104
12
- teslafleetmanagementapi/controllers/user_controller.py,sha256=-EPEQ684pCjG_K31OFjP-33SkyvvxkSK_KkGEAUmJso,6129
13
- teslafleetmanagementapi/controllers/vehicle_commands_controller.py,sha256=-_E7VlPtNO7jO5kHgFhZvqphmEA6UyExfWYmqyggjK4,36244
14
- teslafleetmanagementapi/controllers/vehicles_controller.py,sha256=ejrd8nfMqfefqELMkhpz8gbbtSBdYaABKKZ-IqF39U8,33587
11
+ teslafleetmanagementapi/controllers/partner_controller.py,sha256=gaJ4ycvmIa2a8WQ77RfIX-5_ecn_ezwUx7U-Ffmv9fo,6924
12
+ teslafleetmanagementapi/controllers/user_controller.py,sha256=y3gE4QPKI5sA7lq4H50XNJLGR1HWbibRZI0fTTVno20,5949
13
+ teslafleetmanagementapi/controllers/vehicle_commands_controller.py,sha256=VjfnEKYA3Q92uQMhcs3HezTFCXQeyp8YQNuUqBmi2TI,35622
14
+ teslafleetmanagementapi/controllers/vehicles_controller.py,sha256=EcTU3elYHQY0MY48eLQ5FQYkIC8oDk-UNn6V9TcQRss,32965
15
15
  teslafleetmanagementapi/exceptions/__init__.py,sha256=LjTxubZQwse_ZeMvelEdRHUKQtmdZW68kMSVJZ_O7xw,176
16
16
  teslafleetmanagementapi/exceptions/api_exception.py,sha256=Rc05JwUFjiUadBv5xl37mEcXcFKjBLk37HCBIGshOmE,1102
17
17
  teslafleetmanagementapi/exceptions/o_auth_provider_exception.py,sha256=zczgkfdqH4FgS2ckftkKEjV3stNkDmrFeNMjETwEiZk,2399
@@ -123,7 +123,7 @@ teslafleetmanagementapi/models/warranty_item.py,sha256=cBa4FwySUhIO9AgxOSfvMYYJU
123
123
  teslafleetmanagementapi/models/which_trunk.py,sha256=FrYSgT9Is0ftYjY55CEYUHn4PiFwwtkjzBT3b7mbKPI,1297
124
124
  teslafleetmanagementapi/utilities/__init__.py,sha256=pq3szt1E0U5M7qGCe9Vdl_jAM7wSgi8mj-UB-Flp6Ow,160
125
125
  teslafleetmanagementapi/utilities/file_wrapper.py,sha256=uyOflQkVT3YGWBy3oKE716gTwCqECcx67ilKbRWDAWQ,1438
126
- tesla_api_sdk-1.0.3.dist-info/METADATA,sha256=z5q2r_dPgzkRu805_g11eIjqYPM2EpoFRLpV6rndeho,7959
127
- tesla_api_sdk-1.0.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
128
- tesla_api_sdk-1.0.3.dist-info/top_level.txt,sha256=7DyijchnTRcw5IUZYf9ehvyCZApnY0d-PLaq6b3Le3g,24
129
- tesla_api_sdk-1.0.3.dist-info/RECORD,,
126
+ tesla_api_sdk-1.0.4.dist-info/METADATA,sha256=pZo9qbVdks9a0XhQ2-6ldTMikPz5bTXfbyOyJ9cH9J4,7959
127
+ tesla_api_sdk-1.0.4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
128
+ tesla_api_sdk-1.0.4.dist-info/top_level.txt,sha256=7DyijchnTRcw5IUZYf9ehvyCZApnY0d-PLaq6b3Le3g,24
129
+ tesla_api_sdk-1.0.4.dist-info/RECORD,,
@@ -30,7 +30,7 @@ class BaseController(object):
30
30
  @staticmethod
31
31
  def user_agent():
32
32
  """Return UserAgent value."""
33
- return "Python SDK, Version: 1.0.3, on OS {os-info}"
33
+ return "Python SDK, Version: 1.0.4, on OS {os-info}"
34
34
 
35
35
  @staticmethod
36
36
  def user_agent_parameters():
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -64,7 +61,7 @@ class ChargingController(BaseController):
64
61
  .header_param(Parameter()
65
62
  .key("accept")
66
63
  .value("application/json"))
67
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
64
+ .auth(Single("thirdpartytoken")),
68
65
  ).response(
69
66
  ResponseHandler()
70
67
  .deserializer(APIHelper.json_deserialize)
@@ -103,7 +100,7 @@ class ChargingController(BaseController):
103
100
  .header_param(Parameter()
104
101
  .key("accept")
105
102
  .value("application/json"))
106
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
103
+ .auth(Single("thirdpartytoken")),
107
104
  ).response(
108
105
  ResponseHandler()
109
106
  .deserializer(APIHelper.dynamic_deserialize)
@@ -134,7 +131,7 @@ class ChargingController(BaseController):
134
131
  .header_param(Parameter()
135
132
  .key("accept")
136
133
  .value("application/json"))
137
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
134
+ .auth(Single("thirdpartytoken")),
138
135
  ).response(
139
136
  ResponseHandler()
140
137
  .deserializer(APIHelper.json_deserialize)
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -95,7 +92,7 @@ class EnergyController(BaseController):
95
92
  .key("accept")
96
93
  .value("application/json"))
97
94
  .body_serializer(APIHelper.json_serialize)
98
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
95
+ .auth(Single("thirdpartytoken")),
99
96
  ).response(
100
97
  ResponseHandler()
101
98
  .deserializer(APIHelper.json_deserialize)
@@ -163,7 +160,7 @@ class EnergyController(BaseController):
163
160
  .header_param(Parameter()
164
161
  .key("accept")
165
162
  .value("application/json"))
166
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
163
+ .auth(Single("thirdpartytoken")),
167
164
  ).response(
168
165
  ResponseHandler()
169
166
  .deserializer(APIHelper.json_deserialize)
@@ -227,7 +224,7 @@ class EnergyController(BaseController):
227
224
  .header_param(Parameter()
228
225
  .key("accept")
229
226
  .value("application/json"))
230
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
227
+ .auth(Single("thirdpartytoken")),
231
228
  ).response(
232
229
  ResponseHandler()
233
230
  .deserializer(APIHelper.json_deserialize)
@@ -265,7 +262,7 @@ class EnergyController(BaseController):
265
262
  .header_param(Parameter()
266
263
  .key("accept")
267
264
  .value("application/json"))
268
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
265
+ .auth(Single("thirdpartytoken")),
269
266
  ).response(
270
267
  ResponseHandler()
271
268
  .deserializer(APIHelper.json_deserialize)
@@ -312,7 +309,7 @@ class EnergyController(BaseController):
312
309
  .key("accept")
313
310
  .value("application/json"))
314
311
  .body_serializer(APIHelper.json_serialize)
315
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
312
+ .auth(Single("thirdpartytoken")),
316
313
  ).response(
317
314
  ResponseHandler()
318
315
  .deserializer(APIHelper.json_deserialize)
@@ -359,7 +356,7 @@ class EnergyController(BaseController):
359
356
  .key("accept")
360
357
  .value("application/json"))
361
358
  .body_serializer(APIHelper.json_serialize)
362
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
359
+ .auth(Single("thirdpartytoken")),
363
360
  ).response(
364
361
  ResponseHandler()
365
362
  .deserializer(APIHelper.json_deserialize)
@@ -406,7 +403,7 @@ class EnergyController(BaseController):
406
403
  .key("accept")
407
404
  .value("application/json"))
408
405
  .body_serializer(APIHelper.json_serialize)
409
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
406
+ .auth(Single("thirdpartytoken")),
410
407
  ).response(
411
408
  ResponseHandler()
412
409
  .deserializer(APIHelper.json_deserialize)
@@ -453,7 +450,7 @@ class EnergyController(BaseController):
453
450
  .key("accept")
454
451
  .value("application/json"))
455
452
  .body_serializer(APIHelper.json_serialize)
456
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
453
+ .auth(Single("thirdpartytoken")),
457
454
  ).response(
458
455
  ResponseHandler()
459
456
  .deserializer(APIHelper.json_deserialize)
@@ -500,7 +497,7 @@ class EnergyController(BaseController):
500
497
  .key("accept")
501
498
  .value("application/json"))
502
499
  .body_serializer(APIHelper.json_serialize)
503
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
500
+ .auth(Single("thirdpartytoken")),
504
501
  ).response(
505
502
  ResponseHandler()
506
503
  .deserializer(APIHelper.json_deserialize)
@@ -528,7 +525,7 @@ class EnergyController(BaseController):
528
525
  .header_param(Parameter()
529
526
  .key("accept")
530
527
  .value("application/json"))
531
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
528
+ .auth(Single("thirdpartytoken")),
532
529
  ).response(
533
530
  ResponseHandler()
534
531
  .deserializer(APIHelper.json_deserialize)
@@ -566,7 +563,7 @@ class EnergyController(BaseController):
566
563
  .header_param(Parameter()
567
564
  .key("accept")
568
565
  .value("application/json"))
569
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
566
+ .auth(Single("thirdpartytoken")),
570
567
  ).response(
571
568
  ResponseHandler()
572
569
  .deserializer(APIHelper.json_deserialize)
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -69,7 +66,7 @@ class PartnerController(BaseController):
69
66
  .header_param(Parameter()
70
67
  .key("accept")
71
68
  .value("application/json"))
72
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
69
+ .auth(Single("thirdpartytoken")),
73
70
  ).response(
74
71
  ResponseHandler()
75
72
  .deserializer(APIHelper.json_deserialize)
@@ -99,7 +96,7 @@ class PartnerController(BaseController):
99
96
  .header_param(Parameter()
100
97
  .key("accept")
101
98
  .value("application/json"))
102
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
99
+ .auth(Single("thirdpartytoken")),
103
100
  ).response(
104
101
  ResponseHandler()
105
102
  .deserializer(APIHelper.json_deserialize)
@@ -135,7 +132,7 @@ class PartnerController(BaseController):
135
132
  .header_param(Parameter()
136
133
  .key("accept")
137
134
  .value("application/json"))
138
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
135
+ .auth(Single("thirdpartytoken")),
139
136
  ).response(
140
137
  ResponseHandler()
141
138
  .deserializer(APIHelper.json_deserialize)
@@ -175,7 +172,7 @@ class PartnerController(BaseController):
175
172
  .key("accept")
176
173
  .value("application/json"))
177
174
  .body_serializer(APIHelper.json_serialize)
178
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
175
+ .auth(Single("thirdpartytoken")),
179
176
  ).response(
180
177
  ResponseHandler()
181
178
  .deserializer(APIHelper.json_deserialize)
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -67,7 +64,7 @@ class UserController(BaseController):
67
64
  .header_param(Parameter()
68
65
  .key("accept")
69
66
  .value("application/json"))
70
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
67
+ .auth(Single("thirdpartytoken")),
71
68
  ).response(
72
69
  ResponseHandler()
73
70
  .deserializer(APIHelper.json_deserialize)
@@ -95,7 +92,7 @@ class UserController(BaseController):
95
92
  .header_param(Parameter()
96
93
  .key("accept")
97
94
  .value("application/json"))
98
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
95
+ .auth(Single("thirdpartytoken")),
99
96
  ).response(
100
97
  ResponseHandler()
101
98
  .deserializer(APIHelper.json_deserialize)
@@ -123,7 +120,7 @@ class UserController(BaseController):
123
120
  .header_param(Parameter()
124
121
  .key("accept")
125
122
  .value("application/json"))
126
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
123
+ .auth(Single("thirdpartytoken")),
127
124
  ).response(
128
125
  ResponseHandler()
129
126
  .deserializer(APIHelper.json_deserialize)
@@ -152,7 +149,7 @@ class UserController(BaseController):
152
149
  .header_param(Parameter()
153
150
  .key("accept")
154
151
  .value("application/json"))
155
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
152
+ .auth(Single("thirdpartytoken")),
156
153
  ).response(
157
154
  ResponseHandler()
158
155
  .deserializer(APIHelper.json_deserialize)
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -79,7 +76,7 @@ class VehicleCommandsController(BaseController):
79
76
  .key("accept")
80
77
  .value("application/json"))
81
78
  .body_serializer(APIHelper.json_serialize)
82
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
79
+ .auth(Single("thirdpartytoken")),
83
80
  ).response(
84
81
  ResponseHandler()
85
82
  .deserializer(APIHelper.json_deserialize)
@@ -126,7 +123,7 @@ class VehicleCommandsController(BaseController):
126
123
  .key("accept")
127
124
  .value("application/json"))
128
125
  .body_serializer(APIHelper.json_serialize)
129
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
126
+ .auth(Single("thirdpartytoken")),
130
127
  ).response(
131
128
  ResponseHandler()
132
129
  .deserializer(APIHelper.json_deserialize)
@@ -173,7 +170,7 @@ class VehicleCommandsController(BaseController):
173
170
  .key("accept")
174
171
  .value("application/json"))
175
172
  .body_serializer(APIHelper.json_serialize)
176
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
173
+ .auth(Single("thirdpartytoken")),
177
174
  ).response(
178
175
  ResponseHandler()
179
176
  .deserializer(APIHelper.json_deserialize)
@@ -220,7 +217,7 @@ class VehicleCommandsController(BaseController):
220
217
  .key("accept")
221
218
  .value("application/json"))
222
219
  .body_serializer(APIHelper.json_serialize)
223
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
220
+ .auth(Single("thirdpartytoken")),
224
221
  ).response(
225
222
  ResponseHandler()
226
223
  .deserializer(APIHelper.json_deserialize)
@@ -258,7 +255,7 @@ class VehicleCommandsController(BaseController):
258
255
  .header_param(Parameter()
259
256
  .key("accept")
260
257
  .value("application/json"))
261
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
258
+ .auth(Single("thirdpartytoken")),
262
259
  ).response(
263
260
  ResponseHandler()
264
261
  .deserializer(APIHelper.json_deserialize)
@@ -296,7 +293,7 @@ class VehicleCommandsController(BaseController):
296
293
  .header_param(Parameter()
297
294
  .key("accept")
298
295
  .value("application/json"))
299
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
296
+ .auth(Single("thirdpartytoken")),
300
297
  ).response(
301
298
  ResponseHandler()
302
299
  .deserializer(APIHelper.json_deserialize)
@@ -334,7 +331,7 @@ class VehicleCommandsController(BaseController):
334
331
  .header_param(Parameter()
335
332
  .key("accept")
336
333
  .value("application/json"))
337
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
334
+ .auth(Single("thirdpartytoken")),
338
335
  ).response(
339
336
  ResponseHandler()
340
337
  .deserializer(APIHelper.json_deserialize)
@@ -372,7 +369,7 @@ class VehicleCommandsController(BaseController):
372
369
  .header_param(Parameter()
373
370
  .key("accept")
374
371
  .value("application/json"))
375
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
372
+ .auth(Single("thirdpartytoken")),
376
373
  ).response(
377
374
  ResponseHandler()
378
375
  .deserializer(APIHelper.json_deserialize)
@@ -410,7 +407,7 @@ class VehicleCommandsController(BaseController):
410
407
  .header_param(Parameter()
411
408
  .key("accept")
412
409
  .value("application/json"))
413
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
410
+ .auth(Single("thirdpartytoken")),
414
411
  ).response(
415
412
  ResponseHandler()
416
413
  .deserializer(APIHelper.json_deserialize)
@@ -448,7 +445,7 @@ class VehicleCommandsController(BaseController):
448
445
  .header_param(Parameter()
449
446
  .key("accept")
450
447
  .value("application/json"))
451
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
448
+ .auth(Single("thirdpartytoken")),
452
449
  ).response(
453
450
  ResponseHandler()
454
451
  .deserializer(APIHelper.json_deserialize)
@@ -486,7 +483,7 @@ class VehicleCommandsController(BaseController):
486
483
  .header_param(Parameter()
487
484
  .key("accept")
488
485
  .value("application/json"))
489
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
486
+ .auth(Single("thirdpartytoken")),
490
487
  ).response(
491
488
  ResponseHandler()
492
489
  .deserializer(APIHelper.json_deserialize)
@@ -524,7 +521,7 @@ class VehicleCommandsController(BaseController):
524
521
  .header_param(Parameter()
525
522
  .key("accept")
526
523
  .value("application/json"))
527
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
524
+ .auth(Single("thirdpartytoken")),
528
525
  ).response(
529
526
  ResponseHandler()
530
527
  .deserializer(APIHelper.json_deserialize)
@@ -562,7 +559,7 @@ class VehicleCommandsController(BaseController):
562
559
  .header_param(Parameter()
563
560
  .key("accept")
564
561
  .value("application/json"))
565
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
562
+ .auth(Single("thirdpartytoken")),
566
563
  ).response(
567
564
  ResponseHandler()
568
565
  .deserializer(APIHelper.json_deserialize)
@@ -603,7 +600,7 @@ class VehicleCommandsController(BaseController):
603
600
  .header_param(Parameter()
604
601
  .key("accept")
605
602
  .value("application/json"))
606
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
603
+ .auth(Single("thirdpartytoken")),
607
604
  ).response(
608
605
  ResponseHandler()
609
606
  .deserializer(APIHelper.json_deserialize)
@@ -641,7 +638,7 @@ class VehicleCommandsController(BaseController):
641
638
  .header_param(Parameter()
642
639
  .key("accept")
643
640
  .value("application/json"))
644
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
641
+ .auth(Single("thirdpartytoken")),
645
642
  ).response(
646
643
  ResponseHandler()
647
644
  .deserializer(APIHelper.json_deserialize)
@@ -679,7 +676,7 @@ class VehicleCommandsController(BaseController):
679
676
  .header_param(Parameter()
680
677
  .key("accept")
681
678
  .value("application/json"))
682
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
679
+ .auth(Single("thirdpartytoken")),
683
680
  ).response(
684
681
  ResponseHandler()
685
682
  .deserializer(APIHelper.json_deserialize)
@@ -719,7 +716,7 @@ class VehicleCommandsController(BaseController):
719
716
  .header_param(Parameter()
720
717
  .key("accept")
721
718
  .value("application/json"))
722
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
719
+ .auth(Single("thirdpartytoken")),
723
720
  ).response(
724
721
  ResponseHandler()
725
722
  .deserializer(APIHelper.json_deserialize)
@@ -759,7 +756,7 @@ class VehicleCommandsController(BaseController):
759
756
  .header_param(Parameter()
760
757
  .key("accept")
761
758
  .value("application/json"))
762
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
759
+ .auth(Single("thirdpartytoken")),
763
760
  ).response(
764
761
  ResponseHandler()
765
762
  .deserializer(APIHelper.json_deserialize)
@@ -806,7 +803,7 @@ class VehicleCommandsController(BaseController):
806
803
  .key("accept")
807
804
  .value("application/json"))
808
805
  .body_serializer(APIHelper.json_serialize)
809
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
806
+ .auth(Single("thirdpartytoken")),
810
807
  ).response(
811
808
  ResponseHandler()
812
809
  .deserializer(APIHelper.json_deserialize)
@@ -844,7 +841,7 @@ class VehicleCommandsController(BaseController):
844
841
  .header_param(Parameter()
845
842
  .key("accept")
846
843
  .value("application/json"))
847
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
844
+ .auth(Single("thirdpartytoken")),
848
845
  ).response(
849
846
  ResponseHandler()
850
847
  .deserializer(APIHelper.json_deserialize)
@@ -882,7 +879,7 @@ class VehicleCommandsController(BaseController):
882
879
  .header_param(Parameter()
883
880
  .key("accept")
884
881
  .value("application/json"))
885
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
882
+ .auth(Single("thirdpartytoken")),
886
883
  ).response(
887
884
  ResponseHandler()
888
885
  .deserializer(APIHelper.json_deserialize)
@@ -4,9 +4,6 @@ This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io
4
4
  """
5
5
 
6
6
  # ruff: noqa: D410, E501, E101, D206
7
- from apimatic_core.authentication.multiple.or_auth_group import (
8
- Or,
9
- )
10
7
  from apimatic_core.authentication.multiple.single_auth import (
11
8
  Single,
12
9
  )
@@ -85,7 +82,7 @@ class VehiclesController(BaseController):
85
82
  .header_param(Parameter()
86
83
  .key("accept")
87
84
  .value("application/json"))
88
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
85
+ .auth(Single("thirdpartytoken")),
89
86
  ).response(
90
87
  ResponseHandler()
91
88
  .deserializer(APIHelper.json_deserialize)
@@ -122,7 +119,7 @@ class VehiclesController(BaseController):
122
119
  .header_param(Parameter()
123
120
  .key("accept")
124
121
  .value("application/json"))
125
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
122
+ .auth(Single("thirdpartytoken")),
126
123
  ).response(
127
124
  ResponseHandler()
128
125
  .deserializer(APIHelper.json_deserialize)
@@ -160,7 +157,7 @@ class VehiclesController(BaseController):
160
157
  .header_param(Parameter()
161
158
  .key("accept")
162
159
  .value("application/json"))
163
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
160
+ .auth(Single("thirdpartytoken")),
164
161
  ).response(
165
162
  ResponseHandler()
166
163
  .deserializer(APIHelper.json_deserialize)
@@ -198,7 +195,7 @@ class VehiclesController(BaseController):
198
195
  .header_param(Parameter()
199
196
  .key("accept")
200
197
  .value("application/json"))
201
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
198
+ .auth(Single("thirdpartytoken")),
202
199
  ).response(
203
200
  ResponseHandler()
204
201
  .deserializer(APIHelper.json_deserialize)
@@ -235,7 +232,7 @@ class VehiclesController(BaseController):
235
232
  .header_param(Parameter()
236
233
  .key("accept")
237
234
  .value("application/json"))
238
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
235
+ .auth(Single("thirdpartytoken")),
239
236
  ).response(
240
237
  ResponseHandler()
241
238
  .deserializer(APIHelper.json_deserialize)
@@ -272,7 +269,7 @@ class VehiclesController(BaseController):
272
269
  .header_param(Parameter()
273
270
  .key("accept")
274
271
  .value("application/json"))
275
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
272
+ .auth(Single("thirdpartytoken")),
276
273
  ).response(
277
274
  ResponseHandler()
278
275
  .deserializer(APIHelper.json_deserialize)
@@ -309,7 +306,7 @@ class VehiclesController(BaseController):
309
306
  .header_param(Parameter()
310
307
  .key("accept")
311
308
  .value("application/json"))
312
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
309
+ .auth(Single("thirdpartytoken")),
313
310
  ).response(
314
311
  ResponseHandler()
315
312
  .deserializer(APIHelper.json_deserialize)
@@ -345,7 +342,7 @@ class VehiclesController(BaseController):
345
342
  .header_param(Parameter()
346
343
  .key("accept")
347
344
  .value("application/json"))
348
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
345
+ .auth(Single("thirdpartytoken")),
349
346
  ).response(
350
347
  ResponseHandler()
351
348
  .deserializer(APIHelper.json_deserialize)
@@ -373,7 +370,7 @@ class VehiclesController(BaseController):
373
370
  .header_param(Parameter()
374
371
  .key("accept")
375
372
  .value("application/json"))
376
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
373
+ .auth(Single("thirdpartytoken")),
377
374
  ).response(
378
375
  ResponseHandler()
379
376
  .deserializer(APIHelper.json_deserialize)
@@ -410,7 +407,7 @@ class VehiclesController(BaseController):
410
407
  .header_param(Parameter()
411
408
  .key("accept")
412
409
  .value("application/json"))
413
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
410
+ .auth(Single("thirdpartytoken")),
414
411
  ).response(
415
412
  ResponseHandler()
416
413
  .deserializer(APIHelper.json_deserialize)
@@ -447,7 +444,7 @@ class VehiclesController(BaseController):
447
444
  .header_param(Parameter()
448
445
  .key("accept")
449
446
  .value("application/json"))
450
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
447
+ .auth(Single("thirdpartytoken")),
451
448
  ).response(
452
449
  ResponseHandler()
453
450
  .deserializer(APIHelper.json_deserialize)
@@ -484,7 +481,7 @@ class VehiclesController(BaseController):
484
481
  .header_param(Parameter()
485
482
  .key("accept")
486
483
  .value("application/json"))
487
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
484
+ .auth(Single("thirdpartytoken")),
488
485
  ).response(
489
486
  ResponseHandler()
490
487
  .deserializer(APIHelper.json_deserialize)
@@ -520,7 +517,7 @@ class VehiclesController(BaseController):
520
517
  .header_param(Parameter()
521
518
  .key("accept")
522
519
  .value("application/json"))
523
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
520
+ .auth(Single("thirdpartytoken")),
524
521
  ).response(
525
522
  ResponseHandler()
526
523
  .deserializer(APIHelper.json_deserialize)
@@ -563,7 +560,7 @@ class VehiclesController(BaseController):
563
560
  .value(body)
564
561
  .is_required(True))
565
562
  .body_serializer(APIHelper.json_serialize)
566
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
563
+ .auth(Single("thirdpartytoken")),
567
564
  ).response(
568
565
  ResponseHandler()
569
566
  .is_api_response(True),
@@ -598,7 +595,7 @@ class VehiclesController(BaseController):
598
595
  .header_param(Parameter()
599
596
  .key("accept")
600
597
  .value("application/json"))
601
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
598
+ .auth(Single("thirdpartytoken")),
602
599
  ).response(
603
600
  ResponseHandler()
604
601
  .deserializer(APIHelper.json_deserialize)
@@ -636,7 +633,7 @@ class VehiclesController(BaseController):
636
633
  .key("accept")
637
634
  .value("application/json"))
638
635
  .body_serializer(APIHelper.json_serialize)
639
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
636
+ .auth(Single("thirdpartytoken")),
640
637
  ).response(
641
638
  ResponseHandler()
642
639
  .deserializer(APIHelper.json_deserialize)
@@ -675,7 +672,7 @@ class VehiclesController(BaseController):
675
672
  .key("accept")
676
673
  .value("application/json"))
677
674
  .body_serializer(APIHelper.json_serialize)
678
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
675
+ .auth(Single("thirdpartytoken")),
679
676
  ).response(
680
677
  ResponseHandler()
681
678
  .deserializer(APIHelper.json_deserialize)
@@ -713,7 +710,7 @@ class VehiclesController(BaseController):
713
710
  .header_param(Parameter()
714
711
  .key("accept")
715
712
  .value("application/json"))
716
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
713
+ .auth(Single("thirdpartytoken")),
717
714
  ).response(
718
715
  ResponseHandler()
719
716
  .deserializer(APIHelper.json_deserialize)
@@ -750,7 +747,7 @@ class VehiclesController(BaseController):
750
747
  .header_param(Parameter()
751
748
  .key("accept")
752
749
  .value("application/json"))
753
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
750
+ .auth(Single("thirdpartytoken")),
754
751
  ).response(
755
752
  ResponseHandler()
756
753
  .deserializer(APIHelper.json_deserialize)
@@ -790,7 +787,7 @@ class VehiclesController(BaseController):
790
787
  .key("accept")
791
788
  .value("application/json"))
792
789
  .body_serializer(APIHelper.json_serialize)
793
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
790
+ .auth(Single("thirdpartytoken")),
794
791
  ).response(
795
792
  ResponseHandler()
796
793
  .deserializer(APIHelper.json_deserialize)
@@ -827,7 +824,7 @@ class VehiclesController(BaseController):
827
824
  .header_param(Parameter()
828
825
  .key("accept")
829
826
  .value("application/json"))
830
- .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
827
+ .auth(Single("thirdpartytoken")),
831
828
  ).response(
832
829
  ResponseHandler()
833
830
  .deserializer(APIHelper.json_deserialize)