Skip to content

Commit 8e73237

Browse files
committed
## Csharp SDK Changes:
* `Formance.Payments.V1.ResetConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.CreateWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.ListClients()`: `response.data[]` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.UpdateClient()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.CreateSecret()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Reconciliation.V1.GetReconciliation()`: `response` **Changed** (Breaking ⚠️) * `Formance.Reconciliation.V1.Reconcile()`: `response` **Changed** (Breaking ⚠️) * `Formance.Reconciliation.V1.GetPolicy()`: `response` **Changed** (Breaking ⚠️) * `Formance.Reconciliation.V1.CreatePolicy()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.GetInstanceStageHistory()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.GetInstanceHistory()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.GetInstance()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.ListInstances()`: `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.RunWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.GetWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ResetConnectorV1()`: `error` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.ListWorkflows()`: `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.ListTriggersOccurrences()`: `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.TestTrigger()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.ReadTrigger()`: `response` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.ReadUser()`: `response` **Changed** (Breaking ⚠️) * `Formance.Ledger.GetInfo()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.GetMetrics()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetInfo()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetLedgerInfo()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.CountAccounts()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.AddMetadataToAccount()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetMapping()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.UpdateMapping()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.RunScript()`: * `request.script` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.ReadStats()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.CountTransactions()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.ListTransactions()`: * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.CreateTransaction()`: * `request.postTransaction` **Changed** (Breaking ⚠️) * `response.data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetTransaction()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.AddMetadataOnTransaction()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.RevertTransaction()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.CreateTransactions()`: * `request.transactions.Transactions[]` **Changed** (Breaking ⚠️) * `response.data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetBalances()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.GetBalancesAggregated()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V1.ListLogs()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListLedgers()`: * `request` **Changed** (Breaking ⚠️) * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetLedger()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CreateLedger()`: * `request.v2CreateLedgerRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.InsertSchema()`: * `request.v2SchemaData` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetSchema()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListSchemas()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.UpdateLedgerMetadata()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeleteLedgerMetadata()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetLedgerInfo()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CreateBulk()`: * `request.RequestBody[]` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CountAccounts()`: * `requestBody` **Added** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListAccounts()`: * `request.RequestBody` **Added** (Breaking ⚠️) * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetAccount()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.AddMetadataToAccount()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeleteAccountMetadata()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ReadStats()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CountTransactions()`: * `requestBody` **Added** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListTransactions()`: * `request.RequestBody` **Added** (Breaking ⚠️) * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CreateTransaction()`: * `request.V2PostTransaction` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetTransaction()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.AddMetadataOnTransaction()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeleteTransactionMetadata()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.RevertTransaction()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetBalancesAggregated()`: * `requestBody` **Added** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetVolumesWithBalances()`: * `request.RequestBody` **Added** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListLogs()`: * `request.RequestBody` **Added** (Breaking ⚠️) * `response.cursor.Data[].Data` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ImportLogs()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.RunQuery()`: * `request.RequestBody` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListExporters()`: * `response.cursor` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CreateExporter()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetExporterState()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.UpdateExporter()`: * `request` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeleteExporter()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeleteBucket()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.RestoreBucket()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ListPipelines()`: * `response.cursor` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.CreatePipeline()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.GetPipelineState()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.DeletePipeline()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.ResetPipeline()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.StartPipeline()`: `error` **Changed** (Breaking ⚠️) * `Formance.Ledger.V2.StopPipeline()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.CreatePayment()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListPayments()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetPayment()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UpdateMetadata()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListTransferInitiations()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.CreateTransferInitiation()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetTransferInitiation()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.DeleteTransferInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UpdateTransferInitiationStatus()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ReverseTransferInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.RetryTransferInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListPools()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.CreatePool()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetPool()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.DeletePool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UpdatePoolQuery()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.AddAccountToPool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.RemoveAccountFromPool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetPoolBalances()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetPoolBalancesLatest()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.CreateAccount()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetAccountBalances()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.CreateBankAccount()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListBankAccounts()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetBankAccount()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ForwardBankAccount()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UpdateBankAccountMetadata()`: * `request.updateBankAccountMetadataRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListAllConnectors()`: * `response.data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListConfigsAvailableConnectors()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.InstallConnector()`: * `request.connectorConfig` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UninstallConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UninstallConnectorV1()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ReadConnectorConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.UpdateConnectorConfigV1()`: * `request.connectorConfig` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ReadConnectorConfigV1()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.ReadClient()`: `response` **Changed** (Breaking ⚠️) * `Formance.Auth.V1.CreateClient()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListConnectors()`: * `requestBody` **Added** * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListConnectorTasksV1()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetConnectorTask()`: * `response.data` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.GetConnectorTaskV1()`: * `response.data` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ConnectorsTransfer()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreateAccount()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListAccounts()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetAccount()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetAccountBalances()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreateBankAccount()`: * `request` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListBankAccounts()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetBankAccount()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.UpdateBankAccountMetadata()`: * `request.v3UpdateBankAccountMetadataRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ForwardBankAccount()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V1.ListConnectorTasks()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.InstallConnector()`: * `request` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListConnectorConfigs()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.UninstallConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetConnectorConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.V3UpdateConnectorConfig()`: * `request` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ResetConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListConnectorSchedules()`: * `requestBody` **Added** * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetConnectorSchedule()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListConnectorScheduleInstances()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreatePayment()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPayments()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPayment()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.UpdatePaymentMetadata()`: * `request.v3UpdatePaymentMetadataRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.InitiatePayment()`: * `request.v3InitiatePaymentRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentInitiations()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.DeletePaymentInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPaymentInitiation()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.RetryPaymentInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ApprovePaymentInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.RejectPaymentInitiation()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ReversePaymentInitiation()`: * `request.v3ReversePaymentInitiationRequest` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentInitiationAdjustments()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentInitiationRelatedPayments()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreatePaymentServiceUser()`: * `request` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentServiceUsers()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPaymentServiceUser()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.DeletePaymentServiceUser()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentServiceUserConnections()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.DeletePaymentServiceUserConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ForwardPaymentServiceUserToProvider()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreateLinkForPaymentServiceUser()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentServiceUserConnectionsFromConnectorId()`: * `request` **Changed** (Breaking ⚠️) * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPaymentServiceUserLinkAttemptsFromConnectorId()`: * `request` **Changed** (Breaking ⚠️) * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPaymentServiceUserLinkAttemptFromConnectorId()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.DeletePaymentServiceUserConnectionFromConnectorId()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.UpdateLinkForPaymentServiceUserOnConnector()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.AddBankAccountToPaymentServiceUser()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ForwardPaymentServiceUserBankAccount()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.CreatePool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.ListPools()`: * `requestBody` **Added** * `response.cursor.Data[]` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPool()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.DeletePool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.UpdatePoolQuery()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPoolBalances()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetPoolBalancesLatest()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.AddAccountToPool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.RemoveAccountFromPool()`: `error` **Changed** (Breaking ⚠️) * `Formance.Payments.V3.GetTask()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.GetManyConfigs()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.InsertConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.DeleteConfig()`: `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.UpdateConfig()`: `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.TestConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.ActivateConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.DeactivateConfig()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Webhooks.V1.ChangeConfigSecret()`: * `response` **Changed** (Breaking ⚠️) * `error` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetTransactions()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.ListWallets()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.CreateWallet()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetWallet()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetWalletSummary()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.ListBalances()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.CreateBalance()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetBalance()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.DebitWallet()`: * `request.debitWalletRequest` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.CreditWallet()`: `request.creditWalletRequest` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetHolds()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetHold()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.CreateTrigger()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.ReadTrigger()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.ListTriggersOccurrences()`: `response.data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.ListWorkflows()`: `response.data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.CreateWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.GetWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.RunWorkflow()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.ListInstances()`: `response.data[]` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.GetInstance()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.GetInstanceHistory()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V1.GetInstanceStageHistory()`: `response` **Changed** (Breaking ⚠️) * `Formance.Orchestration.V2.CreateTrigger()`: `response` **Changed** (Breaking ⚠️) * `Formance.Wallets.V1.GetServerInfoWallets()`: **Added** * `Formance.Orchestration.V1.GetServerInfoOrchestration()`: **Added** * `Formance.Ledger.V1.GetAccount()`: **Removed** (Breaking ⚠️) * `Formance.Ledger.V1.ListAccounts()`: **Removed** (Breaking ⚠️) * `Formance.Auth.V1.GetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Reconciliation.V1.GetServerInfoReconciliation()`: **Added** * `Formance.Payments.V1.GetServerInfoPayments()`: **Added** * `Formance.Payments.V1.ListAccountsPayments()`: **Added** * `Formance.Search.V1.GetServerInfoSearch()`: **Added** * `Formance.Payments.V1.PaymentsgetAccount()`: **Removed** (Breaking ⚠️) * `Formance.Payments.V1.PaymentsgetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Payments.V1.GetAccountPayments()`: **Added** * `Formance.Payments.V1.PaymentslistAccounts()`: **Removed** (Breaking ⚠️) * `Formance.Search.V1.SearchgetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Wallets.V1.WalletsgetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Orchestration.V1.OrchestrationgetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Reconciliation.V1.ReconciliationgetServerInfo()`: **Removed** (Breaking ⚠️) * `Formance.Reconciliation.V1.ListPolicies()`: `requestBody` **Added** * `Formance.Ledger.V1.GetAccountLedger()`: **Added** * `Formance.Ledger.V1.ListAccountsLedger()`: **Added** * `Formance.Reconciliation.V1.ListReconciliations()`: `requestBody` **Added** * `Formance.Auth.V1.GetServerInfoAuth()`: **Added**
1 parent 54c0f24 commit 8e73237

