Skip to content

Commit dc22adf

Browse files
committed
ci: regenerated with OpenAPI Doc 1.0.0, Speakeay CLI 1.20.0
1 parent fefa02a commit dc22adf

File tree

263 files changed

+920
-11745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

263 files changed

+920
-11745
lines changed

README.md

Lines changed: 90 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,83 @@ pip install git+https://github.com/airbytehq/airbyte-api-python-sdk.git
3131
import airbyte
3232
from airbyte.models import operations, shared
3333

34-
s = airbyte.Airbyte(
35-
security=shared.Security(
36-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
37-
),
38-
)
34+
s = airbyte.Airbyte()
3935

4036

4137
req = shared.ConnectionCreateRequest(
42-
destination_id="89bd9d8d-69a6-474e-8f46-7cc8796ed151",
43-
geography="us",
44-
name="perferendis",
38+
configurations=shared.StreamConfigurations(
39+
streams=[
40+
shared.StreamConfiguration(
41+
cursor_field=[
42+
"distinctio",
43+
"quibusdam",
44+
"unde",
45+
],
46+
name="Johnnie Stamm",
47+
primary_key=[
48+
[
49+
"iure",
50+
"magnam",
51+
],
52+
[
53+
"ipsa",
54+
"delectus",
55+
"tempora",
56+
"suscipit",
57+
],
58+
[
59+
"minus",
60+
"placeat",
61+
],
62+
],
63+
sync_mode="incremental_append",
64+
),
65+
shared.StreamConfiguration(
66+
cursor_field=[
67+
"excepturi",
68+
"nisi",
69+
],
70+
name="Jake Bernier MD",
71+
primary_key=[
72+
[
73+
"repellendus",
74+
"sapiente",
75+
],
76+
],
77+
sync_mode="incremental_deduped_history",
78+
),
79+
shared.StreamConfiguration(
80+
cursor_field=[
81+
"at",
82+
],
83+
name="Emilio Krajcik",
84+
primary_key=[
85+
[
86+
"porro",
87+
"dolorum",
88+
"dicta",
89+
],
90+
[
91+
"officia",
92+
"occaecati",
93+
"fugit",
94+
],
95+
],
96+
sync_mode="incremental_append",
97+
),
98+
],
99+
),
100+
data_residency="eu",
101+
destination_id="c816742c-b739-4205-9293-96fea7596eb1",
102+
name="Lela Orn",
103+
namespace_definition="source",
104+
namespace_format="${SOURCE_NAMESPACE}",
105+
prefix="dolorem",
45106
schedule=shared.ConnectionScheduleCreate(
46-
cron_expression="ipsam",
47-
schedule_type="cron",
107+
cron_expression="corporis",
108+
schedule_type="manual",
48109
),
49-
source_id="fc2ddf7c-c78c-4a1b-a928-fc816742cb73",
110+
source_id="c5955907-aff1-4a3a-afa9-467739251aa5",
50111
)
51112

52113
res = s.connections.create_connection(req)
@@ -63,12 +124,14 @@ if res.connection_response is not None:
63124
### connections
64125

65126
* `create_connection` - Create a connection
127+
* `delete_connection` - Delete a Connection
66128
* `get_connection` - Get Connection details
67129
* `list_connections` - List connections
68130

69131
### destinations
70132

71133
* `create_destination` - Create a destination
134+
* `delete_destination` - Delete a Destination
72135
* `get_destination` - Get Destination details
73136
* `list_destinations` - List destinations
74137

@@ -79,17 +142,33 @@ if res.connection_response is not None:
79142
* `get_job` - Get Job status and details
80143
* `list_jobs` - List Jobs by sync type
81144

145+
### o_auth
146+
147+
* `create_or_update_workspace_o_auth_credentials` - Initiate OAuth for a source.
148+
* `oauth_callback` - Receive OAuth callbacks
149+
82150
### sources
83151

84152
* `create_source` - Create a source
153+
* `delete_source` - Delete a Source
85154
* `get_source` - Get Source details
155+
* `initiate_o_auth` - Initiate OAuth for a source.
86156
* `list_sources` - List sources
87157

158+
### streams
159+
160+
* `get_stream_properties` - Get stream properties
161+
88162
### workspaces
89163

90164
* `create_workspace` - Create a workspace
165+
* `delete_workspace` - Delete a Workspace
91166
* `get_workspace` - Get Workspace details
92167
* `list_workspaces` - List workspaces
168+
169+
### health
170+
171+
* `get_health_check` - Health Check
93172
<!-- End SDK Available Operations -->
94173

95174
### Maturity

RELEASES.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,10 @@ Based on:
3434
### Changes
3535
Based on:
3636
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
37-
- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy
37+
- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy
38+
39+
## 2023-04-14 02:48:50
40+
### Changes
41+
Based on:
42+
- OpenAPI Doc 1.0.0 https://prod.speakeasyapi.dev/v1/apis/public-api/version/v0.1.0/schema/download
43+
- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy

USAGE.md

Lines changed: 72 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,83 @@
33
import airbyte
44
from airbyte.models import operations, shared
55

6-
s = airbyte.Airbyte(
7-
security=shared.Security(
8-
bearer_auth="Bearer YOUR_BEARER_TOKEN_HERE",
9-
),
10-
)
6+
s = airbyte.Airbyte()
117

128

139
req = shared.ConnectionCreateRequest(
14-
destination_id="89bd9d8d-69a6-474e-8f46-7cc8796ed151",
15-
geography="us",
16-
name="perferendis",
10+
configurations=shared.StreamConfigurations(
11+
streams=[
12+
shared.StreamConfiguration(
13+
cursor_field=[
14+
"distinctio",
15+
"quibusdam",
16+
"unde",
17+
],
18+
name="Johnnie Stamm",
19+
primary_key=[
20+
[
21+
"iure",
22+
"magnam",
23+
],
24+
[
25+
"ipsa",
26+
"delectus",
27+
"tempora",
28+
"suscipit",
29+
],
30+
[
31+
"minus",
32+
"placeat",
33+
],
34+
],
35+
sync_mode="incremental_append",
36+
),
37+
shared.StreamConfiguration(
38+
cursor_field=[
39+
"excepturi",
40+
"nisi",
41+
],
42+
name="Jake Bernier MD",
43+
primary_key=[
44+
[
45+
"repellendus",
46+
"sapiente",
47+
],
48+
],
49+
sync_mode="incremental_deduped_history",
50+
),
51+
shared.StreamConfiguration(
52+
cursor_field=[
53+
"at",
54+
],
55+
name="Emilio Krajcik",
56+
primary_key=[
57+
[
58+
"porro",
59+
"dolorum",
60+
"dicta",
61+
],
62+
[
63+
"officia",
64+
"occaecati",
65+
"fugit",
66+
],
67+
],
68+
sync_mode="incremental_append",
69+
),
70+
],
71+
),
72+
data_residency="eu",
73+
destination_id="c816742c-b739-4205-9293-96fea7596eb1",
74+
name="Lela Orn",
75+
namespace_definition="source",
76+
namespace_format="${SOURCE_NAMESPACE}",
77+
prefix="dolorem",
1778
schedule=shared.ConnectionScheduleCreate(
18-
cron_expression="ipsam",
19-
schedule_type="cron",
79+
cron_expression="corporis",
80+
schedule_type="manual",
2081
),
21-
source_id="fc2ddf7c-c78c-4a1b-a928-fc816742cb73",
82+
source_id="c5955907-aff1-4a3a-afa9-467739251aa5",
2283
)
2384

2485
res = s.connections.create_connection(req)

0 commit comments

Comments
 (0)