mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
- go.mod module path + all self-imports: github.com/formancehq/payments -> github.com/hanzo-fi/payments (1590 .go files / 3152 refs; 20 modules: root, pkg/client, pkg/domain, 18 ce/plugins). External dep kept: formancehq/go-libs. - plugins: each ce/plugins/* consumed a *published* pkg/domain; added local 'replace .../pkg/domain => ../../../pkg/domain' (consistent with root) so every standalone plugin module builds in-monorepo. compile-plugin.sh MOD var rebranded too. - branding: README, LICENSE (dual MIT+EE; upstream copyright retained + Hanzo added), goreleaser (release images -> registry.hanzo.ai/hanzo-fi, OCI labels, homepage), proto go_package, renovate, speakeasy gen.yaml, connector-template *.gotpl. - CI: removed Numary/Formance workflows + composite action; added canonical hanzo.yml + cicd.yml (hanzoai/ci, gated HANZO_CI_ENABLED) + secretless ci.yml (go build/vet). - kept as data/compat keys: wire capability enums ALLOW_FORMANCE_*, generated SDK type client.Formance, domain field FormanceRedirectURL, OTEL_SERVICE_NAME, upstream base image. - verified: go build ./... (default + -tags ee) + all 20 nested modules green.
211 lines
5.8 KiB
Go
211 lines
5.8 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/hanzo-fi/payments/pkg/client/models/components"
|
|
)
|
|
|
|
type V3InstallConnectorRequest struct {
|
|
// The connector to filter by
|
|
Connector string `pathParam:"style=simple,explode=false,name=connector"`
|
|
V3InstallConnectorRequest *components.V3InstallConnectorRequest `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetConnector() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Connector
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequest() *components.V3InstallConnectorRequest {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3InstallConnectorRequest
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestAdyen() *components.V3AdyenConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3AdyenConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestAtlar() *components.V3AtlarConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3AtlarConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestBankingbridge() *components.V3BankingbridgeConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3BankingbridgeConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestBankingcircle() *components.V3BankingcircleConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3BankingcircleConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestBitstamp() *components.V3BitstampConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3BitstampConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestCoinbaseprime() *components.V3CoinbaseprimeConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3CoinbaseprimeConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestColumn() *components.V3ColumnConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3ColumnConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestCurrencycloud() *components.V3CurrencycloudConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3CurrencycloudConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestDummypay() *components.V3DummypayConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3DummypayConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestFireblocks() *components.V3FireblocksConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3FireblocksConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestGeneric() *components.V3GenericConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3GenericConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestIncrease() *components.V3IncreaseConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3IncreaseConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestMangopay() *components.V3MangopayConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3MangopayConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestModulr() *components.V3ModulrConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3ModulrConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestMoneycorp() *components.V3MoneycorpConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3MoneycorpConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestPlaid() *components.V3PlaidConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3PlaidConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestPowens() *components.V3PowensConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3PowensConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestQonto() *components.V3QontoConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3QontoConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestRoutable() *components.V3RoutableConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3RoutableConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestStripe() *components.V3StripeConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3StripeConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestTink() *components.V3TinkConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3TinkConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3InstallConnectorRequest) GetV3InstallConnectorRequestWise() *components.V3WiseConfig {
|
|
if v := o.GetV3InstallConnectorRequest(); v != nil {
|
|
return v.V3WiseConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type V3InstallConnectorResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Accepted
|
|
V3InstallConnectorResponse *components.V3InstallConnectorResponse
|
|
// Error
|
|
V3ErrorResponse *components.V3ErrorResponse
|
|
}
|
|
|
|
func (o *V3InstallConnectorResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *V3InstallConnectorResponse) GetV3InstallConnectorResponse() *components.V3InstallConnectorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3InstallConnectorResponse
|
|
}
|
|
|
|
func (o *V3InstallConnectorResponse) GetV3ErrorResponse() *components.V3ErrorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3ErrorResponse
|
|
}
|