2,419 files changed

Lines changed: 31616 additions & 27578 deletions

File tree

Some content is hidden

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

.speakeasy/gen.lock

Lines changed: 6059 additions & 6127 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
speakeasyVersion: 1.755.1
1+
speakeasyVersion: 1.761.9
22
sources:
33
stacks-source:
44
sourceNamespace: stacks-source
5-
sourceRevisionDigest: sha256:5f3efcd6d57a3d10c6117dc8652e196b181e1535d33294062cfb5f997c8abff0
6-
sourceBlobDigest: sha256:9e907dbdf2d4f42763a7a8d9e384a155be7a9443e612fa924108231587f827ad
5+
sourceRevisionDigest: sha256:cbe386daae9f188190ef706592b7d8f47d08842b64db2b7425a5f26192c3b80d
6+
sourceBlobDigest: sha256:43596c6d78adb93167d2c34236981efe1f1ed199738110e3e2e9f2b194128db5
77
tags:
88
- latest
99
targets:
1010
formance:
1111
source: stacks-source
1212
sourceNamespace: stacks-source
13-
sourceRevisionDigest: sha256:5f3efcd6d57a3d10c6117dc8652e196b181e1535d33294062cfb5f997c8abff0
14-
sourceBlobDigest: sha256:9e907dbdf2d4f42763a7a8d9e384a155be7a9443e612fa924108231587f827ad
13+
sourceRevisionDigest: sha256:cbe386daae9f188190ef706592b7d8f47d08842b64db2b7425a5f26192c3b80d
14+
sourceBlobDigest: sha256:43596c6d78adb93167d2c34236981efe1f1ed199738110e3e2e9f2b194128db5
1515
codeSamplesNamespace: stacks-source-csharp-code-samples
16-
codeSamplesRevisionDigest: sha256:46f88323da62d0eca738c803e1410f2e9373e4523787c179326d599ead590489
16+
codeSamplesRevisionDigest: sha256:7f2be983ef809ac4b25ebb8a63ca63625d6782e910de01e067dfde054a43742a
1717
workflow:
1818
workflowVersion: 1.0.0
1919
speakeasyVersion: latest
2020
sources:
2121
stacks-source:
2222
inputs:
23-
- location: registry.speakeasyapi.dev/formance/formance/stacks-source@latest
23+
- location: registry.speakeasyapi.dev/formance/formance/stacks-source@LATEST_RELEASE
2424
registry:
2525
location: registry.speakeasyapi.dev/formance/formance/stacks-source
2626
targets:

