Skip to content

Commit 9b0de62

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.528.1
1 parent 1668ca2 commit 9b0de62

File tree

89 files changed

+5577
-119
lines changed

Some content is hidden

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

89 files changed

+5577
-119
lines changed

Diff for: .speakeasy/gen.lock

+280-6
Large diffs are not rendered by default.

Diff for: .speakeasy/gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ generation:
1818
oAuth2ClientCredentialsEnabled: true
1919
oAuth2PasswordEnabled: true
2020
go:
21-
version: 0.8.1
21+
version: 0.9.0
2222
additionalDependencies: {}
2323
allowUnknownFieldsInWeakUnions: false
2424
clientServerStatusCodesAsErrors: true

Diff for: .speakeasy/workflow.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.523.0
1+
speakeasyVersion: 1.528.1
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:6207cbba5e344794c7fc9740dd1de4eaf34d9beaa3fc0f7a8389e3b0b47f5b91
6-
sourceBlobDigest: sha256:53708e30587d09cdcd934b6c7bf237861ff24b79984d14715567cda1bfe57379
5+
sourceRevisionDigest: sha256:b30a918ddc8a531216791f51c6c2de9ec9eb5b512a0c064a1708bef497bf07eb
6+
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1741788467
10-
- 10.12.4
9+
- speakeasy-sdk-regen-1743420870
10+
- 10.14.1
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:6207cbba5e344794c7fc9740dd1de4eaf34d9beaa3fc0f7a8389e3b0b47f5b91
16-
sourceBlobDigest: sha256:53708e30587d09cdcd934b6c7bf237861ff24b79984d14715567cda1bfe57379
15+
sourceRevisionDigest: sha256:b30a918ddc8a531216791f51c6c2de9ec9eb5b512a0c064a1708bef497bf07eb
16+
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
1717
codeSamplesNamespace: apideck-go-code-samples
18-
codeSamplesRevisionDigest: sha256:c3abe4e8dab536f288afacd86367ae0834a798ef871b4980f32e6da58c23496c
18+
codeSamplesRevisionDigest: sha256:139f00d416cf3e3a40008a93ddb90806f12a954e72787ea6149afabffe6a5ba0
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

Diff for: README.md

