Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
bd94969
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.70.2
speakeasybot Aug 9, 2023
a8fd2e5
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.72.0
speakeasybot Aug 15, 2023
afaba1c
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.74.3
speakeasybot Aug 19, 2023
8d10ad9
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.74.11
speakeasybot Aug 25, 2023
d277a72
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.74.16
speakeasybot Aug 26, 2023
ffb9abd
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.74.17
speakeasybot Aug 29, 2023
352d3c0
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.76.0
speakeasybot Aug 31, 2023
c8f5bfd
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.77.0
speakeasybot Sep 1, 2023
1fc19d3
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.77.2
speakeasybot Sep 2, 2023
201753a
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.78.3
speakeasybot Sep 5, 2023
a6deabe
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.82.5
speakeasybot Sep 12, 2023
8bec480
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.86.0
speakeasybot Sep 16, 2023
a0c4a0a
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.88.0
speakeasybot Sep 20, 2023
36877af
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.91.0
speakeasybot Sep 26, 2023
7d5003f
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.91.2
speakeasybot Sep 27, 2023
174052e
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.91.3
speakeasybot Sep 29, 2023
e5c81ba
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.92.2
speakeasybot Oct 1, 2023
bb6d965
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.92.3
speakeasybot Oct 2, 2023
066154a
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.94.0
speakeasybot Oct 5, 2023
320cd13
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.96.1
speakeasybot Oct 7, 2023
24d7ed1
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.99.1
speakeasybot Oct 13, 2023
683adf6
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.101.0
speakeasybot Oct 18, 2023
aa8894d
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.104.0
speakeasybot Oct 21, 2023
2bd7607
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.109.0
speakeasybot Oct 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.96.1
  • Loading branch information
speakeasybot committed Oct 7, 2023
commit 320cd13aad79a44210fbe2c89bb6f062bcad246e
4 changes: 3 additions & 1 deletion access_token/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ s = epilot.Epilot(
),
)

req = []
req = {
"SAS": 'Nissan',
}

res = s.access_tokens.create_access_token(req)

Expand Down
10 changes: 9 additions & 1 deletion access_token/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,4 +192,12 @@ Based on:
- OpenAPI Doc 0.2.0 https://docs.api.epilot.io/access-token.yaml
- Speakeasy CLI 1.94.0 (2.147.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.10.2] access_token
- [python v1.10.2] access_token

## 2023-10-07 00:37:09
### Changes
Based on:
- OpenAPI Doc 0.2.0 https://docs.api.epilot.io/access-token.yaml
- Speakeasy CLI 1.96.1 (2.150.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.11.0] access_token
4 changes: 3 additions & 1 deletion access_token/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ s = epilot.Epilot(
),
)

req = []
req = {
"SAS": 'Nissan',
}

res = s.access_tokens.create_access_token(req)

Expand Down
10 changes: 0 additions & 10 deletions access_token/docs/models/shared/accesstokenparameters.md

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions access_token/docs/models/shared/journeytokenparameters.md

This file was deleted.

This file was deleted.

17 changes: 0 additions & 17 deletions access_token/docs/models/shared/tokenparameters.md

This file was deleted.

10 changes: 6 additions & 4 deletions access_token/docs/sdks/accesstokens/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ s = epilot.Epilot(
),
)

req = []
req = {
"SAS": 'Nissan',
}

res = s.access_tokens.create_access_token(req)

Expand All @@ -49,9 +51,9 @@ if res.create_access_token_201_application_json_object is not None:

### Parameters

| Parameter | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `request` | [Union[shared.AccessTokenParameters, shared.JourneyTokenParameters]](../../models/shared/tokenparameters.md) | :heavy_check_mark: | The request object to use for the request. |
| Parameter | Type | Required | Description |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. |


