Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: fca0ac3a-5f4e-452c-bbc7-2311afa8da40
management:
docChecksum: 7c6ef2ed512e323eb81fb00225e7e166
docChecksum: 30b8f4819c98857dd9903d879b3ebca9
docVersion: 10.11.5
speakeasyVersion: 1.501.1
generationVersion: 2.522.5
releaseVersion: 0.8.0
configChecksum: 5cc9cdf7161979901cc0e0ee06065fd3
speakeasyVersion: 1.509.1
generationVersion: 2.539.1
releaseVersion: 0.8.1
configChecksum: be7fc460b53aee18f5c05b65996bf729
repoURL: https://github.com/apideck-libraries/sdk-python.git
installationURL: https://github.com/apideck-libraries/sdk-python.git
published: true
Expand All @@ -15,7 +15,7 @@ features:
acceptHeaders: 3.0.0
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.12.1
core: 5.12.2
deepObjectParams: 0.1.0
defaultEnabledRetries: 0.2.0
deprecations: 3.0.2
Expand Down Expand Up @@ -349,6 +349,7 @@ generatedFiles:
- docs/models/activitytype.md
- docs/models/address.md
- docs/models/addresses.md
- docs/models/addresstype.md
- docs/models/ageddebtors.md
- docs/models/agedreportfilter.md
- docs/models/allocation.md
Expand Down Expand Up @@ -520,7 +521,6 @@ generatedFiles:
- docs/models/contactsfilter.md
- docs/models/contactssort.md
- docs/models/contactssortby.md
- docs/models/contacttype.md
- docs/models/copyfolderrequest.md
- docs/models/coverage.md
- docs/models/createaccountingdepartmentresponse.md
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
python:
version: 0.8.0
version: 0.8.1
additionalDependencies:
dev: {}
main: {}
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.501.1
speakeasyVersion: 1.509.1
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:f87c895c56d9e11c3082319a386ddfb6780ef54b06df2a05a47035140382938f
sourceBlobDigest: sha256:af4739fe176a827ca5a5054b4ca4061886717f775dbb5eb11f3c57e63a9f3b99
sourceRevisionDigest: sha256:ab0f3282c2ccc48801b0c8b9d7c77e8996105398b5c915cb736e1a495ff7a603
sourceBlobDigest: sha256:f529de1400bbcfb0b224fe2e481ea0cfdac15ab9d73f6510ce75a9dbcf609631
tags:
- latest
- speakeasy-sdk-regen-1740396639
- speakeasy-sdk-regen-1740649258
- 10.11.5
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:f87c895c56d9e11c3082319a386ddfb6780ef54b06df2a05a47035140382938f
sourceBlobDigest: sha256:af4739fe176a827ca5a5054b4ca4061886717f775dbb5eb11f3c57e63a9f3b99
sourceRevisionDigest: sha256:ab0f3282c2ccc48801b0c8b9d7c77e8996105398b5c915cb736e1a495ff7a603
sourceBlobDigest: sha256:f529de1400bbcfb0b224fe2e481ea0cfdac15ab9d73f6510ce75a9dbcf609631
codeSamplesNamespace: apideck-python-code-samples
codeSamplesRevisionDigest: sha256:bd0f347ccba2c1525660cc4e6400d319fe2e146d03c96dc62e5326971f89e3b8
codeSamplesRevisionDigest: sha256:2c09ae63718394ff24472117f4a4fb378576cfa345813658841d75ad0f2aa699
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
from apideck_unify import Apideck
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -150,6 +151,7 @@ import asyncio
import os

async def main():

async with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -191,6 +193,7 @@ To authenticate with the API the `api_key` parameter must be set when initializi
from apideck_unify import Apideck
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -754,6 +757,7 @@ Here's an example of one such pagination call:
from apideck_unify import Apideck
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -789,6 +793,7 @@ from apideck_unify import Apideck
from apideck_unify.utils import BackoffStrategy, RetryConfig
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -819,6 +824,7 @@ from apideck_unify import Apideck
from apideck_unify.utils import BackoffStrategy, RetryConfig
import os


with Apideck(
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
api_key=os.getenv("APIDECK_API_KEY", ""),
Expand Down Expand Up @@ -875,6 +881,7 @@ When custom error responses are specified for an operation, the SDK may also rai
from apideck_unify import Apideck, models
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -929,6 +936,7 @@ The default server can be overridden globally by passing a URL to the `server_ur
from apideck_unify import Apideck
import os


with Apideck(
server_url="https://unify.apideck.com",
api_key=os.getenv("APIDECK_API_KEY", ""),
Expand Down Expand Up @@ -960,6 +968,7 @@ The server URL can also be overridden on a per-operation basis, provided a serve
from apideck_unify import Apideck
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -1111,6 +1120,7 @@ The `Apideck` class implements the context manager protocol and registers a fina
from apideck_unify import Apideck
import os
def main():

with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand All @@ -1121,6 +1131,7 @@ def main():

# Or when using async:
async def amain():

async with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@ Based on:
### Generated
- [python v0.8.0] .
### Releases
- [PyPI v0.8.0] https://pypi.org/project/apideck-unify/0.8.0 - .
- [PyPI v0.8.0] https://pypi.org/project/apideck-unify/0.8.0 - .

## 2025-03-05 00:16:56
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.509.1 (2.539.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.8.1] .
### Releases
- [PyPI v0.8.1] https://pypi.org/project/apideck-unify/0.8.1 - .
2 changes: 2 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from apideck_unify import Apideck
import os


with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down Expand Up @@ -36,6 +37,7 @@ import asyncio
import os

async def main():

async with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
Expand Down
2 changes: 1 addition & 1 deletion docs/models/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | Unique identifier for the address. | 123 |
| `type` | [OptionalNullable[models.Type]](../models/type.md) | :heavy_minus_sign: | The type of address. | primary |
| `type` | [OptionalNullable[models.AddressType]](../models/addresstype.md) | :heavy_minus_sign: | The type of address. | primary |
| `string` | *OptionalNullable[str]* | :heavy_minus_sign: | The address string. Some APIs don't provide structured address data. | 25 Spring Street, Blackburn, VIC 3130 |
| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the address. | HQ US |
| `line1` | *OptionalNullable[str]* | :heavy_minus_sign: | Line 1 of the address e.g. number, street, suite, apt #, etc. | Main street |
Expand Down
16 changes: 16 additions & 0 deletions docs/models/addresstype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AddressType

The type of address.


## Values

| Name | Value |
| ----------- | ----------- |
| `PRIMARY` | primary |
| `SECONDARY` | secondary |
| `HOME` | home |
| `OFFICE` | office |
| `SHIPPING` | shipping |
| `BILLING` | billing |
| `OTHER` | other |
2 changes: 1 addition & 1 deletion docs/models/contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| `name` | *Nullable[str]* | :heavy_check_mark: | Full name of the contact. | Elon Musk |
| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for the contact. | 12345 |
| `owner_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The owner of the contact. | 54321 |
| `type` | [OptionalNullable[models.ContactType]](../models/contacttype.md) | :heavy_minus_sign: | The type of the contact. | personal |
| `type` | [OptionalNullable[models.Type]](../models/type.md) | :heavy_minus_sign: | The type of the contact. | personal |
| `company_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The company the contact is associated with. | 23456 |
| `company_name` | *OptionalNullable[str]* | :heavy_minus_sign: | The name of the company the contact is associated with. | 23456 |
| `lead_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The lead the contact is associated with. | 34567 |
Expand Down
Loading