diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 43673e8c2..68895af84 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: f306da52-7172-441d-9f8c-9d055cef9c2a management: - docChecksum: b2f385cf1eb9f6c464497621f79caeb5 - docVersion: 10.21.2 - speakeasyVersion: 1.631.5 - generationVersion: 2.716.16 - releaseVersion: 0.16.0 - configChecksum: 55ea84239708aec6fadd7254dd7f6ffe + docChecksum: efe4635baedb3c35156ddcd5d1173663 + docVersion: 10.21.4 + speakeasyVersion: 1.636.3 + generationVersion: 2.723.11 + releaseVersion: 0.17.0 + configChecksum: 80c2d10378505d9a0f3d54faf98ac6e8 repoURL: https://github.com/apideck-libraries/sdk-csharp.git published: true features: csharp: additionalDependencies: 0.1.0 constsAndDefaults: 0.0.1 - core: 3.12.4 + core: 3.13.0 deprecations: 2.81.2 errors: 1.0.0 flattening: 2.81.3 @@ -22,19 +22,19 @@ features: globalSecurityFlattening: 0.1.0 globalServerURLs: 2.82.4 globals: 2.82.1 - groups: 2.81.2 + groups: 2.81.3 inputOutputModels: 2.83.0 intellisenseMarkdownSupport: 0.1.0 methodArguments: 0.2.1 methodServerURLs: 2.82.1 nameOverrides: 2.81.2 nullables: 0.1.1 - pagination: 0.2.6 + pagination: 0.2.7 responseFormat: 0.0.4 retries: 0.0.1 sdkHooks: 0.2.0 typeOverrides: 2.81.1 - unions: 1.0.0 + unions: 1.1.0 generatedFiles: - .gitattributes - ApideckUnifySdk.sln @@ -1526,11 +1526,9 @@ generatedFiles: - docs/Models/Requests/WebhookWebhooksOneResponse.md - docs/Models/Requests/WebhookWebhooksUpdateRequest.md - docs/Models/Requests/WebhookWebhooksUpdateResponse.md - - docs/sdks/accounting/README.md - docs/sdks/activities/README.md - docs/sdks/agedcreditors/README.md - docs/sdks/ageddebtors/README.md - - docs/sdks/apideck/README.md - docs/sdks/apideckcompanies/README.md - docs/sdks/apideckcustomers/README.md - docs/sdks/apideckdepartments/README.md @@ -1539,7 +1537,6 @@ generatedFiles: - docs/sdks/apis/README.md - docs/sdks/applicants/README.md - docs/sdks/applications/README.md - - docs/sdks/ats/README.md - docs/sdks/attachments/README.md - docs/sdks/balancesheet/README.md - docs/sdks/bankaccounts/README.md @@ -1560,7 +1557,6 @@ generatedFiles: - docs/sdks/connectioncustommappings/README.md - docs/sdks/connections/README.md - docs/sdks/connectionsettings/README.md - - docs/sdks/connector/README.md - docs/sdks/connectordocs/README.md - docs/sdks/connectorresources/README.md - docs/sdks/connectors/README.md @@ -1569,7 +1565,6 @@ generatedFiles: - docs/sdks/contacts/README.md - docs/sdks/createcallback/README.md - docs/sdks/creditnotes/README.md - - docs/sdks/crm/README.md - docs/sdks/customers/README.md - docs/sdks/customfields/README.md - docs/sdks/custommappings/README.md @@ -1578,18 +1573,14 @@ generatedFiles: - docs/sdks/departments/README.md - docs/sdks/drivegroups/README.md - docs/sdks/drives/README.md - - docs/sdks/ecommerce/README.md - docs/sdks/employeepayrolls/README.md - docs/sdks/employees/README.md - docs/sdks/employeeschedules/README.md - docs/sdks/expenses/README.md - docs/sdks/files/README.md - - docs/sdks/filestorage/README.md - docs/sdks/folders/README.md - - docs/sdks/hris/README.md - docs/sdks/invoiceitems/README.md - docs/sdks/invoices/README.md - - docs/sdks/issuetracking/README.md - docs/sdks/jobs/README.md - docs/sdks/journalentries/README.md - docs/sdks/leads/README.md @@ -1610,7 +1601,6 @@ generatedFiles: - docs/sdks/quotes/README.md - docs/sdks/sessions/README.md - docs/sdks/sharedlinks/README.md - - docs/sdks/sms/README.md - docs/sdks/stores/README.md - docs/sdks/subsidiaries/README.md - docs/sdks/suppliers/README.md @@ -1620,8 +1610,6 @@ generatedFiles: - docs/sdks/uploadsessions/README.md - docs/sdks/users/README.md - docs/sdks/validateconnection/README.md - - docs/sdks/vault/README.md - - docs/sdks/webhook/README.md - docs/sdks/webhooks/README.md - global.json - src/ApideckUnifySdk/Accounting.cs @@ -18582,7 +18570,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": {"id": "12345", "display_name": "Windsurf Shop", "email": "boring@boring.com"}, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "budget_hours": 400, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345"} + application/json: {"name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "active": true, "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": {"id": "12345", "display_name": "Windsurf Shop", "email": "boring@boring.com"}, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "budget_hours": 400, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345"} responses: "201": application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "Projects", "operation": "add", "data": {"id": "12345"}} @@ -18611,7 +18599,7 @@ examples: x-apideck-service-id: "salesforce" responses: "200": - application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "Projects", "operation": "one", "data": {"id": "12345", "downstream_id": "12345", "name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": {"id": "12345", "display_id": "CUST00101", "display_name": "Windsurf Shop", "company_name": "The boring company", "email": "boring@boring.com"}, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "actual_amount": 45250.75, "budget_hours": 400, "actual_hours": 385.5, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "code": "N-T", "name": "GST on Purchases", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345", "updated_by": "12345", "created_by": "12345", "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}} + application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "Projects", "operation": "one", "data": {"id": "12345", "downstream_id": "12345", "name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "active": true, "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": {"id": "12345", "display_id": "CUST00101", "display_name": "Windsurf Shop", "company_name": "The boring company", "email": "boring@boring.com"}, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "actual_amount": 45250.75, "budget_hours": 400, "actual_hours": 385.5, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "code": "N-T", "name": "GST on Purchases", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345", "updated_by": "12345", "created_by": "12345", "created_at": "2020-09-30T07:43:32.000Z", "updated_at": "2020-09-30T07:43:32.000Z"}} "400": application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestValidationError", "message": "Invalid Params", "detail": "Missing property foobar", "ref": "https://developers.apideck.com/errors#requestvalidationerror"} "401": @@ -18636,7 +18624,7 @@ examples: x-apideck-app-id: "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" x-apideck-service-id: "salesforce" requestBody: - application/json: {"name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": null, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "budget_hours": 400, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345"} + application/json: {"name": "Website Redesign Project", "display_id": "PROJ-001", "reference_id": "WD-REF-2024-001", "description": "Complete redesign of the company website including new branding and improved user experience", "status": "active", "active": true, "project_type": "client_project", "priority": "high", "completion_percentage": 75.5, "start_date": "2024-01-15", "end_date": "2024-06-30", "customer": null, "department": {"id": "DEPT-001", "name": "Marketing"}, "company_id": "12345", "owner_id": "12345", "parent_project": {"id": "PROJ-PARENT-001", "name": "Company Website Overhaul"}, "currency": "USD", "budget_amount": 50000, "approved_amount": 48000, "budget_hours": 400, "hourly_rate": 125, "billing_method": "time_and_materials", "is_billable": true, "phase": "execution", "tax_rate": {"id": "123456", "rate": 10}, "tracking_categories": [{"id": "123456", "name": "New York", "parent_id": "123456", "parent_name": "New York"}], "tags": ["website", "redesign", "urgent"], "notes": "Client has requested modern design with mobile-first approach", "contract_number": "CNT-2024-001", "profit_margin": 15.5, "schedule_status": "on_schedule", "addresses": [{"id": "123", "type": "primary", "string": "25 Spring Street, Blackburn, VIC 3130", "name": "HQ US", "line1": "Main street", "line2": "apt #", "line3": "Suite #", "line4": "delivery instructions", "line5": "Attention: Finance Dept", "street_number": "25", "city": "San Francisco", "state": "CA", "postal_code": "94104", "country": "US", "latitude": "40.759211", "longitude": "-73.984638", "county": "Santa Clara", "contact_name": "Elon Musk", "salutation": "Mr", "phone_number": "111-111-1111", "fax": "122-111-1111", "email": "elon@musk.com", "website": "https://elonmusk.com", "notes": "Address notes or delivery instructions.", "row_version": "1-12345"}], "team_size": 8, "custom_fields": [{"id": "2389328923893298", "name": "employee_level", "description": "Employee Level", "value": "Uses Salesforce and Marketo"}], "row_version": "1-12345"} responses: "200": application/json: {"status_code": 200, "status": "OK", "service": "quickbooks", "resource": "Projects", "operation": "update", "data": {"id": "12345"}} @@ -18680,4 +18668,4 @@ examples: application/json: {"status_code": 400, "error": "Bad Request", "type_name": "RequestHeadersValidationError", "message": "Invalid Params", "detail": "Missing Header: x-apideck-consumer-id", "ref": "https://developers.apideck.com/errors#unauthorizederror"} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Csharp SDK Changes Detected:\n* `Apideck.Accounting.Projects.List()`: **Added**\n* `Apideck.Accounting.Projects.Create()`: **Added**\n* `Apideck.Accounting.Projects.Get()`: **Added**\n* `Apideck.Accounting.Projects.Update()`: **Added**\n* `Apideck.Accounting.Projects.Delete()`: **Added**\n* `Apideck.Accounting.Bills.List()`: `response.data.[].Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Bills.Create()`: \n * `request.Bill.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Bills.Get()`: `response.data.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Bills.Update()`: \n * `request.Bill.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Invoices.List()`: \n * `request.Filter` **Changed**\n * `response.data.[].BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Invoices.Create()`: \n * `request.Invoice.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Invoices.Get()`: `response.data.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Invoices.Update()`: \n * `request.Invoice.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.InvoiceItems.List()`: \n * `request.Filter` **Changed**\n* `Apideck.Accounting.InvoiceItems.Get()`: \n * `request.Filter` **Changed**\n* `Apideck.Accounting.CreditNotes.List()`: `response.data.[].BillingAddress.Line5` **Added**\n* `Apideck.Accounting.CreditNotes.Create()`: \n * `request.CreditNote.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.CreditNotes.Get()`: `response.data.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.CreditNotes.Update()`: \n * `request.CreditNote.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Customers.List()`: `response.data.[]` **Changed**\n* `Apideck.Accounting.Customers.Create()`: \n * `request.Customer` **Changed**\n* `Apideck.Accounting.Customers.Get()`: `response.data` **Changed**\n* `Apideck.Accounting.Customers.Update()`: \n * `request.Customer` **Changed**\n* `Apideck.Accounting.Suppliers.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Suppliers.Create()`: \n * `request.Supplier.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Suppliers.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Suppliers.Update()`: \n * `request.Supplier.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Payments.List()`: `response.data.[].Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Payments.Create()`: \n * `request.Payment.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Payments.Get()`: `response.data.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Payments.Update()`: \n * `request.Payment.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.CompanyInfo.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.JournalEntries.List()`: `response.data.[]` **Changed**\n* `Apideck.Accounting.JournalEntries.Create()`: \n * `request.JournalEntry` **Changed**\n* `Apideck.Accounting.JournalEntries.Get()`: `response.data` **Changed**\n* `Apideck.Accounting.JournalEntries.Update()`: \n * `request.JournalEntry` **Changed**\n* `Apideck.Accounting.PurchaseOrders.List()`: `response.data.[].Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.PurchaseOrders.Create()`: \n * `request.PurchaseOrder.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.PurchaseOrders.Get()`: `response.data.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.PurchaseOrders.Update()`: \n * `request.PurchaseOrder.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Locations.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Locations.Create()`: \n * `request.AccountingLocation.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Locations.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.Locations.Update()`: \n * `request.AccountingLocation.Addresses.[].Line5` **Added**\n* `Apideck.Accounting.BillPayments.List()`: `response.data.[].Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.BillPayments.Create()`: \n * `request.BillPayment.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.BillPayments.Get()`: `response.data.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.BillPayments.Update()`: \n * `request.BillPayment.Supplier.Address.Line5` **Added**\n* `Apideck.Accounting.Categories.List()`: \n * `request.Filter` **Changed**\n* `Apideck.Accounting.Categories.Get()`: \n * `request.Filter` **Changed**\n* `Apideck.Accounting.Quotes.List()`: `response.data.[].BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Quotes.Create()`: \n * `request.Quote.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Quotes.Get()`: `response.data.BillingAddress.Line5` **Added**\n* `Apideck.Accounting.Quotes.Update()`: \n * `request.Quote.BillingAddress.Line5` **Added**\n* `Apideck.Ats.Jobs.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Ats.Jobs.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Ats.Applicants.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Ats.Applicants.Create()`: \n * `request.Applicant.Addresses.[].Line5` **Added**\n* `Apideck.Ats.Applicants.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Ats.Applicants.Update()`: \n * `request.Applicant.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Companies.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Crm.Companies.Create()`: \n * `request.Company1.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Companies.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Companies.Update()`: \n * `request.Company1.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Contacts.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Crm.Contacts.Create()`: \n * `request.Contact.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Contacts.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Contacts.Update()`: \n * `request.Contact.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Leads.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Crm.Leads.Create()`: \n * `request.Lead.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Leads.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Leads.Update()`: \n * `request.Lead.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Users.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Crm.Users.Create()`: \n * `request.User.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Users.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Users.Update()`: \n * `request.User.Addresses.[].Line5` **Added**\n* `Apideck.Crm.Activities.List()`: `response.data.[].LocationAddress.Line5` **Added**\n* `Apideck.Crm.Activities.Create()`: \n * `request.Activity.LocationAddress.Line5` **Added**\n* `Apideck.Crm.Activities.Get()`: `response.data.LocationAddress.Line5` **Added**\n* `Apideck.Crm.Activities.Update()`: \n * `request.Activity.LocationAddress.Line5` **Added**\n* `Apideck.Hris.Employees.List()`: `response.data.[].Jobs.[].Location.Line5` **Added**\n* `Apideck.Hris.Employees.Create()`: \n * `request.Employee.Jobs.[].Location.Line5` **Added**\n* `Apideck.Hris.Employees.Get()`: `response.data.Jobs.[].Location.Line5` **Added**\n* `Apideck.Hris.Employees.Update()`: \n * `request.Employee.Jobs.[].Location.Line5` **Added**\n* `Apideck.Hris.Companies.List()`: `response.data.[].Addresses.[].Line5` **Added**\n* `Apideck.Hris.Companies.Create()`: \n * `request.HrisCompany.Addresses.[].Line5` **Added**\n* `Apideck.Hris.Companies.Get()`: `response.data.Addresses.[].Line5` **Added**\n* `Apideck.Hris.Companies.Update()`: \n * `request.HrisCompany.Addresses.[].Line5` **Added**\n* `Apideck.Hris.EmployeeSchedules.List()`: `response.data.Employee.Jobs.[].Location.Line5` **Added**\n" +releaseNotes: "## Csharp SDK Changes Detected:\n* `Apideck.Accounting.Invoices.List()`: `response.data.[].LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Invoices.Create()`: \n * `request.Invoice.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Invoices.Get()`: `response.data.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Invoices.Update()`: \n * `request.Invoice.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.CreditNotes.List()`: `response.data.[].LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.CreditNotes.Create()`: \n * `request.CreditNote.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.CreditNotes.Get()`: `response.data.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.CreditNotes.Update()`: \n * `request.CreditNote.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.PurchaseOrders.List()`: `response.data.[].LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.PurchaseOrders.Create()`: \n * `request.PurchaseOrder.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.PurchaseOrders.Get()`: `response.data.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.PurchaseOrders.Update()`: \n * `request.PurchaseOrder.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Quotes.List()`: `response.data.[].LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Quotes.Create()`: \n * `request.Quote.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Quotes.Get()`: `response.data.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Quotes.Update()`: \n * `request.Quote.LineItems.[].ServiceDate` **Added**\n* `Apideck.Accounting.Projects.List()`: `response.data.[].Active` **Added**\n* `Apideck.Accounting.Projects.Create()`: \n * `request.Project.Active` **Added**\n* `Apideck.Accounting.Projects.Get()`: `response.data.Active` **Added**\n* `Apideck.Accounting.Projects.Update()`: \n * `request.Project.Active` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 151f8ee24..94232b26b 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -22,7 +22,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false csharp: - version: 0.16.0 + version: 0.17.0 additionalDependencies: [] author: Speakeasy baseErrorName: ApideckError @@ -30,6 +30,7 @@ csharp: defaultErrorName: APIException disableNamespacePascalCasingApr2024: true dotnetVersion: net8.0 + enableCancellationToken: false enableSourceLink: false flattenGlobalSecurity: true flatteningOrder: parameters-first diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 30b479665..ed2fa8f89 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.631.5 +speakeasyVersion: 1.636.3 sources: Apideck: sourceNamespace: apideck - sourceRevisionDigest: sha256:8466fef89d87791f5f0afee5f7b12b00ab9a6319fa47aa758e27d022ef33acc2 - sourceBlobDigest: sha256:162efb4b84bb4f9f7160b650de3e9296a79801de57cc5a406da58d6c984db407 + sourceRevisionDigest: sha256:284c332c5f33230229bc34bc3a70fb5e205f40df0d163f7911e41d874e0cb1c8 + sourceBlobDigest: sha256:cc1a0fc165bc74203fb1b352268314fd298f2abbd75dd8a29d132371b842d45e tags: - latest - - speakeasy-sdk-regen-1758786486 - - 10.21.2 + - speakeasy-sdk-regen-1759403528 + - 10.21.4 targets: apideck: source: Apideck sourceNamespace: apideck - sourceRevisionDigest: sha256:8466fef89d87791f5f0afee5f7b12b00ab9a6319fa47aa758e27d022ef33acc2 - sourceBlobDigest: sha256:162efb4b84bb4f9f7160b650de3e9296a79801de57cc5a406da58d6c984db407 + sourceRevisionDigest: sha256:284c332c5f33230229bc34bc3a70fb5e205f40df0d163f7911e41d874e0cb1c8 + sourceBlobDigest: sha256:cc1a0fc165bc74203fb1b352268314fd298f2abbd75dd8a29d132371b842d45e codeSamplesNamespace: apideck-csharp-code-samples - codeSamplesRevisionDigest: sha256:0e6d030190eeb5e1281d61acab61c801503ac4f46cfd58be0d25f1f1c60957d8 + codeSamplesRevisionDigest: sha256:7b70d1fec2ecec868e56cc662f29db3e9cf514fafd95b02cbd592633a536c3b6 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index bdbc59d8b..c5204acb7 100644 --- a/README.md +++ b/README.md @@ -153,9 +153,6 @@ while(res != null)
Available methods -### [Accounting](docs/sdks/accounting/README.md) - - #### [Accounting.AgedCreditors](docs/sdks/agedcreditors/README.md) * [Get](docs/sdks/agedcreditors/README.md#get) - Get Aged Creditors @@ -365,10 +362,6 @@ while(res != null) * [Update](docs/sdks/trackingcategories/README.md#update) - Update Tracking Category * [Delete](docs/sdks/trackingcategories/README.md#delete) - Delete Tracking Category - -### [Ats](docs/sdks/ats/README.md) - - #### [Ats.Applicants](docs/sdks/applicants/README.md) * [List](docs/sdks/applicants/README.md#list) - List Applicants @@ -390,9 +383,6 @@ while(res != null) * [List](docs/sdks/jobs/README.md#list) - List Jobs * [Get](docs/sdks/jobs/README.md#get) - Get Job -### [Connector](docs/sdks/connector/README.md) - - #### [Connector.ApiResourceCoverage](docs/sdks/apiresourcecoverage/README.md) * [Get](docs/sdks/apiresourcecoverage/README.md#get) - Get API Resource Coverage @@ -419,9 +409,6 @@ while(res != null) * [List](docs/sdks/connectors/README.md#list) - List Connectors * [Get](docs/sdks/connectors/README.md#get) - Get Connector -### [Crm](docs/sdks/crm/README.md) - - #### [Crm.Activities](docs/sdks/activities/README.md) * [List](docs/sdks/activities/README.md#list) - List activities @@ -502,9 +489,6 @@ while(res != null) * [Update](docs/sdks/users/README.md#update) - Update user * [Delete](docs/sdks/users/README.md#delete) - Delete user -### [Ecommerce](docs/sdks/ecommerce/README.md) - - #### [Ecommerce.Customers](docs/sdks/apideckcustomers/README.md) * [List](docs/sdks/apideckcustomers/README.md#list) - List Customers @@ -524,9 +508,6 @@ while(res != null) * [Get](docs/sdks/stores/README.md#get) - Get Store -### [FileStorage](docs/sdks/filestorage/README.md) - - #### [FileStorage.DriveGroups](docs/sdks/drivegroups/README.md) * [List](docs/sdks/drivegroups/README.md#list) - List DriveGroups @@ -577,9 +558,6 @@ while(res != null) * [Delete](docs/sdks/uploadsessions/README.md#delete) - Abort Upload Session * [Finish](docs/sdks/uploadsessions/README.md#finish) - Finish Upload Session -### [Hris](docs/sdks/hris/README.md) - - #### [Hris.Companies](docs/sdks/apideckcompanies/README.md) * [List](docs/sdks/apideckcompanies/README.md#list) - List Companies @@ -626,9 +604,6 @@ while(res != null) * [Update](docs/sdks/timeoffrequests/README.md#update) - Update Time Off Request * [Delete](docs/sdks/timeoffrequests/README.md#delete) - Delete Time Off Request -### [IssueTracking](docs/sdks/issuetracking/README.md) - - #### [IssueTracking.Collections](docs/sdks/collections/README.md) * [List](docs/sdks/collections/README.md#list) - List Collections @@ -659,9 +634,6 @@ while(res != null) * [List](docs/sdks/collectionusers/README.md#list) - List Users * [Get](docs/sdks/collectionusers/README.md#get) - Get user -### [Sms](docs/sdks/sms/README.md) - - #### [Sms.Messages](docs/sdks/messages/README.md) * [List](docs/sdks/messages/README.md#list) - List Messages @@ -670,9 +642,6 @@ while(res != null) * [Update](docs/sdks/messages/README.md#update) - Update Message * [Delete](docs/sdks/messages/README.md#delete) - Delete Message -### [Vault](docs/sdks/vault/README.md) - - #### [Vault.ConnectionConsent](docs/sdks/connectionconsent/README.md) * [Update](docs/sdks/connectionconsent/README.md#update) - Update consent state @@ -735,9 +704,6 @@ while(res != null) * [State](docs/sdks/validateconnection/README.md#state) - Validate Connection State -### [Webhook](docs/sdks/webhook/README.md) - - #### [Webhook.Webhooks](docs/sdks/webhooks/README.md) * [List](docs/sdks/webhooks/README.md#list) - List webhook subscriptions diff --git a/RELEASES.md b/RELEASES.md index 2932def30..5755fe856 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -438,4 +438,14 @@ Based on: ### Generated - [csharp v0.16.0] . ### Releases -- [NuGet v0.16.0] https://www.nuget.org/packages/ApideckUnifySdk/0.16.0 - . \ No newline at end of file +- [NuGet v0.16.0] https://www.nuget.org/packages/ApideckUnifySdk/0.16.0 - . + +## 2025-10-11 00:11:44 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v0.17.0] . +### Releases +- [NuGet v0.17.0] https://www.nuget.org/packages/ApideckUnifySdk/0.17.0 - . \ No newline at end of file diff --git a/docs/Models/Components/InvoiceLineItem.md b/docs/Models/Components/InvoiceLineItem.md index a47d770ed..93e0f973b 100644 --- a/docs/Models/Components/InvoiceLineItem.md +++ b/docs/Models/Components/InvoiceLineItem.md @@ -18,6 +18,7 @@ | `UnitOfMeasure` | *string* | :heavy_minus_sign: | Description of the unit type the item is sold as, ie: kg, hour. | pc. | | `DiscountPercentage` | *double* | :heavy_minus_sign: | Discount percentage applied to the line item when supported downstream. | 0.01 | | `DiscountAmount` | *double* | :heavy_minus_sign: | Discount amount applied to the line item when supported downstream. | 19.99 | +| `ServiceDate` | [LocalDate](https://nodatime.org/3.1.x/api/NodaTime.LocalDate.html) | :heavy_minus_sign: | Date on which the service was provided or performed - YYYY-MM-DD. | 2024-01-15 | | `CategoryId` | *string* | :heavy_minus_sign: | ID of the category of the line item | 12345 | | `LocationId` | *string* | :heavy_minus_sign: | The ID of the location | 12345 | | `DepartmentId` | *string* | :heavy_minus_sign: | The ID of the department | 12345 | diff --git a/docs/Models/Components/InvoiceLineItemInput.md b/docs/Models/Components/InvoiceLineItemInput.md index 7c5058b5e..e22d6a1a5 100644 --- a/docs/Models/Components/InvoiceLineItemInput.md +++ b/docs/Models/Components/InvoiceLineItemInput.md @@ -18,6 +18,7 @@ | `UnitOfMeasure` | *string* | :heavy_minus_sign: | Description of the unit type the item is sold as, ie: kg, hour. | pc. | | `DiscountPercentage` | *double* | :heavy_minus_sign: | Discount percentage applied to the line item when supported downstream. | 0.01 | | `DiscountAmount` | *double* | :heavy_minus_sign: | Discount amount applied to the line item when supported downstream. | 19.99 | +| `ServiceDate` | [LocalDate](https://nodatime.org/3.1.x/api/NodaTime.LocalDate.html) | :heavy_minus_sign: | Date on which the service was provided or performed - YYYY-MM-DD. | 2024-01-15 | | `CategoryId` | *string* | :heavy_minus_sign: | ID of the category of the line item | 12345 | | `LocationId` | *string* | :heavy_minus_sign: | The ID of the location | 12345 | | `DepartmentId` | *string* | :heavy_minus_sign: | The ID of the department | 12345 | diff --git a/docs/Models/Components/LedgerAccountType.md b/docs/Models/Components/LedgerAccountType.md index c91ad185b..062f339a6 100644 --- a/docs/Models/Components/LedgerAccountType.md +++ b/docs/Models/Components/LedgerAccountType.md @@ -7,23 +7,23 @@ The type of account. | Name | Value | | --------------------- | --------------------- | +| `AccountsPayable` | accounts_payable | | `AccountsReceivable` | accounts_receivable | -| `Revenue` | revenue | -| `Sales` | sales | -| `OtherIncome` | other_income | +| `Balancesheet` | balancesheet | | `Bank` | bank | +| `CostsOfSales` | costs_of_sales | +| `CreditCard` | credit_card | | `CurrentAsset` | current_asset | +| `CurrentLiability` | current_liability | +| `Equity` | equity | +| `Expense` | expense | | `FixedAsset` | fixed_asset | | `NonCurrentAsset` | non_current_asset | +| `NonCurrentLiability` | non_current_liability | | `OtherAsset` | other_asset | -| `Balancesheet` | balancesheet | -| `Equity` | equity | -| `Expense` | expense | | `OtherExpense` | other_expense | -| `CostsOfSales` | costs_of_sales | -| `AccountsPayable` | accounts_payable | -| `CreditCard` | credit_card | -| `CurrentLiability` | current_liability | -| `NonCurrentLiability` | non_current_liability | +| `OtherIncome` | other_income | | `OtherLiability` | other_liability | +| `Revenue` | revenue | +| `Sales` | sales | | `Other` | other | \ No newline at end of file diff --git a/docs/Models/Components/Project.md b/docs/Models/Components/Project.md index 1f12ddacc..f698ca79d 100644 --- a/docs/Models/Components/Project.md +++ b/docs/Models/Components/Project.md @@ -12,6 +12,7 @@ | `ReferenceId` | *string* | :heavy_minus_sign: | External reference identifier for the project | WD-REF-2024-001 | | `Description` | *string* | :heavy_minus_sign: | Detailed description of the project | Complete redesign of the company website including new branding and improved user experience | | `Status` | [ProjectProjectStatus](../../Models/Components/ProjectProjectStatus.md) | :heavy_minus_sign: | Current status of the project | active | +| `Active` | *bool* | :heavy_minus_sign: | Indicates whether the project is currently active or inactive | true | | `ProjectType` | [ProjectType](../../Models/Components/ProjectType.md) | :heavy_minus_sign: | Type or category of the project | client_project | | `Priority` | [Priority](../../Models/Components/Priority.md) | :heavy_minus_sign: | Priority level of the project | high | | `CompletionPercentage` | *double* | :heavy_minus_sign: | Percentage of project completion (0-100) | 75.5 | diff --git a/docs/Models/Components/ProjectInput.md b/docs/Models/Components/ProjectInput.md index 8f92f94c3..7f2b49a47 100644 --- a/docs/Models/Components/ProjectInput.md +++ b/docs/Models/Components/ProjectInput.md @@ -10,6 +10,7 @@ | `ReferenceId` | *string* | :heavy_minus_sign: | External reference identifier for the project | WD-REF-2024-001 | | `Description` | *string* | :heavy_minus_sign: | Detailed description of the project | Complete redesign of the company website including new branding and improved user experience | | `Status` | [ProjectProjectStatus](../../Models/Components/ProjectProjectStatus.md) | :heavy_minus_sign: | Current status of the project | active | +| `Active` | *bool* | :heavy_minus_sign: | Indicates whether the project is currently active or inactive | true | | `ProjectType` | [ProjectType](../../Models/Components/ProjectType.md) | :heavy_minus_sign: | Type or category of the project | client_project | | `Priority` | [Priority](../../Models/Components/Priority.md) | :heavy_minus_sign: | Priority level of the project | high | | `CompletionPercentage` | *double* | :heavy_minus_sign: | Percentage of project completion (0-100) | 75.5 | diff --git a/docs/Models/Components/ProjectProjectStatus.md b/docs/Models/Components/ProjectProjectStatus.md index bc0d2c982..af1d4e33a 100644 --- a/docs/Models/Components/ProjectProjectStatus.md +++ b/docs/Models/Components/ProjectProjectStatus.md @@ -5,11 +5,13 @@ Current status of the project ## Values -| Name | Value | -| ----------- | ----------- | -| `Active` | active | -| `Completed` | completed | -| `OnHold` | on_hold | -| `Cancelled` | cancelled | -| `Draft` | draft | -| `Other` | other | \ No newline at end of file +| Name | Value | +| ------------ | ------------ | +| `Active` | active | +| `Completed` | completed | +| `OnHold` | on_hold | +| `Cancelled` | cancelled | +| `Draft` | draft | +| `InProgress` | in_progress | +| `Approved` | approved | +| `Other` | other | \ No newline at end of file diff --git a/docs/Models/Components/QuoteLineItem.md b/docs/Models/Components/QuoteLineItem.md index 96db52f9d..9338d7843 100644 --- a/docs/Models/Components/QuoteLineItem.md +++ b/docs/Models/Components/QuoteLineItem.md @@ -18,6 +18,7 @@ | `UnitOfMeasure` | *string* | :heavy_minus_sign: | Description of the unit type the item is sold as, ie: kg, hour. | pc. | | `DiscountPercentage` | *double* | :heavy_minus_sign: | Discount percentage applied to the line item when supported downstream. | 0.01 | | `DiscountAmount` | *double* | :heavy_minus_sign: | Discount amount applied to the line item when supported downstream. | 19.99 | +| `ServiceDate` | [LocalDate](https://nodatime.org/3.1.x/api/NodaTime.LocalDate.html) | :heavy_minus_sign: | Date on which the service was provided or performed - YYYY-MM-DD. | 2024-01-15 | | `CategoryId` | *string* | :heavy_minus_sign: | ID of the category of the line item | 12345 | | `LocationId` | *string* | :heavy_minus_sign: | The ID of the location | 12345 | | `DepartmentId` | *string* | :heavy_minus_sign: | The ID of the department | 12345 | diff --git a/docs/Models/Components/QuoteLineItemInput.md b/docs/Models/Components/QuoteLineItemInput.md index 938daca8e..c2a7616b0 100644 --- a/docs/Models/Components/QuoteLineItemInput.md +++ b/docs/Models/Components/QuoteLineItemInput.md @@ -18,6 +18,7 @@ | `UnitOfMeasure` | *string* | :heavy_minus_sign: | Description of the unit type the item is sold as, ie: kg, hour. | pc. | | `DiscountPercentage` | *double* | :heavy_minus_sign: | Discount percentage applied to the line item when supported downstream. | 0.01 | | `DiscountAmount` | *double* | :heavy_minus_sign: | Discount amount applied to the line item when supported downstream. | 19.99 | +| `ServiceDate` | [LocalDate](https://nodatime.org/3.1.x/api/NodaTime.LocalDate.html) | :heavy_minus_sign: | Date on which the service was provided or performed - YYYY-MM-DD. | 2024-01-15 | | `CategoryId` | *string* | :heavy_minus_sign: | ID of the category of the line item | 12345 | | `LocationId` | *string* | :heavy_minus_sign: | The ID of the location | 12345 | | `DepartmentId` | *string* | :heavy_minus_sign: | The ID of the department | 12345 | diff --git a/docs/sdks/accounting/README.md b/docs/sdks/accounting/README.md deleted file mode 100644 index ba87498cf..000000000 --- a/docs/sdks/accounting/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Accounting -(*Accounting*) - -## Overview - -### Available Operations diff --git a/docs/sdks/apideck/README.md b/docs/sdks/apideck/README.md deleted file mode 100644 index c18f3119c..000000000 --- a/docs/sdks/apideck/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Apideck SDK - -## Overview - -Apideck: The Apideck OpenAPI Spec: SDK Optimized - -Apideck Developer Docs - - -### Available Operations diff --git a/docs/sdks/ats/README.md b/docs/sdks/ats/README.md deleted file mode 100644 index 721994cc5..000000000 --- a/docs/sdks/ats/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Ats -(*Ats*) - -## Overview - -### Available Operations diff --git a/docs/sdks/connections/README.md b/docs/sdks/connections/README.md index ab75cc64a..306545623 100644 --- a/docs/sdks/connections/README.md +++ b/docs/sdks/connections/README.md @@ -142,11 +142,11 @@ VaultConnectionsUpdateRequest req = new VaultConnectionsUpdateRequest() { { "api_key", "12345xxxxxx" }, }, Metadata = new Dictionary() { - { "plan", "enterprise" }, { "account", new Dictionary() { { "name", "My Company" }, { "id", "c01458a5-7276-41ce-bc19-639906b0450a" }, } }, + { "plan", "enterprise" }, }, Configuration = new List() { new ConnectionConfiguration() { @@ -365,11 +365,11 @@ VaultConnectionsImportRequest req = new VaultConnectionsImportRequest() { { "instance_url", "https://eu28.salesforce.com" }, }, Metadata = new Dictionary() { - { "plan", "enterprise" }, { "account", new Dictionary() { { "name", "My Company" }, { "id", "c01458a5-7276-41ce-bc19-639906b0450a" }, } }, + { "plan", "enterprise" }, }, }, }; diff --git a/docs/sdks/connectionsettings/README.md b/docs/sdks/connectionsettings/README.md index b689455f4..a6ad8d450 100644 --- a/docs/sdks/connectionsettings/README.md +++ b/docs/sdks/connectionsettings/README.md @@ -90,8 +90,8 @@ VaultConnectionSettingsUpdateRequest req = new VaultConnectionSettingsUpdateRequ }, Metadata = new Dictionary() { { "account", new Dictionary() { - { "id", "c01458a5-7276-41ce-bc19-639906b0450a" }, { "name", "My Company" }, + { "id", "c01458a5-7276-41ce-bc19-639906b0450a" }, } }, { "plan", "enterprise" }, }, diff --git a/docs/sdks/connector/README.md b/docs/sdks/connector/README.md deleted file mode 100644 index c7a4affe6..000000000 --- a/docs/sdks/connector/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Connector -(*Connector*) - -## Overview - -### Available Operations diff --git a/docs/sdks/crm/README.md b/docs/sdks/crm/README.md deleted file mode 100644 index 3ecd68416..000000000 --- a/docs/sdks/crm/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Crm -(*Crm*) - -## Overview - -### Available Operations diff --git a/docs/sdks/ecommerce/README.md b/docs/sdks/ecommerce/README.md deleted file mode 100644 index 884d28f2c..000000000 --- a/docs/sdks/ecommerce/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Ecommerce -(*Ecommerce*) - -## Overview - -### Available Operations diff --git a/docs/sdks/filestorage/README.md b/docs/sdks/filestorage/README.md deleted file mode 100644 index a591464ea..000000000 --- a/docs/sdks/filestorage/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# FileStorage -(*FileStorage*) - -## Overview - -### Available Operations diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md deleted file mode 100644 index 3c90f040b..000000000 --- a/docs/sdks/hris/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Hris -(*Hris*) - -## Overview - -### Available Operations diff --git a/docs/sdks/issuetracking/README.md b/docs/sdks/issuetracking/README.md deleted file mode 100644 index d05c93fa4..000000000 --- a/docs/sdks/issuetracking/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# IssueTracking -(*IssueTracking*) - -## Overview - -### Available Operations diff --git a/docs/sdks/projects/README.md b/docs/sdks/projects/README.md index 266f9a01a..77bb6a3c4 100644 --- a/docs/sdks/projects/README.md +++ b/docs/sdks/projects/README.md @@ -107,6 +107,7 @@ AccountingProjectsAddRequest req = new AccountingProjectsAddRequest() { ReferenceId = "WD-REF-2024-001", Description = "Complete redesign of the company website including new branding and improved user experience", Status = ProjectProjectStatus.Active, + Active = true, ProjectType = ProjectType.ClientProject, Priority = Priority.High, CompletionPercentage = 75.5D, @@ -303,6 +304,7 @@ AccountingProjectsUpdateRequest req = new AccountingProjectsUpdateRequest() { ReferenceId = "WD-REF-2024-001", Description = "Complete redesign of the company website including new branding and improved user experience", Status = ProjectProjectStatus.Active, + Active = true, ProjectType = ProjectType.ClientProject, Priority = Priority.High, CompletionPercentage = 75.5D, diff --git a/docs/sdks/sms/README.md b/docs/sdks/sms/README.md deleted file mode 100644 index 6e57a5e2a..000000000 --- a/docs/sdks/sms/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Sms -(*Sms*) - -## Overview - -### Available Operations diff --git a/docs/sdks/vault/README.md b/docs/sdks/vault/README.md deleted file mode 100644 index 4bcc9ba76..000000000 --- a/docs/sdks/vault/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Vault -(*Vault*) - -## Overview - -### Available Operations diff --git a/docs/sdks/webhook/README.md b/docs/sdks/webhook/README.md deleted file mode 100644 index d058ae23b..000000000 --- a/docs/sdks/webhook/README.md +++ /dev/null @@ -1,6 +0,0 @@ -# Webhook -(*Webhook*) - -## Overview - -### Available Operations diff --git a/src/ApideckUnifySdk/Accounting.cs b/src/ApideckUnifySdk/Accounting.cs index ee2ec9930..a022e8f92 100644 --- a/src/ApideckUnifySdk/Accounting.cs +++ b/src/ApideckUnifySdk/Accounting.cs @@ -51,9 +51,9 @@ public class Accounting: IAccounting { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ITaxRates TaxRates { get; private set; } public IBills Bills { get; private set; } public IInvoices Invoices { get; private set; } diff --git a/src/ApideckUnifySdk/Activities.cs b/src/ApideckUnifySdk/Activities.cs index 91828d327..0225465cb 100644 --- a/src/ApideckUnifySdk/Activities.cs +++ b/src/ApideckUnifySdk/Activities.cs @@ -77,9 +77,9 @@ public class Activities: IActivities { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Activities(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmActivitiesAllRequest? r httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmActivitiesAllRequest? r var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(CrmActivitiesAddRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(CrmActivitiesAddRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(CrmActivitiesOneRequest req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(CrmActivitiesOneRequest req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(CrmActivitiesUpdateRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(CrmActivitiesUpdateRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(CrmActivitiesDeleteRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.activitiesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(CrmActivitiesDeleteRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/AgedCreditors.cs b/src/ApideckUnifySdk/AgedCreditors.cs index 5b06944b8..df113a529 100644 --- a/src/ApideckUnifySdk/AgedCreditors.cs +++ b/src/ApideckUnifySdk/AgedCreditors.cs @@ -39,9 +39,9 @@ public class AgedCreditors: IAgedCreditors { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public AgedCreditors(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(AccountingAgedCre httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.agedCreditorsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.agedCreditorsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(AccountingAgedCre var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/AgedDebtors.cs b/src/ApideckUnifySdk/AgedDebtors.cs index de0c844cf..de1ff48a4 100644 --- a/src/ApideckUnifySdk/AgedDebtors.cs +++ b/src/ApideckUnifySdk/AgedDebtors.cs @@ -39,9 +39,9 @@ public class AgedDebtors: IAgedDebtors { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public AgedDebtors(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(AccountingAgedDebto httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.agedDebtorsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.agedDebtorsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(AccountingAgedDebto var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ApiResourceCoverage.cs b/src/ApideckUnifySdk/ApiResourceCoverage.cs index 24da71a14..160438452 100644 --- a/src/ApideckUnifySdk/ApiResourceCoverage.cs +++ b/src/ApideckUnifySdk/ApiResourceCoverage.cs @@ -39,9 +39,9 @@ public class ApiResourceCoverage: IApiResourceCoverage { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ApiResourceCoverage(SDKConfig config) { @@ -70,7 +70,7 @@ public async Task GetAsync(string id, s httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apiResourceCoverageOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apiResourceCoverageOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -84,7 +84,7 @@ public async Task GetAsync(string id, s var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ApiResources.cs b/src/ApideckUnifySdk/ApiResources.cs index c1252ad31..a306645da 100644 --- a/src/ApideckUnifySdk/ApiResources.cs +++ b/src/ApideckUnifySdk/ApiResources.cs @@ -39,9 +39,9 @@ public class ApiResources: IApiResources { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ApiResources(SDKConfig config) { @@ -70,7 +70,7 @@ public async Task GetAsync(string id, string r httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apiResourcesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apiResourcesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -84,7 +84,7 @@ public async Task GetAsync(string id, string r var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Apideck.cs b/src/ApideckUnifySdk/Apideck.cs index 1251e496a..0044efe2e 100644 --- a/src/ApideckUnifySdk/Apideck.cs +++ b/src/ApideckUnifySdk/Apideck.cs @@ -51,9 +51,9 @@ public class Apideck: IApideck public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IAccounting Accounting { get; private set; } public IAts Ats { get; private set; } public ICrm Crm { get; private set; } diff --git a/src/ApideckUnifySdk/ApideckCompanies.cs b/src/ApideckUnifySdk/ApideckCompanies.cs index f947f44af..cfa827b46 100644 --- a/src/ApideckUnifySdk/ApideckCompanies.cs +++ b/src/ApideckUnifySdk/ApideckCompanies.cs @@ -77,9 +77,9 @@ public class ApideckCompanies: IApideckCompanies { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ApideckCompanies(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(HrisCompaniesAllRequest? r httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(HrisCompaniesAllRequest? r var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(HrisCompaniesAddRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(HrisCompaniesAddRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(HrisCompaniesOneRequest req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(HrisCompaniesOneRequest req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(HrisCompaniesUpdateRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(HrisCompaniesUpdateRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(HrisCompaniesDeleteRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.companiesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(HrisCompaniesDeleteRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ApideckCustomers.cs b/src/ApideckUnifySdk/ApideckCustomers.cs index 9c2fd559c..7ba164d71 100644 --- a/src/ApideckUnifySdk/ApideckCustomers.cs +++ b/src/ApideckUnifySdk/ApideckCustomers.cs @@ -50,9 +50,9 @@ public class ApideckCustomers: IApideckCustomers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ApideckCustomers(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(EcommerceCustomersAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.customersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.customersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(EcommerceCustomersAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -374,7 +374,7 @@ public async Task GetAsync(EcommerceCustomersOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.customersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.customersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -388,7 +388,7 @@ public async Task GetAsync(EcommerceCustomersOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ApideckDepartments.cs b/src/ApideckUnifySdk/ApideckDepartments.cs index 5e06f3189..196929c5a 100644 --- a/src/ApideckUnifySdk/ApideckDepartments.cs +++ b/src/ApideckUnifySdk/ApideckDepartments.cs @@ -77,9 +77,9 @@ public class ApideckDepartments: IApideckDepartments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ApideckDepartments(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(HrisDepartmentsAllReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(HrisDepartmentsAllReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(HrisDepartmentsAddRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(HrisDepartmentsAddRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(HrisDepartmentsOneRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(HrisDepartmentsOneRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(HrisDepartmentsUpda httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(HrisDepartmentsUpda var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(HrisDepartmentsDele httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.departmentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(HrisDepartmentsDele var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ApideckUnifySdk.csproj b/src/ApideckUnifySdk/ApideckUnifySdk.csproj index 15841d77c..6b2040a4a 100644 --- a/src/ApideckUnifySdk/ApideckUnifySdk.csproj +++ b/src/ApideckUnifySdk/ApideckUnifySdk.csproj @@ -3,7 +3,7 @@ true ApideckUnifySdk - 0.16.0 + 0.17.0 net8.0 Speakeasy Copyright (c) Speakeasy 2025 diff --git a/src/ApideckUnifySdk/Apis.cs b/src/ApideckUnifySdk/Apis.cs index 8d977e6c4..335b34ed6 100644 --- a/src/ApideckUnifySdk/Apis.cs +++ b/src/ApideckUnifySdk/Apis.cs @@ -50,9 +50,9 @@ public class Apis: IApis { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Apis(SDKConfig config) { @@ -82,7 +82,7 @@ public async Task ListAsync(string? appId = null, stri httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apisAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apisAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -96,7 +96,7 @@ public async Task ListAsync(string? appId = null, stri var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -330,7 +330,7 @@ public async Task GetAsync(string id, string? appId = httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apisOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.apisOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -344,7 +344,7 @@ public async Task GetAsync(string id, string? appId = var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Applicants.cs b/src/ApideckUnifySdk/Applicants.cs index 51e9d10b1..1338c2cd8 100644 --- a/src/ApideckUnifySdk/Applicants.cs +++ b/src/ApideckUnifySdk/Applicants.cs @@ -77,9 +77,9 @@ public class Applicants: IApplicants { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Applicants(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AtsApplicantsAllRequest? r httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AtsApplicantsAllRequest? r var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -407,7 +407,7 @@ public async Task CreateAsync(AtsApplicantsAddRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -421,7 +421,7 @@ public async Task CreateAsync(AtsApplicantsAddRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -669,7 +669,7 @@ public async Task GetAsync(AtsApplicantsOneRequest req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -683,7 +683,7 @@ public async Task GetAsync(AtsApplicantsOneRequest req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -937,7 +937,7 @@ public async Task UpdateAsync(AtsApplicantsUpdateRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -951,7 +951,7 @@ public async Task UpdateAsync(AtsApplicantsUpdateRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1199,7 +1199,7 @@ public async Task DeleteAsync(AtsApplicantsDeleteRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicantsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1213,7 +1213,7 @@ public async Task DeleteAsync(AtsApplicantsDeleteRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Applications.cs b/src/ApideckUnifySdk/Applications.cs index a73279706..b6cf265c2 100644 --- a/src/ApideckUnifySdk/Applications.cs +++ b/src/ApideckUnifySdk/Applications.cs @@ -77,9 +77,9 @@ public class Applications: IApplications { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Applications(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AtsApplicationsAllReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AtsApplicationsAllReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -405,7 +405,7 @@ public async Task CreateAsync(AtsApplicationsAddRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -419,7 +419,7 @@ public async Task CreateAsync(AtsApplicationsAddRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -667,7 +667,7 @@ public async Task GetAsync(AtsApplicationsOneRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -681,7 +681,7 @@ public async Task GetAsync(AtsApplicationsOneRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(AtsApplicationsUpda httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(AtsApplicationsUpda var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(AtsApplicationsDele httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.applicationsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(AtsApplicationsDele var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Ats.cs b/src/ApideckUnifySdk/Ats.cs index 55f36f3e7..8ca73ba63 100644 --- a/src/ApideckUnifySdk/Ats.cs +++ b/src/ApideckUnifySdk/Ats.cs @@ -25,9 +25,9 @@ public class Ats: IAts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IJobs Jobs { get; private set; } public IApplicants Applicants { get; private set; } public IApplications Applications { get; private set; } diff --git a/src/ApideckUnifySdk/Attachments.cs b/src/ApideckUnifySdk/Attachments.cs index 69cf36b5a..d0ecd9757 100644 --- a/src/ApideckUnifySdk/Attachments.cs +++ b/src/ApideckUnifySdk/Attachments.cs @@ -83,9 +83,9 @@ public class Attachments: IAttachments }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Attachments(SDKConfig config) { @@ -113,7 +113,7 @@ public async Task ListAsync(AccountingAttachme httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -127,7 +127,7 @@ public async Task ListAsync(AccountingAttachme var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -422,7 +422,7 @@ public async Task UploadAsync(AccountingAtt httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsUpload", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsUpload", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -436,7 +436,7 @@ public async Task UploadAsync(AccountingAtt var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingAttachmen httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -698,7 +698,7 @@ public async Task GetAsync(AccountingAttachmen var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -946,7 +946,7 @@ public async Task DeleteAsync(AccountingAtt httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -960,7 +960,7 @@ public async Task DeleteAsync(AccountingAtt var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1208,7 +1208,7 @@ public async Task DownloadAsync(Accountin httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsDownload", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.attachmentsDownload", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1222,7 +1222,7 @@ public async Task DownloadAsync(Accountin var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/BalanceSheet.cs b/src/ApideckUnifySdk/BalanceSheet.cs index cb02f1b3f..30eeb063f 100644 --- a/src/ApideckUnifySdk/BalanceSheet.cs +++ b/src/ApideckUnifySdk/BalanceSheet.cs @@ -39,9 +39,9 @@ public class BalanceSheet: IBalanceSheet { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public BalanceSheet(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(AccountingBalanceS httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.balanceSheetOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.balanceSheetOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(AccountingBalanceS var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/BankAccounts.cs b/src/ApideckUnifySdk/BankAccounts.cs index 56ad07056..62fd8a4dc 100644 --- a/src/ApideckUnifySdk/BankAccounts.cs +++ b/src/ApideckUnifySdk/BankAccounts.cs @@ -77,9 +77,9 @@ public class BankAccounts: IBankAccounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public BankAccounts(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingBankAcc httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingBankAcc var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingBankA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingBankA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingBankAcco httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingBankAcco var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingBa httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingBa var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingBa httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankAccountsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingBa var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/BankFeedAccounts.cs b/src/ApideckUnifySdk/BankFeedAccounts.cs index 9d24bf9c6..a5be4da6d 100644 --- a/src/ApideckUnifySdk/BankFeedAccounts.cs +++ b/src/ApideckUnifySdk/BankFeedAccounts.cs @@ -77,9 +77,9 @@ public class BankFeedAccounts: IBankFeedAccounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public BankFeedAccounts(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingBan httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingBan var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(AccountingB httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(AccountingB var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(AccountingBank httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(AccountingBank var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(Accounti httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(Accounti var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(Accounti httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedAccountsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(Accounti var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/BankFeedStatements.cs b/src/ApideckUnifySdk/BankFeedStatements.cs index 0b47b711a..936d0e591 100644 --- a/src/ApideckUnifySdk/BankFeedStatements.cs +++ b/src/ApideckUnifySdk/BankFeedStatements.cs @@ -77,9 +77,9 @@ public class BankFeedStatements: IBankFeedStatements { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public BankFeedStatements(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingB httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingB var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(Accountin httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(Accountin var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(AccountingBa httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(AccountingBa var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(Accoun httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(Accoun var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(Accoun httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.bankFeedStatementsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(Accoun var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/BillPayments.cs b/src/ApideckUnifySdk/BillPayments.cs index dac211d23..515ed95ed 100644 --- a/src/ApideckUnifySdk/BillPayments.cs +++ b/src/ApideckUnifySdk/BillPayments.cs @@ -77,9 +77,9 @@ public class BillPayments: IBillPayments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public BillPayments(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingBillPay httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingBillPay var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingBillP httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingBillP var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingBillPaym httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingBillPaym var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingBi httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingBi var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingBi httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billPaymentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingBi var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Bills.cs b/src/ApideckUnifySdk/Bills.cs index 359570b9c..a2404cd6a 100644 --- a/src/ApideckUnifySdk/Bills.cs +++ b/src/ApideckUnifySdk/Bills.cs @@ -77,9 +77,9 @@ public class Bills: IBills { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Bills(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingBillsAllReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingBillsAllReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingBillsAddRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingBillsAddRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingBillsOneRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingBillsOneRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingBillsUpda httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingBillsUpda var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingBillsDele httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.billsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingBillsDele var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Categories.cs b/src/ApideckUnifySdk/Categories.cs index 537cabfb1..546deddc7 100644 --- a/src/ApideckUnifySdk/Categories.cs +++ b/src/ApideckUnifySdk/Categories.cs @@ -50,9 +50,9 @@ public class Categories: ICategories { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Categories(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(AccountingCategorie httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.categoriesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.categoriesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(AccountingCategorie var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -373,7 +373,7 @@ public async Task GetAsync(AccountingCategories httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.categoriesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.categoriesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -387,7 +387,7 @@ public async Task GetAsync(AccountingCategories var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CollectionTags.cs b/src/ApideckUnifySdk/CollectionTags.cs index 6de150748..f66a58082 100644 --- a/src/ApideckUnifySdk/CollectionTags.cs +++ b/src/ApideckUnifySdk/CollectionTags.cs @@ -41,9 +41,9 @@ public class CollectionTags: ICollectionTags { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CollectionTags(SDKConfig config) { @@ -71,7 +71,7 @@ public async Task ListAsync(IssueTrackin httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTagsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTagsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -85,7 +85,7 @@ public async Task ListAsync(IssueTrackin var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CollectionTicketComments.cs b/src/ApideckUnifySdk/CollectionTicketComments.cs index df94a66f6..fd8e5cd54 100644 --- a/src/ApideckUnifySdk/CollectionTicketComments.cs +++ b/src/ApideckUnifySdk/CollectionTicketComments.cs @@ -77,9 +77,9 @@ public class CollectionTicketComments: ICollectionTicketComments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CollectionTicketComments(SDKConfig config) { @@ -107,7 +107,7 @@ public async Task ListAsync(Is httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -121,7 +121,7 @@ public async Task ListAsync(Is var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -413,7 +413,7 @@ public async Task CreateAsync( httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -427,7 +427,7 @@ public async Task CreateAsync( var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -675,7 +675,7 @@ public async Task GetAsync(Iss httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -689,7 +689,7 @@ public async Task GetAsync(Iss var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -980,7 +980,7 @@ public async Task UpdateAsy httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -994,7 +994,7 @@ public async Task UpdateAsy var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1242,7 +1242,7 @@ public async Task DeleteAsy httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketCommentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1256,7 +1256,7 @@ public async Task DeleteAsy var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CollectionTickets.cs b/src/ApideckUnifySdk/CollectionTickets.cs index 49ed921bf..d450f695d 100644 --- a/src/ApideckUnifySdk/CollectionTickets.cs +++ b/src/ApideckUnifySdk/CollectionTickets.cs @@ -77,9 +77,9 @@ public class CollectionTickets: ICollectionTickets { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CollectionTickets(SDKConfig config) { @@ -107,7 +107,7 @@ public async Task ListAsync(IssueTrac httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -121,7 +121,7 @@ public async Task ListAsync(IssueTrac var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -413,7 +413,7 @@ public async Task CreateAsync(IssueTr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -427,7 +427,7 @@ public async Task CreateAsync(IssueTr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -675,7 +675,7 @@ public async Task GetAsync(IssueTrack httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -689,7 +689,7 @@ public async Task GetAsync(IssueTrack var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -943,7 +943,7 @@ public async Task UpdateAsync(Issu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -957,7 +957,7 @@ public async Task UpdateAsync(Issu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1205,7 +1205,7 @@ public async Task DeleteAsync(Issu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionTicketsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1219,7 +1219,7 @@ public async Task DeleteAsync(Issu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CollectionUsers.cs b/src/ApideckUnifySdk/CollectionUsers.cs index 3a587be06..38acc60b7 100644 --- a/src/ApideckUnifySdk/CollectionUsers.cs +++ b/src/ApideckUnifySdk/CollectionUsers.cs @@ -50,9 +50,9 @@ public class CollectionUsers: ICollectionUsers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CollectionUsers(SDKConfig config) { @@ -80,7 +80,7 @@ public async Task ListAsync(IssueTracki httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionUsersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionUsersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -94,7 +94,7 @@ public async Task ListAsync(IssueTracki var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -378,7 +378,7 @@ public async Task GetAsync(IssueTrackin httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionUsersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionUsersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -392,7 +392,7 @@ public async Task GetAsync(IssueTrackin var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Collections.cs b/src/ApideckUnifySdk/Collections.cs index 9386c04ed..61f63d23f 100644 --- a/src/ApideckUnifySdk/Collections.cs +++ b/src/ApideckUnifySdk/Collections.cs @@ -50,9 +50,9 @@ public class Collections: ICollections { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Collections(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(IssueTrackingCo httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(IssueTrackingCo var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -374,7 +374,7 @@ public async Task GetAsync(IssueTrackingCol httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "issueTracking.collectionsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -388,7 +388,7 @@ public async Task GetAsync(IssueTrackingCol var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Companies.cs b/src/ApideckUnifySdk/Companies.cs index 1c8c7f869..add3c6f67 100644 --- a/src/ApideckUnifySdk/Companies.cs +++ b/src/ApideckUnifySdk/Companies.cs @@ -77,9 +77,9 @@ public class Companies: ICompanies { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Companies(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmCompaniesAllRequest? req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmCompaniesAllRequest? req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(CrmCompaniesAddRequest re httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(CrmCompaniesAddRequest re var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(CrmCompaniesOneRequest reque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(CrmCompaniesOneRequest reque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(CrmCompaniesUpdateRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(CrmCompaniesUpdateRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(CrmCompaniesDeleteRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.companiesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(CrmCompaniesDeleteRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CompanyInfo.cs b/src/ApideckUnifySdk/CompanyInfo.cs index 8312deed4..2b54fa1e9 100644 --- a/src/ApideckUnifySdk/CompanyInfo.cs +++ b/src/ApideckUnifySdk/CompanyInfo.cs @@ -39,9 +39,9 @@ public class CompanyInfo: ICompanyInfo { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CompanyInfo(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(AccountingCompanyIn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.companyInfoOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.companyInfoOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(AccountingCompanyIn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConnectionConsent.cs b/src/ApideckUnifySdk/ConnectionConsent.cs index a5b90da80..5a749201b 100644 --- a/src/ApideckUnifySdk/ConnectionConsent.cs +++ b/src/ApideckUnifySdk/ConnectionConsent.cs @@ -39,9 +39,9 @@ public class ConnectionConsent: IConnectionConsent { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectionConsent(SDKConfig config) { @@ -75,7 +75,7 @@ public async Task UpdateAsync(VaultConnect httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionConsentUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionConsentUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -89,7 +89,7 @@ public async Task UpdateAsync(VaultConnect var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConnectionConsents.cs b/src/ApideckUnifySdk/ConnectionConsents.cs index 17cb02d06..cfda015a3 100644 --- a/src/ApideckUnifySdk/ConnectionConsents.cs +++ b/src/ApideckUnifySdk/ConnectionConsents.cs @@ -39,9 +39,9 @@ public class ConnectionConsents: IConnectionConsents { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectionConsents(SDKConfig config) { @@ -72,7 +72,7 @@ public async Task ListAsync(string serviceId httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionConsentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionConsentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -86,7 +86,7 @@ public async Task ListAsync(string serviceId var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConnectionCustomMappings.cs b/src/ApideckUnifySdk/ConnectionCustomMappings.cs index 76722651c..f5902c968 100644 --- a/src/ApideckUnifySdk/ConnectionCustomMappings.cs +++ b/src/ApideckUnifySdk/ConnectionCustomMappings.cs @@ -39,9 +39,9 @@ public class ConnectionCustomMappings: IConnectionCustomMappings { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectionCustomMappings(SDKConfig config) { @@ -69,7 +69,7 @@ public async Task ListAsync(VaultConne httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionCustomMappingsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionCustomMappingsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -83,7 +83,7 @@ public async Task ListAsync(VaultConne var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConnectionSettings.cs b/src/ApideckUnifySdk/ConnectionSettings.cs index 9183efdf7..74871e2f4 100644 --- a/src/ApideckUnifySdk/ConnectionSettings.cs +++ b/src/ApideckUnifySdk/ConnectionSettings.cs @@ -49,9 +49,9 @@ public class ConnectionSettings: IConnectionSettings { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectionSettings(SDKConfig config) { @@ -79,7 +79,7 @@ public async Task ListAsync(VaultConnectionS httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionSettingsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionSettingsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -93,7 +93,7 @@ public async Task ListAsync(VaultConnectionS var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -347,7 +347,7 @@ public async Task UpdateAsync(VaultConnec httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionSettingsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionSettingsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -361,7 +361,7 @@ public async Task UpdateAsync(VaultConnec var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Connections.cs b/src/ApideckUnifySdk/Connections.cs index c6814f9db..a2f62f7e3 100644 --- a/src/ApideckUnifySdk/Connections.cs +++ b/src/ApideckUnifySdk/Connections.cs @@ -94,9 +94,9 @@ public class Connections: IConnections { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Connections(SDKConfig config) { @@ -127,7 +127,7 @@ public async Task ListAsync(string? consumerId = nu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -141,7 +141,7 @@ public async Task ListAsync(string? consumerId = nu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -392,7 +392,7 @@ public async Task GetAsync(string serviceId, string httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -406,7 +406,7 @@ public async Task GetAsync(string serviceId, string var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -660,7 +660,7 @@ public async Task UpdateAsync(VaultConnectionsUp httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -674,7 +674,7 @@ public async Task UpdateAsync(VaultConnectionsUp var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -925,7 +925,7 @@ public async Task DeleteAsync(string serviceId, httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -939,7 +939,7 @@ public async Task DeleteAsync(string serviceId, var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1175,7 +1175,7 @@ public async Task ImportsAsync(VaultConnectionsI httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsImport", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsImport", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1189,7 +1189,7 @@ public async Task ImportsAsync(VaultConnectionsI var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1443,7 +1443,7 @@ public async Task TokenAsync(VaultConnectionsToke httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsToken", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.connectionsToken", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1457,7 +1457,7 @@ public async Task TokenAsync(VaultConnectionsToke var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Connector.cs b/src/ApideckUnifySdk/Connector.cs index 8618469d5..3025c6fc4 100644 --- a/src/ApideckUnifySdk/Connector.cs +++ b/src/ApideckUnifySdk/Connector.cs @@ -28,9 +28,9 @@ public class Connector: IConnector { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IConnectors Connectors { get; private set; } public IConnectorDocs ConnectorDocs { get; private set; } public IConnectorResources ConnectorResources { get; private set; } diff --git a/src/ApideckUnifySdk/ConnectorDocs.cs b/src/ApideckUnifySdk/ConnectorDocs.cs index 7b17fe65c..cf81b31e1 100644 --- a/src/ApideckUnifySdk/ConnectorDocs.cs +++ b/src/ApideckUnifySdk/ConnectorDocs.cs @@ -39,9 +39,9 @@ public class ConnectorDocs: IConnectorDocs { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectorDocs(SDKConfig config) { @@ -70,7 +70,7 @@ public async Task GetAsync(string id, string httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorDocsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorDocsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -84,7 +84,7 @@ public async Task GetAsync(string id, string var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConnectorResources.cs b/src/ApideckUnifySdk/ConnectorResources.cs index e3184c435..06fefc8bb 100644 --- a/src/ApideckUnifySdk/ConnectorResources.cs +++ b/src/ApideckUnifySdk/ConnectorResources.cs @@ -39,9 +39,9 @@ public class ConnectorResources: IConnectorResources { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConnectorResources(SDKConfig config) { @@ -71,7 +71,7 @@ public async Task GetAsync(string id, st httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorResourcesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorResourcesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -85,7 +85,7 @@ public async Task GetAsync(string id, st var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Connectors.cs b/src/ApideckUnifySdk/Connectors.cs index 9aeda8959..7144a8921 100644 --- a/src/ApideckUnifySdk/Connectors.cs +++ b/src/ApideckUnifySdk/Connectors.cs @@ -50,9 +50,9 @@ public class Connectors: IConnectors { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Connectors(SDKConfig config) { @@ -82,7 +82,7 @@ public async Task ListAsync(string? appId = null httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -96,7 +96,7 @@ public async Task ListAsync(string? appId = null var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -330,7 +330,7 @@ public async Task GetAsync(string id, string? ap httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "connector.connectorsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -344,7 +344,7 @@ public async Task GetAsync(string id, string? ap var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ConsumerRequestCounts.cs b/src/ApideckUnifySdk/ConsumerRequestCounts.cs index 11aae494b..8847cc0ae 100644 --- a/src/ApideckUnifySdk/ConsumerRequestCounts.cs +++ b/src/ApideckUnifySdk/ConsumerRequestCounts.cs @@ -40,9 +40,9 @@ public class ConsumerRequestCounts: IConsumerRequestCounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ConsumerRequestCounts(SDKConfig config) { @@ -72,7 +72,7 @@ public async Task ListAsync(string consum httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumerRequestCountsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumerRequestCountsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -86,7 +86,7 @@ public async Task ListAsync(string consum var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Consumers.cs b/src/ApideckUnifySdk/Consumers.cs index 825e218c5..7d038c186 100644 --- a/src/ApideckUnifySdk/Consumers.cs +++ b/src/ApideckUnifySdk/Consumers.cs @@ -79,9 +79,9 @@ public class Consumers: IConsumers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Consumers(SDKConfig config) { @@ -116,7 +116,7 @@ public async Task CreateAsync(CreateConsumerRequest c httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -130,7 +130,7 @@ public async Task CreateAsync(CreateConsumerRequest c var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -379,7 +379,7 @@ public async Task ListAsync(string? appId = null, str httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -393,7 +393,7 @@ public async Task ListAsync(string? appId = null, str var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -666,7 +666,7 @@ public async Task GetAsync(string consumerId, string? httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -680,7 +680,7 @@ public async Task GetAsync(string consumerId, string? var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(string consumerId, U httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(string consumerId, U var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(string consumerId, s httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.consumersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(string consumerId, s var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Contacts.cs b/src/ApideckUnifySdk/Contacts.cs index b239a9093..7a7834cdc 100644 --- a/src/ApideckUnifySdk/Contacts.cs +++ b/src/ApideckUnifySdk/Contacts.cs @@ -77,9 +77,9 @@ public class Contacts: IContacts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Contacts(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmContactsAllRequest? reque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmContactsAllRequest? reque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(CrmContactsAddRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(CrmContactsAddRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(CrmContactsOneRequest request httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(CrmContactsOneRequest request var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(CrmContactsUpdateReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(CrmContactsUpdateReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(CrmContactsDeleteReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.contactsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(CrmContactsDeleteReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CreateCallback.cs b/src/ApideckUnifySdk/CreateCallback.cs index 7734c8891..52ca4aa05 100644 --- a/src/ApideckUnifySdk/CreateCallback.cs +++ b/src/ApideckUnifySdk/CreateCallback.cs @@ -40,9 +40,9 @@ public class CreateCallback: ICreateCallback { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CreateCallback(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task StateAsync(VaultCreateCallba httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.createCallbackState", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.createCallbackState", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task StateAsync(VaultCreateCallba var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CreditNotes.cs b/src/ApideckUnifySdk/CreditNotes.cs index d3f2d12c5..9412e8a13 100644 --- a/src/ApideckUnifySdk/CreditNotes.cs +++ b/src/ApideckUnifySdk/CreditNotes.cs @@ -77,9 +77,9 @@ public class CreditNotes: ICreditNotes { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CreditNotes(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingCreditNo httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingCreditNo var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingCredit httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingCredit var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingCreditNot httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingCreditNot var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingCre httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingCre var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingCre httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.creditNotesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingCre var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Crm.cs b/src/ApideckUnifySdk/Crm.cs index 6bda0a403..c87fb3fa0 100644 --- a/src/ApideckUnifySdk/Crm.cs +++ b/src/ApideckUnifySdk/Crm.cs @@ -32,9 +32,9 @@ public class Crm: ICrm { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ICompanies Companies { get; private set; } public IContacts Contacts { get; private set; } public IOpportunities Opportunities { get; private set; } diff --git a/src/ApideckUnifySdk/CustomFields.cs b/src/ApideckUnifySdk/CustomFields.cs index 512e306ca..6c528b6a6 100644 --- a/src/ApideckUnifySdk/CustomFields.cs +++ b/src/ApideckUnifySdk/CustomFields.cs @@ -40,9 +40,9 @@ public class CustomFields: ICustomFields { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CustomFields(SDKConfig config) { @@ -70,7 +70,7 @@ public async Task ListAsync(VaultCustomFieldsAllRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.customFieldsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.customFieldsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -84,7 +84,7 @@ public async Task ListAsync(VaultCustomFieldsAllRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CustomMappings.cs b/src/ApideckUnifySdk/CustomMappings.cs index 0e0598f8d..bc531c929 100644 --- a/src/ApideckUnifySdk/CustomMappings.cs +++ b/src/ApideckUnifySdk/CustomMappings.cs @@ -39,9 +39,9 @@ public class CustomMappings: ICustomMappings { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CustomMappings(SDKConfig config) { @@ -72,7 +72,7 @@ public async Task ListAsync(string unifiedApi, s httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.customMappingsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.customMappingsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -86,7 +86,7 @@ public async Task ListAsync(string unifiedApi, s var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CustomObjectSchemas.cs b/src/ApideckUnifySdk/CustomObjectSchemas.cs index 7bf9376eb..f4603aa2a 100644 --- a/src/ApideckUnifySdk/CustomObjectSchemas.cs +++ b/src/ApideckUnifySdk/CustomObjectSchemas.cs @@ -77,9 +77,9 @@ public class CustomObjectSchemas: ICustomObjectSchemas { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CustomObjectSchemas(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmCustomObjectSc httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmCustomObjectSc var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -405,7 +405,7 @@ public async Task CreateAsync(CrmCustomObject httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -419,7 +419,7 @@ public async Task CreateAsync(CrmCustomObject var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -667,7 +667,7 @@ public async Task GetAsync(CrmCustomObjectSch httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -681,7 +681,7 @@ public async Task GetAsync(CrmCustomObjectSch var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(CrmCustomObj httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(CrmCustomObj var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(CrmCustomObj httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectSchemasDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(CrmCustomObj var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/CustomObjects.cs b/src/ApideckUnifySdk/CustomObjects.cs index 5e6690c63..bdb9d7efc 100644 --- a/src/ApideckUnifySdk/CustomObjects.cs +++ b/src/ApideckUnifySdk/CustomObjects.cs @@ -77,9 +77,9 @@ public class CustomObjects: ICustomObjects { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public CustomObjects(SDKConfig config) { @@ -107,7 +107,7 @@ public async Task ListAsync(CrmCustomObjectsAllRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -121,7 +121,7 @@ public async Task ListAsync(CrmCustomObjectsAllRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -411,7 +411,7 @@ public async Task CreateAsync(CrmCustomObjectsAddRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -425,7 +425,7 @@ public async Task CreateAsync(CrmCustomObjectsAddRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -673,7 +673,7 @@ public async Task GetAsync(CrmCustomObjectsOneReque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -687,7 +687,7 @@ public async Task GetAsync(CrmCustomObjectsOneReque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -941,7 +941,7 @@ public async Task UpdateAsync(CrmCustomObjectsUp httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -955,7 +955,7 @@ public async Task UpdateAsync(CrmCustomObjectsUp var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1203,7 +1203,7 @@ public async Task DeleteAsync(CrmCustomObjectsDe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.customObjectsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1217,7 +1217,7 @@ public async Task DeleteAsync(CrmCustomObjectsDe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Customers.cs b/src/ApideckUnifySdk/Customers.cs index 7c57b9c39..ab0bacb14 100644 --- a/src/ApideckUnifySdk/Customers.cs +++ b/src/ApideckUnifySdk/Customers.cs @@ -77,9 +77,9 @@ public class Customers: ICustomers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Customers(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingCustomersA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingCustomersA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingCustomer httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingCustomer var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingCustomersOn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingCustomersOn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingCusto httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingCusto var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingCusto httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.customersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingCusto var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Departments.cs b/src/ApideckUnifySdk/Departments.cs index 8c2491cb1..93ad98f8c 100644 --- a/src/ApideckUnifySdk/Departments.cs +++ b/src/ApideckUnifySdk/Departments.cs @@ -77,9 +77,9 @@ public class Departments: IDepartments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Departments(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingDepartme httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingDepartme var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(AccountingDepart httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(AccountingDepart var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(AccountingDepartmen httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(AccountingDepartmen var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(AccountingDep httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(AccountingDep var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(AccountingDep httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.departmentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(AccountingDep var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/DriveGroups.cs b/src/ApideckUnifySdk/DriveGroups.cs index c477746a4..9de5c14a7 100644 --- a/src/ApideckUnifySdk/DriveGroups.cs +++ b/src/ApideckUnifySdk/DriveGroups.cs @@ -77,9 +77,9 @@ public class DriveGroups: IDriveGroups { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public DriveGroups(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(FileStorageDriveG httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(FileStorageDriveG var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -407,7 +407,7 @@ public async Task CreateAsync(FileStorageDriv httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -421,7 +421,7 @@ public async Task CreateAsync(FileStorageDriv var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -669,7 +669,7 @@ public async Task GetAsync(FileStorageDriveGr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -683,7 +683,7 @@ public async Task GetAsync(FileStorageDriveGr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -937,7 +937,7 @@ public async Task UpdateAsync(FileStorageD httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -951,7 +951,7 @@ public async Task UpdateAsync(FileStorageD var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1199,7 +1199,7 @@ public async Task DeleteAsync(FileStorageD httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.driveGroupsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1213,7 +1213,7 @@ public async Task DeleteAsync(FileStorageD var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Drives.cs b/src/ApideckUnifySdk/Drives.cs index 189b0a803..6cd6cb900 100644 --- a/src/ApideckUnifySdk/Drives.cs +++ b/src/ApideckUnifySdk/Drives.cs @@ -77,9 +77,9 @@ public class Drives: IDrives { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Drives(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(FileStorageDrivesAllRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(FileStorageDrivesAllRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(FileStorageDrivesAdd httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(FileStorageDrivesAdd var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(FileStorageDrivesOneReq httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(FileStorageDrivesOneReq var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(FileStorageDrives httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(FileStorageDrives var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(FileStorageDrives httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.drivesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(FileStorageDrives var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Ecommerce.cs b/src/ApideckUnifySdk/Ecommerce.cs index 69736c353..c8a0f2335 100644 --- a/src/ApideckUnifySdk/Ecommerce.cs +++ b/src/ApideckUnifySdk/Ecommerce.cs @@ -26,9 +26,9 @@ public class Ecommerce: IEcommerce { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IOrders Orders { get; private set; } public IProducts Products { get; private set; } public IApideckCustomers Customers { get; private set; } diff --git a/src/ApideckUnifySdk/EmployeePayrolls.cs b/src/ApideckUnifySdk/EmployeePayrolls.cs index 9e70fab4e..a007f9db8 100644 --- a/src/ApideckUnifySdk/EmployeePayrolls.cs +++ b/src/ApideckUnifySdk/EmployeePayrolls.cs @@ -48,9 +48,9 @@ public class EmployeePayrolls: IEmployeePayrolls { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public EmployeePayrolls(SDKConfig config) { @@ -78,7 +78,7 @@ public async Task ListAsync(HrisEmployeePayroll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeePayrollsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeePayrollsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -92,7 +92,7 @@ public async Task ListAsync(HrisEmployeePayroll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -340,7 +340,7 @@ public async Task GetAsync(HrisEmployeePayrolls httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeePayrollsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeePayrollsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -354,7 +354,7 @@ public async Task GetAsync(HrisEmployeePayrolls var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/EmployeeSchedules.cs b/src/ApideckUnifySdk/EmployeeSchedules.cs index 74074df47..9d0746060 100644 --- a/src/ApideckUnifySdk/EmployeeSchedules.cs +++ b/src/ApideckUnifySdk/EmployeeSchedules.cs @@ -39,9 +39,9 @@ public class EmployeeSchedules: IEmployeeSchedules { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public EmployeeSchedules(SDKConfig config) { @@ -69,7 +69,7 @@ public async Task ListAsync(HrisEmployeeSchedu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeeSchedulesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeeSchedulesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -83,7 +83,7 @@ public async Task ListAsync(HrisEmployeeSchedu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Employees.cs b/src/ApideckUnifySdk/Employees.cs index 4b10fd529..b3c1fb346 100644 --- a/src/ApideckUnifySdk/Employees.cs +++ b/src/ApideckUnifySdk/Employees.cs @@ -77,9 +77,9 @@ public class Employees: IEmployees { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Employees(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(HrisEmployeesAllRequest? r httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(HrisEmployeesAllRequest? r var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(HrisEmployeesAddRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(HrisEmployeesAddRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(HrisEmployeesOneRequest req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(HrisEmployeesOneRequest req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(HrisEmployeesUpdateRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(HrisEmployeesUpdateRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(HrisEmployeesDeleteRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.employeesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(HrisEmployeesDeleteRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Expenses.cs b/src/ApideckUnifySdk/Expenses.cs index 9aaf3f7a1..9f5f77ca2 100644 --- a/src/ApideckUnifySdk/Expenses.cs +++ b/src/ApideckUnifySdk/Expenses.cs @@ -77,9 +77,9 @@ public class Expenses: IExpenses { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Expenses(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingExpensesAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingExpensesAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -405,7 +405,7 @@ public async Task CreateAsync(AccountingExpensesA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -419,7 +419,7 @@ public async Task CreateAsync(AccountingExpensesA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -667,7 +667,7 @@ public async Task GetAsync(AccountingExpensesOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -681,7 +681,7 @@ public async Task GetAsync(AccountingExpensesOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(AccountingExpens httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(AccountingExpens var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(AccountingExpens httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.expensesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(AccountingExpens var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/FileStorage.cs b/src/ApideckUnifySdk/FileStorage.cs index 737ca98e7..0c9929d32 100644 --- a/src/ApideckUnifySdk/FileStorage.cs +++ b/src/ApideckUnifySdk/FileStorage.cs @@ -28,9 +28,9 @@ public class FileStorage: IFileStorage { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IFiles Files { get; private set; } public IFolders Folders { get; private set; } public ISharedLinks SharedLinks { get; private set; } diff --git a/src/ApideckUnifySdk/Files.cs b/src/ApideckUnifySdk/Files.cs index 6f1c00488..619e21268 100644 --- a/src/ApideckUnifySdk/Files.cs +++ b/src/ApideckUnifySdk/Files.cs @@ -95,9 +95,9 @@ public class Files: IFiles { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Files(SDKConfig config) { @@ -121,7 +121,7 @@ public async Task ListAsync(FileStorageFilesAllRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -135,7 +135,7 @@ public async Task ListAsync(FileStorageFilesAllRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -426,7 +426,7 @@ public async Task SearchAsync(FileStorageFilesSe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesSearch", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesSearch", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -440,7 +440,7 @@ public async Task SearchAsync(FileStorageFilesSe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -688,7 +688,7 @@ public async Task GetAsync(FileStorageFilesOneReque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -702,7 +702,7 @@ public async Task GetAsync(FileStorageFilesOneReque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -956,7 +956,7 @@ public async Task UpdateAsync(FileStorageFilesUp httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -970,7 +970,7 @@ public async Task UpdateAsync(FileStorageFilesUp var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1218,7 +1218,7 @@ public async Task DeleteAsync(FileStorageFilesDe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1232,7 +1232,7 @@ public async Task DeleteAsync(FileStorageFilesDe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1480,7 +1480,7 @@ public async Task DownloadAsync(FileStorageFil httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesDownload", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesDownload", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1494,7 +1494,7 @@ public async Task DownloadAsync(FileStorageFil var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1731,7 +1731,7 @@ public async Task ExportAsync(FileStorageFilesEx httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesExport", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.filesExport", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1745,7 +1745,7 @@ public async Task ExportAsync(FileStorageFilesEx var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Folders.cs b/src/ApideckUnifySdk/Folders.cs index 2fde3fb9d..6772c7f19 100644 --- a/src/ApideckUnifySdk/Folders.cs +++ b/src/ApideckUnifySdk/Folders.cs @@ -75,9 +75,9 @@ public class Folders: IFolders { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Folders(SDKConfig config) { @@ -111,7 +111,7 @@ public async Task CreateAsync(FileStorageFoldersA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -125,7 +125,7 @@ public async Task CreateAsync(FileStorageFoldersA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -373,7 +373,7 @@ public async Task GetAsync(FileStorageFoldersOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -387,7 +387,7 @@ public async Task GetAsync(FileStorageFoldersOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -641,7 +641,7 @@ public async Task UpdateAsync(FileStorageFolde httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -655,7 +655,7 @@ public async Task UpdateAsync(FileStorageFolde var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -903,7 +903,7 @@ public async Task DeleteAsync(FileStorageFolde httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -917,7 +917,7 @@ public async Task DeleteAsync(FileStorageFolde var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1171,7 +1171,7 @@ public async Task CopyAsync(FileStorageFoldersCo httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersCopy", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.foldersCopy", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1185,7 +1185,7 @@ public async Task CopyAsync(FileStorageFoldersCo var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Hooks/SDKHooks.cs b/src/ApideckUnifySdk/Hooks/SDKHooks.cs index 1c17f7790..c1cedfca2 100644 --- a/src/ApideckUnifySdk/Hooks/SDKHooks.cs +++ b/src/ApideckUnifySdk/Hooks/SDKHooks.cs @@ -76,7 +76,8 @@ public async Task BeforeRequestAsync(BeforeRequestContext ho try { request = await hook.BeforeRequestAsync(hookCtx, request); - } catch (Exception ex) + } + catch (Exception ex) { throw new Exception("An error occurred while calling BeforeRequestAsync hook", ex); } @@ -102,17 +103,18 @@ public async Task AfterSuccessAsync(AfterSuccessContext hoo public async Task AfterErrorAsync(AfterErrorContext hookCtx, HttpResponseMessage? response, Exception? error) { - (HttpResponseMessage?, Exception?) responseAndError = (response, error); foreach (var hook in this.afterErrorHooks) { try { responseAndError = await hook.AfterErrorAsync(hookCtx, responseAndError.Item1, responseAndError.Item2); - } catch (FailEarlyException) + } + catch (FailEarlyException) { throw; - } catch (Exception ex) + } + catch (Exception ex) { throw new Exception("An error occurred while calling AfterErrorAsync hook", ex); } diff --git a/src/ApideckUnifySdk/Hris.cs b/src/ApideckUnifySdk/Hris.cs index 490c41f4c..10aa70321 100644 --- a/src/ApideckUnifySdk/Hris.cs +++ b/src/ApideckUnifySdk/Hris.cs @@ -29,9 +29,9 @@ public class Hris: IHris { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IEmployees Employees { get; private set; } public IApideckCompanies Companies { get; private set; } public IApideckDepartments Departments { get; private set; } diff --git a/src/ApideckUnifySdk/InvoiceItems.cs b/src/ApideckUnifySdk/InvoiceItems.cs index 6a0941428..db303b830 100644 --- a/src/ApideckUnifySdk/InvoiceItems.cs +++ b/src/ApideckUnifySdk/InvoiceItems.cs @@ -77,9 +77,9 @@ public class InvoiceItems: IInvoiceItems { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public InvoiceItems(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingInvoice httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingInvoice var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingInvoi httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingInvoi var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingInvoiceI httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingInvoiceI var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingIn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingIn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingIn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoiceItemsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingIn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Invoices.cs b/src/ApideckUnifySdk/Invoices.cs index 6d3684797..ddbcabd2b 100644 --- a/src/ApideckUnifySdk/Invoices.cs +++ b/src/ApideckUnifySdk/Invoices.cs @@ -77,9 +77,9 @@ public class Invoices: IInvoices { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Invoices(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingInvoicesAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingInvoicesAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingInvoicesA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingInvoicesA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingInvoicesOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingInvoicesOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingInvoic httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingInvoic var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingInvoic httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.invoicesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingInvoic var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/IssueTracking.cs b/src/ApideckUnifySdk/IssueTracking.cs index 78bbc2f04..22e051b38 100644 --- a/src/ApideckUnifySdk/IssueTracking.cs +++ b/src/ApideckUnifySdk/IssueTracking.cs @@ -27,9 +27,9 @@ public class IssueTracking: IIssueTracking { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ICollections Collections { get; private set; } public ICollectionTickets CollectionTickets { get; private set; } public ICollectionTicketComments CollectionTicketComments { get; private set; } diff --git a/src/ApideckUnifySdk/Jobs.cs b/src/ApideckUnifySdk/Jobs.cs index 91dbe0de6..30edaff8b 100644 --- a/src/ApideckUnifySdk/Jobs.cs +++ b/src/ApideckUnifySdk/Jobs.cs @@ -50,9 +50,9 @@ public class Jobs: IJobs { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Jobs(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(AtsJobsAllRequest? request = nul httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.jobsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.jobsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(AtsJobsAllRequest? request = nul var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -373,7 +373,7 @@ public async Task GetAsync(AtsJobsOneRequest request, RetryC httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.jobsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ats.jobsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -387,7 +387,7 @@ public async Task GetAsync(AtsJobsOneRequest request, RetryC var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/JournalEntries.cs b/src/ApideckUnifySdk/JournalEntries.cs index d90fe422f..dda640ffb 100644 --- a/src/ApideckUnifySdk/JournalEntries.cs +++ b/src/ApideckUnifySdk/JournalEntries.cs @@ -77,9 +77,9 @@ public class JournalEntries: IJournalEntries { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public JournalEntries(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingJourn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingJourn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingJou httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingJou var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingJourna httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingJourna var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.journalEntriesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Leads.cs b/src/ApideckUnifySdk/Leads.cs index ea92e2cd1..81a7faa90 100644 --- a/src/ApideckUnifySdk/Leads.cs +++ b/src/ApideckUnifySdk/Leads.cs @@ -77,9 +77,9 @@ public class Leads: ILeads { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Leads(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmLeadsAllRequest? request = n httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmLeadsAllRequest? request = n var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(CrmLeadsAddRequest request, R httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(CrmLeadsAddRequest request, R var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(CrmLeadsOneRequest request, Retr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(CrmLeadsOneRequest request, Retr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(CrmLeadsUpdateRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(CrmLeadsUpdateRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(CrmLeadsDeleteRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.leadsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(CrmLeadsDeleteRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/LedgerAccounts.cs b/src/ApideckUnifySdk/LedgerAccounts.cs index 485fdb8d2..4dc9fd4a9 100644 --- a/src/ApideckUnifySdk/LedgerAccounts.cs +++ b/src/ApideckUnifySdk/LedgerAccounts.cs @@ -77,9 +77,9 @@ public class LedgerAccounts: ILedgerAccounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public LedgerAccounts(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingLedge httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingLedge var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingLed httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingLed var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingLedger httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingLedger var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.ledgerAccountsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Locations.cs b/src/ApideckUnifySdk/Locations.cs index 9bc088224..a0ec7bebe 100644 --- a/src/ApideckUnifySdk/Locations.cs +++ b/src/ApideckUnifySdk/Locations.cs @@ -77,9 +77,9 @@ public class Locations: ILocations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Locations(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingLocationsA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingLocationsA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(AccountingLocation httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(AccountingLocation var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(AccountingLocationsOn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(AccountingLocationsOn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(AccountingLocat httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(AccountingLocat var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(AccountingLocat httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.locationsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(AccountingLocat var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Logs.cs b/src/ApideckUnifySdk/Logs.cs index 35180ccd2..20fe0b2ea 100644 --- a/src/ApideckUnifySdk/Logs.cs +++ b/src/ApideckUnifySdk/Logs.cs @@ -42,9 +42,9 @@ public class Logs: ILogs { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Logs(SDKConfig config) { @@ -68,7 +68,7 @@ public async Task ListAsync(VaultLogsAllRequest? request = httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.logsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.logsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -82,7 +82,7 @@ public async Task ListAsync(VaultLogsAllRequest? request = var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Messages.cs b/src/ApideckUnifySdk/Messages.cs index 870ec7401..9224b8285 100644 --- a/src/ApideckUnifySdk/Messages.cs +++ b/src/ApideckUnifySdk/Messages.cs @@ -77,9 +77,9 @@ public class Messages: IMessages { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Messages(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(SmsMessagesAllRequest? reque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(SmsMessagesAllRequest? reque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -405,7 +405,7 @@ public async Task CreateAsync(SmsMessagesAddRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -419,7 +419,7 @@ public async Task CreateAsync(SmsMessagesAddRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -667,7 +667,7 @@ public async Task GetAsync(SmsMessagesOneRequest request httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -681,7 +681,7 @@ public async Task GetAsync(SmsMessagesOneRequest request var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(SmsMessagesUpdateReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(SmsMessagesUpdateReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(SmsMessagesDeleteReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "sms.messagesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(SmsMessagesDeleteReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Models/Components/ConnectionValue.cs b/src/ApideckUnifySdk/Models/Components/ConnectionValue.cs index 09808fe1a..9a4b65384 100644 --- a/src/ApideckUnifySdk/Models/Components/ConnectionValue.cs +++ b/src/ApideckUnifySdk/Models/Components/ConnectionValue.cs @@ -237,7 +237,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } ConnectionValue res = (ConnectionValue)value; diff --git a/src/ApideckUnifySdk/Models/Components/ConnectionValue5.cs b/src/ApideckUnifySdk/Models/Components/ConnectionValue5.cs index 52a5ee311..d3d87a3cc 100644 --- a/src/ApideckUnifySdk/Models/Components/ConnectionValue5.cs +++ b/src/ApideckUnifySdk/Models/Components/ConnectionValue5.cs @@ -175,7 +175,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } ConnectionValue5 res = (ConnectionValue5)value; diff --git a/src/ApideckUnifySdk/Models/Components/DataScopesResources.cs b/src/ApideckUnifySdk/Models/Components/DataScopesResources.cs index 312a3d566..4e59dfd7e 100644 --- a/src/ApideckUnifySdk/Models/Components/DataScopesResources.cs +++ b/src/ApideckUnifySdk/Models/Components/DataScopesResources.cs @@ -172,7 +172,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } DataScopesResources res = (DataScopesResources)value; diff --git a/src/ApideckUnifySdk/Models/Components/Detail.cs b/src/ApideckUnifySdk/Models/Components/Detail.cs index 23a0f4cbb..87ff15b62 100644 --- a/src/ApideckUnifySdk/Models/Components/Detail.cs +++ b/src/ApideckUnifySdk/Models/Components/Detail.cs @@ -158,7 +158,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } Detail res = (Detail)value; diff --git a/src/ApideckUnifySdk/Models/Components/FormFieldOption.cs b/src/ApideckUnifySdk/Models/Components/FormFieldOption.cs index baa7799b1..de788d682 100644 --- a/src/ApideckUnifySdk/Models/Components/FormFieldOption.cs +++ b/src/ApideckUnifySdk/Models/Components/FormFieldOption.cs @@ -123,7 +123,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } FormFieldOption res = (FormFieldOption)value; diff --git a/src/ApideckUnifySdk/Models/Components/InvoiceLineItem.cs b/src/ApideckUnifySdk/Models/Components/InvoiceLineItem.cs index 62b21f1f9..e52093d7f 100644 --- a/src/ApideckUnifySdk/Models/Components/InvoiceLineItem.cs +++ b/src/ApideckUnifySdk/Models/Components/InvoiceLineItem.cs @@ -12,6 +12,7 @@ namespace ApideckUnifySdk.Models.Components using ApideckUnifySdk.Models.Components; using ApideckUnifySdk.Utils; using Newtonsoft.Json; + using NodaTime; using System; using System.Collections.Generic; @@ -90,6 +91,12 @@ public class InvoiceLineItem [JsonProperty("discount_amount")] public double? DiscountAmount { get; set; } = null; + /// + /// Date on which the service was provided or performed - YYYY-MM-DD. + /// + [JsonProperty("service_date")] + public LocalDate? ServiceDate { get; set; } = null; + /// /// ID of the category of the line item /// diff --git a/src/ApideckUnifySdk/Models/Components/InvoiceLineItemInput.cs b/src/ApideckUnifySdk/Models/Components/InvoiceLineItemInput.cs index 78d2d75bd..69e4ce37f 100644 --- a/src/ApideckUnifySdk/Models/Components/InvoiceLineItemInput.cs +++ b/src/ApideckUnifySdk/Models/Components/InvoiceLineItemInput.cs @@ -12,6 +12,7 @@ namespace ApideckUnifySdk.Models.Components using ApideckUnifySdk.Models.Components; using ApideckUnifySdk.Utils; using Newtonsoft.Json; + using NodaTime; using System.Collections.Generic; public class InvoiceLineItemInput @@ -89,6 +90,12 @@ public class InvoiceLineItemInput [JsonProperty("discount_amount")] public double? DiscountAmount { get; set; } = null; + /// + /// Date on which the service was provided or performed - YYYY-MM-DD. + /// + [JsonProperty("service_date")] + public LocalDate? ServiceDate { get; set; } = null; + /// /// ID of the category of the line item /// diff --git a/src/ApideckUnifySdk/Models/Components/LedgerAccountType.cs b/src/ApideckUnifySdk/Models/Components/LedgerAccountType.cs index 2325d0082..8b5e0adb2 100644 --- a/src/ApideckUnifySdk/Models/Components/LedgerAccountType.cs +++ b/src/ApideckUnifySdk/Models/Components/LedgerAccountType.cs @@ -18,44 +18,44 @@ namespace ApideckUnifySdk.Models.Components /// public enum LedgerAccountType { + [JsonProperty("accounts_payable")] + AccountsPayable, [JsonProperty("accounts_receivable")] AccountsReceivable, - [JsonProperty("revenue")] - Revenue, - [JsonProperty("sales")] - Sales, - [JsonProperty("other_income")] - OtherIncome, + [JsonProperty("balancesheet")] + Balancesheet, [JsonProperty("bank")] Bank, + [JsonProperty("costs_of_sales")] + CostsOfSales, + [JsonProperty("credit_card")] + CreditCard, [JsonProperty("current_asset")] CurrentAsset, + [JsonProperty("current_liability")] + CurrentLiability, + [JsonProperty("equity")] + Equity, + [JsonProperty("expense")] + Expense, [JsonProperty("fixed_asset")] FixedAsset, [JsonProperty("non_current_asset")] NonCurrentAsset, + [JsonProperty("non_current_liability")] + NonCurrentLiability, [JsonProperty("other_asset")] OtherAsset, - [JsonProperty("balancesheet")] - Balancesheet, - [JsonProperty("equity")] - Equity, - [JsonProperty("expense")] - Expense, [JsonProperty("other_expense")] OtherExpense, - [JsonProperty("costs_of_sales")] - CostsOfSales, - [JsonProperty("accounts_payable")] - AccountsPayable, - [JsonProperty("credit_card")] - CreditCard, - [JsonProperty("current_liability")] - CurrentLiability, - [JsonProperty("non_current_liability")] - NonCurrentLiability, + [JsonProperty("other_income")] + OtherIncome, [JsonProperty("other_liability")] OtherLiability, + [JsonProperty("revenue")] + Revenue, + [JsonProperty("sales")] + Sales, [JsonProperty("other")] Other, } diff --git a/src/ApideckUnifySdk/Models/Components/Project.cs b/src/ApideckUnifySdk/Models/Components/Project.cs index ddf3159b4..22074a8cb 100644 --- a/src/ApideckUnifySdk/Models/Components/Project.cs +++ b/src/ApideckUnifySdk/Models/Components/Project.cs @@ -61,6 +61,12 @@ public class Project [JsonProperty("status")] public ProjectProjectStatus? Status { get; set; } = null; + /// + /// Indicates whether the project is currently active or inactive + /// + [JsonProperty("active")] + public bool? Active { get; set; } = null; + /// /// Type or category of the project /// diff --git a/src/ApideckUnifySdk/Models/Components/ProjectInput.cs b/src/ApideckUnifySdk/Models/Components/ProjectInput.cs index a6a040167..1e02c4291 100644 --- a/src/ApideckUnifySdk/Models/Components/ProjectInput.cs +++ b/src/ApideckUnifySdk/Models/Components/ProjectInput.cs @@ -48,6 +48,12 @@ public class ProjectInput [JsonProperty("status")] public ProjectProjectStatus? Status { get; set; } = null; + /// + /// Indicates whether the project is currently active or inactive + /// + [JsonProperty("active")] + public bool? Active { get; set; } = null; + /// /// Type or category of the project /// diff --git a/src/ApideckUnifySdk/Models/Components/ProjectProjectStatus.cs b/src/ApideckUnifySdk/Models/Components/ProjectProjectStatus.cs index a9633578a..7c4b924b1 100644 --- a/src/ApideckUnifySdk/Models/Components/ProjectProjectStatus.cs +++ b/src/ApideckUnifySdk/Models/Components/ProjectProjectStatus.cs @@ -28,6 +28,10 @@ public enum ProjectProjectStatus Cancelled, [JsonProperty("draft")] Draft, + [JsonProperty("in_progress")] + InProgress, + [JsonProperty("approved")] + Approved, [JsonProperty("other")] Other, } diff --git a/src/ApideckUnifySdk/Models/Components/QuoteLineItem.cs b/src/ApideckUnifySdk/Models/Components/QuoteLineItem.cs index b75c26a4c..314350f5c 100644 --- a/src/ApideckUnifySdk/Models/Components/QuoteLineItem.cs +++ b/src/ApideckUnifySdk/Models/Components/QuoteLineItem.cs @@ -12,6 +12,7 @@ namespace ApideckUnifySdk.Models.Components using ApideckUnifySdk.Models.Components; using ApideckUnifySdk.Utils; using Newtonsoft.Json; + using NodaTime; using System; using System.Collections.Generic; @@ -90,6 +91,12 @@ public class QuoteLineItem [JsonProperty("discount_amount")] public double? DiscountAmount { get; set; } = null; + /// + /// Date on which the service was provided or performed - YYYY-MM-DD. + /// + [JsonProperty("service_date")] + public LocalDate? ServiceDate { get; set; } = null; + /// /// ID of the category of the line item /// diff --git a/src/ApideckUnifySdk/Models/Components/QuoteLineItemInput.cs b/src/ApideckUnifySdk/Models/Components/QuoteLineItemInput.cs index 5d8a2f6ac..a13c28f32 100644 --- a/src/ApideckUnifySdk/Models/Components/QuoteLineItemInput.cs +++ b/src/ApideckUnifySdk/Models/Components/QuoteLineItemInput.cs @@ -12,6 +12,7 @@ namespace ApideckUnifySdk.Models.Components using ApideckUnifySdk.Models.Components; using ApideckUnifySdk.Utils; using Newtonsoft.Json; + using NodaTime; using System.Collections.Generic; public class QuoteLineItemInput @@ -89,6 +90,12 @@ public class QuoteLineItemInput [JsonProperty("discount_amount")] public double? DiscountAmount { get; set; } = null; + /// + /// Date on which the service was provided or performed - YYYY-MM-DD. + /// + [JsonProperty("service_date")] + public LocalDate? ServiceDate { get; set; } = null; + /// /// ID of the category of the line item /// diff --git a/src/ApideckUnifySdk/Models/Components/SimpleFormFieldOptionValue.cs b/src/ApideckUnifySdk/Models/Components/SimpleFormFieldOptionValue.cs index 4fea11bd5..79c488bfc 100644 --- a/src/ApideckUnifySdk/Models/Components/SimpleFormFieldOptionValue.cs +++ b/src/ApideckUnifySdk/Models/Components/SimpleFormFieldOptionValue.cs @@ -237,7 +237,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } SimpleFormFieldOptionValue res = (SimpleFormFieldOptionValue)value; diff --git a/src/ApideckUnifySdk/Models/Components/UpdateConsentRequestResources.cs b/src/ApideckUnifySdk/Models/Components/UpdateConsentRequestResources.cs index 134e8e3e9..6320a6192 100644 --- a/src/ApideckUnifySdk/Models/Components/UpdateConsentRequestResources.cs +++ b/src/ApideckUnifySdk/Models/Components/UpdateConsentRequestResources.cs @@ -169,7 +169,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } UpdateConsentRequestResources res = (UpdateConsentRequestResources)value; diff --git a/src/ApideckUnifySdk/Models/Components/Value5.cs b/src/ApideckUnifySdk/Models/Components/Value5.cs index 23bf51e0f..76487a607 100644 --- a/src/ApideckUnifySdk/Models/Components/Value5.cs +++ b/src/ApideckUnifySdk/Models/Components/Value5.cs @@ -175,7 +175,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } Value5 res = (Value5)value; diff --git a/src/ApideckUnifySdk/Models/Errors/Detail.cs b/src/ApideckUnifySdk/Models/Errors/Detail.cs index 4efa26480..b847a08a9 100644 --- a/src/ApideckUnifySdk/Models/Errors/Detail.cs +++ b/src/ApideckUnifySdk/Models/Errors/Detail.cs @@ -158,7 +158,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } Detail res = (Detail)value; diff --git a/src/ApideckUnifySdk/Models/Errors/NotFoundResponseDetail.cs b/src/ApideckUnifySdk/Models/Errors/NotFoundResponseDetail.cs index fc32b29a1..f73640a29 100644 --- a/src/ApideckUnifySdk/Models/Errors/NotFoundResponseDetail.cs +++ b/src/ApideckUnifySdk/Models/Errors/NotFoundResponseDetail.cs @@ -158,7 +158,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } NotFoundResponseDetail res = (NotFoundResponseDetail)value; diff --git a/src/ApideckUnifySdk/Models/Errors/UnauthorizedResponseDetail.cs b/src/ApideckUnifySdk/Models/Errors/UnauthorizedResponseDetail.cs index c420ee6a0..49a3dfe8b 100644 --- a/src/ApideckUnifySdk/Models/Errors/UnauthorizedResponseDetail.cs +++ b/src/ApideckUnifySdk/Models/Errors/UnauthorizedResponseDetail.cs @@ -158,7 +158,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } UnauthorizedResponseDetail res = (UnauthorizedResponseDetail)value; diff --git a/src/ApideckUnifySdk/Models/Errors/UnprocessableResponseDetail.cs b/src/ApideckUnifySdk/Models/Errors/UnprocessableResponseDetail.cs index ea1a8e4e3..1352965c7 100644 --- a/src/ApideckUnifySdk/Models/Errors/UnprocessableResponseDetail.cs +++ b/src/ApideckUnifySdk/Models/Errors/UnprocessableResponseDetail.cs @@ -158,7 +158,6 @@ public override void WriteJson(JsonWriter writer, object? value, JsonSerializer if (value == null) { throw new InvalidOperationException("Unexpected null JSON value."); - return; } UnprocessableResponseDetail res = (UnprocessableResponseDetail)value; diff --git a/src/ApideckUnifySdk/Notes.cs b/src/ApideckUnifySdk/Notes.cs index 43daf1ec0..3c060e595 100644 --- a/src/ApideckUnifySdk/Notes.cs +++ b/src/ApideckUnifySdk/Notes.cs @@ -77,9 +77,9 @@ public class Notes: INotes { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Notes(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmNotesAllRequest? request = n httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmNotesAllRequest? request = n var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(CrmNotesAddRequest request, R httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(CrmNotesAddRequest request, R var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(CrmNotesOneRequest request, Retr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(CrmNotesOneRequest request, Retr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(CrmNotesUpdateRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(CrmNotesUpdateRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(CrmNotesDeleteRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.notesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(CrmNotesDeleteRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Opportunities.cs b/src/ApideckUnifySdk/Opportunities.cs index bd732884b..b9a3badb9 100644 --- a/src/ApideckUnifySdk/Opportunities.cs +++ b/src/ApideckUnifySdk/Opportunities.cs @@ -77,9 +77,9 @@ public class Opportunities: IOpportunities { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Opportunities(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmOpportunitiesAllRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmOpportunitiesAllRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(CrmOpportunitiesAddRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(CrmOpportunitiesAddRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(CrmOpportunitiesOneReque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(CrmOpportunitiesOneReque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(CrmOpportunitiesUp httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(CrmOpportunitiesUp var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(CrmOpportunitiesDe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.opportunitiesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(CrmOpportunitiesDe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Orders.cs b/src/ApideckUnifySdk/Orders.cs index 57e7d6355..f51623dd3 100644 --- a/src/ApideckUnifySdk/Orders.cs +++ b/src/ApideckUnifySdk/Orders.cs @@ -50,9 +50,9 @@ public class Orders: IOrders { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Orders(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(EcommerceOrdersAllReques httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.ordersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.ordersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(EcommerceOrdersAllReques var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -375,7 +375,7 @@ public async Task GetAsync(EcommerceOrdersOneRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.ordersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.ordersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -389,7 +389,7 @@ public async Task GetAsync(EcommerceOrdersOneRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Payments.cs b/src/ApideckUnifySdk/Payments.cs index f700a62b8..fa033cbed 100644 --- a/src/ApideckUnifySdk/Payments.cs +++ b/src/ApideckUnifySdk/Payments.cs @@ -77,9 +77,9 @@ public class Payments: IPayments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Payments(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingPaymentsAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingPaymentsAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingPaymentsA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingPaymentsA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingPaymentsOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingPaymentsOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingPaymen httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingPaymen var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingPaymen httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.paymentsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingPaymen var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Payrolls.cs b/src/ApideckUnifySdk/Payrolls.cs index 68d6ced30..5848cc233 100644 --- a/src/ApideckUnifySdk/Payrolls.cs +++ b/src/ApideckUnifySdk/Payrolls.cs @@ -48,9 +48,9 @@ public class Payrolls: IPayrolls { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Payrolls(SDKConfig config) { @@ -74,7 +74,7 @@ public async Task ListAsync(HrisPayrollsAllRequest? req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.payrollsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.payrollsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -88,7 +88,7 @@ public async Task ListAsync(HrisPayrollsAllRequest? req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -336,7 +336,7 @@ public async Task GetAsync(HrisPayrollsOneRequest reque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.payrollsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.payrollsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -350,7 +350,7 @@ public async Task GetAsync(HrisPayrollsOneRequest reque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Pipelines.cs b/src/ApideckUnifySdk/Pipelines.cs index bfc7032a5..00edb3353 100644 --- a/src/ApideckUnifySdk/Pipelines.cs +++ b/src/ApideckUnifySdk/Pipelines.cs @@ -77,9 +77,9 @@ public class Pipelines: IPipelines { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Pipelines(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmPipelinesAllRequest? req httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmPipelinesAllRequest? req var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(CrmPipelinesAddRequest re httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(CrmPipelinesAddRequest re var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(CrmPipelinesOneRequest reque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(CrmPipelinesOneRequest reque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(CrmPipelinesUpdateRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(CrmPipelinesUpdateRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(CrmPipelinesDeleteRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.pipelinesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(CrmPipelinesDeleteRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Products.cs b/src/ApideckUnifySdk/Products.cs index 3051694fd..4b9daa06c 100644 --- a/src/ApideckUnifySdk/Products.cs +++ b/src/ApideckUnifySdk/Products.cs @@ -50,9 +50,9 @@ public class Products: IProducts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Products(SDKConfig config) { @@ -76,7 +76,7 @@ public async Task ListAsync(EcommerceProductsAllRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.productsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.productsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -90,7 +90,7 @@ public async Task ListAsync(EcommerceProductsAllRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -374,7 +374,7 @@ public async Task GetAsync(EcommerceProductsOneReq httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.productsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.productsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -388,7 +388,7 @@ public async Task GetAsync(EcommerceProductsOneReq var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ProfitAndLoss.cs b/src/ApideckUnifySdk/ProfitAndLoss.cs index 695d430a9..257713e42 100644 --- a/src/ApideckUnifySdk/ProfitAndLoss.cs +++ b/src/ApideckUnifySdk/ProfitAndLoss.cs @@ -39,9 +39,9 @@ public class ProfitAndLoss: IProfitAndLoss { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ProfitAndLoss(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(AccountingProfitA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.profitAndLossOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.profitAndLossOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(AccountingProfitA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Projects.cs b/src/ApideckUnifySdk/Projects.cs index 8e4f61401..d6ada071d 100644 --- a/src/ApideckUnifySdk/Projects.cs +++ b/src/ApideckUnifySdk/Projects.cs @@ -77,9 +77,9 @@ public class Projects: IProjects { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Projects(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingProjectsAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingProjectsAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingProjectsA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingProjectsA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingProjectsOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingProjectsOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingProjec httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingProjec var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingProjec httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.projectsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingProjec var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/PurchaseOrders.cs b/src/ApideckUnifySdk/PurchaseOrders.cs index a4c169eb1..f1660c9c0 100644 --- a/src/ApideckUnifySdk/PurchaseOrders.cs +++ b/src/ApideckUnifySdk/PurchaseOrders.cs @@ -77,9 +77,9 @@ public class PurchaseOrders: IPurchaseOrders { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public PurchaseOrders(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingPurch httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingPurch var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -407,7 +407,7 @@ public async Task CreateAsync(AccountingPur httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -421,7 +421,7 @@ public async Task CreateAsync(AccountingPur var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -669,7 +669,7 @@ public async Task GetAsync(AccountingPurcha httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -683,7 +683,7 @@ public async Task GetAsync(AccountingPurcha var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -937,7 +937,7 @@ public async Task UpdateAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -951,7 +951,7 @@ public async Task UpdateAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1199,7 +1199,7 @@ public async Task DeleteAsync(Accounting httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.purchaseOrdersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1213,7 +1213,7 @@ public async Task DeleteAsync(Accounting var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Quotes.cs b/src/ApideckUnifySdk/Quotes.cs index c6934d207..36b3034e2 100644 --- a/src/ApideckUnifySdk/Quotes.cs +++ b/src/ApideckUnifySdk/Quotes.cs @@ -77,9 +77,9 @@ public class Quotes: IQuotes { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Quotes(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingQuotesAllRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingQuotesAllRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -404,7 +404,7 @@ public async Task CreateAsync(AccountingQuotesAddRe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -418,7 +418,7 @@ public async Task CreateAsync(AccountingQuotesAddRe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -666,7 +666,7 @@ public async Task GetAsync(AccountingQuotesOneReque httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -680,7 +680,7 @@ public async Task GetAsync(AccountingQuotesOneReque var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -934,7 +934,7 @@ public async Task UpdateAsync(AccountingQuotesUp httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -948,7 +948,7 @@ public async Task UpdateAsync(AccountingQuotesUp var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1196,7 +1196,7 @@ public async Task DeleteAsync(AccountingQuotesDe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.quotesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1210,7 +1210,7 @@ public async Task DeleteAsync(AccountingQuotesDe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/SDKConfig.cs b/src/ApideckUnifySdk/SDKConfig.cs index bea1fafaf..fcd89d6b0 100644 --- a/src/ApideckUnifySdk/SDKConfig.cs +++ b/src/ApideckUnifySdk/SDKConfig.cs @@ -46,7 +46,7 @@ public SDKConfig(ISpeakeasyHttpClient? client = null) ServerIndex = 0; ConsumerId = null; AppId = null; - UserAgent = "speakeasy-sdk/csharp 0.16.0 2.716.16 10.21.2 ApideckUnifySdk"; + UserAgent = "speakeasy-sdk/csharp 0.17.0 2.723.11 10.21.4 ApideckUnifySdk"; SecuritySource = null; Hooks = new SDKHooks(); RetryConfig = null; diff --git a/src/ApideckUnifySdk/Sessions.cs b/src/ApideckUnifySdk/Sessions.cs index 02767922a..7177e12cc 100644 --- a/src/ApideckUnifySdk/Sessions.cs +++ b/src/ApideckUnifySdk/Sessions.cs @@ -43,9 +43,9 @@ public class Sessions: ISessions { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Sessions(SDKConfig config) { @@ -82,7 +82,7 @@ public async Task CreateAsync(string? consumerId = httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.sessionsCreate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.sessionsCreate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -96,7 +96,7 @@ public async Task CreateAsync(string? consumerId = var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/SharedLinks.cs b/src/ApideckUnifySdk/SharedLinks.cs index 9eba58b11..437393360 100644 --- a/src/ApideckUnifySdk/SharedLinks.cs +++ b/src/ApideckUnifySdk/SharedLinks.cs @@ -77,9 +77,9 @@ public class SharedLinks: ISharedLinks { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public SharedLinks(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(FileStorageShared httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(FileStorageShared var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(FileStorageShar httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(FileStorageShar var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(FileStorageSharedL httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(FileStorageSharedL var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(FileStorageS httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(FileStorageS var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(FileStorageS httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.sharedLinksDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(FileStorageS var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Sms.cs b/src/ApideckUnifySdk/Sms.cs index 515b3be83..00d88e065 100644 --- a/src/ApideckUnifySdk/Sms.cs +++ b/src/ApideckUnifySdk/Sms.cs @@ -23,9 +23,9 @@ public class Sms: ISms { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IMessages Messages { get; private set; } public Sms(SDKConfig config) diff --git a/src/ApideckUnifySdk/Stores.cs b/src/ApideckUnifySdk/Stores.cs index b71ade0cc..8bd217943 100644 --- a/src/ApideckUnifySdk/Stores.cs +++ b/src/ApideckUnifySdk/Stores.cs @@ -39,9 +39,9 @@ public class Stores: IStores { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Stores(SDKConfig config) { @@ -65,7 +65,7 @@ public async Task GetAsync(EcommerceStoresOneRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.storesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "ecommerce.storesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -79,7 +79,7 @@ public async Task GetAsync(EcommerceStoresOneRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Subsidiaries.cs b/src/ApideckUnifySdk/Subsidiaries.cs index be3180262..d8670450e 100644 --- a/src/ApideckUnifySdk/Subsidiaries.cs +++ b/src/ApideckUnifySdk/Subsidiaries.cs @@ -77,9 +77,9 @@ public class Subsidiaries: ISubsidiaries { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Subsidiaries(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingSubsidi httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingSubsidi var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -405,7 +405,7 @@ public async Task CreateAsync(AccountingSubsi httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -419,7 +419,7 @@ public async Task CreateAsync(AccountingSubsi var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -667,7 +667,7 @@ public async Task GetAsync(AccountingSubsidia httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -681,7 +681,7 @@ public async Task GetAsync(AccountingSubsidia var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -935,7 +935,7 @@ public async Task UpdateAsync(AccountingSu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -949,7 +949,7 @@ public async Task UpdateAsync(AccountingSu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1197,7 +1197,7 @@ public async Task DeleteAsync(AccountingSu httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.subsidiariesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1211,7 +1211,7 @@ public async Task DeleteAsync(AccountingSu var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Suppliers.cs b/src/ApideckUnifySdk/Suppliers.cs index 3e9b32e99..842b09bf0 100644 --- a/src/ApideckUnifySdk/Suppliers.cs +++ b/src/ApideckUnifySdk/Suppliers.cs @@ -77,9 +77,9 @@ public class Suppliers: ISuppliers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Suppliers(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingSuppliersA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingSuppliersA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -408,7 +408,7 @@ public async Task CreateAsync(AccountingSupplier httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -422,7 +422,7 @@ public async Task CreateAsync(AccountingSupplier var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -670,7 +670,7 @@ public async Task GetAsync(AccountingSuppliersOn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -684,7 +684,7 @@ public async Task GetAsync(AccountingSuppliersOn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -938,7 +938,7 @@ public async Task UpdateAsync(AccountingSuppl httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -952,7 +952,7 @@ public async Task UpdateAsync(AccountingSuppl var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1200,7 +1200,7 @@ public async Task DeleteAsync(AccountingSuppl httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.suppliersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1214,7 +1214,7 @@ public async Task DeleteAsync(AccountingSuppl var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/TaxRates.cs b/src/ApideckUnifySdk/TaxRates.cs index d9847103a..bb50eb2da 100644 --- a/src/ApideckUnifySdk/TaxRates.cs +++ b/src/ApideckUnifySdk/TaxRates.cs @@ -79,9 +79,9 @@ public class TaxRates: ITaxRates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public TaxRates(SDKConfig config) { @@ -105,7 +105,7 @@ public async Task ListAsync(AccountingTaxRatesAll httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -119,7 +119,7 @@ public async Task ListAsync(AccountingTaxRatesAll var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -409,7 +409,7 @@ public async Task CreateAsync(AccountingTaxRatesA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -423,7 +423,7 @@ public async Task CreateAsync(AccountingTaxRatesA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -671,7 +671,7 @@ public async Task GetAsync(AccountingTaxRatesOneR httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -685,7 +685,7 @@ public async Task GetAsync(AccountingTaxRatesOneR var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -939,7 +939,7 @@ public async Task UpdateAsync(AccountingTaxRat httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -953,7 +953,7 @@ public async Task UpdateAsync(AccountingTaxRat var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1201,7 +1201,7 @@ public async Task DeleteAsync(AccountingTaxRat httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.taxRatesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1215,7 +1215,7 @@ public async Task DeleteAsync(AccountingTaxRat var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/TimeOffRequests.cs b/src/ApideckUnifySdk/TimeOffRequests.cs index ea02173ab..1ce810bc8 100644 --- a/src/ApideckUnifySdk/TimeOffRequests.cs +++ b/src/ApideckUnifySdk/TimeOffRequests.cs @@ -77,9 +77,9 @@ public class TimeOffRequests: ITimeOffRequests { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public TimeOffRequests(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(HrisTimeOffRequestsA httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(HrisTimeOffRequestsA var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -407,7 +407,7 @@ public async Task CreateAsync(HrisTimeOffRequest httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -421,7 +421,7 @@ public async Task CreateAsync(HrisTimeOffRequest var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -669,7 +669,7 @@ public async Task GetAsync(HrisTimeOffRequestsOn httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -683,7 +683,7 @@ public async Task GetAsync(HrisTimeOffRequestsOn var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -937,7 +937,7 @@ public async Task UpdateAsync(HrisTimeOffRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -951,7 +951,7 @@ public async Task UpdateAsync(HrisTimeOffRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1199,7 +1199,7 @@ public async Task DeleteAsync(HrisTimeOffRequ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "hris.timeOffRequestsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1213,7 +1213,7 @@ public async Task DeleteAsync(HrisTimeOffRequ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/TrackingCategories.cs b/src/ApideckUnifySdk/TrackingCategories.cs index 22de85860..7d27b7c67 100644 --- a/src/ApideckUnifySdk/TrackingCategories.cs +++ b/src/ApideckUnifySdk/TrackingCategories.cs @@ -77,9 +77,9 @@ public class TrackingCategories: ITrackingCategories { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public TrackingCategories(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(AccountingT httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(AccountingT var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(Accountin httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(Accountin var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(AccountingTr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(AccountingTr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(Accoun httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(Accoun var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(Accoun httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "accounting.trackingCategoriesDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(Accoun var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/UploadSessions.cs b/src/ApideckUnifySdk/UploadSessions.cs index 8c2a54761..a8e969619 100644 --- a/src/ApideckUnifySdk/UploadSessions.cs +++ b/src/ApideckUnifySdk/UploadSessions.cs @@ -99,9 +99,9 @@ public class UploadSessions: IUploadSessions }; public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public UploadSessions(SDKConfig config) { @@ -140,7 +140,7 @@ public async Task CreateAsync(FileStorageU httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -154,7 +154,7 @@ public async Task CreateAsync(FileStorageU var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -407,7 +407,7 @@ public async Task GetAsync(FileStorageUplo httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -421,7 +421,7 @@ public async Task GetAsync(FileStorageUplo var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -680,7 +680,7 @@ public async Task UploadAsync(FileStora httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsUpload", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsUpload", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -694,7 +694,7 @@ public async Task UploadAsync(FileStora var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -942,7 +942,7 @@ public async Task DeleteAsync(FileStora httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -956,7 +956,7 @@ public async Task DeleteAsync(FileStora var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1215,7 +1215,7 @@ public async Task FinishAsync(FileStora httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsFinish", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "fileStorage.uploadSessionsFinish", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1229,7 +1229,7 @@ public async Task FinishAsync(FileStora var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Users.cs b/src/ApideckUnifySdk/Users.cs index f5184534d..c86f4d0fd 100644 --- a/src/ApideckUnifySdk/Users.cs +++ b/src/ApideckUnifySdk/Users.cs @@ -77,9 +77,9 @@ public class Users: IUsers { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Users(SDKConfig config) { @@ -103,7 +103,7 @@ public async Task ListAsync(CrmUsersAllRequest? request = n httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -117,7 +117,7 @@ public async Task ListAsync(CrmUsersAllRequest? request = n var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -406,7 +406,7 @@ public async Task CreateAsync(CrmUsersAddRequest request, R httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -420,7 +420,7 @@ public async Task CreateAsync(CrmUsersAddRequest request, R var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -668,7 +668,7 @@ public async Task GetAsync(CrmUsersOneRequest request, Retr httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -682,7 +682,7 @@ public async Task GetAsync(CrmUsersOneRequest request, Retr var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -936,7 +936,7 @@ public async Task UpdateAsync(CrmUsersUpdateRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -950,7 +950,7 @@ public async Task UpdateAsync(CrmUsersUpdateRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1198,7 +1198,7 @@ public async Task DeleteAsync(CrmUsersDeleteRequest requ httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "crm.usersDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1212,7 +1212,7 @@ public async Task DeleteAsync(CrmUsersDeleteRequest requ var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/ValidateConnection.cs b/src/ApideckUnifySdk/ValidateConnection.cs index 12d99024a..ee91c3795 100644 --- a/src/ApideckUnifySdk/ValidateConnection.cs +++ b/src/ApideckUnifySdk/ValidateConnection.cs @@ -45,9 +45,9 @@ public class ValidateConnection: IValidateConnection { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public ValidateConnection(SDKConfig config) { @@ -81,7 +81,7 @@ public async Task StateAsync(VaultValidate httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.validateConnectionState", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "vault.validateConnectionState", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -95,7 +95,7 @@ public async Task StateAsync(VaultValidate var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( diff --git a/src/ApideckUnifySdk/Vault.cs b/src/ApideckUnifySdk/Vault.cs index f0239848b..0b3768bfa 100644 --- a/src/ApideckUnifySdk/Vault.cs +++ b/src/ApideckUnifySdk/Vault.cs @@ -35,9 +35,9 @@ public class Vault: IVault { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IConsumers Consumers { get; private set; } public IConsumerRequestCounts ConsumerRequestCounts { get; private set; } public IConnections Connections { get; private set; } diff --git a/src/ApideckUnifySdk/Webhook.cs b/src/ApideckUnifySdk/Webhook.cs index 151f3c148..57ce101db 100644 --- a/src/ApideckUnifySdk/Webhook.cs +++ b/src/ApideckUnifySdk/Webhook.cs @@ -23,9 +23,9 @@ public class Webhook: IWebhook { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public IWebhooks Webhooks { get; private set; } public Webhook(SDKConfig config) diff --git a/src/ApideckUnifySdk/Webhooks.cs b/src/ApideckUnifySdk/Webhooks.cs index c1ca78070..f206b5a43 100644 --- a/src/ApideckUnifySdk/Webhooks.cs +++ b/src/ApideckUnifySdk/Webhooks.cs @@ -77,9 +77,9 @@ public class Webhooks: IWebhooks { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.16.0"; - private const string _sdkGenVersion = "2.716.16"; - private const string _openapiDocVersion = "10.21.2"; + private const string _sdkVersion = "0.17.0"; + private const string _sdkGenVersion = "2.723.11"; + private const string _openapiDocVersion = "10.21.4"; public Webhooks(SDKConfig config) { @@ -108,7 +108,7 @@ public async Task ListAsync(string? appId = null, st httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksAll", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksAll", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -122,7 +122,7 @@ public async Task ListAsync(string? appId = null, st var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -402,7 +402,7 @@ public async Task CreateAsync(CreateWebhookRequest c httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksAdd", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksAdd", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -416,7 +416,7 @@ public async Task CreateAsync(CreateWebhookRequest c var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -664,7 +664,7 @@ public async Task GetAsync(string id, string? appId httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksOne", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksOne", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -678,7 +678,7 @@ public async Task GetAsync(string id, string? appId var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -933,7 +933,7 @@ public async Task UpdateAsync(string id, UpdateWe httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksUpdate", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksUpdate", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -947,7 +947,7 @@ public async Task UpdateAsync(string id, UpdateWe var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig( @@ -1195,7 +1195,7 @@ public async Task DeleteAsync(string id, string? httpRequest = new SecurityMetadata(SDKConfiguration.SecuritySource).Apply(httpRequest); } - var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksDelete", new List { }, SDKConfiguration.SecuritySource); + var hookCtx = new HookContext(SDKConfiguration, baseUrl, "webhook.webhooksDelete", null, SDKConfiguration.SecuritySource); httpRequest = await this.SDKConfiguration.Hooks.BeforeRequestAsync(new BeforeRequestContext(hookCtx), httpRequest); if (retryConfig == null) @@ -1209,7 +1209,7 @@ public async Task DeleteAsync(string id, string? var backoff = new BackoffStrategy( initialIntervalMs: 500L, maxIntervalMs: 60000L, - maxElapsedTimeMs: 3600000L, + maxElapsedTimeMs: 900000L, exponent: 1.5 ); retryConfig = new RetryConfig(