Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.468.5
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jan 14, 2025
1 parent 3f6d6df commit 6d2bab7
Show file tree
Hide file tree
Showing 94 changed files with 420 additions and 657 deletions.
21 changes: 12 additions & 9 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
lockVersion: 2.0.0
id: a6dcebe4-2c17-41e4-82d6-4019bcec33d5
management:
docChecksum: 3e6be91e9344532273c404d73c679c75
docChecksum: 8d9c85df713492bb9fe416a01201df13
docVersion: 10.9.1
speakeasyVersion: 1.468.2
generationVersion: 2.493.4
releaseVersion: 0.3.3
configChecksum: 7f8f91f24ea9ffac367f64a430bf1e39
speakeasyVersion: 1.468.5
generationVersion: 2.493.11
releaseVersion: 0.3.4
configChecksum: 7652426ab626f17b07c82daf6ca2e41b
repoURL: https://github.com/apideck-libraries/sdk-go.git
installationURL: https://github.com/apideck-libraries/sdk-go
features:
go:
acceptHeaders: 2.81.2
additionalDependencies: 0.1.0
constsAndDefaults: 0.1.6
core: 3.6.2
core: 3.6.5
deepObjectParams: 0.1.1
defaultEnabledRetries: 0.2.0
deprecations: 2.81.2
Expand Down Expand Up @@ -4521,7 +4521,8 @@ examples:
application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": "Unprocessable request, please verify your request headers and body.", "ref": "https://developers.apideck.com/errors#invalidstateerror"}
default:
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
"200": {}
"200":
'*/*': "x-file: example.file"
accounting.trackingCategoriesAll:
"":
parameters:
Expand Down Expand Up @@ -6583,7 +6584,8 @@ examples:
application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": "Unprocessable request, please verify your request headers and body.", "ref": "https://developers.apideck.com/errors#invalidstateerror"}
default:
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
"200": {}
"200":
'*/*': "x-file: example.file"
fileStorage.filesExport:
"":
parameters:
Expand All @@ -6609,7 +6611,8 @@ examples:
application/json: {"status_code": 422, "error": "Unprocessable Entity", "type_name": "InvalidStateError", "message": "Invalid State", "detail": "Unprocessable request, please verify your request headers and body.", "ref": "https://developers.apideck.com/errors#invalidstateerror"}
default:
application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"}
"200": {}
"200":
'*/*': "x-file: example.file"
fileStorage.foldersAdd:
"":
parameters:
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ generation:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: true
go:
version: 0.3.3
version: 0.3.4
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
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.468.2
speakeasyVersion: 1.468.5
sources:
Apideck:
sourceNamespace: apideck
sourceRevisionDigest: sha256:4becbb9110ae155207ced8166771ec9e1a7def730531efb84d611965ba26c8d2
sourceBlobDigest: sha256:1e78671fb92cb70f8fa841954cdf04bf93b9d1ec434b1d795fc1de5c456f0367
sourceRevisionDigest: sha256:71bffe486ff782ac3f79fc11eab840312c8c780171831f2a77897f24b0d38d61
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
tags:
- latest
- speakeasy-sdk-regen-1735817302
- speakeasy-sdk-regen-1736865343
- 10.9.1
targets:
apideck:
source: Apideck
sourceNamespace: apideck
sourceRevisionDigest: sha256:4becbb9110ae155207ced8166771ec9e1a7def730531efb84d611965ba26c8d2
sourceBlobDigest: sha256:1e78671fb92cb70f8fa841954cdf04bf93b9d1ec434b1d795fc1de5c456f0367
sourceRevisionDigest: sha256:71bffe486ff782ac3f79fc11eab840312c8c780171831f2a77897f24b0d38d61
sourceBlobDigest: sha256:e49054352f142b1d04915c13e5da0a7ab0a031c52609cf3b00a1a7c46cbc6970
codeSamplesNamespace: apideck-go-code-samples
codeSamplesRevisionDigest: sha256:0b96f62617b10ce2c37f623cc621be79f02cdac5953cce6033760098c200ea2d
codeSamplesRevisionDigest: sha256:5c57f361fde695b59660b12a6961d1cc1dbd2f530b9d129568f89b96da33a821
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
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
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,14 @@ Based on:
### Generated
- [go v0.3.3] .
### Releases
- [Go v0.3.3] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.3.3 - .
- [Go v0.3.3] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.3.3 - .