### Response
Expand Down
7 changes: 0 additions & 7 deletions access_token/files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ src/epilot/models/operations/getpublictokenjwks.py
src/epilot/models/operations/getpublictokenoidc.py
src/epilot/models/operations/__init__.py
src/epilot/models/shared/accesstokentype.py
src/epilot/models/shared/accesstokenparameters.py
src/epilot/models/shared/journeytokenparameters.py
src/epilot/models/shared/accesstokenitem.py
src/epilot/models/shared/security.py
src/epilot/models/shared/__init__.py
Expand All @@ -43,11 +41,6 @@ docs/models/operations/getpublictokenjwksresponse.md
docs/models/operations/getpublictokenoidc200applicationjson.md
docs/models/operations/getpublictokenoidcresponse.md
docs/models/shared/accesstokentype.md
docs/models/shared/tokenparameters.md
docs/models/shared/accesstokenparameterstokentype.md
docs/models/shared/accesstokenparameters.md
docs/models/shared/journeytokenparameterstokentype.md
docs/models/shared/journeytokenparameters.md
docs/models/shared/accesstokenitem.md
docs/models/shared/security.md
docs/sdks/epilot/README.md
Expand Down
11 changes: 6 additions & 5 deletions access_token/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@ configVersion: 1.0.0
management:
docChecksum: 02397f0d4663d4ade6c146f4c087489b
docVersion: 0.2.0
speakeasyVersion: 1.94.0
generationVersion: 2.147.0
speakeasyVersion: 1.96.1
generationVersion: 2.150.0
generation:
sdkClassName: epilot
sdkFlattening: true
singleTagPerOp: false
telemetryEnabled: false
features:
python:
core: 2.88.2
globalSecurity: 2.81.1
core: 2.88.4
globalSecurity: 2.82.0
globalServerURLs: 2.82.0
python:
version: 1.10.2
version: 1.11.0
author: epilot
description: Python Client SDK for Epilot
flattenGlobalSecurity: false
maxMethodParams: 0
packageName: epilot-access-token
2 changes: 1 addition & 1 deletion access_token/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="epilot-access-token",
version="1.10.2",
version="1.11.0",
author="epilot",
description="Python Client SDK for Epilot",
long_description=long_description,
Expand Down
4 changes: 2 additions & 2 deletions access_token/src/epilot/access_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .sdkconfiguration import SDKConfiguration
from epilot import utils
from epilot.models import errors, operations, shared
from typing import Optional, Union
from typing import Any, Optional

class AccessTokens:
r"""Create Access Tokens for epilot APIs"""
Expand All @@ -13,7 +13,7 @@ def __init__(self, sdk_config: SDKConfiguration) -> None:
self.sdk_configuration = sdk_config


def create_access_token(self, request: Union[shared.AccessTokenParameters, shared.JourneyTokenParameters]) -> operations.CreateAccessTokenResponse:
def create_access_token(self, request: Any) -> operations.CreateAccessTokenResponse:
r"""createAccessToken
**Access Token type: `API`** (default if not specified):

Expand Down
1 change: 1 addition & 0 deletions access_token/src/epilot/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""

# __init__.py
4 changes: 1 addition & 3 deletions access_token/src/epilot/models/shared/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""

from .accesstokenitem import *
from .accesstokenparameters import *
from .accesstokentype import *
from .journeytokenparameters import *
from .security import *

__all__ = ["AccessTokenItem","AccessTokenParameters","AccessTokenParametersTokenType","AccessTokenType","JourneyTokenParameters","JourneyTokenParametersTokenType","Security"]
__all__ = ["AccessTokenItem","AccessTokenType","Security"]
24 changes: 0 additions & 24 deletions access_token/src/epilot/models/shared/accesstokenparameters.py

This file was deleted.

24 changes: 0 additions & 24 deletions access_token/src/epilot/models/shared/journeytokenparameters.py

This file was deleted.

8 changes: 5 additions & 3 deletions access_token/src/epilot/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Epilot:
sdk_configuration: SDKConfiguration

def __init__(self,
security: shared.Security = None,
epilot_auth: str,
server_idx: int = None,
server_url: str = None,
url_params: dict[str, str] = None,
Expand All @@ -26,8 +26,8 @@ def __init__(self,
) -> None:
"""Instantiates the SDK configuring it with the provided parameters.

:param security: The security details required for authentication
:type security: shared.Security
:param epilot_auth: The epilot_auth required for authentication
:type epilot_auth: str
:param server_idx: The index of the server to use for all operations
:type server_idx: int
:param server_url: The server URL to use for all operations
Expand All @@ -42,8 +42,10 @@ def __init__(self,
if client is None:
client = requests_http.Session()


security_client = utils.configure_security_client(client, security)


if server_url is not None:
if url_params is not None:
server_url = utils.template_url(server_url, url_params)
Expand Down
6 changes: 3 additions & 3 deletions access_token/src/epilot/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class SDKConfiguration:
server_idx: int = 0
language: str = 'python'
openapi_doc_version: str = '0.2.0'
sdk_version: str = '1.10.2'
gen_version: str = '2.147.0'
user_agent: str = 'speakeasy-sdk/python 1.10.2 2.147.0 0.2.0 epilot-access-token'
sdk_version: str = '1.11.0'
gen_version: str = '2.150.0'
user_agent: str = 'speakeasy-sdk/python 1.11.0 2.150.0 0.2.0 epilot-access-token'
retry_config: RetryConfig = None

def get_server_details(self) -> tuple[str, dict[str, str]]:
Expand Down