Skip to content

Commit 8b50bfe

Browse files
authored
Merge pull request #39 from apideck-libraries/speakeasy-sdk-regen-1749226426
chore: 🐝 Update SDK - Generate 0.11.2
2 parents 3900878 + 64bdfa8 commit 8b50bfe

File tree

187 files changed

+5718
-1137
lines changed

Some content is hidden

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

187 files changed

+5718
-1137
lines changed

.speakeasy/gen.lock

Lines changed: 596 additions & 8 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ generation:
1717
oAuth2ClientCredentialsEnabled: true
1818
oAuth2PasswordEnabled: true
1919
csharp:
20-
version: 0.11.1
20+
version: 0.11.2
2121
additionalDependencies: []
2222
author: Speakeasy
23+
baseErrorName: ApideckError
2324
clientServerStatusCodesAsErrors: true
2425
defaultErrorName: APIException
2526
disableNamespacePascalCasingApr2024: true

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.555.0
1+
speakeasyVersion: 1.559.0
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:5e26617dc37c30ccdaa63c344c7e0459409433582bc532f345fcecfa622bb6ef
6-
sourceBlobDigest: sha256:56d1ef43c8d49e89407bc967e1cd9b9eeb54029bf17113e1c6914056084805da
5+
sourceRevisionDigest: sha256:ff4bae39bdf8e4f2acaa1196e7c1517e7f2c59ca83b87785a7e06e3714c0637d
6+
sourceBlobDigest: sha256:b16d87c11cc9c5bbff0fc829bd6621927e10f79ff8f16a6b6eddd3b1bf56e8a1
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1748856961
9+
- speakeasy-sdk-regen-1749226426
1010
- 10.17.2
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:5e26617dc37c30ccdaa63c344c7e0459409433582bc532f345fcecfa622bb6ef
16-
sourceBlobDigest: sha256:56d1ef43c8d49e89407bc967e1cd9b9eeb54029bf17113e1c6914056084805da
15+
sourceRevisionDigest: sha256:ff4bae39bdf8e4f2acaa1196e7c1517e7f2c59ca83b87785a7e06e3714c0637d
16+
sourceBlobDigest: sha256:b16d87c11cc9c5bbff0fc829bd6621927e10f79ff8f16a6b6eddd3b1bf56e8a1
1717
codeSamplesNamespace: apideck-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:6279379a451575b3bc50d4a58bd54e5deeeeb4b7097d7cac2b17def815111a97
18+
codeSamplesRevisionDigest: sha256:1a1814d9a558ae57792ddfe15dae70305713cf84a17abe8c8466273dbb07345c
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

NUGET.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ using ApideckUnifySdk.Models.Requests;
1313
using System.Collections.Generic;
1414

1515
var sdk = new Apideck(
16-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
1716
consumerId: "test-consumer",
18-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
17+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
18+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
1919
);
2020

2121
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -109,9 +109,9 @@ using ApideckUnifySdk.Models.Requests;
109109
using System.Collections.Generic;
110110

111111
var sdk = new Apideck(
112-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
113112
consumerId: "test-consumer",
114-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
113+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
114+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
115115
);
116116

117117
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -153,9 +153,9 @@ using ApideckUnifySdk.Models.Requests;
153153
using System.Collections.Generic;
154154

155155
var sdk = new Apideck(
156-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
157156
consumerId: "test-consumer",
158-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
157+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
158+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
159159
);
160160

161161
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -213,9 +213,9 @@ var sdk = new Apideck(
213213
),
214214
retryConnectionErrors: false
215215
),
216-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
217216
consumerId: "test-consumer",
218-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
217+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
218+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
219219
);
220220

221221
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -278,9 +278,9 @@ using ApideckUnifySdk.Models.Requests;
278278
using System.Collections.Generic;
279279

280280
var sdk = new Apideck(
281-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
282281
consumerId: "test-consumer",
283-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
282+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
283+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
284284
);
285285

286286
try
@@ -359,9 +359,9 @@ using System.Collections.Generic;
359359

360360
var sdk = new Apideck(
361361
serverUrl: "https://unify.apideck.com",
362-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
363362
consumerId: "test-consumer",
364-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
363+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
364+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
365365
);
366366

367367
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -399,14 +399,15 @@ using ApideckUnifySdk.Models.Requests;
399399
using System;
400400

401401
var sdk = new Apideck(
402-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
403402
consumerId: "test-consumer",
404-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
403+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
404+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
405405
);
406406

407407
AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest() {
408408
ReferenceType = AttachmentReferenceType.Invoice,
409-
ReferenceId = "12345",
409+
ReferenceId = "123456",
410+
XApideckMetadata = "{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}",
410411
ServiceId = "salesforce",
411412
RequestBody = System.Text.Encoding.UTF8.GetBytes("0x506D4BD16D"),
412413
};

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ using ApideckUnifySdk.Models.Requests;
6666
using System.Collections.Generic;
6767

