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.94.0
  • Loading branch information
speakeasybot committed Oct 5, 2023
commit 066154a322223652a95b8b608a79deff2933af62
10 changes: 9 additions & 1 deletion access_token/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,12 @@ Based on:
- OpenAPI Doc 0.2.0 https://docs.api.epilot.io/access-token.yaml
- Speakeasy CLI 1.92.3 (2.143.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v1.10.1] access_token
- [python v1.10.1] access_token

## 2023-10-05 00:38:01
### Changes
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
10 changes: 5 additions & 5 deletions access_token/docs/models/shared/accesstokenparameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
| `assignments` | list[*str*] | :heavy_minus_sign: | List of role ids attached to an user | |
| `name` | *Optional[str]* | :heavy_check_mark: | Human readable name for access token | Postman Access Token |
| `token_type` | *Optional[str]* | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| `assignments` | list[*str*] | :heavy_minus_sign: | List of role ids attached to an user | |
| `name` | *Optional[str]* | :heavy_check_mark: | Human readable name for access token | Postman Access Token |
| `token_type` | [Optional[shared.AccessTokenParametersTokenType]](undefined/models/shared/accesstokenparameterstokentype.md) | :heavy_minus_sign: | N/A | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# AccessTokenParametersTokenType


## Values

| Name | Value |
| ----- | ----- |
| `API` | api |
10 changes: 5 additions & 5 deletions access_token/docs/models/shared/journeytokenparameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
| `journey_id` | *Optional[str]* | :heavy_check_mark: | Journey ID for access token type "journey" | |
| `name` | *Optional[str]* | :heavy_check_mark: | Human readable name for access token | Postman Access Token |
| `token_type` | *Optional[str]* | :heavy_minus_sign: | N/A | |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `journey_id` | *Optional[str]* | :heavy_check_mark: | Journey ID for access token type "journey" | |
| `name` | *Optional[str]* | :heavy_check_mark: | Human readable name for access token | Postman Access Token |
| `token_type` | [Optional[shared.JourneyTokenParametersTokenType]](undefined/models/shared/journeytokenparameterstokentype.md) | :heavy_minus_sign: | N/A | |
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# JourneyTokenParametersTokenType


## Values

| Name | Value |
| --------- | --------- |
| `JOURNEY` | journey |
2 changes: 2 additions & 0 deletions access_token/files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ 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
Expand Down
8 changes: 4 additions & 4 deletions access_token/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ configVersion: 1.0.0
management:
docChecksum: 02397f0d4663d4ade6c146f4c087489b
docVersion: 0.2.0
speakeasyVersion: 1.92.3
generationVersion: 2.143.2
speakeasyVersion: 1.94.0
generationVersion: 2.147.0
generation:
sdkClassName: epilot
sdkFlattening: true
singleTagPerOp: false
telemetryEnabled: false
features:
python:
core: 2.88.1
core: 2.88.2
globalSecurity: 2.81.1
globalServerURLs: 2.82.0
python:
version: 1.10.1
version: 1.10.2
author: epilot
description: Python Client SDK for Epilot
maxMethodParams: 0
Expand Down
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.1",
version="1.10.2",
author="epilot",
description="Python Client SDK for Epilot",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion access_token/src/epilot/models/shared/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from .journeytokenparameters import *
from .security import *

__all__ = ["AccessTokenItem","AccessTokenParameters","AccessTokenType","JourneyTokenParameters","Security"]
__all__ = ["AccessTokenItem","AccessTokenParameters","AccessTokenParametersTokenType","AccessTokenType","JourneyTokenParameters","JourneyTokenParametersTokenType","Security"]
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
from __future__ import annotations
import dataclasses
from dataclasses_json import Undefined, dataclass_json
from enum import Enum
from epilot import utils
from typing import Final, Optional
from typing import Optional

class AccessTokenParametersTokenType(str, Enum):
API = 'api'


@dataclass_json(undefined=Undefined.EXCLUDE)
Expand All @@ -15,6 +19,6 @@ class AccessTokenParameters:
r"""Human readable name for access token"""
assignments: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('assignments'), 'exclude': lambda f: f is None }})
r"""List of role ids attached to an user"""
TOKEN_TYPE: Final[Optional[str]] = dataclasses.field(default='api', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token_type'), 'exclude': lambda f: f is None }})
token_type: Optional[AccessTokenParametersTokenType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token_type'), 'exclude': lambda f: f is None }})


Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@
from __future__ import annotations
import dataclasses
from dataclasses_json import Undefined, dataclass_json
from enum import Enum
from epilot import utils
from typing import Final, Optional
from typing import Optional

class JourneyTokenParametersTokenType(str, Enum):
JOURNEY = 'journey'


@dataclass_json(undefined=Undefined.EXCLUDE)
Expand All @@ -15,6 +19,6 @@ class JourneyTokenParameters:
r"""Journey ID for access token type \\"journey\\" """
name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }})
r"""Human readable name for access token"""
TOKEN_TYPE: Final[Optional[str]] = dataclasses.field(default='journey', metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token_type'), 'exclude': lambda f: f is None }})
token_type: Optional[JourneyTokenParametersTokenType] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('token_type'), 'exclude': lambda f: f is None }})


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.1'
gen_version: str = '2.143.2'
user_agent: str = 'speakeasy-sdk/python 1.10.1 2.143.2 0.2.0 epilot-access-token'
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'
retry_config: RetryConfig = None

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