tesla-api-sdk 1.0.2__py3-none-any.whl → 1.0.3__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.2
3
+ Version: 1.0.3
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.2
31
+ pip install tesla-api-sdk==1.0.3
32
32
  ```
33
33
 
34
34
  You can also view the package at:
35
- https://pypi.python.org/pypi/tesla-api-sdk/1.0.2
35
+ https://pypi.python.org/pypi/tesla-api-sdk/1.0.3
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.2/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.3/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.2/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.2/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.2/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.2/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.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 |
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.2/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.3/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.2/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.2/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.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)
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.2/doc/controllers/vehicle-commands.md)
122
- * [Charging](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/controllers/charging.md)
123
- * [Energy](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/controllers/energy.md)
124
- * [Partner](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/controllers/partner.md)
125
- * [User](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/controllers/user.md)
126
- * [Vehicles](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/controllers/vehicles.md)
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)
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.2/doc/proxy-settings.md)
133
- * [Environment-Based Client Initialization](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/environment-based-client-initialization.md)
134
- * [AbstractLogger](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/abstract-logger.md)
135
- * [LoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/logging-configuration.md)
136
- * [RequestLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/request-logging-configuration.md)
137
- * [ResponseLoggingConfiguration](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/response-logging-configuration.md)
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)
138
138
 
139
139
  ### HTTP
140
140
 
141
- * [HttpResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/http-response.md)
142
- * [HttpRequest](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/http-request.md)
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)
143
143
 
144
144
  ### Utilities
145
145
 
146
- * [ApiResponse](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/api-response.md)
147
- * [ApiHelper](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/api-helper.md)
148
- * [HttpDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/http-date-time.md)
149
- * [RFC3339DateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/rfc3339-date-time.md)
150
- * [UnixDateTime](https://www.github.com/sdks-io/tesla-api-python-sdk/tree/1.0.2/doc/unix-date-time.md)
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)
151
151
 
@@ -1,17 +1,17 @@
1
- tesla_api_sdk-1.0.2.dist-info/licenses/LICENSE,sha256=o5qrSek4x1g9YArvhgZmSORdSoQn7unl7I44zmz7iBc,1213
1
+ tesla_api_sdk-1.0.3.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=IKmBrJPPNBwc711eZMH9YZbr_l2ZrWEyRcyLc_zlDHU,2126
8
- teslafleetmanagementapi/controllers/charging_controller.py,sha256=2ctWtywf-qCjduWflK9udnZRSiYQLL2cUrdZPfAGMYU,5380
9
- teslafleetmanagementapi/controllers/energy_controller.py,sha256=vy6HNtowryBzMS47KGBC_sDyhClgimpe8U4GnFxJLFA,23986
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
10
10
  teslafleetmanagementapi/controllers/o_auth_authorization_controller.py,sha256=SDNgcUAHN11vJfg3qrtzJCN0sNiLMwY4vSzXz7yf68U,6544
11
- teslafleetmanagementapi/controllers/partner_controller.py,sha256=oo50aN56rOOxQOJrdyEoJw5dJnEe6ifKMEsTSsLwHiM,7110
12
- teslafleetmanagementapi/controllers/user_controller.py,sha256=JEOL20-aApYXd7j2EaEn6e6gaGxb-ZFEKlr6vd2U67M,6135
13
- teslafleetmanagementapi/controllers/vehicle_commands_controller.py,sha256=fKAo4uoxEjfzrbskN5xIDXjXpd8efiSiPhTkDhAmwSc,36267
14
- teslafleetmanagementapi/controllers/vehicles_controller.py,sha256=dxoFtVoOdUfJLpikSTQffStMg6ju5ObGPrwinYkTXgQ,33610
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
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.2.dist-info/METADATA,sha256=pGVThmVwD2oV8Fyh8tM0KqdrER0FCJ-tI68jRDg0RrI,7959
127
- tesla_api_sdk-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
128
- tesla_api_sdk-1.0.2.dist-info/top_level.txt,sha256=7DyijchnTRcw5IUZYf9ehvyCZApnY0d-PLaq6b3Le3g,24
129
- tesla_api_sdk-1.0.2.dist-info/RECORD,,
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,,
@@ -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.2, on OS {os-info}"
33
+ return "Python SDK, Version: 1.0.3, on OS {os-info}"
34
34
 
35
35
  @staticmethod
36
36
  def user_agent_parameters():
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -64,7 +64,7 @@ class ChargingController(BaseController):
64
64
  .header_param(Parameter()
65
65
  .key("accept")
66
66
  .value("application/json"))
67
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
67
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
68
68
  ).response(
69
69
  ResponseHandler()
70
70
  .deserializer(APIHelper.json_deserialize)
@@ -103,7 +103,7 @@ class ChargingController(BaseController):
103
103
  .header_param(Parameter()
104
104
  .key("accept")
105
105
  .value("application/json"))
106
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
106
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
107
107
  ).response(
108
108
  ResponseHandler()
109
109
  .deserializer(APIHelper.dynamic_deserialize)
@@ -134,7 +134,7 @@ class ChargingController(BaseController):
134
134
  .header_param(Parameter()
135
135
  .key("accept")
136
136
  .value("application/json"))
137
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
137
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
138
138
  ).response(
139
139
  ResponseHandler()
140
140
  .deserializer(APIHelper.json_deserialize)
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -95,7 +95,7 @@ class EnergyController(BaseController):
95
95
  .key("accept")
96
96
  .value("application/json"))
97
97
  .body_serializer(APIHelper.json_serialize)
98
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
98
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
99
99
  ).response(
100
100
  ResponseHandler()
101
101
  .deserializer(APIHelper.json_deserialize)
@@ -163,7 +163,7 @@ class EnergyController(BaseController):
163
163
  .header_param(Parameter()
164
164
  .key("accept")
165
165
  .value("application/json"))
166
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
166
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
167
167
  ).response(
168
168
  ResponseHandler()
169
169
  .deserializer(APIHelper.json_deserialize)
@@ -227,7 +227,7 @@ class EnergyController(BaseController):
227
227
  .header_param(Parameter()
228
228
  .key("accept")
229
229
  .value("application/json"))
230
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
230
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
231
231
  ).response(
232
232
  ResponseHandler()
233
233
  .deserializer(APIHelper.json_deserialize)
@@ -265,7 +265,7 @@ class EnergyController(BaseController):
265
265
  .header_param(Parameter()
266
266
  .key("accept")
267
267
  .value("application/json"))
268
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
268
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
269
269
  ).response(
270
270
  ResponseHandler()
271
271
  .deserializer(APIHelper.json_deserialize)
@@ -312,7 +312,7 @@ class EnergyController(BaseController):
312
312
  .key("accept")
313
313
  .value("application/json"))
314
314
  .body_serializer(APIHelper.json_serialize)
315
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
315
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
316
316
  ).response(
317
317
  ResponseHandler()
318
318
  .deserializer(APIHelper.json_deserialize)
@@ -359,7 +359,7 @@ class EnergyController(BaseController):
359
359
  .key("accept")
360
360
  .value("application/json"))
361
361
  .body_serializer(APIHelper.json_serialize)
362
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
362
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
363
363
  ).response(
364
364
  ResponseHandler()
365
365
  .deserializer(APIHelper.json_deserialize)
@@ -406,7 +406,7 @@ class EnergyController(BaseController):
406
406
  .key("accept")
407
407
  .value("application/json"))
408
408
  .body_serializer(APIHelper.json_serialize)
409
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
409
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
410
410
  ).response(
411
411
  ResponseHandler()
412
412
  .deserializer(APIHelper.json_deserialize)
@@ -453,7 +453,7 @@ class EnergyController(BaseController):
453
453
  .key("accept")
454
454
  .value("application/json"))
455
455
  .body_serializer(APIHelper.json_serialize)
456
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
456
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
457
457
  ).response(
458
458
  ResponseHandler()
459
459
  .deserializer(APIHelper.json_deserialize)
@@ -500,7 +500,7 @@ class EnergyController(BaseController):
500
500
  .key("accept")
501
501
  .value("application/json"))
502
502
  .body_serializer(APIHelper.json_serialize)
503
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
503
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
504
504
  ).response(
505
505
  ResponseHandler()
506
506
  .deserializer(APIHelper.json_deserialize)
@@ -528,7 +528,7 @@ class EnergyController(BaseController):
528
528
  .header_param(Parameter()
529
529
  .key("accept")
530
530
  .value("application/json"))
531
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
531
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
532
532
  ).response(
533
533
  ResponseHandler()
534
534
  .deserializer(APIHelper.json_deserialize)
@@ -566,7 +566,7 @@ class EnergyController(BaseController):
566
566
  .header_param(Parameter()
567
567
  .key("accept")
568
568
  .value("application/json"))
569
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
569
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
570
570
  ).response(
571
571
  ResponseHandler()
572
572
  .deserializer(APIHelper.json_deserialize)
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -69,7 +69,7 @@ class PartnerController(BaseController):
69
69
  .header_param(Parameter()
70
70
  .key("accept")
71
71
  .value("application/json"))
72
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
72
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
73
73
  ).response(
74
74
  ResponseHandler()
75
75
  .deserializer(APIHelper.json_deserialize)
@@ -99,7 +99,7 @@ class PartnerController(BaseController):
99
99
  .header_param(Parameter()
100
100
  .key("accept")
101
101
  .value("application/json"))
102
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
102
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
103
103
  ).response(
104
104
  ResponseHandler()
105
105
  .deserializer(APIHelper.json_deserialize)
@@ -135,7 +135,7 @@ class PartnerController(BaseController):
135
135
  .header_param(Parameter()
136
136
  .key("accept")
137
137
  .value("application/json"))
138
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
138
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
139
139
  ).response(
140
140
  ResponseHandler()
141
141
  .deserializer(APIHelper.json_deserialize)
@@ -175,7 +175,7 @@ class PartnerController(BaseController):
175
175
  .key("accept")
176
176
  .value("application/json"))
177
177
  .body_serializer(APIHelper.json_serialize)
178
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
178
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
179
179
  ).response(
180
180
  ResponseHandler()
181
181
  .deserializer(APIHelper.json_deserialize)
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -67,7 +67,7 @@ class UserController(BaseController):
67
67
  .header_param(Parameter()
68
68
  .key("accept")
69
69
  .value("application/json"))
70
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
70
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
71
71
  ).response(
72
72
  ResponseHandler()
73
73
  .deserializer(APIHelper.json_deserialize)
@@ -95,7 +95,7 @@ class UserController(BaseController):
95
95
  .header_param(Parameter()
96
96
  .key("accept")
97
97
  .value("application/json"))
98
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
98
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
99
99
  ).response(
100
100
  ResponseHandler()
101
101
  .deserializer(APIHelper.json_deserialize)
@@ -123,7 +123,7 @@ class UserController(BaseController):
123
123
  .header_param(Parameter()
124
124
  .key("accept")
125
125
  .value("application/json"))
126
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
126
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
127
127
  ).response(
128
128
  ResponseHandler()
129
129
  .deserializer(APIHelper.json_deserialize)
@@ -152,7 +152,7 @@ class UserController(BaseController):
152
152
  .header_param(Parameter()
153
153
  .key("accept")
154
154
  .value("application/json"))
155
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
155
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
156
156
  ).response(
157
157
  ResponseHandler()
158
158
  .deserializer(APIHelper.json_deserialize)
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -79,7 +79,7 @@ class VehicleCommandsController(BaseController):
79
79
  .key("accept")
80
80
  .value("application/json"))
81
81
  .body_serializer(APIHelper.json_serialize)
82
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
82
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
83
83
  ).response(
84
84
  ResponseHandler()
85
85
  .deserializer(APIHelper.json_deserialize)
@@ -126,7 +126,7 @@ class VehicleCommandsController(BaseController):
126
126
  .key("accept")
127
127
  .value("application/json"))
128
128
  .body_serializer(APIHelper.json_serialize)
129
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
129
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
130
130
  ).response(
131
131
  ResponseHandler()
132
132
  .deserializer(APIHelper.json_deserialize)
@@ -173,7 +173,7 @@ class VehicleCommandsController(BaseController):
173
173
  .key("accept")
174
174
  .value("application/json"))
175
175
  .body_serializer(APIHelper.json_serialize)
176
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
176
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
177
177
  ).response(
178
178
  ResponseHandler()
179
179
  .deserializer(APIHelper.json_deserialize)
@@ -220,7 +220,7 @@ class VehicleCommandsController(BaseController):
220
220
  .key("accept")
221
221
  .value("application/json"))
222
222
  .body_serializer(APIHelper.json_serialize)
223
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
223
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
224
224
  ).response(
225
225
  ResponseHandler()
226
226
  .deserializer(APIHelper.json_deserialize)
@@ -258,7 +258,7 @@ class VehicleCommandsController(BaseController):
258
258
  .header_param(Parameter()
259
259
  .key("accept")
260
260
  .value("application/json"))
261
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
261
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
262
262
  ).response(
263
263
  ResponseHandler()
264
264
  .deserializer(APIHelper.json_deserialize)
@@ -296,7 +296,7 @@ class VehicleCommandsController(BaseController):
296
296
  .header_param(Parameter()
297
297
  .key("accept")
298
298
  .value("application/json"))
299
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
299
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
300
300
  ).response(
301
301
  ResponseHandler()
302
302
  .deserializer(APIHelper.json_deserialize)
@@ -334,7 +334,7 @@ class VehicleCommandsController(BaseController):
334
334
  .header_param(Parameter()
335
335
  .key("accept")
336
336
  .value("application/json"))
337
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
337
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
338
338
  ).response(
339
339
  ResponseHandler()
340
340
  .deserializer(APIHelper.json_deserialize)
@@ -372,7 +372,7 @@ class VehicleCommandsController(BaseController):
372
372
  .header_param(Parameter()
373
373
  .key("accept")
374
374
  .value("application/json"))
375
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
375
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
376
376
  ).response(
377
377
  ResponseHandler()
378
378
  .deserializer(APIHelper.json_deserialize)
@@ -410,7 +410,7 @@ class VehicleCommandsController(BaseController):
410
410
  .header_param(Parameter()
411
411
  .key("accept")
412
412
  .value("application/json"))
413
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
413
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
414
414
  ).response(
415
415
  ResponseHandler()
416
416
  .deserializer(APIHelper.json_deserialize)
@@ -448,7 +448,7 @@ class VehicleCommandsController(BaseController):
448
448
  .header_param(Parameter()
449
449
  .key("accept")
450
450
  .value("application/json"))
451
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
451
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
452
452
  ).response(
453
453
  ResponseHandler()
454
454
  .deserializer(APIHelper.json_deserialize)
@@ -486,7 +486,7 @@ class VehicleCommandsController(BaseController):
486
486
  .header_param(Parameter()
487
487
  .key("accept")
488
488
  .value("application/json"))
489
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
489
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
490
490
  ).response(
491
491
  ResponseHandler()
492
492
  .deserializer(APIHelper.json_deserialize)
@@ -524,7 +524,7 @@ class VehicleCommandsController(BaseController):
524
524
  .header_param(Parameter()
525
525
  .key("accept")
526
526
  .value("application/json"))
527
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
527
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
528
528
  ).response(
529
529
  ResponseHandler()
530
530
  .deserializer(APIHelper.json_deserialize)
@@ -562,7 +562,7 @@ class VehicleCommandsController(BaseController):
562
562
  .header_param(Parameter()
563
563
  .key("accept")
564
564
  .value("application/json"))
565
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
565
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
566
566
  ).response(
567
567
  ResponseHandler()
568
568
  .deserializer(APIHelper.json_deserialize)
@@ -603,7 +603,7 @@ class VehicleCommandsController(BaseController):
603
603
  .header_param(Parameter()
604
604
  .key("accept")
605
605
  .value("application/json"))
606
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
606
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
607
607
  ).response(
608
608
  ResponseHandler()
609
609
  .deserializer(APIHelper.json_deserialize)
@@ -641,7 +641,7 @@ class VehicleCommandsController(BaseController):
641
641
  .header_param(Parameter()
642
642
  .key("accept")
643
643
  .value("application/json"))
644
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
644
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
645
645
  ).response(
646
646
  ResponseHandler()
647
647
  .deserializer(APIHelper.json_deserialize)
@@ -679,7 +679,7 @@ class VehicleCommandsController(BaseController):
679
679
  .header_param(Parameter()
680
680
  .key("accept")
681
681
  .value("application/json"))
682
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
682
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
683
683
  ).response(
684
684
  ResponseHandler()
685
685
  .deserializer(APIHelper.json_deserialize)
@@ -719,7 +719,7 @@ class VehicleCommandsController(BaseController):
719
719
  .header_param(Parameter()
720
720
  .key("accept")
721
721
  .value("application/json"))
722
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
722
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
723
723
  ).response(
724
724
  ResponseHandler()
725
725
  .deserializer(APIHelper.json_deserialize)
@@ -759,7 +759,7 @@ class VehicleCommandsController(BaseController):
759
759
  .header_param(Parameter()
760
760
  .key("accept")
761
761
  .value("application/json"))
762
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
762
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
763
763
  ).response(
764
764
  ResponseHandler()
765
765
  .deserializer(APIHelper.json_deserialize)
@@ -806,7 +806,7 @@ class VehicleCommandsController(BaseController):
806
806
  .key("accept")
807
807
  .value("application/json"))
808
808
  .body_serializer(APIHelper.json_serialize)
809
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
809
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
810
810
  ).response(
811
811
  ResponseHandler()
812
812
  .deserializer(APIHelper.json_deserialize)
@@ -844,7 +844,7 @@ class VehicleCommandsController(BaseController):
844
844
  .header_param(Parameter()
845
845
  .key("accept")
846
846
  .value("application/json"))
847
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
847
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
848
848
  ).response(
849
849
  ResponseHandler()
850
850
  .deserializer(APIHelper.json_deserialize)
@@ -882,7 +882,7 @@ class VehicleCommandsController(BaseController):
882
882
  .header_param(Parameter()
883
883
  .key("accept")
884
884
  .value("application/json"))
885
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
885
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
886
886
  ).response(
887
887
  ResponseHandler()
888
888
  .deserializer(APIHelper.json_deserialize)
@@ -4,8 +4,8 @@ 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.and_auth_group import (
8
- And,
7
+ from apimatic_core.authentication.multiple.or_auth_group import (
8
+ Or,
9
9
  )
10
10
  from apimatic_core.authentication.multiple.single_auth import (
11
11
  Single,
@@ -85,7 +85,7 @@ class VehiclesController(BaseController):
85
85
  .header_param(Parameter()
86
86
  .key("accept")
87
87
  .value("application/json"))
88
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
88
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
89
89
  ).response(
90
90
  ResponseHandler()
91
91
  .deserializer(APIHelper.json_deserialize)
@@ -122,7 +122,7 @@ class VehiclesController(BaseController):
122
122
  .header_param(Parameter()
123
123
  .key("accept")
124
124
  .value("application/json"))
125
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
125
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
126
126
  ).response(
127
127
  ResponseHandler()
128
128
  .deserializer(APIHelper.json_deserialize)
@@ -160,7 +160,7 @@ class VehiclesController(BaseController):
160
160
  .header_param(Parameter()
161
161
  .key("accept")
162
162
  .value("application/json"))
163
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
163
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
164
164
  ).response(
165
165
  ResponseHandler()
166
166
  .deserializer(APIHelper.json_deserialize)
@@ -198,7 +198,7 @@ class VehiclesController(BaseController):
198
198
  .header_param(Parameter()
199
199
  .key("accept")
200
200
  .value("application/json"))
201
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
201
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
202
202
  ).response(
203
203
  ResponseHandler()
204
204
  .deserializer(APIHelper.json_deserialize)
@@ -235,7 +235,7 @@ class VehiclesController(BaseController):
235
235
  .header_param(Parameter()
236
236
  .key("accept")
237
237
  .value("application/json"))
238
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
238
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
239
239
  ).response(
240
240
  ResponseHandler()
241
241
  .deserializer(APIHelper.json_deserialize)
@@ -272,7 +272,7 @@ class VehiclesController(BaseController):
272
272
  .header_param(Parameter()
273
273
  .key("accept")
274
274
  .value("application/json"))
275
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
275
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
276
276
  ).response(
277
277
  ResponseHandler()
278
278
  .deserializer(APIHelper.json_deserialize)
@@ -309,7 +309,7 @@ class VehiclesController(BaseController):
309
309
  .header_param(Parameter()
310
310
  .key("accept")
311
311
  .value("application/json"))
312
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
312
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
313
313
  ).response(
314
314
  ResponseHandler()
315
315
  .deserializer(APIHelper.json_deserialize)
@@ -345,7 +345,7 @@ class VehiclesController(BaseController):
345
345
  .header_param(Parameter()
346
346
  .key("accept")
347
347
  .value("application/json"))
348
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
348
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
349
349
  ).response(
350
350
  ResponseHandler()
351
351
  .deserializer(APIHelper.json_deserialize)
@@ -373,7 +373,7 @@ class VehiclesController(BaseController):
373
373
  .header_param(Parameter()
374
374
  .key("accept")
375
375
  .value("application/json"))
376
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
376
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
377
377
  ).response(
378
378
  ResponseHandler()
379
379
  .deserializer(APIHelper.json_deserialize)
@@ -410,7 +410,7 @@ class VehiclesController(BaseController):
410
410
  .header_param(Parameter()
411
411
  .key("accept")
412
412
  .value("application/json"))
413
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
413
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
414
414
  ).response(
415
415
  ResponseHandler()
416
416
  .deserializer(APIHelper.json_deserialize)
@@ -447,7 +447,7 @@ class VehiclesController(BaseController):
447
447
  .header_param(Parameter()
448
448
  .key("accept")
449
449
  .value("application/json"))
450
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
450
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
451
451
  ).response(
452
452
  ResponseHandler()
453
453
  .deserializer(APIHelper.json_deserialize)
@@ -484,7 +484,7 @@ class VehiclesController(BaseController):
484
484
  .header_param(Parameter()
485
485
  .key("accept")
486
486
  .value("application/json"))
487
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
487
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
488
488
  ).response(
489
489
  ResponseHandler()
490
490
  .deserializer(APIHelper.json_deserialize)
@@ -520,7 +520,7 @@ class VehiclesController(BaseController):
520
520
  .header_param(Parameter()
521
521
  .key("accept")
522
522
  .value("application/json"))
523
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
523
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
524
524
  ).response(
525
525
  ResponseHandler()
526
526
  .deserializer(APIHelper.json_deserialize)
@@ -563,7 +563,7 @@ class VehiclesController(BaseController):
563
563
  .value(body)
564
564
  .is_required(True))
565
565
  .body_serializer(APIHelper.json_serialize)
566
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
566
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
567
567
  ).response(
568
568
  ResponseHandler()
569
569
  .is_api_response(True),
@@ -598,7 +598,7 @@ class VehiclesController(BaseController):
598
598
  .header_param(Parameter()
599
599
  .key("accept")
600
600
  .value("application/json"))
601
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
601
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
602
602
  ).response(
603
603
  ResponseHandler()
604
604
  .deserializer(APIHelper.json_deserialize)
@@ -636,7 +636,7 @@ class VehiclesController(BaseController):
636
636
  .key("accept")
637
637
  .value("application/json"))
638
638
  .body_serializer(APIHelper.json_serialize)
639
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
639
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
640
640
  ).response(
641
641
  ResponseHandler()
642
642
  .deserializer(APIHelper.json_deserialize)
@@ -675,7 +675,7 @@ class VehiclesController(BaseController):
675
675
  .key("accept")
676
676
  .value("application/json"))
677
677
  .body_serializer(APIHelper.json_serialize)
678
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
678
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
679
679
  ).response(
680
680
  ResponseHandler()
681
681
  .deserializer(APIHelper.json_deserialize)
@@ -713,7 +713,7 @@ class VehiclesController(BaseController):
713
713
  .header_param(Parameter()
714
714
  .key("accept")
715
715
  .value("application/json"))
716
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
716
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
717
717
  ).response(
718
718
  ResponseHandler()
719
719
  .deserializer(APIHelper.json_deserialize)
@@ -750,7 +750,7 @@ class VehiclesController(BaseController):
750
750
  .header_param(Parameter()
751
751
  .key("accept")
752
752
  .value("application/json"))
753
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
753
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
754
754
  ).response(
755
755
  ResponseHandler()
756
756
  .deserializer(APIHelper.json_deserialize)
@@ -790,7 +790,7 @@ class VehiclesController(BaseController):
790
790
  .key("accept")
791
791
  .value("application/json"))
792
792
  .body_serializer(APIHelper.json_serialize)
793
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
793
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
794
794
  ).response(
795
795
  ResponseHandler()
796
796
  .deserializer(APIHelper.json_deserialize)
@@ -827,7 +827,7 @@ class VehiclesController(BaseController):
827
827
  .header_param(Parameter()
828
828
  .key("accept")
829
829
  .value("application/json"))
830
- .auth(And(Single("bearerAuth"), Single("thirdpartytoken"))),
830
+ .auth(Or(Single("thirdpartytoken"), Single("bearerAuth"))),
831
831
  ).response(
832
832
  ResponseHandler()
833
833
  .deserializer(APIHelper.json_deserialize)