Skip to content

Commit d9a14f0

Browse files
authored
Merge pull request #5 from Gusto/speakeasy-sdk-regen-1739319735
chore: 🐝 Update SDK - Generate 0.0.8
2 parents 02b0880 + 90965a0 commit d9a14f0

Some content is hidden

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

72 files changed

+546
-26
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.488.0
1+
speakeasyVersion: 1.492.0
22
sources:
33
Gusto-OAS:
44
sourceNamespace: gusto-oas
5-
sourceRevisionDigest: sha256:74665203bcbdbd7738a1f84d2d30fca1e5f9632b9c27048ab670489db0bbf419
6-
sourceBlobDigest: sha256:a8e49c6e476c51ffcc73653a800deb3d3eca380083f2b4f9d227813c97a6197d
5+
sourceRevisionDigest: sha256:536c65456adde4a4062968edc3e8ef7930f216f2c7a412e411a9df8b510dcf34
6+
sourceBlobDigest: sha256:e0b4d897d0190d7d91d6258aca3edbf1e5a6f504615b516b89dabf3e7079a781
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1739295921
9+
- speakeasy-sdk-regen-1739319735
1010
- "2024-04-01"
1111
targets:
1212
gusto:
1313
source: Gusto-OAS
1414
sourceNamespace: gusto-oas
15-
sourceRevisionDigest: sha256:74665203bcbdbd7738a1f84d2d30fca1e5f9632b9c27048ab670489db0bbf419
16-
sourceBlobDigest: sha256:a8e49c6e476c51ffcc73653a800deb3d3eca380083f2b4f9d227813c97a6197d
15+
sourceRevisionDigest: sha256:536c65456adde4a4062968edc3e8ef7930f216f2c7a412e411a9df8b510dcf34
16+
sourceBlobDigest: sha256:e0b4d897d0190d7d91d6258aca3edbf1e5a6f504615b516b89dabf3e7079a781
1717
codeSamplesNamespace: gusto-oas-python-code-samples
18-
codeSamplesRevisionDigest: sha256:94d03ed8df17a6e1bb5f40a00eefd4e963ef03d0b381d38ed1be4108dfee5a30
18+
codeSamplesRevisionDigest: sha256:093d427a72ff9ed05d044db539ee06f1ca0c6faaa32c21f05ff7ba146ce7e36d
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

gusto_embedded/.speakeasy/gen.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: f70034eb-4870-4b8d-aeb4-4c71b6c1ec45
33
management:
4-
docChecksum: eb643d6727733f900bdf394468313a87
4+
docChecksum: 81ecef0044bed3adf210d4f852d098fe
55
docVersion: "2024-04-01"
6-
speakeasyVersion: 1.488.0
7-
generationVersion: 2.506.0
8-
releaseVersion: 0.0.7
9-
configChecksum: 750ca3f863d4cc76d213754fdd03e77d
6+
speakeasyVersion: 1.492.0
7+
generationVersion: 2.512.4
8+
releaseVersion: 0.0.8
9+
configChecksum: afbbe5c4727b8ba5bd14b821c0c04128
1010
repoURL: https://github.com/Gusto/gusto-python-client.git
1111
repoSubDirectory: gusto_embedded
1212
installationURL: https://github.com/Gusto/gusto-python-client.git#subdirectory=gusto_embedded
@@ -25,14 +25,14 @@ features:
2525
flatRequests: 1.0.1
2626
flattening: 3.1.1
2727
getRequestBodies: 3.0.0
28-
globalSecurity: 3.0.2
28+
globalSecurity: 3.0.3
2929
globalSecurityCallbacks: 1.0.0
3030
globalSecurityFlattening: 1.0.0
3131
globalServerURLs: 3.1.0
3232
groups: 3.0.0
3333
inputOutputModels: 3.0.0
3434
methodArguments: 1.0.2
35-
methodSecurity: 3.0.0
35+
methodSecurity: 3.0.1
3636
multipartFileContentType: 1.0.0
3737
nameOverrides: 3.0.1
3838
nullables: 1.0.0