+22-53
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,18 @@ func main() {
189189
### [Accounting](docs/sdks/accounting/README.md)
190190

191191

192+
#### [Accounting.AgedCreditors](docs/sdks/agedcreditors/README.md)
193+
194+
* [Get](docs/sdks/agedcreditors/README.md#get) - Get Aged Creditors
195+
192196
#### [Accounting.AgedDebtors](docs/sdks/ageddebtors/README.md)
193197

194198
* [Get](docs/sdks/ageddebtors/README.md#get) - Get Aged Debtors
195199

196200
#### [Accounting.Attachments](docs/sdks/attachments/README.md)
197201

198202
* [List](docs/sdks/attachments/README.md#list) - List Attachments
203+
* [Upload](docs/sdks/attachments/README.md#upload) - Upload attachment
199204
* [Get](docs/sdks/attachments/README.md#get) - Get Attachment
200205
* [Delete](docs/sdks/attachments/README.md#delete) - Delete Attachment
201206
* [Download](docs/sdks/attachments/README.md#download) - Download Attachment
@@ -456,6 +461,10 @@ func main() {
456461
#### [Crm.Pipelines](docs/sdks/pipelines/README.md)
457462

458463
* [List](docs/sdks/pipelines/README.md#list) - List pipelines
464+
* [Create](docs/sdks/pipelines/README.md#create) - Create pipeline
465+
* [Get](docs/sdks/pipelines/README.md#get) - Get pipeline
466+
* [Update](docs/sdks/pipelines/README.md#update) - Update pipeline
467+
* [Delete](docs/sdks/pipelines/README.md#delete) - Delete pipeline
459468

460469
#### [Crm.Users](docs/sdks/users/README.md)
461470

@@ -536,6 +545,7 @@ func main() {
536545

537546
* [Create](docs/sdks/uploadsessions/README.md#create) - Start Upload Session
538547
* [Get](docs/sdks/uploadsessions/README.md#get) - Get Upload Session
548+
* [Upload](docs/sdks/uploadsessions/README.md#upload) - Upload part of File to Upload Session
539549
* [Delete](docs/sdks/uploadsessions/README.md#delete) - Abort Upload Session
540550
* [Finish](docs/sdks/uploadsessions/README.md#finish) - Finish Upload Session
541551

@@ -1107,63 +1117,22 @@ func main() {
11071117
sdkgo.WithAppID("dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"),
11081118
)
11091119

1110-
res, err := s.FileStorage.UploadSessions.Create(ctx, operations.FileStorageUploadSessionsAddRequest{
1111-
ServiceID: sdkgo.String("salesforce"),
1112-
CreateUploadSessionRequest: components.CreateUploadSessionRequest{
1113-
Name: "Documents",
1114-
ParentFolderID: "1234",
1115-
DriveID: sdkgo.String("1234"),
1116-
Size: sdkgo.Int64(1810673),
1117-
PassThrough: []components.PassThroughBody{
1118-
components.PassThroughBody{
1119-
ServiceID: "<id>",
1120-
ExtendPaths: []components.ExtendPaths{
1121-
components.ExtendPaths{
1122-
Path: "$.nested.property",
1123-
Value: map[string]any{
1124-
"TaxClassificationRef": map[string]any{
1125-
"value": "EUC-99990201-V1-00020000",
1126-
},
1127-
},
1128-
},
1129-
components.ExtendPaths{
1130-
Path: "$.nested.property",
1131-
Value: map[string]any{
1132-
"TaxClassificationRef": map[string]any{
1133-
"value": "EUC-99990201-V1-00020000",
1134-
},
1135-
},
1136-
},
1137-
},
1138-
},
1139-
components.PassThroughBody{
1140-
ServiceID: "<id>",
1141-
ExtendPaths: []components.ExtendPaths{
1142-
components.ExtendPaths{
1143-
Path: "$.nested.property",
1144-
Value: map[string]any{
1145-
"TaxClassificationRef": map[string]any{
1146-
"value": "EUC-99990201-V1-00020000",
1147-
},
1148-
},
1149-
},
1150-
components.ExtendPaths{
1151-
Path: "$.nested.property",
1152-
Value: map[string]any{
1153-
"TaxClassificationRef": map[string]any{
1154-
"value": "EUC-99990201-V1-00020000",
1155-
},
1156-
},
1157-
},
1158-
},
1159-
},
1160-
},
1161-
},
1120+
requestBody, fileErr := os.Open("example.file")
1121+
if fileErr != nil {
1122+
panic(fileErr)
1123+
}
1124+
1125+
res, err := s.Accounting.Attachments.Upload(ctx, operations.AccountingAttachmentsUploadRequest{
1126+
ReferenceType: components.AttachmentReferenceTypeInvoice,
1127+
ReferenceID: "123456",
1128+
XApideckMetadata: sdkgo.String("{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}"),
1129+
ServiceID: sdkgo.String("salesforce"),
1130+
RequestBody: requestBody,
11621131
}, operations.WithServerURL("https://upload.apideck.com"))
11631132
if err != nil {
11641133
log.Fatal(err)
11651134
}
1166-
if res.CreateUploadSessionResponse != nil {
1135+
if res.CreateAttachmentResponse != nil {
11671136
// handle response
11681137
}
11691138
}

Diff for: RELEASES.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,14 @@ Based on:
178178
### Generated
179179
- [go v0.8.1] .
180180
### Releases
181-
- [Go v0.8.1] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.8.1 - .
181+
- [Go v0.8.1] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.8.1 - .
182+
183+
## 2025-04-03 19:59:22
184+
### Changes
185+
Based on:
186+
- OpenAPI Doc
187+
- Speakeasy CLI 1.528.1 (2.565.1) https://github.com/speakeasy-api/speakeasy
188+
### Generated
189+
- [go v0.9.0] .
190+
### Releases
191+
- [Go v0.9.0] https://github.com/apideck-libraries/sdk-go/releases/tag/v0.9.0 - .

Diff for: accounting.go

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ type Accounting struct {
2424
TrackingCategories *TrackingCategories
2525
BillPayments *BillPayments
2626
Expenses *Expenses
27+
AgedCreditors *AgedCreditors
2728
AgedDebtors *AgedDebtors
2829

2930
sdkConfiguration sdkConfiguration
@@ -53,6 +54,7 @@ func newAccounting(sdkConfig sdkConfiguration) *Accounting {
5354
TrackingCategories: newTrackingCategories(sdkConfig),
5455
BillPayments: newBillPayments(sdkConfig),
5556
Expenses: newExpenses(sdkConfig),
57+
AgedCreditors: newAgedCreditors(sdkConfig),
5658
AgedDebtors: newAgedDebtors(sdkConfig),
5759
}
5860
}

0 commit comments

Comments
 (0)