Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0a94dbb
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.45.2
speakeasybot Jun 9, 2023
d250653
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.0
speakeasybot Jun 10, 2023
d69988b
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.1
speakeasybot Jun 11, 2023
f96bbec
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.47.3
speakeasybot Jun 14, 2023
b0a4330
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.48.0
speakeasybot Jun 16, 2023
4c1fc96
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.0
speakeasybot Jun 20, 2023
926fc27
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.49.1
speakeasybot Jun 21, 2023
0406c75
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.50.1
speakeasybot Jun 23, 2023
678628c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.1
speakeasybot Jun 27, 2023
5e46091
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.51.3
speakeasybot Jun 29, 2023
d3dc337
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.0
speakeasybot Jul 1, 2023
203191c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.52.2
speakeasybot Jul 6, 2023
c6137c7
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.0
speakeasybot Jul 7, 2023
0c207c9
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.53.1
speakeasybot Jul 8, 2023
06cd569
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.0
speakeasybot Jul 11, 2023
de7e41a
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.56.3
speakeasybot Jul 12, 2023
742c551
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.57.0
speakeasybot Jul 13, 2023
5807706
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.59.0
speakeasybot Jul 14, 2023
c1c1a72
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.61.0
speakeasybot Jul 18, 2023
202d745
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.62.1
speakeasybot Jul 19, 2023
96048b5
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.64.0
speakeasybot Jul 22, 2023
7a1d3e3
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.0
speakeasybot Jul 26, 2023
61ed005
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.1
speakeasybot Jul 27, 2023
eb08589
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.65.2
speakeasybot Jul 28, 2023
d4972c8
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.66.1
speakeasybot Aug 1, 2023
ba0cd3d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.1
speakeasybot Aug 3, 2023
44ec0ac
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.68.3
speakeasybot Aug 4, 2023
0f8480e
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.69.1
speakeasybot Aug 8, 2023
0fa18eb
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.72.0
speakeasybot Aug 15, 2023
5c4cf3d
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.73.1
speakeasybot Aug 18, 2023
57c2d68
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.3
speakeasybot Aug 19, 2023
fb58e1c
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.74.7
speakeasybot Aug 23, 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 1.0.0, Speakeay CLI 1.45.2
  • Loading branch information
