@@ -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
972982using ApideckUnifySdk ;
973983using ApideckUnifySdk .Models .Components ;
974984using ApideckUnifySdk .Models .Requests ;
975- using System . Collections . Generic ;
985+ using System ;
976986
977987var 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);
0 commit comments