Skip to content

Commit e427256

Browse files
authored
Merge pull request #29 from apideck-libraries/speakeasy-sdk-regen-1743420869
chore: 🐝 Update SDK - Generate 0.8.0
2 parents 36e7c9d + 78c2a1e commit e427256

File tree

443 files changed

+5594
-1713
lines changed

Some content is hidden

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

443 files changed

+5594
-1713
lines changed

.speakeasy/gen.lock

Lines changed: 362 additions & 88 deletions
Large diffs are not rendered by default.

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ generation:
1515
oAuth2ClientCredentialsEnabled: true
1616
oAuth2PasswordEnabled: true
1717
csharp:
18-
version: 0.7.2
18+
version: 0.8.0
1919
additionalDependencies: []
2020
author: Speakeasy
2121
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.523.0
1+
speakeasyVersion: 1.529.1
22
sources:
33
Apideck:
44
sourceNamespace: apideck
5-
sourceRevisionDigest: sha256:b4ecde8318607ff2510d466800ba73f81b94498848e83e2b0a1bd2ccc824200d
6-
sourceBlobDigest: sha256:53708e30587d09cdcd934b6c7bf237861ff24b79984d14715567cda1bfe57379
5+
sourceRevisionDigest: sha256:a6db4c7c94d90bd336e208d03b3255aa24c9600757e90587f7d1ccfc25d887c2
6+
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1742577315
10-
- 10.12.4
9+
- speakeasy-sdk-regen-1743420869
10+
- 10.14.1
1111
targets:
1212
apideck:
1313
source: Apideck
1414
sourceNamespace: apideck
15-
sourceRevisionDigest: sha256:b4ecde8318607ff2510d466800ba73f81b94498848e83e2b0a1bd2ccc824200d
16-
sourceBlobDigest: sha256:53708e30587d09cdcd934b6c7bf237861ff24b79984d14715567cda1bfe57379
15+
sourceRevisionDigest: sha256:a6db4c7c94d90bd336e208d03b3255aa24c9600757e90587f7d1ccfc25d887c2
16+
sourceBlobDigest: sha256:129f9bc0d8b29efd7db3b87ac4fe87de06d8bc3060a12340799861913382fe05
1717
codeSamplesNamespace: apideck-csharp-code-samples
18-
codeSamplesRevisionDigest: sha256:03b669d762c0248691d1966e31053fadb14e988fc5bf2ddb9f9e18948b657a27
18+
codeSamplesRevisionDigest: sha256:fc541ba67d2bb869e2e76d7c231d496bb9a17b9237c31ad4d5a4ac0105d6551f
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

NUGET.md

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -396,40 +396,22 @@ The server URL can also be overridden on a per-operation basis, provided a serve
396396
using ApideckUnifySdk;
397397
using ApideckUnifySdk.Models.Components;
398398
using ApideckUnifySdk.Models.Requests;
399-
using System.Collections.Generic;
399+
using System;
400400

401401
var sdk = new Apideck(
402402
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
403403
consumerId: "test-consumer",
404404
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
405405
);
406406

