Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 3.0.0, Speakeasy CLI 1.126.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 15, 2023
1 parent f8ba808 commit 9f5c8e3
Show file tree
Hide file tree
Showing 25 changed files with 85 additions and 179 deletions.
4 changes: 2 additions & 2 deletions previous-versions/accounting/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func main() {
* [List](docs/sdks/invoices/README.md#list) - List invoices
* [ListAttachments](docs/sdks/invoices/README.md#listattachments) - List invoice attachments
* [Update](docs/sdks/invoices/README.md#update) - Update invoice
* [UploadAttachment](docs/sdks/invoices/README.md#uploadattachment) - Push invoice attachment
* [UploadAttachment](docs/sdks/invoices/README.md#uploadattachment) - Upload invoice attachment

### [ItemReceipts](docs/sdks/itemreceipts/README.md)

Expand Down Expand Up @@ -172,7 +172,7 @@ func main() {
* [Get](docs/sdks/transfers/README.md#get) - Get transfer
* [GetCreateModel](docs/sdks/transfers/README.md#getcreatemodel) - Get create transfer model
* [List](docs/sdks/transfers/README.md#list) - List transfers
* [UploadAttachment](docs/sdks/transfers/README.md#uploadattachment) - Push invoice attachment
* [UploadAttachment](docs/sdks/transfers/README.md#uploadattachment) - Upload invoice attachment

### [BillCreditNotes](docs/sdks/billcreditnotes/README.md)

Expand Down
12 changes: 11 additions & 1 deletion previous-versions/accounting/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,14 @@ Based on:
### Generated
- [go v0.30.0] previous-versions/accounting
### Releases
- [Go v0.30.0] https://github.com/codatio/client-sdk-go/releases/tag/previous-versions/accounting/v0.30.0 - previous-versions/accounting
- [Go v0.30.0] https://github.com/codatio/client-sdk-go/releases/tag/previous-versions/accounting/v0.30.0 - previous-versions/accounting

## 2023-12-15 12:56:13
### Changes
Based on:
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Accounting.yaml
- Speakeasy CLI 1.126.3 (2.214.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [go v0.31.0] previous-versions/accounting
### Releases
- [Go v0.31.0] https://github.com/codatio/client-sdk-go/releases/tag/previous-versions/accounting/v0.31.0 - previous-versions/accounting
2 changes: 1 addition & 1 deletion previous-versions/accounting/billcreditnotes.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ func (s *BillCreditNotes) UploadAttachment(ctx context.Context, request operatio
return nil, fmt.Errorf("error generating URL: %w", err)
}

bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "RequestBody", "multipart", `multipartForm:"file" request:"mediaType=multipart/form-data"`)
bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "AttachmentUpload", "multipart", `request:"mediaType=multipart/form-data"`)
if err != nil {
return nil, fmt.Errorf("error serializing request body: %w", err)
}
Expand Down
4 changes: 2 additions & 2 deletions previous-versions/accounting/codataccounting.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ func New(opts ...SDKOption) *CodatAccounting {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "3.0.0",
SDKVersion: "0.30.0",
SDKVersion: "0.31.0",
GenVersion: "2.214.3",
UserAgent: "speakeasy-sdk/go 0.30.0 2.214.3 3.0.0 github.com/codatio/client-sdk-go/previous-versions/accounting",
UserAgent: "speakeasy-sdk/go 0.31.0 2.214.3 3.0.0 github.com/codatio/client-sdk-go/previous-versions/accounting",
},
}
for _, opt := range opts {
Expand Down
2 changes: 1 addition & 1 deletion previous-versions/accounting/directincomes.go
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ func (s *DirectIncomes) UploadAttachment(ctx context.Context, request operations
return nil, fmt.Errorf("error generating URL: %w", err)
}

bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "RequestBody", "multipart", `multipartForm:"file" request:"mediaType=multipart/form-data"`)
bodyReader, reqContentType, err := utils.SerializeRequestBody(ctx, request, false, true, "AttachmentUpload", "multipart", `request:"mediaType=multipart/form-data"`)
if err != nil {
return nil, fmt.Errorf("error serializing request body: %w", err)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| `RequestBody` | [*operations.UploadBillCreditNoteAttachmentRequestBody](../../../pkg/models/operations/uploadbillcreditnoteattachmentrequestbody.md) | :heavy_minus_sign: | N/A | |
| `BillCreditNoteID` | *string* | :heavy_check_mark: | Unique identifier for a bill credit note. | |
| `CompanyID` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `ConnectionID` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `AttachmentUpload` | [*shared.AttachmentUpload](../../../pkg/models/shared/attachmentupload.md) | :heavy_minus_sign: | N/A | |
| `BillCreditNoteID` | *string* | :heavy_check_mark: | Unique identifier for a bill credit note. | |
| `CompanyID` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `ConnectionID` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `RequestBody` | [*operations.UploadDirectIncomeAttachmentRequestBody](../../../pkg/models/operations/uploaddirectincomeattachmentrequestbody.md) | :heavy_minus_sign: | N/A | |
| `CompanyID` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `ConnectionID` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
| `DirectIncomeID` | *string* | :heavy_check_mark: | Unique identifier for a direct income. | |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `AttachmentUpload` | [*shared.AttachmentUpload](../../../pkg/models/shared/attachmentupload.md) | :heavy_minus_sign: | N/A | |
| `CompanyID` | *string* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
| `ConnectionID` | *string* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
| `DirectIncomeID` | *string* | :heavy_check_mark: | Unique identifier for a direct income. | |

This file was deleted.

Loading

0 comments on commit 9f5c8e3

Please sign in to comment.