6868
var sdk = new Apideck(
69-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
7069
consumerId: "test-consumer",
71-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
70+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
71+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
7272
);
7373

7474
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -727,9 +727,9 @@ using ApideckUnifySdk.Models.Requests;
727727
using System.Collections.Generic;
728728

729729
var sdk = new Apideck(
730-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
731730
consumerId: "test-consumer",
732-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
731+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
732+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
733733
);
734734

735735
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -771,9 +771,9 @@ using ApideckUnifySdk.Models.Requests;
771771
using System.Collections.Generic;
772772

773773
var sdk = new Apideck(
774-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
775774
consumerId: "test-consumer",
776-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
775+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
776+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
777777
);
778778

779779
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -831,9 +831,9 @@ var sdk = new Apideck(
831831
),
832832
retryConnectionErrors: false
833833
),
834-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
835834
consumerId: "test-consumer",
836-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
835+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
836+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
837837
);
838838

839839
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -896,9 +896,9 @@ using ApideckUnifySdk.Models.Requests;
896896
using System.Collections.Generic;
897897

898898
var sdk = new Apideck(
899-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
900899
consumerId: "test-consumer",
901-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
900+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
901+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
902902
);
903903

904904
try
@@ -977,9 +977,9 @@ using System.Collections.Generic;
977977

978978
var sdk = new Apideck(
979979
serverUrl: "https://unify.apideck.com",
980-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
981980
consumerId: "test-consumer",
982-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
981+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
982+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
983983
);
984984

985985
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {
@@ -1017,14 +1017,15 @@ using ApideckUnifySdk.Models.Requests;
10171017
using System;
10181018

10191019
var sdk = new Apideck(
1020-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
10211020
consumerId: "test-consumer",
1022-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
1021+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
1022+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
10231023
);
10241024

10251025
AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest() {
10261026
ReferenceType = AttachmentReferenceType.Invoice,
1027-
ReferenceId = "12345",
1027+
ReferenceId = "123456",
1028+
XApideckMetadata = "{\"name\":\"document.pdf\",\"description\":\"Invoice attachment\"}",
10281029
ServiceId = "salesforce",
10291030
RequestBody = System.Text.Encoding.UTF8.GetBytes("0x506D4BD16D"),
10301031
};

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,4 +278,14 @@ Based on:
278278
### Generated
279279
- [csharp v0.11.1] .
280280
### Releases
281-
- [NuGet v0.11.1] https://www.nuget.org/packages/ApideckUnifySdk/0.11.1 - .
281+
- [NuGet v0.11.1] https://www.nuget.org/packages/ApideckUnifySdk/0.11.1 - .
282+
283+
## 2025-06-10 12:04:37
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc
287+
- Speakeasy CLI 1.559.0 (2.624.0) https://github.com/speakeasy-api/speakeasy
288+
### Generated
289+
- [csharp v0.11.2] .
290+
### Releases
291+
- [NuGet v0.11.2] https://www.nuget.org/packages/ApideckUnifySdk/0.11.2 - .

USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ using ApideckUnifySdk.Models.Requests;
66
using System.Collections.Generic;
77

88
var sdk = new Apideck(
9-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
109
consumerId: "test-consumer",
11-
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
10+
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
11+
apiKey: "<YOUR_BEARER_TOKEN_HERE>"
1212
);
1313

1414
AccountingTaxRatesAllRequest req = new AccountingTaxRatesAllRequest() {

docs/Models/Components/ConnectionImportData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
| Field | Type | Required | Description | Example |
77
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88
| `Credentials` | [Credentials](../../Models/Components/Credentials.md) | :heavy_minus_sign: | N/A | {<br/>"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",<br/>"refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.cThIIoDvwdueQB468K5xDc5633seEFoqwxjF_xSJyQQ"<br/>} |
9-
| `Settings` | [Settings](../../Models/Components/Settings.md) | :heavy_minus_sign: | Connection settings. Values will persist to `form_fields` with corresponding id | {<br/>"instance_url": "https://eu28.salesforce.com"<br/>} |
9+
| `Settings` | Dictionary<String, *object*> | :heavy_minus_sign: | Connection settings. Values will persist to `form_fields` with corresponding id | {<br/>"instance_url": "https://eu28.salesforce.com"<br/>} |
1010
| `Metadata` | Dictionary<String, *object*> | :heavy_minus_sign: | Attach your own consumer specific metadata | {<br/>"account": {<br/>"name": "My Company",<br/>"id": "c01458a5-7276-41ce-bc19-639906b0450a"<br/>},<br/>"plan": "enterprise"<br/>} |

0 commit comments

Comments
 (0)