NUGET.md

Lines changed: 8 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Some exceptions in this SDK include an additional `Payload` field, which will co
3636
using FormanceSDK;
3737
using FormanceSDK.Models.Components;
3838
using FormanceSDK.Models.Errors;
39+
using FormanceSDK.Models.Ledger;
3940

4041
var sdk = new Formance(security: new Security() {
4142
ClientID = "<YOUR_CLIENT_ID_HERE>",
@@ -59,11 +60,11 @@ catch (SDKBaseException ex) // all SDK exceptions inherit from SDKBaseException
5960
var statusCode = (int)response.StatusCode;
6061
var responseBody = ex.Body;
6162

62-
if (ex is Models.Errors.V2ErrorResponse) // different exceptions may be thrown depending on the method
63+
if (ex is V2ErrorResponseError) // different exceptions may be thrown depending on the method
6364
{
6465
// Check error data fields
65-
Models.Errors.V2ErrorResponsePayload payload = ex.Payload;
66-
V2ErrorsEnum ErrorCode = payload.ErrorCode;
66+
V2ErrorResponseErrorPayload payload = ex.Payload;
67+
V2ErrorsEnum V2ErrorsEnum = payload.V2ErrorsEnum;
6768
string ErrorMessage = payload.ErrorMessage;
6869
// ...
6970
}
@@ -85,74 +86,23 @@ catch (System.Net.Http.HttpRequestException ex)
8586
**Primary exception:**
8687
* [`SDKBaseException`](./src/FormanceSDK/Models/Errors/SDKBaseException.cs): The base class for HTTP error responses.
8788

88-
**Less common exceptions (11)**
89+
**Less common exceptions (9)**
8990

9091
* [`System.Net.Http.HttpRequestException`](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httprequestexception): Network connectivity error. For more details about the underlying cause, inspect the `ex.InnerException`.
9192

9293
* Inheriting from [`SDKBaseException`](./src/FormanceSDK/Models/Errors/SDKBaseException.cs):
9394
* [`V3ErrorResponse`](./src/FormanceSDK/Models/Errors/V3ErrorResponse.cs): Error. Applicable to 57 of 249 methods.*
9495
* [`PaymentsErrorResponse`](./src/FormanceSDK/Models/Errors/PaymentsErrorResponse.cs): Error. Applicable to 46 of 249 methods.*
95-
* [`V2ErrorResponse`](./src/FormanceSDK/Models/Errors/V2ErrorResponse.cs): Applicable to 44 of 249 methods.*
96-
* [`ErrorResponse`](./src/FormanceSDK/Models/Errors/ErrorResponse.cs): Applicable to 19 of 249 methods.*
96+
* [`V2ErrorResponseError`](./src/FormanceSDK/Models/Errors/V2ErrorResponseError.cs): Applicable to 44 of 249 methods.*
97+
* [`ErrorResponse`](./src/FormanceSDK/Models/Errors/ErrorResponse.cs): Applicable to 31 of 249 methods.*
98+
* [`ErrorResponseError`](./src/FormanceSDK/Models/Errors/ErrorResponseError.cs): Applicable to 19 of 249 methods.*
9799
* [`V2Error`](./src/FormanceSDK/Models/Errors/V2Error.cs): General error. Applicable to 18 of 249 methods.*
98100
* [`Error`](./src/FormanceSDK/Models/Errors/Error.cs): General error. Applicable to 17 of 249 methods.*
99-
* [`WalletsErrorResponse`](./src/FormanceSDK/Models/Errors/WalletsErrorResponse.cs): Applicable to 15 of 249 methods.*
100-
* [`WebhooksErrorResponse`](./src/FormanceSDK/Models/Errors/WebhooksErrorResponse.cs): Error. Applicable to 8 of 249 methods.*
101-
* [`ReconciliationErrorResponse`](./src/FormanceSDK/Models/Errors/ReconciliationErrorResponse.cs): Error response. Applicable to 8 of 249 methods.*
102101
* [`ResponseValidationError`](./src/FormanceSDK/Models/Errors/ResponseValidationError.cs): Thrown when the response data could not be deserialized into the expected type.
103102

104103
\* Refer to the [relevant documentation](#available-resources-and-operations) to determine whether an exception applies to a specific operation.
105104
<!-- End Error Handling [errors] -->
106105

107-
<!-- Start Server Selection [server] -->
108-
## Server Selection
109-
110-
### Select Server by Index
111-
112-
You can override the default server globally by passing a server index to the `serverIndex: int` optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:
113-
114-
| # | Server | Variables | Description |
115-
| --- | ----------------------------------------------------- | -------------------------------- | ------------------------------------------ |
116-
| 0 | `http://localhost` | | local server |
117-
| 1 | `https://{organization}.{environment}.formance.cloud` | `organization`<br/>`environment` | A per-organization and per-environment API |
118-
119-
If the selected server has variables, you may override its default values through the additional parameters made available in the SDK constructor:
120-
121-
| Variable | Parameter | Supported Values | Default | Description |
122-
| -------------- | --------------------------------------------------- | -------------------------------------------------------- | ----------------- | ------------------------------------------------------------- |
123-
| `organization` | `organization: string` | string | `"orgID-stackID"` | The organization name. Defaults to a generic organization. |
124-
| `environment` | `environment: FormanceSDK.Models.ServerEnvironment` | - `"eu.sandbox"`<br/>- `"eu-west-1"`<br/>- `"us-east-1"` | `"eu.sandbox"` | The environment name. Defaults to the production environment. |
125-
126-
#### Example
127-
128-
```csharp
129-
using FormanceSDK;
130-
131-
var sdk = new Formance(
132-
serverIndex: 1,
133-
organization: "orgID-stackID",
134-
environment: "us-east-1"
135-
);
136-
137-
var res = await sdk.GetVersionsAsync();
138-
139-
// handle response
140-
```
141-
142-
### Override Server URL Per-Client
143-
144-
The default server can also be overridden globally by passing a URL to the `serverUrl: string` optional parameter when initializing the SDK client instance. For example:
145-
```csharp
146-
using FormanceSDK;
147-
148-
var sdk = new Formance(serverUrl: "https://orgID-stackID.eu.sandbox.formance.cloud");
149-
150-
var res = await sdk.GetVersionsAsync();
151-
152-
// handle response
153-
```
154-
<!-- End Server Selection [server] -->
155-
156106
<!-- Start Authentication [security] -->
157107
## Authentication
158108

0 commit comments

Comments
 (0)