/* Options: Date: 2026-11-07 02:49:40 Version: 10.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bettor.webhop.biz //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RegisterOrganizationIntegrations.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" ) type OrganizationNature int const ( OrganizationNatureFirstParty OrganizationNature = 1 OrganizationNaturePartner OrganizationNature = 2 ) type IntegrationConnection struct { Url *string `json:"url,omitempty"` CredentialsRef *string `json:"credentialsRef,omitempty"` } type IntegrationInstance struct { Id *string `json:"id,omitempty"` IntegrationId *string `json:"integrationId,omitempty"` Wallet *IntegrationConnection `json:"wallet,omitempty"` PartnerApi *IntegrationConnection `json:"partnerApi,omitempty"` SlipForwardingEnabled bool `json:"slipForwardingEnabled,omitempty"` } type OrganizationIntegrations struct { FirstParty *IntegrationInstance `json:"firstParty,omitempty"` Partner *IntegrationInstance `json:"partner,omitempty"` } type WalletPayoutMode int const ( WalletPayoutModeRealTime WalletPayoutMode = 0 WalletPayoutModeBatchPayout WalletPayoutMode = 1 ) type PayoutPolicy struct { SelfService WalletPayoutMode `json:"selfService,omitempty"` Personal WalletPayoutMode `json:"personal,omitempty"` } // @Route("/cmd/organizations/register/integrations", "POST") type RegisterOrganizationIntegrations struct { Id *string `json:"id,omitempty"` Nature OrganizationNature `json:"nature,omitempty"` Integrations *OrganizationIntegrations `json:"integrations,omitempty"` PayoutPolicy *PayoutPolicy `json:"payoutPolicy,omitempty"` } func (RegisterOrganizationIntegrations) CreateResponse() (r ss.ResponseStatus) { return } func (RegisterOrganizationIntegrations) HttpMethod() string { return "POST" }