speakeasybot committed Jun 9, 2023
commit 0a94dbb080d5d0722a3048dc83403f94331bf877
5 changes: 5 additions & 0 deletions journey_config/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
venv/
src/*.egg-info/
__pycache__/
.pytest_cache/
.python-version`
31 changes: 15 additions & 16 deletions journey_config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,20 @@ pip install git+https://github.com/epilot-dev/sdk-python.git#subdirectory=journe
<!-- Start SDK Example Usage -->
```python
import epilot
from epilot.models import operations, shared


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


req = {
"deserunt": "porro",
"nulla": "id",
"vero": "perspiciatis",
"provident": 'distinctio',
"quibusdam": 'unde',
"nulla": 'corrupti',
}

res = s.journeys.create_journey(req)

if res.journey_response is not None:
Expand All @@ -35,18 +34,18 @@ if res.journey_response is not None:
<!-- End SDK Example Usage -->

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


### journeys
### [journeys](docs/journeys/README.md)

* `create_journey` - createJourney
* `get_journey` - getJourney
* `get_journeys_by_org_id` - getJourneysByOrgId
* `patch_update_journey` - patchUpdateJourney
* `remove_journey` - removeJourney
* `search_journeys` - searchJourneys
* `update_journey` - updateJourney
* [create_journey](docs/journeys/README.md#create_journey) - createJourney
* [get_journey](docs/journeys/README.md#get_journey) - getJourney
* [get_journeys_by_org_id](docs/journeys/README.md#get_journeys_by_org_id) - getJourneysByOrgId
* [patch_update_journey](docs/journeys/README.md#patch_update_journey) - patchUpdateJourney
* [remove_journey](docs/journeys/README.md#remove_journey) - removeJourney
* [search_journeys](docs/journeys/README.md#search_journeys) - searchJourneys
* [update_journey](docs/journeys/README.md#update_journey) - updateJourney
<!-- End SDK Available Operations -->

### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)
8 changes: 7 additions & 1 deletion journey_config/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,10 @@ Based on:
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/journey-config.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-06-09 00:32:10
### Changes
Based on:
- OpenAPI Doc 1.0.0 https://docs.api.epilot.io/journey-config.yaml
- Speakeasy CLI 1.45.2 (2.37.2) https://github.com/speakeasy-api/speakeasy
13 changes: 6 additions & 7 deletions journey_config/USAGE.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
<!-- Start SDK Example Usage -->
```python
import epilot
from epilot.models import operations, shared


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


req = {
"deserunt": "porro",
"nulla": "id",
"vero": "perspiciatis",
"provident": 'distinctio',
"quibusdam": 'unde',
"nulla": 'corrupti',
}

res = s.journeys.create_journey(req)

if res.journey_response is not None:
Expand Down
8 changes: 8 additions & 0 deletions journey_config/docs/epilot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Epilot SDK

## Overview

Journey API: API to configure journeys

### Available Operations

203 changes: 203 additions & 0 deletions journey_config/docs/journeys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
# journeys

### Available Operations

* [create_journey](#create_journey) - createJourney
* [get_journey](#get_journey) - getJourney
* [get_journeys_by_org_id](#get_journeys_by_org_id) - getJourneysByOrgId
* [patch_update_journey](#patch_update_journey) - patchUpdateJourney
* [remove_journey](#remove_journey) - removeJourney
* [search_journeys](#search_journeys) - searchJourneys
* [update_journey](#update_journey) - updateJourney

## create_journey

Create a Journey

### Example Usage

```python
import epilot


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

req = {
"vel": 'error',
"deserunt": 'suscipit',
"iure": 'magnam',
"debitis": 'ipsa',
}

res = s.journeys.create_journey(req)

if res.journey_response is not None:
# handle response
```

## get_journey

Get journey by id

### Example Usage

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

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

req = operations.GetJourneyRequest(
id='509cdffe-424f-457a-95c2-9708c304ce77',
org_id='delectus',
source='tempora',
)

res = s.journeys.get_journey(req)

if res.journey_response is not None:
# handle response
```

## get_journeys_by_org_id

Get all journeys by organization id

### Example Usage

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

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

req = operations.GetJourneysByOrgIDRequest(
id='123',
)

res = s.journeys.get_journeys_by_org_id(req)

if res.get_journeys_response is not None:
# handle response
```

## patch_update_journey

Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").

### Example Usage

```python
import epilot


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

req = {
"molestiae": 'minus',
"placeat": 'voluptatum',
}

res = s.journeys.patch_update_journey(req)

if res.journey_response is not None:
# handle response
```

## remove_journey

Remove journey by id

### Example Usage

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

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

req = operations.RemoveJourneyRequest(
id='509cdffe-424f-457a-95c2-9708c304ce77',
)

res = s.journeys.remove_journey(req)

if res.status_code == 200:
# handle response
```

## search_journeys

Search Journeys

### Example Usage

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

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

req = shared.SearchJourneysQueryRequest(
from_=0,
q='_tags:*Flex*',
size=25,
sort='_created_at:desc',
)

res = s.journeys.search_journeys(req)

if res.search_journeys_response is not None:
# handle response
```

## update_journey

Update a Journey

### Example Usage

```python
import epilot


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

req = {
"excepturi": 'nisi',
"recusandae": 'temporibus',
}

res = s.journeys.update_journey(req)

if res.journey_response is not None:
# handle response
```
4 changes: 4 additions & 0 deletions journey_config/files.gen
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
src/epilot/sdkconfiguration.py
src/epilot/journeys.py
src/epilot/sdk.py
.gitignore
pylintrc
setup.py
src/epilot/__init__.py
Expand All @@ -19,4 +21,6 @@ src/epilot/models/shared/searchjourneysresponse.py
src/epilot/models/shared/searchjourneysqueryrequest.py
src/epilot/models/shared/security.py
src/epilot/models/shared/__init__.py
docs/epilot/README.md
docs/journeys/README.md
USAGE.md
9 changes: 5 additions & 4 deletions journey_config/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ configVersion: 1.0.0
management:
docChecksum: a5b996f3b4fa34ec88808240dbdd04e7
docVersion: 1.0.0
speakeasyVersion: 1.19.2
generationVersion: 2.16.5
speakeasyVersion: 1.45.2
generationVersion: 2.37.2
generation:
telemetryEnabled: false
sdkClassName: epilot
sdkFlattening: true
singleTagPerOp: false
telemetryEnabled: false
python:
version: 1.2.2
version: 1.3.0
author: epilot
description: Python Client SDK for Epilot
maxMethodParams: 0
packageName: epilot-journey-config
13 changes: 6 additions & 7 deletions journey_config/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,7 @@ attr-naming-style=snake_case
#attr-rgx=

# Bad variable names which should always be refused, separated by a comma.
bad-names=foo,
bar,
baz,
toto,
tutu,
tata
bad-names=

# Bad variable names regexes, separated by a comma. If names match any regex,
# they will always be refused
Expand Down Expand Up @@ -440,7 +435,11 @@ disable=raw-checker-failed,
trailing-newlines,
too-many-public-methods,
too-many-locals,
too-many-lines
too-many-lines,
using-constant-test,
too-many-statements,
cyclic-import,
too-many-nested-blocks

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
Loading