Skip to content

Commit ef5b75a

Browse files
authored
Merge pull request #13 from Gusto/speakeasy-sdk-regen-1740788701
chore: 🐝 Update SDK - Generate 0.1.1
2 parents 3d78b90 + 34b93dd commit ef5b75a

220 files changed

Lines changed: 1123 additions & 497 deletions

File tree

Some content is hidden

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

.speakeasy/workflow.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.508.1
22
sources:
33
Gusto-App-Int-OAS:
44
sourceNamespace: gusto-app-int-oas
5-
sourceRevisionDigest: sha256:12e3ddf5ac72805b002eaef2f55d205d0b4e3a1d58224a362a13f0eda28dee02
6-
sourceBlobDigest: sha256:24b4953d5f7b98bafc3aea1c1fb7deb392a156a906f188219eb80571b30c6543
5+
sourceRevisionDigest: sha256:b31d3f524384a11e62352c94bbc11103050468aa1beaa033e539ff17acd1fa88
6+
sourceBlobDigest: sha256:143271d55ef1e3ab9fe229f152d6b6608195caf570ed2bf3024f20e1b500e3d6
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740075080
9+
- speakeasy-sdk-regen-1740788701
1010
- "2024-04-01"
1111
Gusto-OAS:
1212
sourceNamespace: gusto-oas
13-
sourceRevisionDigest: sha256:5d948d8c1857278d10b4c13cb434ed97412d9a0c8d5e163296b6f73121f69aab
14-
sourceBlobDigest: sha256:3751f8b80d07f5601419ef5f6a9e3a485840519def7b8e4c0221e15288a208e3
13+
sourceRevisionDigest: sha256:10551df78f1cccf3c59a6bb250646badc873cb1a0d83d57b17994f167a4d4b88
14+
sourceBlobDigest: sha256:d59e081e106dc5c86b7ca4ab43a445b1f1df0d045d28cdb273a7881ce1592831
1515
tags:
1616
- latest
17-
- speakeasy-sdk-regen-1740075080
17+
- speakeasy-sdk-regen-1740788701
1818
- "2024-04-01"
1919
targets:
2020
gusto:
2121
source: Gusto-OAS
2222
sourceNamespace: gusto-oas
23-
sourceRevisionDigest: sha256:5d948d8c1857278d10b4c13cb434ed97412d9a0c8d5e163296b6f73121f69aab
24-
sourceBlobDigest: sha256:3751f8b80d07f5601419ef5f6a9e3a485840519def7b8e4c0221e15288a208e3
23+
sourceRevisionDigest: sha256:10551df78f1cccf3c59a6bb250646badc873cb1a0d83d57b17994f167a4d4b88
24+
sourceBlobDigest: sha256:d59e081e106dc5c86b7ca4ab43a445b1f1df0d045d28cdb273a7881ce1592831
2525
codeSamplesNamespace: gusto-oas-python-code-samples
26-
codeSamplesRevisionDigest: sha256:e99f1f9ed37039ca055e9fd415c2f913c523be4fe32011e08d1b0acb70f8ffee
26+
codeSamplesRevisionDigest: sha256:471cd41bf2dfc7aa3c0c3f507e458ffa1a2dc24019408f225fc61889be6c7b67
2727
gusto-app-int:
2828
source: Gusto-App-Int-OAS
2929
sourceNamespace: gusto-app-int-oas
30-
sourceRevisionDigest: sha256:12e3ddf5ac72805b002eaef2f55d205d0b4e3a1d58224a362a13f0eda28dee02
31-
sourceBlobDigest: sha256:24b4953d5f7b98bafc3aea1c1fb7deb392a156a906f188219eb80571b30c6543
30+
sourceRevisionDigest: sha256:b31d3f524384a11e62352c94bbc11103050468aa1beaa033e539ff17acd1fa88
31+
sourceBlobDigest: sha256:143271d55ef1e3ab9fe229f152d6b6608195caf570ed2bf3024f20e1b500e3d6
3232
codeSamplesNamespace: gusto-app-int-oas-python-code-samples
33-
codeSamplesRevisionDigest: sha256:411b60c2405982ebf04ff81a8e3a9794714efdbb0a673be3b4562e7e6a3b6915
33+
codeSamplesRevisionDigest: sha256:7656ca3c46a0752774e2064e06e8d090fb80ebe9955ab9f12502f36a8599e0fd
3434
workflow:
3535
workflowVersion: 1.0.0
3636
speakeasyVersion: latest

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ Based on:
88
### Generated
99
- [python v0.1.0] gusto_app_int
1010
### Releases
11-
- [PyPI v0.1.0] https://pypi.org/project/gusto_app_integration/0.1.0 - gusto_app_int
11+
- [PyPI v0.1.0] https://pypi.org/project/gusto_app_integration/0.1.0 - gusto_app_int
12+
13+
## 2025-03-03 00:23:43
14+
### Changes
15+
Based on:
16+
- OpenAPI Doc
17+
- Speakeasy CLI 1.508.1 (2.536.0) https://github.com/speakeasy-api/speakeasy
18+
### Generated
19+
- [python v0.1.1] gusto_app_int
20+
### Releases
21+
- [PyPI v0.1.1] https://pypi.org/project/gusto_app_integration/0.1.1 - gusto_app_int