## 2025-01-14 14:35:25
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.468.5 (2.493.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.3.4] .
### Releases
- [Go v0.3.4] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.3.4 - .
8 changes: 6 additions & 2 deletions activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ func (s *Activities) Create(ctx context.Context, activity components.ActivityInp
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1165,7 +1167,9 @@ func (s *Activities) Update(ctx context.Context, id string, activity components.
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
6 changes: 3 additions & 3 deletions apideck.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,9 @@ func New(opts ...SDKOption) *Apideck {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "10.9.1",
SDKVersion: "0.3.3",
GenVersion: "2.493.4",
UserAgent: "speakeasy-sdk/go 0.3.3 2.493.4 10.9.1 github.com/apideck-libraries/sdk-go",
SDKVersion: "0.3.4",
GenVersion: "2.493.11",
UserAgent: "speakeasy-sdk/go 0.3.4 2.493.11 10.9.1 github.com/apideck-libraries/sdk-go",
Globals: globals.Globals{},
Hooks: hooks.New(),
},
Expand Down
8 changes: 6 additions & 2 deletions apideckcompanies.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ func (s *ApideckCompanies) Create(ctx context.Context, hrisCompany components.Hr
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1163,7 +1165,9 @@ func (s *ApideckCompanies) Update(ctx context.Context, id string, hrisCompany co
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions apideckdepartments.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ func (s *ApideckDepartments) Create(ctx context.Context, department components.D
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1163,7 +1165,9 @@ func (s *ApideckDepartments) Update(ctx context.Context, id string, department c
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions applicants.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,9 @@ func (s *Applicants) Create(ctx context.Context, applicant components.ApplicantI
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1164,7 +1166,9 @@ func (s *Applicants) Update(ctx context.Context, id string, applicant components
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions applications.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,9 @@ func (s *Applications) Create(ctx context.Context, application components.Applic
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1161,7 +1163,9 @@ func (s *Applications) Update(ctx context.Context, id string, application compon
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions billpayments.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ func (s *BillPayments) Create(ctx context.Context, billPayment components.BillPa
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1165,7 +1167,9 @@ func (s *BillPayments) Update(ctx context.Context, id string, billPayment compon
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions bills.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ func (s *Bills) Create(ctx context.Context, bill components.BillInput, raw *bool
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1165,7 +1167,9 @@ func (s *Bills) Update(ctx context.Context, id string, bill components.BillInput
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions collectionticketcomments.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,9 @@ func (s *CollectionTicketComments) Create(ctx context.Context, request operation
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1194,7 +1196,9 @@ func (s *CollectionTicketComments) Update(ctx context.Context, request operation
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions collectiontickets.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,9 @@ func (s *CollectionTickets) Create(ctx context.Context, collectionID string, tic
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1152,7 +1154,9 @@ func (s *CollectionTickets) Update(ctx context.Context, request operations.Issue
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
8 changes: 6 additions & 2 deletions companies.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,9 @@ func (s *Companies) Create(ctx context.Context, company components.CompanyInput,
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down Expand Up @@ -1165,7 +1167,9 @@ func (s *Companies) Update(ctx context.Context, id string, company components.Co
}
req.Header.Set("Accept", "application/json")
req.Header.Set("User-Agent", s.sdkConfiguration.UserAgent)
req.Header.Set("Content-Type", reqContentType)
if reqContentType != "" {
req.Header.Set("Content-Type", reqContentType)
}

utils.PopulateHeaders(ctx, req, request, globals)

Expand Down
Loading

0 comments on commit 6d2bab7

Please sign in to comment.