gusto_embedded/.speakeasy/gen.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ generation:
1212
nameResolutionDec2023: true
1313
parameterOrderingFeb2024: true
1414
requestResponseComponentNamesFeb2024: true
15+
securityFeb2025: false
1516
auth:
1617
oAuth2ClientCredentialsEnabled: true
1718
oAuth2PasswordEnabled: true
1819
python:
19-
version: 0.0.7
20+
version: 0.0.8
2021
additionalDependencies:
2122
dev: {}
2223
main: {}
@@ -46,5 +47,6 @@ python:
4647
methodArguments: infer-optional-args
4748
outputModelSuffix: output
4849
packageName: gusto_embedded
50+
pytestTimeout: 0
4951
responseFormat: flat
5052
templateVersion: v2

gusto_embedded/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,14 @@ Based on:
2626
### Generated
2727
- [python v0.0.7] gusto_embedded
2828
### Releases
29-
- [PyPI v0.0.7] https://pypi.org/project/gusto_embedded/0.0.7 - gusto_embedded
29+
- [PyPI v0.0.7] https://pypi.org/project/gusto_embedded/0.0.7 - gusto_embedded
30+
31+
## 2025-02-14 00:21:52
32+
### Changes
33+
Based on:
34+
- OpenAPI Doc
35+
- Speakeasy CLI 1.492.0 (2.512.4) https://github.com/speakeasy-api/speakeasy
36+
### Generated
37+
- [python v0.0.8] gusto_embedded
38+
### Releases
39+
- [PyPI v0.0.8] https://pypi.org/project/gusto_embedded/0.0.8 - gusto_embedded

gusto_embedded/docs/models/employeeonboardingstatusonboardingstep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
88
| `title` | *Optional[str]* | :heavy_minus_sign: | User-friendly description of the onboarding step. |
99
| `id` | *Optional[str]* | :heavy_minus_sign: | String identifier for the onboarding step. |
10-
| `required` | *Optional[bool]* | :heavy_minus_sign: | When true, this step has been completed. |
10+
| `required` | *Optional[bool]* | :heavy_minus_sign: | When true, this step is required. |
1111
| `completed` | *Optional[bool]* | :heavy_minus_sign: | When true, this step has been completed. |
1212
| `requirements` | List[*str*] | :heavy_minus_sign: | A list of onboarding steps required to begin this step. |

gusto_embedded/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "gusto_embedded"
3-
version = "0.0.7"
3+
version = "0.0.8"
44
description = "Python Client SDK Generated by Speakeasy."
55
authors = [{ name = "Speakeasy" },]
66
readme = "README-PYPI.md"

gusto_embedded/src/gusto_embedded/_hooks/types.py

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@
77

88

99
class HookContext:
10+
base_url: str
1011
operation_id: str
1112
oauth2_scopes: Optional[List[str]] = None
1213
security_source: Optional[Union[Any, Callable[[], Any]]] = None
1314