gusto_app_int/.speakeasy/gen.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 307f4640-0d05-4c9e-b275-cb7fc716aa23
33
management:
4-
docChecksum: d34df7eac1ce18c2cd5bad1614307e44
4+
docChecksum: 04f1c1b33071c0817ed03c2e5d600c27
55
docVersion: "2024-04-01"
6-
speakeasyVersion: 1.504.1
7-
generationVersion: 2.529.2
8-
releaseVersion: 0.1.0
9-
configChecksum: 168fe3ccaaf346c76f430b7ce30e42c8
6+
speakeasyVersion: 1.508.1
7+
generationVersion: 2.536.0
8+
releaseVersion: 0.1.1
9+
configChecksum: 895ddb4380cec551bfa85e273aed7399
1010
repoURL: https://github.com/Gusto/gusto-python-client.git
1111
repoSubDirectory: gusto_app_int
1212
installationURL: https://github.com/Gusto/gusto-python-client.git#subdirectory=gusto_app_int
@@ -2669,7 +2669,7 @@ examples:
26692669
application/json: {"active": true, "description": "yuck vice between gee ugh ha"}
26702670
responses:
26712671
"201":
2672-
application/json: {"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}
2672+
application/json: {"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "company_uuid": "881ce3f2-e3e1-49c9-8ad4-0bcf515f5618", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}
26732673
Basic:
26742674
parameters:
26752675
path:
@@ -2709,7 +2709,7 @@ examples:
27092709
header: {}
27102710
responses:
27112711
"200":
2712-
application/json: [{"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}]
2712+
application/json: [{"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "company_uuid": "528cc543-8a41-497e-b479-23a4c5ec77ac", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}]
27132713
get-v1-company_benefits-company_benefit_id:
27142714
Example:
27152715
parameters:
@@ -2730,7 +2730,7 @@ examples:
27302730
application/json: {"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "active": false}
27312731
responses:
27322732
"200":
2733-
application/json: {"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}
2733+
application/json: {"version": "98jr3289h3298hr9329gf9egskt3kagri32qqgiqe3872", "company_uuid": "881ce3f2-e3e1-49c9-8ad4-0bcf515f5618", "uuid": "d2cec746-caee-464a-bcaf-00d93f7049c9", "benefit_type": 1, "active": true, "description": "Kaiser Permanente", "deletable": true, "supports_percentage_amounts": true, "responsible_for_employer_taxes": false, "responsible_for_employee_w2": false}
27342734
Basic:
27352735
parameters:
27362736
path:

gusto_app_int/.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
python:
18-
version: 0.1.0
18+
version: 0.1.1
1919
additionalDependencies:
2020
dev: {}
2121
main: {}

gusto_app_int/README-PYPI.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
118118
# Synchronous Example
119119
from gusto_app_integration import GustoAppIntegration
120120

121+
121122
with GustoAppIntegration(
122123
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
123124
) as gai_client:
@@ -137,6 +138,7 @@ import asyncio
137138
from gusto_app_integration import GustoAppIntegration
138139

139140
async def main():
141+
140142
async with GustoAppIntegration(
141143
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
142144
) as gai_client:
@@ -165,6 +167,7 @@ To authenticate with the API the `company_access_auth` parameter must be set whe
165167
```python
166168
from gusto_app_integration import GustoAppIntegration
167169

170+
168171
with GustoAppIntegration(
169172
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
170173
) as gai_client:
@@ -183,6 +186,7 @@ Some operations in this SDK require the security scheme to be specified at the r
183186
import gusto_app_integration
184187
from gusto_app_integration import GustoAppIntegration
185188

189+
186190
with GustoAppIntegration() as gai_client:
187191

188192
gai_client.introspection.disconnect_app_integration(security=gusto_app_integration.PostV1DisconnectAppIntegrationSecurity(
@@ -391,6 +395,7 @@ To change the default retry strategy for a single API call, simply provide a `Re
391395
from gusto_app_integration import GustoAppIntegration
392396
from gusto_app_integration.utils import BackoffStrategy, RetryConfig
393397

398+
394399
with GustoAppIntegration(
395400
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
396401
) as gai_client:
@@ -408,6 +413,7 @@ If you'd like to override the default retry strategy for all operations that sup
408413
from gusto_app_integration import GustoAppIntegration
409414
from gusto_app_integration.utils import BackoffStrategy, RetryConfig
410415

416+
411417
with GustoAppIntegration(
412418
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
413419
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -448,6 +454,7 @@ When custom error responses are specified for an operation, the SDK may also rai
448454
import gusto_app_integration
449455
from gusto_app_integration import GustoAppIntegration, models
450456

457+
451458
with GustoAppIntegration() as gai_client:
452459
res = None
453460
try:
@@ -517,6 +524,7 @@ You can override the default server globally by passing a server name to the `se
517524
```python
518525
from gusto_app_integration import GustoAppIntegration
519526

527+
520528
with GustoAppIntegration(
521529
server="prod",
522530
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -535,6 +543,7 @@ The default server can also be overridden globally by passing a URL to the `serv
535543
```python
536544
from gusto_app_integration import GustoAppIntegration
537545

546+
538547
with GustoAppIntegration(
539548
server_url="https://api.gusto-demo.com",
540549
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -639,6 +648,7 @@ The `GustoAppIntegration` class implements the context manager protocol and regi
639648
```python
640649
from gusto_app_integration import GustoAppIntegration
641650
def main():
651+
642652
with GustoAppIntegration(
643653
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
644654
) as gai_client:
@@ -647,6 +657,7 @@ def main():
647657

648658
# Or when using async:
649659
async def amain():
660+
650661
async with GustoAppIntegration(
651662
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
652663
) as gai_client:

gusto_app_int/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Generally, the SDK will work well with most IDEs out of the box. However, when u
118118
# Synchronous Example
119119
from gusto_app_integration import GustoAppIntegration
120120

121+
121122
with GustoAppIntegration(
122123
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
123124
) as gai_client:
@@ -137,6 +138,7 @@ import asyncio
137138
from gusto_app_integration import GustoAppIntegration
138139

139140
async def main():
141+
140142
async with GustoAppIntegration(
141143
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
142144
) as gai_client:
@@ -165,6 +167,7 @@ To authenticate with the API the `company_access_auth` parameter must be set whe
165167
```python
166168
from gusto_app_integration import GustoAppIntegration
167169

170+
168171
with GustoAppIntegration(
169172
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
170173
) as gai_client:
@@ -183,6 +186,7 @@ Some operations in this SDK require the security scheme to be specified at the r
183186
import gusto_app_integration
184187
from gusto_app_integration import GustoAppIntegration
185188

189+
186190
with GustoAppIntegration() as gai_client:
187191

188192
gai_client.introspection.disconnect_app_integration(security=gusto_app_integration.PostV1DisconnectAppIntegrationSecurity(
@@ -391,6 +395,7 @@ To change the default retry strategy for a single API call, simply provide a `Re
391395
from gusto_app_integration import GustoAppIntegration
392396
from gusto_app_integration.utils import BackoffStrategy, RetryConfig
393397

398+
394399
with GustoAppIntegration(
395400
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
396401
) as gai_client:
@@ -408,6 +413,7 @@ If you'd like to override the default retry strategy for all operations that sup
408413
from gusto_app_integration import GustoAppIntegration
409414
from gusto_app_integration.utils import BackoffStrategy, RetryConfig
410415

416+
411417
with GustoAppIntegration(
412418
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
413419
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -448,6 +454,7 @@ When custom error responses are specified for an operation, the SDK may also rai
448454
import gusto_app_integration
449455
from gusto_app_integration import GustoAppIntegration, models
450456

457+
451458
with GustoAppIntegration() as gai_client:
452459
res = None
453460
try:
@@ -517,6 +524,7 @@ You can override the default server globally by passing a server name to the `se
517524
```python
518525
from gusto_app_integration import GustoAppIntegration
519526

527+
520528
with GustoAppIntegration(
521529
server="prod",
522530
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -535,6 +543,7 @@ The default server can also be overridden globally by passing a URL to the `serv
535543
```python
536544
from gusto_app_integration import GustoAppIntegration
537545

546+
538547
with GustoAppIntegration(
539548
server_url="https://api.gusto-demo.com",
540549
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
@@ -639,6 +648,7 @@ The `GustoAppIntegration` class implements the context manager protocol and regi
639648
```python
640649
from gusto_app_integration import GustoAppIntegration
641650
def main():
651+
642652
with GustoAppIntegration(
643653
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
644654
) as gai_client:
@@ -647,6 +657,7 @@ def main():
647657

648658
# Or when using async:
649659
async def amain():
660+
650661
async with GustoAppIntegration(
651662
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
652663
) as gai_client:

gusto_app_int/USAGE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# Synchronous Example
44
from gusto_app_integration import GustoAppIntegration
55

6+
67
with GustoAppIntegration(
78
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
89
) as gai_client:
@@ -22,6 +23,7 @@ import asyncio
2223
from gusto_app_integration import GustoAppIntegration
2324

2425
async def main():
26+
2527
async with GustoAppIntegration(
2628
company_access_auth="<YOUR_BEARER_TOKEN_HERE>",
2729
) as gai_client:

0 commit comments

Comments
 (0)