samsara-api 2.0.1__py3-none-any.whl → 2.0.2__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.
@@ -30,7 +30,7 @@ class TokensClient:
30
30
  self, *, code: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None
31
31
  ) -> CreateTokensResponse:
32
32
  """
33
- Exchange an authorization code for access and refresh tokens.
33
+ Exchange an authorization code for access token and refresh token.
34
34
 
35
35
  Parameters
36
36
  ----------
@@ -108,7 +108,7 @@ class AsyncTokensClient:
108
108
  self, *, code: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None
109
109
  ) -> CreateTokensResponse:
110
110
  """
111
- Exchange an authorization code for access and refresh tokens.
111
+ Exchange an authorization code for access token and refresh token.
112
112
 
113
113
  Parameters
114
114
  ----------
@@ -22,7 +22,7 @@ class RawTokensClient:
22
22
  self, *, code: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None
23
23
  ) -> HttpResponse[CreateTokensResponse]:
24
24
  """
25
- Exchange an authorization code for access and refresh tokens.
25
+ Exchange an authorization code for access token and refresh token.
26
26
 
27
27
  Parameters
28
28
  ----------
@@ -120,7 +120,7 @@ class AsyncRawTokensClient:
120
120
  self, *, code: typing.Optional[str] = OMIT, request_options: typing.Optional[RequestOptions] = None
121
121
  ) -> AsyncHttpResponse[CreateTokensResponse]:
122
122
  """
123
- Exchange an authorization code for access and refresh tokens.
123
+ Exchange an authorization code for access token and refresh token.
124
124
 
125
125
  Parameters
126
126
  ----------
@@ -20,10 +20,10 @@ class BaseClientWrapper:
20
20
 
21
21
  def get_headers(self) -> typing.Dict[str, str]:
22
22
  headers: typing.Dict[str, str] = {
23
- "User-Agent": "samsara-api/2.0.1",
23
+ "User-Agent": "samsara-api/2.0.2",
24
24
  "X-Fern-Language": "Python",
25
25
  "X-Fern-SDK-Name": "samsara-api",
26
- "X-Fern-SDK-Version": "2.0.1",
26
+ "X-Fern-SDK-Version": "2.0.2",
27
27
  }
28
28
  headers["Authorization"] = f"Bearer {self._get_token()}"
29
29
  return headers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: samsara-api
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary:
5
5
  License: MIT
6
6
  Requires-Python: >=3.8,<4.0
@@ -45,8 +45,8 @@ samsara/auth/__init__.py,sha256=9yWTBw0ONdi-3tmC4kjbCpApiVniv2aK5csdVnHOI20,193
45
45
  samsara/auth/client.py,sha256=iGRrTmTAyBspdf_-HcGqn0Pb0s1HQwco4PoSphDFwEU,1236
46
46
  samsara/auth/raw_client.py,sha256=Xjah5juxJ0L8FfHyZBKMoOVHWxzvqTv4qtQixxA3jDc,405
47
47
  samsara/auth/tokens/__init__.py,sha256=gbhdUVQ3-j2WiNIQN0-h_5RODBZ4gvJgteMmSdgtscQ,161
48
- samsara/auth/tokens/client.py,sha256=g6AlGPqOt3gHPDrz2q9Glemm7jEGHFiGFnijUY4a66Q,4959
49
- samsara/auth/tokens/raw_client.py,sha256=ZEnP5Xi8DkY-SEsiQkNAsB3b06AIoal5_cmRcW_Zuxo,7528
48
+ samsara/auth/tokens/client.py,sha256=GV1OaAq5fXc4-FL7HjQDFWEakZ2d4TOc0_vEHmhfHFM,4969
49
+ samsara/auth/tokens/raw_client.py,sha256=vxm59mmAIEXiP8mxJp5oVRHx486UMqANtKJgCGQK6Do,7538
50
50
  samsara/auth/tokens/types/__init__.py,sha256=XmB_JdsWYwBG-Tz8M8Qj3rfQJWmQtPXDtsFiqy_VuNs,178
51
51
  samsara/auth/tokens/types/create_tokens_response.py,sha256=wcHMN9xNW0DfH4-wXKa1l1mY14BmMxl6UDLJGLwNDsY,615
52
52
  samsara/cameras/__init__.py,sha256=6oUbRWZI3I0mSd4P2kGnp-bNVIQoyoR6J4_1OXzluws,361
@@ -83,7 +83,7 @@ samsara/contacts/client.py,sha256=-DvPNxYQZboAYekVkG22JH8GLN5Pb441W0pD7amZue8,19
83
83
  samsara/contacts/raw_client.py,sha256=nMFcdeS_I53QS01zxF2yeY6-t6cbQ7ZeZeqUxKcH7yI,27530
84
84
  samsara/core/__init__.py,sha256=4POYbbRlgR7TwGFY5nmHpaa7nFgXOX_pYHcN1Ezh2p8,1643
85
85
  samsara/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
86
- samsara/core/client_wrapper.py,sha256=aFWqxEJuMppM6opz7is_fdswon0iqQKOzU1ERnE7M3E,2236
86
+ samsara/core/client_wrapper.py,sha256=hIfX6cm4uTJwU6ChS1QRuLatx5JFMRaUkADqHKdDL1Y,2236
87
87
  samsara/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
88
88
  samsara/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
89
89
  samsara/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -1794,7 +1794,7 @@ samsara/webhooks/types/__init__.py,sha256=gZew8TwQaEiQWvSAewo9htvyM3UqVSZc1UJ2Aa
1794
1794
  samsara/webhooks/types/webhooks_patch_webhook_request_body_version.py,sha256=WaQrAnZGbaz7eQ6fpnX77L5nb8dLwuUkEQdvx5mCGAw,224
1795
1795
  samsara/webhooks/types/webhooks_post_webhooks_request_body_event_types_item.py,sha256=-whKIc9UjBEIXZUxwkDULLSxR0Dg_-6KxRUjcfyvTuQ,927
1796
1796
  samsara/webhooks/types/webhooks_post_webhooks_request_body_version.py,sha256=1HR1l6_Qc_jS_mf_UkguxgMiiIeAiwaX7jjOTQfG1bw,224
1797
- samsara_api-2.0.1.dist-info/LICENSE,sha256=uX-nl5hOEHp4uvQPCcpde-doNbQhV5uRQNwkB474IoQ,1064
1798
- samsara_api-2.0.1.dist-info/METADATA,sha256=2v6um5F0mANhRuyIwFWWq99inT9UnIVEWCA1IPOnNVY,6831
1799
- samsara_api-2.0.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1800
- samsara_api-2.0.1.dist-info/RECORD,,
1797
+ samsara_api-2.0.2.dist-info/LICENSE,sha256=uX-nl5hOEHp4uvQPCcpde-doNbQhV5uRQNwkB474IoQ,1064
1798
+ samsara_api-2.0.2.dist-info/METADATA,sha256=MfYemCJ5BR4e-vNONChB43cUX9EC7q14bp8wbBfich0,6831
1799
+ samsara_api-2.0.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
1800
+ samsara_api-2.0.2.dist-info/RECORD,,