407-
FileStorageUploadSessionsAddRequest req = new FileStorageUploadSessionsAddRequest() {
408-
CreateUploadSessionRequest = new CreateUploadSessionRequest() {
409-
Name = "Documents",
410-
ParentFolderId = "1234",
411-
DriveId = "1234",
412-
Size = 1810673,
413-
PassThrough = new List<PassThroughBody>() {
414-
new PassThroughBody() {
415-
ServiceId = "<id>",
416-
ExtendPaths = new List<ExtendPaths>() {
417-
new ExtendPaths() {
418-
Path = "$.nested.property",
419-
Value = new Dictionary<string, object>() {
420-
{ "TaxClassificationRef", new Dictionary<string, object>() {
421-
{ "value", "EUC-99990201-V1-00020000" },
422-
} },
423-
},
424-
},
425-
},
426-
},
427-
},
428-
},
407+
AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest() {
408+
ReferenceType = AttachmentReferenceType.Invoice,
409+
ReferenceId = "12345",
429410
ServiceId = "salesforce",
411+
RequestBody = System.Text.Encoding.UTF8.GetBytes("0x8cc9e675ad"),
430412
};
431413

432-
var res = await sdk.FileStorage.UploadSessions.CreateAsync(
414+
var res = await sdk.Accounting.Attachments.UploadAsync(
433415
request: req,
434416
serverUrl: "https://upload.apideck.com"
435417
);

README.md

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,18 @@ while(res != null)
156156
### [Accounting](docs/sdks/accounting/README.md)
157157

158158

159+
#### [Accounting.AgedCreditors](docs/sdks/agedcreditors/README.md)
160+
161+
* [Get](docs/sdks/agedcreditors/README.md#get) - Get Aged Creditors
162+
159163
#### [Accounting.AgedDebtors](docs/sdks/ageddebtors/README.md)
160164

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

163167
#### [Accounting.Attachments](docs/sdks/attachments/README.md)
164168

165169
* [List](docs/sdks/attachments/README.md#list) - List Attachments
170+
* [Upload](docs/sdks/attachments/README.md#upload) - Upload attachment
166171
* [Get](docs/sdks/attachments/README.md#get) - Get Attachment
167172
* [Delete](docs/sdks/attachments/README.md#delete) - Delete Attachment
168173
* [Download](docs/sdks/attachments/README.md#download) - Download Attachment
@@ -423,6 +428,10 @@ while(res != null)
423428
#### [Crm.Pipelines](docs/sdks/pipelines/README.md)
424429

425430
* [List](docs/sdks/pipelines/README.md#list) - List pipelines
431+
* [Create](docs/sdks/pipelines/README.md#create) - Create pipeline
432+
* [Get](docs/sdks/pipelines/README.md#get) - Get pipeline
433+
* [Update](docs/sdks/pipelines/README.md#update) - Update pipeline
434+
* [Delete](docs/sdks/pipelines/README.md#delete) - Delete pipeline
426435

427436
#### [Crm.Users](docs/sdks/users/README.md)
428437

@@ -503,6 +512,7 @@ while(res != null)
503512

504513
* [Create](docs/sdks/uploadsessions/README.md#create) - Start Upload Session
505514
* [Get](docs/sdks/uploadsessions/README.md#get) - Get Upload Session
515+
* [Upload](docs/sdks/uploadsessions/README.md#upload) - Upload part of File to Upload Session
506516
* [Delete](docs/sdks/uploadsessions/README.md#delete) - Abort Upload Session
507517
* [Finish](docs/sdks/uploadsessions/README.md#finish) - Finish Upload Session
508518

@@ -972,40 +982,22 @@ The server URL can also be overridden on a per-operation basis, provided a serve
972982
using ApideckUnifySdk;
973983
using ApideckUnifySdk.Models.Components;
974984
using ApideckUnifySdk.Models.Requests;
975-
using System.Collections.Generic;
985+
using System;
976986

977987
var sdk = new Apideck(
978988
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
979989
consumerId: "test-consumer",
980990
appId: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX"
981991
);
982992

983-
FileStorageUploadSessionsAddRequest req = new FileStorageUploadSessionsAddRequest() {
984-
CreateUploadSessionRequest = new CreateUploadSessionRequest() {
985-
Name = "Documents",
986-
ParentFolderId = "1234",
987-
DriveId = "1234",
988-
Size = 1810673,
989-
PassThrough = new List<PassThroughBody>() {
990-
new PassThroughBody() {
991-
ServiceId = "<id>",
992-
ExtendPaths = new List<ExtendPaths>() {
993-
new ExtendPaths() {
994-
Path = "$.nested.property",
995-
Value = new Dictionary<string, object>() {
996-
{ "TaxClassificationRef", new Dictionary<string, object>() {
997-
{ "value", "EUC-99990201-V1-00020000" },
998-
} },
999-
},
1000-
},
1001-
},
1002-
},
1003-
},
1004-
},
993+
AccountingAttachmentsUploadRequest req = new AccountingAttachmentsUploadRequest() {
994+
ReferenceType = AttachmentReferenceType.Invoice,
995+
ReferenceId = "12345",
1005996
ServiceId = "salesforce",
997+
RequestBody = System.Text.Encoding.UTF8.GetBytes("0x8cc9e675ad"),
1006998
};
1007999

1008-
var res = await sdk.FileStorage.UploadSessions.CreateAsync(
1000+
var res = await sdk.Accounting.Attachments.UploadAsync(
10091001
request: req,
10101002
serverUrl: "https://upload.apideck.com"
10111003
);

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,14 @@ Based on:
188188
### Generated
189189
- [csharp v0.7.2] .
190190
### Releases
191-
- [NuGet v0.7.2] https://www.nuget.org/packages/ApideckUnifySdk/0.7.2 - .
191+
- [NuGet v0.7.2] https://www.nuget.org/packages/ApideckUnifySdk/0.7.2 - .
192+
193+
## 2025-04-04 11:59:26
194+
### Changes
195+
Based on:
196+
- OpenAPI Doc
197+
- Speakeasy CLI 1.529.1 (2.566.5) https://github.com/speakeasy-api/speakeasy
198+
### Generated
199+
- [csharp v0.8.0] .
200+
### Releases
201+
- [NuGet v0.8.0] https://www.nuget.org/packages/ApideckUnifySdk/0.8.0 - .
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AgedCreditors
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
8+
| `ReportGeneratedAt` | [DateTime](https://learn.microsoft.com/en-us/dotnet/api/system.datetime?view=net-5.0) | :heavy_minus_sign: | The exact date and time the report was generated. | 2024-11-14T12:00:00.000Z |
9+
| `ReportAsOfDate` | [LocalDate](https://nodatime.org/3.1.x/api/NodaTime.LocalDate.html) | :heavy_minus_sign: | The cutoff date for transactions included in the report. | 2024-11-13 |
10+
| `PeriodCount` | *long* | :heavy_minus_sign: | Number of aging periods shown in the report. | 4 |
11+
| `PeriodLength` | *long* | :heavy_minus_sign: | Length of each aging period in days. | 30 |
12+
| `OutstandingBalances` | List<[OutstandingBalanceBySupplier](../../Models/Components/OutstandingBalanceBySupplier.md)> | :heavy_minus_sign: | N/A | |

docs/Models/Components/BillLineItem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
| `UnitOfMeasure` | *string* | :heavy_minus_sign: | Description of the unit type the item is sold as, ie: kg, hour. | pc. |
1919
| `DiscountPercentage` | *double* | :heavy_minus_sign: | Discount percentage applied to the line item when supported downstream. | 0.01 |
2020
| `DiscountAmount` | *double* | :heavy_minus_sign: | Discount amount applied to the line item when supported downstream. | 19.99 |
21-
| `LocationId` | *string* | :heavy_minus_sign: | Location id | 1234 |
22-
| `DepartmentId` | *string* | :heavy_minus_sign: | Department id | 1234 |
21+
| `LocationId` | *string* | :heavy_minus_sign: | The ID of the location | 12345 |
22+
| `DepartmentId` | *string* | :heavy_minus_sign: | The ID of the department | 12345 |
2323
| `Item` | [LinkedInvoiceItem](../../Models/Components/LinkedInvoiceItem.md) | :heavy_minus_sign: | N/A | |
2424
| `TaxRate` | [LinkedTaxRate](../../Models/Components/LinkedTaxRate.md) | :heavy_minus_sign: | N/A | |
2525
| `LedgerAccount` | [LinkedLedgerAccount](../../Models/Components/LinkedLedgerAccount.md) | :heavy_minus_sign: | N/A | |

0 commit comments

Comments
 (0)