1415
def __init__(
1516
self,
17+
base_url: str,
1618
operation_id: str,
1719
oauth2_scopes: Optional[List[str]],
1820
security_source: Optional[Union[Any, Callable[[], Any]]],
1921
):
22+
self.base_url = base_url
2023
self.operation_id = operation_id
2124
self.oauth2_scopes = oauth2_scopes
2225
self.security_source = security_source
@@ -25,21 +28,30 @@ def __init__(
2528
class BeforeRequestContext(HookContext):
2629
def __init__(self, hook_ctx: HookContext):
2730
super().__init__(
28-
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
31+
hook_ctx.base_url,
32+
hook_ctx.operation_id,
33+
hook_ctx.oauth2_scopes,
34+
hook_ctx.security_source,
2935
)
3036

3137

3238
class AfterSuccessContext(HookContext):
3339
def __init__(self, hook_ctx: HookContext):
3440
super().__init__(
35-
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
41+
hook_ctx.base_url,
42+
hook_ctx.operation_id,
43+
hook_ctx.oauth2_scopes,
44+
hook_ctx.security_source,
3645
)
3746

3847

3948
class AfterErrorContext(HookContext):
4049
def __init__(self, hook_ctx: HookContext):
4150
super().__init__(
42-
hook_ctx.operation_id, hook_ctx.oauth2_scopes, hook_ctx.security_source
51+
hook_ctx.base_url,
52+
hook_ctx.operation_id,
53+
hook_ctx.oauth2_scopes,
54+
hook_ctx.security_source,
4355
)
4456

4557

gusto_embedded/src/gusto_embedded/_version.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44

55
__title__: str = "gusto_embedded"
6-
__version__: str = "0.0.7"
6+
__version__: str = "0.0.8"
77
__openapi_doc_version__: str = "2024-04-01"
8-
__gen_version__: str = "2.506.0"
9-
__user_agent__: str = "speakeasy-sdk/python 0.0.7 2.506.0 2024-04-01 gusto_embedded"
8+
__gen_version__: str = "2.512.4"
9+
__user_agent__: str = "speakeasy-sdk/python 0.0.8 2.512.4 2024-04-01 gusto_embedded"
1010

1111
try:
1212
if __package__ is not None:

gusto_embedded/src/gusto_embedded/ach_transactions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ def list(
8989

9090
http_res = self.do_request(
9191
hook_ctx=HookContext(
92+
base_url=base_url or "",
9293
operation_id="get-ach-transactions",
9394
oauth2_scopes=[],
9495
security_source=get_security_from_env(
@@ -202,6 +203,7 @@ async def list_async(
202203

203204
http_res = await self.do_request_async(
204205
hook_ctx=HookContext(
206+
base_url=base_url or "",
205207
operation_id="get-ach-transactions",
206208
oauth2_scopes=[],
207209
security_source=get_security_from_env(

gusto_embedded/src/gusto_embedded/bank_accounts.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ def post_v1_companies_company_id_bank_accounts(
100100

101101
http_res = self.do_request(
102102
hook_ctx=HookContext(
103+
base_url=base_url or "",
103104
operation_id="post-v1-companies-company_id-bank-accounts",
104105
oauth2_scopes=[],
105106
security_source=get_security_from_env(
@@ -230,6 +231,7 @@ async def post_v1_companies_company_id_bank_accounts_async(
230231

231232
http_res = await self.do_request_async(
232233
hook_ctx=HookContext(
234+
base_url=base_url or "",
233235
operation_id="post-v1-companies-company_id-bank-accounts",
234236
oauth2_scopes=[],
235237
security_source=get_security_from_env(
@@ -331,6 +333,7 @@ def get_v1_companies_company_id_bank_accounts(
331333

332334
http_res = self.do_request(
333335
hook_ctx=HookContext(
336+
base_url=base_url or "",
334337
operation_id="get-v1-companies-company_id-bank-accounts",
335338
oauth2_scopes=[],
336339
security_source=get_security_from_env(
@@ -426,6 +429,7 @@ async def get_v1_companies_company_id_bank_accounts_async(
426429

427430
http_res = await self.do_request_async(
428431
hook_ctx=HookContext(
432+
base_url=base_url or "",
429433
operation_id="get-v1-companies-company_id-bank-accounts",
430434
oauth2_scopes=[],
431435
security_source=get_security_from_env(
@@ -552,6 +556,7 @@ def put_v1_companies_company_id_bank_accounts_verify(
552556

553557
http_res = self.do_request(
554558
hook_ctx=HookContext(
559+
base_url=base_url or "",
555560
operation_id="put-v1-companies-company_id-bank-accounts-verify",
556561
oauth2_scopes=[],
557562
security_source=get_security_from_env(
@@ -684,6 +689,7 @@ async def put_v1_companies_company_id_bank_accounts_verify_async(
684689

685690
http_res = await self.do_request_async(
686691
hook_ctx=HookContext(
692+
base_url=base_url or "",
687693
operation_id="put-v1-companies-company_id-bank-accounts-verify",
688694
oauth2_scopes=[],
689695
security_source=get_security_from_env(
@@ -807,6 +813,7 @@ def post_v1_plaid_processor_token(
807813

808814
http_res = self.do_request(
809815
hook_ctx=HookContext(
816+
base_url=base_url or "",
810817
operation_id="post-v1-plaid-processor_token",
811818
oauth2_scopes=[],
812819
security_source=get_security_from_env(
@@ -932,6 +939,7 @@ async def post_v1_plaid_processor_token_async(
932939

933940
http_res = await self.do_request_async(
934941
hook_ctx=HookContext(
942+
base_url=base_url or "",
935943
operation_id="post-v1-plaid-processor_token",
936944
oauth2_scopes=[],
937945
security_source=get_security_from_env(

0 commit comments

Comments
 (0)