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
Next Next commit
ci: regenerated with OpenAPI Doc 0.2.0, Speakeay CLI 1.70.2
  • Loading branch information
speakeasybot committed Aug 9, 2023
commit bd94969154c190cc867d703a86c3b9d4cbe72f61
6 changes: 6 additions & 0 deletions access_token/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
venv/
src/*.egg-info/
__pycache__/
.pytest_cache/
.python-version
.DS_Store
35 changes: 18 additions & 17 deletions access_token/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,24 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=access

## SDK Example Usage
<!-- Start SDK Example Usage -->


```python
import epilot
from epilot.models import operations, shared
from epilot.models import shared

s = epilot.Epilot(
security=shared.Security(
epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE",
epilot_auth="",
),
)


req = shared.JourneyTokenParameters(
journey_id="deserunt",
name="Postman Access Token",
token_type="journey",
journey_id='provident',
name='Postman Access Token',
token_type=shared.JourneyTokenParametersTokenType.JOURNEY,
)

res = s.access_tokens.create_access_token(req)

if res.create_access_token_201_application_json_object is not None:
Expand All @@ -35,21 +36,21 @@ if res.create_access_token_201_application_json_object is not None:
<!-- End SDK Example Usage -->

<!-- Start SDK Available Operations -->
## SDK Available Operations
## Available Resources and Operations


### access_tokens
### [access_tokens](docs/sdks/accesstokens/README.md)

* `create_access_token` - createAccessToken
* `list_access_tokens` - listAccessTokens
* `revoke_access_token` - revokeAccessToken
* [create_access_token](docs/sdks/accesstokens/README.md#create_access_token) - createAccessToken
* [list_access_tokens](docs/sdks/accesstokens/README.md#list_access_tokens) - listAccessTokens
* [revoke_access_token](docs/sdks/accesstokens/README.md#revoke_access_token) - revokeAccessToken

### public
### [public](docs/sdks/public/README.md)

* `get_access_token_jwks` - getAccessTokenJwks
* `get_access_token_oidc` - getAccessTokenOIDC
* `get_public_token_jwks` - getPublicTokenJwks
* `get_public_token_oidc` - getPublicTokenOIDC
* [get_access_token_jwks](docs/sdks/public/README.md#get_access_token_jwks) - getAccessTokenJwks
* [get_access_token_oidc](docs/sdks/public/README.md#get_access_token_oidc) - getAccessTokenOIDC
* [get_public_token_jwks](docs/sdks/public/README.md#get_public_token_jwks) - getPublicTokenJwks
* [get_public_token_oidc](docs/sdks/public/README.md#get_public_token_oidc) - getPublicTokenOIDC
<!-- End SDK Available Operations -->

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
10 changes: 9 additions & 1 deletion access_token/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ Based on:
### Changes
Based on:
- OpenAPI Doc 0.2.0 https://docs.api.epilot.io/access-token.yaml
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy

## 2023-08-09 00:44:50
### Changes
Based on:
- OpenAPI Doc 0.2.0 https://docs.api.epilot.io/access-token.yaml
- Speakeasy CLI 1.70.2 (2.83.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.3.0] access_token
15 changes: 8 additions & 7 deletions access_token/USAGE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<!-- Start SDK Example Usage -->


```python
import epilot
from epilot.models import operations, shared
from epilot.models import shared

s = epilot.Epilot(
security=shared.Security(
epilot_auth="Bearer YOUR_BEARER_TOKEN_HERE",
epilot_auth="",
),
)


req = shared.JourneyTokenParameters(
journey_id="deserunt",
name="Postman Access Token",
token_type="journey",
journey_id='provident',
name='Postman Access Token',
token_type=shared.JourneyTokenParametersTokenType.JOURNEY,
)

res = s.access_tokens.create_access_token(req)

if res.create_access_token_201_application_json_object is not None:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# CreateAccessToken201ApplicationJSON

The new generated Access Token


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `assignments` | list[*str*] | :heavy_minus_sign: | List of role ids attached to an user | |
| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | |
| `id` | *str* | :heavy_check_mark: | N/A | api_5ZugdRXasLfWBypHi93Fk |
| `journey_id` | *Optional[str]* | :heavy_minus_sign: | Journey ID for access token type "journey" | |
| `name` | *str* | :heavy_check_mark: | Human readable name for access token | Postman Access Token |
| `token` | *Optional[str]* | :heavy_minus_sign: | A JWT Access Token | eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp... |
| `token_type` | [Optional[shared.AccessTokenType]](../../models/shared/accesstokentype.md) | :heavy_minus_sign: | Access token type | api |
11 changes: 11 additions & 0 deletions access_token/docs/models/operations/createaccesstokenresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# CreateAccessTokenResponse


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | N/A |
| `status_code` | *int* | :heavy_check_mark: | N/A |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
| `create_access_token_201_application_json_object` | [Optional[CreateAccessToken201ApplicationJSON]](../../models/operations/createaccesstoken201applicationjson.md) | :heavy_minus_sign: | The new generated Access Token |
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# GetAccessTokenJwks200ApplicationJSON

Set of jwks


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| `keys` | list[[GetAccessTokenJwks200ApplicationJSONKeys](../../models/operations/getaccesstokenjwks200applicationjsonkeys.md)] | :heavy_minus_sign: | N/A |
Loading