Skip to content

Commit

Permalink
chore: 🐝 Update SDK - Generate 0.52.0 (#103)
Browse files Browse the repository at this point in the history
Co-authored-by: speakeasybot <[email protected]>
  • Loading branch information
github-actions[bot] and speakeasybot authored Sep 11, 2024
1 parent 87f7e7b commit 1eac185
Show file tree
Hide file tree
Showing 571 changed files with 5,259 additions and 3,095 deletions.
4,587 changes: 2,731 additions & 1,856 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ speakeasyVersion: 1.291.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:d2907ce474df2e9b9a63b10a6560e61bacf92fbceda25cdccd6ae874fb7262d0
sourceBlobDigest: sha256:74d197d36d2d4b37a1e10fced9c4aa5414ce0055d7f8011903c097aaff54f085
sourceRevisionDigest: sha256:815e87000d947fb5b9e40d9c548c1172ea6fdf12d93fca9f04e78074753d0c76
sourceBlobDigest: sha256:3afb05187c88ef1e6d5a664247d2f4e41b4eb638ddacbce44599e4314d2854b9
tags:
- latest
- main
targets:
python-api:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:d2907ce474df2e9b9a63b10a6560e61bacf92fbceda25cdccd6ae874fb7262d0
sourceBlobDigest: sha256:74d197d36d2d4b37a1e10fced9c4aa5414ce0055d7f8011903c097aaff54f085
sourceRevisionDigest: sha256:815e87000d947fb5b9e40d9c548c1172ea6fdf12d93fca9f04e78074753d0c76
sourceBlobDigest: sha256:3afb05187c88ef1e6d5a664247d2f4e41b4eb638ddacbce44599e4314d2854b9
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contributing to This Repository

Thank you for your interest in contributing to this repository. Please note that this repository contains generated code. As such, we do not accept direct changes or pull requests. Instead, we encourage you to follow the guidelines below to report issues and suggest improvements.

## How to Report Issues

If you encounter any bugs or have suggestions for improvements, please open an issue on GitHub. When reporting an issue, please provide as much detail as possible to help us reproduce the problem. This includes:

- A clear and descriptive title
- Steps to reproduce the issue
- Expected and actual behavior
- Any relevant logs, screenshots, or error messages
- Information about your environment (e.g., operating system, software versions)
- For example can be collected using the `npx envinfo` command from your terminal if you have Node.js installed

## Issue Triage and Upstream Fixes

We will review and triage issues as quickly as possible. Our goal is to address bugs and incorporate improvements in the upstream source code. Fixes will be included in the next generation of the generated code.

## Contact

If you have any questions or need further assistance, please feel free to reach out by opening an issue.

Thank you for your understanding and cooperation!

The Maintainers
40 changes: 30 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,29 @@ Developers will need to create an API Key within your [Developer Portal](https:/

The Developer Portal UI can also be used to help build your integration by showing information about network requests in the Requests tab. API usage information is also available to you in the Usage tab.

<!-- Start Summary [summary] -->
## Summary

airbyte-api: Programatically control Airbyte Cloud, OSS & Enterprise.
<!-- End Summary [summary] -->

<!-- Start Table of Contents [toc] -->
## Table of Contents

* [SDK Installation](#sdk-installation)
* [SDK Example Usage](#sdk-example-usage)
* [Available Resources and Operations](#available-resources-and-operations)
* [Error Handling](#error-handling)
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
<!-- End Table of Contents [toc] -->

<!-- Start SDK Installation [installation] -->
## SDK Installation

The SDK can be installed using the *pip* package manager, with dependencies and metadata stored in the `setup.py` file.

```bash
pip install airbyte-api
```
Expand All @@ -33,8 +53,8 @@ from airbyte_api import models
s = airbyte_api.AirbyteAPI(
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down Expand Up @@ -149,8 +169,8 @@ from airbyte_api import errors, models
s = airbyte_api.AirbyteAPI(
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down Expand Up @@ -198,8 +218,8 @@ s = airbyte_api.AirbyteAPI(
server_idx=0,
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down Expand Up @@ -230,8 +250,8 @@ s = airbyte_api.AirbyteAPI(
server_url="https://api.airbyte.com/v1",
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down Expand Up @@ -292,8 +312,8 @@ from airbyte_api import models
s = airbyte_api.AirbyteAPI(
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -938,4 +938,14 @@ Based on:
### Generated
- [python v0.51.0] .
### Releases
- [PyPI v0.51.0] https://pypi.org/project/airbyte-api/0.51.0 - .
- [PyPI v0.51.0] https://pypi.org/project/airbyte-api/0.51.0 - .

## 2024-09-11 00:14:28
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.395.1 (2.415.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.52.0] .
### Releases
- [PyPI v0.52.0] https://pypi.org/project/airbyte-api/0.52.0 - .
4 changes: 2 additions & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ from airbyte_api import models
s = airbyte_api.AirbyteAPI(
security=models.Security(
basic_auth=models.SchemeBasicAuth(
password="<YOUR_PASSWORD_HERE>",
username="<YOUR_USERNAME_HERE>",
password="",
username="",
),
),
)
Expand Down
8 changes: 8 additions & 0 deletions docs/models/airbyte.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Airbyte


## Values

| Name | Value |
| --------- | --------- |
| `AIRBYTE` | airbyte |
14 changes: 0 additions & 14 deletions docs/models/amazons3.md

This file was deleted.

12 changes: 9 additions & 3 deletions docs/models/authentication.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Authentication

An HMAC key is a type of credential and can be associated with a service account or a user account in Cloud Storage. Read more <a href="https://cloud.google.com/storage/docs/authentication/hmackeys">here</a>.
Authentication mechanism for Staging files and running queries


## Supported Types

### `models.HMACKey`
### `models.OAuth2Recommended`

```python
value: models.HMACKey = /* values here */
value: models.OAuth2Recommended = /* values here */
```

### `models.PersonalAccessToken`

```python
value: models.PersonalAccessToken = /* values here */
```

8 changes: 8 additions & 0 deletions docs/models/basecamp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Basecamp


## Values

| Name | Value |
| ---------- | ---------- |
| `BASECAMP` | basecamp |
10 changes: 10 additions & 0 deletions docs/models/batchedstandardinserts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# BatchedStandardInserts

Direct loading using batched SQL INSERT statements. This method uses the BigQuery driver to convert large INSERT statements into file uploads automatically.


## Fields

| Field | Type | Required | Description |
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
| `method` | [models.Method](../models/method.md) | :heavy_check_mark: | N/A |
8 changes: 8 additions & 0 deletions docs/models/breezyhr.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# BreezyHr


## Values

| Name | Value |
| ----------- | ----------- |
| `BREEZY_HR` | breezy-hr |
8 changes: 8 additions & 0 deletions docs/models/calendly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Calendly


## Values

| Name | Value |
| ---------- | ---------- |
| `CALENDLY` | calendly |
2 changes: 1 addition & 1 deletion docs/models/continuousfeed.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| `mock_catalog` | [models.MockCatalog](../models/mockcatalog.md) | :heavy_check_mark: | N/A | |
| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | |
| `additional_properties` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | {<br/>"user": "charles"<br/>} |
| `max_messages` | *Optional[int]* | :heavy_minus_sign: | Number of records to emit per stream. Min 1. Max 100 billion. | |
| `message_interval_ms` | *Optional[int]* | :heavy_minus_sign: | Interval between messages in ms. Min 0 ms. Max 60000 ms (1 minute). | |
| `seed` | *Optional[int]* | :heavy_minus_sign: | When the seed is unspecified, the current time millis will be used as the seed. Range: [0, 1000000]. | 42 |
Expand Down
8 changes: 8 additions & 0 deletions docs/models/customerio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CustomerIo


## Values

| Name | Value |
| ------------- | ------------- |
| `CUSTOMER_IO` | customer-io |
28 changes: 8 additions & 20 deletions docs/models/datasource.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
# DataSource

Storage on which the delta lake is built.
A data source that is powered by the platform.


## Supported Types

### `models.RecommendedManagedTables`

```python
value: models.RecommendedManagedTables = /* values here */
```

### `models.AmazonS3`

```python
value: models.AmazonS3 = /* values here */
```

### `models.DestinationDatabricksAzureBlobStorage`

```python
value: models.DestinationDatabricksAzureBlobStorage = /* values here */
```
## Values

| Name | Value |
| ------------ | ------------ |
| `METRICS` | metrics |
| `CLOUD_COST` | cloud_cost |
| `LOGS` | logs |
| `RUM` | rum |
8 changes: 0 additions & 8 deletions docs/models/datasourcetype.md

This file was deleted.

8 changes: 8 additions & 0 deletions docs/models/dbt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Dbt


## Values

| Name | Value |
| ----- | ----- |
| `DBT` | dbt |
6 changes: 3 additions & 3 deletions docs/models/destinationbigquerymethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Values

| Name | Value |
| ---------- | ---------- |
| `STANDARD` | Standard |
| Name | Value |
| ------------- | ------------- |
| `GCS_STAGING` | GCS Staging |
Loading

0 comments on commit 1eac185

Please sign in to comment.