models

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// AuthenticatorAttestationResponseAuthenticatorAttachmentCrossDashPlatform captures enum value "cross-platform"
	AuthenticatorAttestationResponseAuthenticatorAttachmentCrossDashPlatform string = "cross-platform"

	// AuthenticatorAttestationResponseAuthenticatorAttachmentPlatform captures enum value "platform"
	AuthenticatorAttestationResponseAuthenticatorAttachmentPlatform string = "platform"
)
View Source
const (

	// EthSendRawTransactionIntentChainIDEip1551 captures enum value "eip155:1"
	EthSendRawTransactionIntentChainIDEip1551 string = "eip155:1"

	// EthSendRawTransactionIntentChainIDEip15511155111 captures enum value "eip155:11155111"
	EthSendRawTransactionIntentChainIDEip15511155111 string = "eip155:11155111"

	// EthSendRawTransactionIntentChainIDEip1558453 captures enum value "eip155:8453"
	EthSendRawTransactionIntentChainIDEip1558453 string = "eip155:8453"

	// EthSendRawTransactionIntentChainIDEip15584532 captures enum value "eip155:84532"
	EthSendRawTransactionIntentChainIDEip15584532 string = "eip155:84532"
)
View Source
const (

	// PublicKeyCredentialWithAttestationAuthenticatorAttachmentCrossDashPlatform captures enum value "cross-platform"
	PublicKeyCredentialWithAttestationAuthenticatorAttachmentCrossDashPlatform string = "cross-platform"

	// PublicKeyCredentialWithAttestationAuthenticatorAttachmentPlatform captures enum value "platform"
	PublicKeyCredentialWithAttestationAuthenticatorAttachmentPlatform string = "platform"
)
View Source
const (

	// VoteSelectionVOTESELECTIONAPPROVED captures enum value "VOTE_SELECTION_APPROVED"
	VoteSelectionVOTESELECTIONAPPROVED string = "VOTE_SELECTION_APPROVED"

	// VoteSelectionVOTESELECTIONREJECTED captures enum value "VOTE_SELECTION_REJECTED"
	VoteSelectionVOTESELECTIONREJECTED string = "VOTE_SELECTION_REJECTED"
)
View Source
const (

	// ApproveActivityRequestTypeACTIVITYTYPEAPPROVEACTIVITY captures enum value "ACTIVITY_TYPE_APPROVE_ACTIVITY"
	ApproveActivityRequestTypeACTIVITYTYPEAPPROVEACTIVITY string = "ACTIVITY_TYPE_APPROVE_ACTIVITY"
)
View Source
const (

	// CreateAPIKeysRequestTypeACTIVITYTYPECREATEAPIKEYSV2 captures enum value "ACTIVITY_TYPE_CREATE_API_KEYS_V2"
	CreateAPIKeysRequestTypeACTIVITYTYPECREATEAPIKEYSV2 string = "ACTIVITY_TYPE_CREATE_API_KEYS_V2"
)
View Source
const (

	// CreateAuthenticatorsRequestTypeACTIVITYTYPECREATEAUTHENTICATORSV2 captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
	CreateAuthenticatorsRequestTypeACTIVITYTYPECREATEAUTHENTICATORSV2 string = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
)
View Source
const (

	// CreateInvitationsRequestTypeACTIVITYTYPECREATEINVITATIONS captures enum value "ACTIVITY_TYPE_CREATE_INVITATIONS"
	CreateInvitationsRequestTypeACTIVITYTYPECREATEINVITATIONS string = "ACTIVITY_TYPE_CREATE_INVITATIONS"
)
View Source
const (

	// CreateOauth2CredentialRequestTypeACTIVITYTYPECREATEOAUTH2CREDENTIAL captures enum value "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL"
	CreateOauth2CredentialRequestTypeACTIVITYTYPECREATEOAUTH2CREDENTIAL string = "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL"
)
View Source
const (

	// CreateOauthProvidersRequestTypeACTIVITYTYPECREATEOAUTHPROVIDERS captures enum value "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS"
	CreateOauthProvidersRequestTypeACTIVITYTYPECREATEOAUTHPROVIDERS string = "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS"
)
View Source
const (

	// CreatePoliciesRequestTypeACTIVITYTYPECREATEPOLICIES captures enum value "ACTIVITY_TYPE_CREATE_POLICIES"
	CreatePoliciesRequestTypeACTIVITYTYPECREATEPOLICIES string = "ACTIVITY_TYPE_CREATE_POLICIES"
)
View Source
const (

	// CreatePolicyRequestTypeACTIVITYTYPECREATEPOLICYV3 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V3"
	CreatePolicyRequestTypeACTIVITYTYPECREATEPOLICYV3 string = "ACTIVITY_TYPE_CREATE_POLICY_V3"
)
View Source
const (

	// CreatePrivateKeyTagRequestTypeACTIVITYTYPECREATEPRIVATEKEYTAG captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
	CreatePrivateKeyTagRequestTypeACTIVITYTYPECREATEPRIVATEKEYTAG string = "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
)
View Source
const (

	// CreatePrivateKeysRequestTypeACTIVITYTYPECREATEPRIVATEKEYSV2 captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
	CreatePrivateKeysRequestTypeACTIVITYTYPECREATEPRIVATEKEYSV2 string = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
)
View Source
const (

	// CreateReadOnlySessionRequestTypeACTIVITYTYPECREATEREADONLYSESSION captures enum value "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION"
	CreateReadOnlySessionRequestTypeACTIVITYTYPECREATEREADONLYSESSION string = "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION"
)
View Source
const (

	// CreateReadWriteSessionRequestTypeACTIVITYTYPECREATEREADWRITESESSIONV2 captures enum value "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2"
	CreateReadWriteSessionRequestTypeACTIVITYTYPECREATEREADWRITESESSIONV2 string = "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2"
)
View Source
const (

	// CreateSmartContractInterfaceRequestTypeACTIVITYTYPECREATESMARTCONTRACTINTERFACE captures enum value "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE"
	CreateSmartContractInterfaceRequestTypeACTIVITYTYPECREATESMARTCONTRACTINTERFACE string = "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE"
)
View Source
const (

	// CreateSubOrganizationRequestTypeACTIVITYTYPECREATESUBORGANIZATIONV7 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7"
	CreateSubOrganizationRequestTypeACTIVITYTYPECREATESUBORGANIZATIONV7 string = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7"
)
View Source
const (

	// CreateUserTagRequestTypeACTIVITYTYPECREATEUSERTAG captures enum value "ACTIVITY_TYPE_CREATE_USER_TAG"
	CreateUserTagRequestTypeACTIVITYTYPECREATEUSERTAG string = "ACTIVITY_TYPE_CREATE_USER_TAG"
)
View Source
const (

	// CreateUsersRequestTypeACTIVITYTYPECREATEUSERSV3 captures enum value "ACTIVITY_TYPE_CREATE_USERS_V3"
	CreateUsersRequestTypeACTIVITYTYPECREATEUSERSV3 string = "ACTIVITY_TYPE_CREATE_USERS_V3"
)
View Source
const (

	// CreateWalletAccountsRequestTypeACTIVITYTYPECREATEWALLETACCOUNTS captures enum value "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
	CreateWalletAccountsRequestTypeACTIVITYTYPECREATEWALLETACCOUNTS string = "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
)
View Source
const (

	// CreateWalletRequestTypeACTIVITYTYPECREATEWALLET captures enum value "ACTIVITY_TYPE_CREATE_WALLET"
	CreateWalletRequestTypeACTIVITYTYPECREATEWALLET string = "ACTIVITY_TYPE_CREATE_WALLET"
)
View Source
const (

	// DeleteAPIKeysRequestTypeACTIVITYTYPEDELETEAPIKEYS captures enum value "ACTIVITY_TYPE_DELETE_API_KEYS"
	DeleteAPIKeysRequestTypeACTIVITYTYPEDELETEAPIKEYS string = "ACTIVITY_TYPE_DELETE_API_KEYS"
)
View Source
const (

	// DeleteAuthenticatorsRequestTypeACTIVITYTYPEDELETEAUTHENTICATORS captures enum value "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
	DeleteAuthenticatorsRequestTypeACTIVITYTYPEDELETEAUTHENTICATORS string = "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
)
View Source
const (

	// DeleteInvitationRequestTypeACTIVITYTYPEDELETEINVITATION captures enum value "ACTIVITY_TYPE_DELETE_INVITATION"
	DeleteInvitationRequestTypeACTIVITYTYPEDELETEINVITATION string = "ACTIVITY_TYPE_DELETE_INVITATION"
)
View Source
const (

	// DeleteOauth2CredentialRequestTypeACTIVITYTYPEDELETEOAUTH2CREDENTIAL captures enum value "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL"
	DeleteOauth2CredentialRequestTypeACTIVITYTYPEDELETEOAUTH2CREDENTIAL string = "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL"
)
View Source
const (

	// DeleteOauthProvidersRequestTypeACTIVITYTYPEDELETEOAUTHPROVIDERS captures enum value "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS"
	DeleteOauthProvidersRequestTypeACTIVITYTYPEDELETEOAUTHPROVIDERS string = "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS"
)
View Source
const (

	// DeletePoliciesRequestTypeACTIVITYTYPEDELETEPOLICIES captures enum value "ACTIVITY_TYPE_DELETE_POLICIES"
	DeletePoliciesRequestTypeACTIVITYTYPEDELETEPOLICIES string = "ACTIVITY_TYPE_DELETE_POLICIES"
)
View Source
const (

	// DeletePolicyRequestTypeACTIVITYTYPEDELETEPOLICY captures enum value "ACTIVITY_TYPE_DELETE_POLICY"
	DeletePolicyRequestTypeACTIVITYTYPEDELETEPOLICY string = "ACTIVITY_TYPE_DELETE_POLICY"
)
View Source
const (

	// DeletePrivateKeyTagsRequestTypeACTIVITYTYPEDELETEPRIVATEKEYTAGS captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
	DeletePrivateKeyTagsRequestTypeACTIVITYTYPEDELETEPRIVATEKEYTAGS string = "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
)
View Source
const (

	// DeletePrivateKeysRequestTypeACTIVITYTYPEDELETEPRIVATEKEYS captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS"
	DeletePrivateKeysRequestTypeACTIVITYTYPEDELETEPRIVATEKEYS string = "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS"
)
View Source
const (

	// DeleteSmartContractInterfaceRequestTypeACTIVITYTYPEDELETESMARTCONTRACTINTERFACE captures enum value "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE"
	DeleteSmartContractInterfaceRequestTypeACTIVITYTYPEDELETESMARTCONTRACTINTERFACE string = "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE"
)
View Source
const (

	// DeleteSubOrganizationRequestTypeACTIVITYTYPEDELETESUBORGANIZATION captures enum value "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION"
	DeleteSubOrganizationRequestTypeACTIVITYTYPEDELETESUBORGANIZATION string = "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION"
)
View Source
const (

	// DeleteUserTagsRequestTypeACTIVITYTYPEDELETEUSERTAGS captures enum value "ACTIVITY_TYPE_DELETE_USER_TAGS"
	DeleteUserTagsRequestTypeACTIVITYTYPEDELETEUSERTAGS string = "ACTIVITY_TYPE_DELETE_USER_TAGS"
)
View Source
const (

	// DeleteUsersRequestTypeACTIVITYTYPEDELETEUSERS captures enum value "ACTIVITY_TYPE_DELETE_USERS"
	DeleteUsersRequestTypeACTIVITYTYPEDELETEUSERS string = "ACTIVITY_TYPE_DELETE_USERS"
)
View Source
const (

	// DeleteWalletAccountsRequestTypeACTIVITYTYPEDELETEWALLETACCOUNTS captures enum value "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS"
	DeleteWalletAccountsRequestTypeACTIVITYTYPEDELETEWALLETACCOUNTS string = "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS"
)
View Source
const (

	// DeleteWalletsRequestTypeACTIVITYTYPEDELETEWALLETS captures enum value "ACTIVITY_TYPE_DELETE_WALLETS"
	DeleteWalletsRequestTypeACTIVITYTYPEDELETEWALLETS string = "ACTIVITY_TYPE_DELETE_WALLETS"
)
View Source
const (

	// EmailAuthRequestTypeACTIVITYTYPEEMAILAUTHV2 captures enum value "ACTIVITY_TYPE_EMAIL_AUTH_V2"
	EmailAuthRequestTypeACTIVITYTYPEEMAILAUTHV2 string = "ACTIVITY_TYPE_EMAIL_AUTH_V2"
)
View Source
const (

	// EthSendRawTransactionRequestTypeACTIVITYTYPEETHSENDRAWTRANSACTION captures enum value "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION"
	EthSendRawTransactionRequestTypeACTIVITYTYPEETHSENDRAWTRANSACTION string = "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION"
)
View Source
const (

	// ExportPrivateKeyRequestTypeACTIVITYTYPEEXPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
	ExportPrivateKeyRequestTypeACTIVITYTYPEEXPORTPRIVATEKEY string = "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
)
View Source
const (

	// ExportWalletAccountRequestTypeACTIVITYTYPEEXPORTWALLETACCOUNT captures enum value "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
	ExportWalletAccountRequestTypeACTIVITYTYPEEXPORTWALLETACCOUNT string = "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
)
View Source
const (

	// ExportWalletRequestTypeACTIVITYTYPEEXPORTWALLET captures enum value "ACTIVITY_TYPE_EXPORT_WALLET"
	ExportWalletRequestTypeACTIVITYTYPEEXPORTWALLET string = "ACTIVITY_TYPE_EXPORT_WALLET"
)
View Source
const (

	// ImportPrivateKeyRequestTypeACTIVITYTYPEIMPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
	ImportPrivateKeyRequestTypeACTIVITYTYPEIMPORTPRIVATEKEY string = "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
)
View Source
const (

	// ImportWalletRequestTypeACTIVITYTYPEIMPORTWALLET captures enum value "ACTIVITY_TYPE_IMPORT_WALLET"
	ImportWalletRequestTypeACTIVITYTYPEIMPORTWALLET string = "ACTIVITY_TYPE_IMPORT_WALLET"
)
View Source
const (

	// InitFiatOnRampRequestTypeACTIVITYTYPEINITFIATONRAMP captures enum value "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP"
	InitFiatOnRampRequestTypeACTIVITYTYPEINITFIATONRAMP string = "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP"
)
View Source
const (

	// InitImportPrivateKeyRequestTypeACTIVITYTYPEINITIMPORTPRIVATEKEY captures enum value "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
	InitImportPrivateKeyRequestTypeACTIVITYTYPEINITIMPORTPRIVATEKEY string = "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
)
View Source
const (

	// InitImportWalletRequestTypeACTIVITYTYPEINITIMPORTWALLET captures enum value "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
	InitImportWalletRequestTypeACTIVITYTYPEINITIMPORTWALLET string = "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
)
View Source
const (

	// InitOtpAuthRequestTypeACTIVITYTYPEINITOTPAUTHV2 captures enum value "ACTIVITY_TYPE_INIT_OTP_AUTH_V2"
	InitOtpAuthRequestTypeACTIVITYTYPEINITOTPAUTHV2 string = "ACTIVITY_TYPE_INIT_OTP_AUTH_V2"
)
View Source
const (

	// InitOtpRequestTypeACTIVITYTYPEINITOTP captures enum value "ACTIVITY_TYPE_INIT_OTP"
	InitOtpRequestTypeACTIVITYTYPEINITOTP string = "ACTIVITY_TYPE_INIT_OTP"
)
View Source
const (

	// InitUserEmailRecoveryRequestTypeACTIVITYTYPEINITUSEREMAILRECOVERY captures enum value "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
	InitUserEmailRecoveryRequestTypeACTIVITYTYPEINITUSEREMAILRECOVERY string = "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
)
View Source
const (

	// Oauth2AuthenticateRequestTypeACTIVITYTYPEOAUTH2AUTHENTICATE captures enum value "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"
	Oauth2AuthenticateRequestTypeACTIVITYTYPEOAUTH2AUTHENTICATE string = "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"
)
View Source
const (

	// OauthLoginRequestTypeACTIVITYTYPEOAUTHLOGIN captures enum value "ACTIVITY_TYPE_OAUTH_LOGIN"
	OauthLoginRequestTypeACTIVITYTYPEOAUTHLOGIN string = "ACTIVITY_TYPE_OAUTH_LOGIN"
)
View Source
const (

	// OauthRequestTypeACTIVITYTYPEOAUTH captures enum value "ACTIVITY_TYPE_OAUTH"
	OauthRequestTypeACTIVITYTYPEOAUTH string = "ACTIVITY_TYPE_OAUTH"
)
View Source
const (

	// OtpAuthRequestTypeACTIVITYTYPEOTPAUTH captures enum value "ACTIVITY_TYPE_OTP_AUTH"
	OtpAuthRequestTypeACTIVITYTYPEOTPAUTH string = "ACTIVITY_TYPE_OTP_AUTH"
)
View Source
const (

	// OtpLoginRequestTypeACTIVITYTYPEOTPLOGIN captures enum value "ACTIVITY_TYPE_OTP_LOGIN"
	OtpLoginRequestTypeACTIVITYTYPEOTPLOGIN string = "ACTIVITY_TYPE_OTP_LOGIN"
)
View Source
const (

	// PublicKeyCredentialWithAttestationTypePublicDashKey captures enum value "public-key"
	PublicKeyCredentialWithAttestationTypePublicDashKey string = "public-key"
)
View Source
const (

	// RecoverUserRequestTypeACTIVITYTYPERECOVERUSER captures enum value "ACTIVITY_TYPE_RECOVER_USER"
	RecoverUserRequestTypeACTIVITYTYPERECOVERUSER string = "ACTIVITY_TYPE_RECOVER_USER"
)
View Source
const (

	// RejectActivityRequestTypeACTIVITYTYPEREJECTACTIVITY captures enum value "ACTIVITY_TYPE_REJECT_ACTIVITY"
	RejectActivityRequestTypeACTIVITYTYPEREJECTACTIVITY string = "ACTIVITY_TYPE_REJECT_ACTIVITY"
)
View Source
const (

	// RemoveOrganizationFeatureRequestTypeACTIVITYTYPEREMOVEORGANIZATIONFEATURE captures enum value "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
	RemoveOrganizationFeatureRequestTypeACTIVITYTYPEREMOVEORGANIZATIONFEATURE string = "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
)
View Source
const (

	// SetOrganizationFeatureRequestTypeACTIVITYTYPESETORGANIZATIONFEATURE captures enum value "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
	SetOrganizationFeatureRequestTypeACTIVITYTYPESETORGANIZATIONFEATURE string = "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
)
View Source
const (

	// SignRawPayloadRequestTypeACTIVITYTYPESIGNRAWPAYLOADV2 captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
	SignRawPayloadRequestTypeACTIVITYTYPESIGNRAWPAYLOADV2 string = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
)
View Source
const (

	// SignRawPayloadsRequestTypeACTIVITYTYPESIGNRAWPAYLOADS captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
	SignRawPayloadsRequestTypeACTIVITYTYPESIGNRAWPAYLOADS string = "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
)
View Source
const (

	// SignTransactionRequestTypeACTIVITYTYPESIGNTRANSACTIONV2 captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
	SignTransactionRequestTypeACTIVITYTYPESIGNTRANSACTIONV2 string = "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
)
View Source
const (

	// StampLoginRequestTypeACTIVITYTYPESTAMPLOGIN captures enum value "ACTIVITY_TYPE_STAMP_LOGIN"
	StampLoginRequestTypeACTIVITYTYPESTAMPLOGIN string = "ACTIVITY_TYPE_STAMP_LOGIN"
)
View Source
const (

	// UpdateOauth2CredentialRequestTypeACTIVITYTYPEUPDATEOAUTH2CREDENTIAL captures enum value "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL"
	UpdateOauth2CredentialRequestTypeACTIVITYTYPEUPDATEOAUTH2CREDENTIAL string = "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL"
)
View Source
const (

	// UpdatePolicyRequestTypeACTIVITYTYPEUPDATEPOLICYV2 captures enum value "ACTIVITY_TYPE_UPDATE_POLICY_V2"
	UpdatePolicyRequestTypeACTIVITYTYPEUPDATEPOLICYV2 string = "ACTIVITY_TYPE_UPDATE_POLICY_V2"
)
View Source
const (

	// UpdatePrivateKeyTagRequestTypeACTIVITYTYPEUPDATEPRIVATEKEYTAG captures enum value "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
	UpdatePrivateKeyTagRequestTypeACTIVITYTYPEUPDATEPRIVATEKEYTAG string = "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
)
View Source
const (

	// UpdateRootQuorumRequestTypeACTIVITYTYPEUPDATEROOTQUORUM captures enum value "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
	UpdateRootQuorumRequestTypeACTIVITYTYPEUPDATEROOTQUORUM string = "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
)
View Source
const (

	// UpdateUserEmailRequestTypeACTIVITYTYPEUPDATEUSEREMAIL captures enum value "ACTIVITY_TYPE_UPDATE_USER_EMAIL"
	UpdateUserEmailRequestTypeACTIVITYTYPEUPDATEUSEREMAIL string = "ACTIVITY_TYPE_UPDATE_USER_EMAIL"
)
View Source
const (

	// UpdateUserNameRequestTypeACTIVITYTYPEUPDATEUSERNAME captures enum value "ACTIVITY_TYPE_UPDATE_USER_NAME"
	UpdateUserNameRequestTypeACTIVITYTYPEUPDATEUSERNAME string = "ACTIVITY_TYPE_UPDATE_USER_NAME"
)
View Source
const (

	// UpdateUserPhoneNumberRequestTypeACTIVITYTYPEUPDATEUSERPHONENUMBER captures enum value "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER"
	UpdateUserPhoneNumberRequestTypeACTIVITYTYPEUPDATEUSERPHONENUMBER string = "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER"
)
View Source
const (

	// UpdateUserRequestTypeACTIVITYTYPEUPDATEUSER captures enum value "ACTIVITY_TYPE_UPDATE_USER"
	UpdateUserRequestTypeACTIVITYTYPEUPDATEUSER string = "ACTIVITY_TYPE_UPDATE_USER"
)
View Source
const (

	// UpdateUserTagRequestTypeACTIVITYTYPEUPDATEUSERTAG captures enum value "ACTIVITY_TYPE_UPDATE_USER_TAG"
	UpdateUserTagRequestTypeACTIVITYTYPEUPDATEUSERTAG string = "ACTIVITY_TYPE_UPDATE_USER_TAG"
)
View Source
const (

	// UpdateWalletRequestTypeACTIVITYTYPEUPDATEWALLET captures enum value "ACTIVITY_TYPE_UPDATE_WALLET"
	UpdateWalletRequestTypeACTIVITYTYPEUPDATEWALLET string = "ACTIVITY_TYPE_UPDATE_WALLET"
)
View Source
const (

	// VerifyOtpRequestTypeACTIVITYTYPEVERIFYOTP captures enum value "ACTIVITY_TYPE_VERIFY_OTP"
	VerifyOtpRequestTypeACTIVITYTYPEVERIFYOTP string = "ACTIVITY_TYPE_VERIFY_OTP"
)

Variables ¶

View Source
var APIKeyCurveEnum []APIKeyCurve

for schema

View Source
var AccessTypeEnum []AccessType

for schema

View Source
var ActivityStatusEnum []ActivityStatus

for schema

View Source
var ActivityTypeEnum []ActivityType

for schema

View Source
var AddressFormatEnum []AddressFormat

for schema

View Source
var AuthenticatorTransportEnum []AuthenticatorTransport

for schema

View Source
var CredentialTypeEnum []CredentialType

for schema

View Source
var CurveEnum []Curve

for schema

View Source
var EffectEnum []Effect

for schema

View Source
var FeatureNameEnum []FeatureName

for schema

View Source
var FiatOnRampBlockchainNetworkEnum []FiatOnRampBlockchainNetwork

for schema

View Source
var FiatOnRampCryptoCurrencyEnum []FiatOnRampCryptoCurrency

for schema

View Source
var FiatOnRampCurrencyEnum []FiatOnRampCurrency

for schema

View Source
var FiatOnRampPaymentMethodEnum []FiatOnRampPaymentMethod

for schema

View Source
var FiatOnRampProviderEnum []FiatOnRampProvider

for schema

View Source
var HashFunctionEnum []HashFunction

for schema

View Source
var MnemonicLanguageEnum []MnemonicLanguage

for schema

View Source
var Oauth2ProviderEnum []Oauth2Provider

for schema

View Source
var OperatorEnum []Operator

for schema

View Source
var OutcomeEnum []Outcome

for schema

View Source
var PathFormatEnum []PathFormat

for schema

View Source
var PayloadEncodingEnum []PayloadEncoding

for schema

View Source
var SignatureSchemeEnum []SignatureScheme

for schema

View Source
var SmartContractInterfaceTypeEnum []SmartContractInterfaceType

for schema

View Source
var TagTypeEnum []TagType

for schema

View Source
var TransactionTypeEnum []TransactionType

for schema

Functions ¶

This section is empty.

Types ¶

type APIKey ¶

type APIKey struct {

	// Unique identifier for a given API Key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Human-readable name for an API Key.
	// Required: true
	APIKeyName *string `json:"apiKeyName"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// A User credential that can be used to authenticate to Turnkey.
	// Required: true
	Credential *ExternalDataV1Credential `json:"credential"`

	// Optional window (in seconds) indicating how long the API Key should last.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

APIKey Api key

swagger:model ApiKey

func (*APIKey) ContextValidate ¶

func (m *APIKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api key based on the context it is used

func (*APIKey) MarshalBinary ¶

func (m *APIKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKey) UnmarshalBinary ¶

func (m *APIKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKey) Validate ¶

func (m *APIKey) Validate(formats strfmt.Registry) error

Validate validates this Api key

type APIKeyCurve ¶

type APIKeyCurve string

APIKeyCurve Api key curve

swagger:model ApiKeyCurve

const (

	// APIKeyCurveP256 captures enum value "API_KEY_CURVE_P256"
	APIKeyCurveP256 APIKeyCurve = "API_KEY_CURVE_P256"

	// APIKeyCurveSecp256k1 captures enum value "API_KEY_CURVE_SECP256K1"
	APIKeyCurveSecp256k1 APIKeyCurve = "API_KEY_CURVE_SECP256K1"

	// APIKeyCurveEd25519 captures enum value "API_KEY_CURVE_ED25519"
	APIKeyCurveEd25519 APIKeyCurve = "API_KEY_CURVE_ED25519"
)

func NewAPIKeyCurve ¶

func NewAPIKeyCurve(value APIKeyCurve) *APIKeyCurve

func (APIKeyCurve) ContextValidate ¶

func (m APIKeyCurve) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key curve based on context it is used

func (APIKeyCurve) Pointer ¶

func (m APIKeyCurve) Pointer() *APIKeyCurve

Pointer returns a pointer to a freshly-allocated APIKeyCurve.

func (APIKeyCurve) Validate ¶

func (m APIKeyCurve) Validate(formats strfmt.Registry) error

Validate validates this Api key curve

type APIKeyParams ¶

type APIKeyParams struct {

	// Human-readable name for an API Key.
	// Required: true
	APIKeyName *string `json:"apiKeyName"`

	// Optional window (in seconds) indicating how long the API Key should last.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`
}

APIKeyParams Api key params

swagger:model ApiKeyParams

func (*APIKeyParams) ContextValidate ¶

func (m *APIKeyParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Api key params based on context it is used

func (*APIKeyParams) MarshalBinary ¶

func (m *APIKeyParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKeyParams) UnmarshalBinary ¶

func (m *APIKeyParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKeyParams) Validate ¶

func (m *APIKeyParams) Validate(formats strfmt.Registry) error

Validate validates this Api key params

type APIKeyParamsV2 ¶

type APIKeyParamsV2 struct {

	// Human-readable name for an API Key.
	// Required: true
	APIKeyName *string `json:"apiKeyName"`

	// The curve type to be used for processing API key signatures.
	// Required: true
	CurveType *APIKeyCurve `json:"curveType"`

	// Optional window (in seconds) indicating how long the API Key should last.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`
}

APIKeyParamsV2 Api key params v2

swagger:model ApiKeyParamsV2

func (*APIKeyParamsV2) ContextValidate ¶

func (m *APIKeyParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api key params v2 based on the context it is used

func (*APIKeyParamsV2) MarshalBinary ¶

func (m *APIKeyParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIKeyParamsV2) UnmarshalBinary ¶

func (m *APIKeyParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIKeyParamsV2) Validate ¶

func (m *APIKeyParamsV2) Validate(formats strfmt.Registry) error

Validate validates this Api key params v2

type APIOnlyUserParams ¶

type APIOnlyUserParams struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// The email address for this API-only User (optional).
	UserEmail *string `json:"userEmail,omitempty"`

	// The name of the new API-only User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of tags assigned to the new API-only User. This field, if not needed, should be an empty array in your request body.
	// Required: true
	UserTags []string `json:"userTags"`
}

APIOnlyUserParams Api only user params

swagger:model ApiOnlyUserParams

func (*APIOnlyUserParams) ContextValidate ¶

func (m *APIOnlyUserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Api only user params based on the context it is used

func (*APIOnlyUserParams) MarshalBinary ¶

func (m *APIOnlyUserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*APIOnlyUserParams) UnmarshalBinary ¶

func (m *APIOnlyUserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*APIOnlyUserParams) Validate ¶

func (m *APIOnlyUserParams) Validate(formats strfmt.Registry) error

Validate validates this Api only user params

type AcceptInvitationIntent ¶

type AcceptInvitationIntent struct {

	// WebAuthN hardware devices that can be used to log in to the Turnkey web app.
	// Required: true
	Authenticator *AuthenticatorParams `json:"authenticator"`

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationIntent accept invitation intent

swagger:model AcceptInvitationIntent

func (*AcceptInvitationIntent) ContextValidate ¶

func (m *AcceptInvitationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this accept invitation intent based on the context it is used

func (*AcceptInvitationIntent) MarshalBinary ¶

func (m *AcceptInvitationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationIntent) UnmarshalBinary ¶

func (m *AcceptInvitationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationIntent) Validate ¶

func (m *AcceptInvitationIntent) Validate(formats strfmt.Registry) error

Validate validates this accept invitation intent

type AcceptInvitationIntentV2 ¶

type AcceptInvitationIntentV2 struct {

	// WebAuthN hardware devices that can be used to log in to the Turnkey web app.
	// Required: true
	Authenticator *AuthenticatorParamsV2 `json:"authenticator"`

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationIntentV2 accept invitation intent v2

swagger:model AcceptInvitationIntentV2

func (*AcceptInvitationIntentV2) ContextValidate ¶

func (m *AcceptInvitationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this accept invitation intent v2 based on the context it is used

func (*AcceptInvitationIntentV2) MarshalBinary ¶

func (m *AcceptInvitationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationIntentV2) UnmarshalBinary ¶

func (m *AcceptInvitationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationIntentV2) Validate ¶

func (m *AcceptInvitationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this accept invitation intent v2

type AcceptInvitationResult ¶

type AcceptInvitationResult struct {

	// Unique identifier for a given Invitation.
	// Required: true
	InvitationID *string `json:"invitationId"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AcceptInvitationResult accept invitation result

swagger:model AcceptInvitationResult

func (*AcceptInvitationResult) ContextValidate ¶

func (m *AcceptInvitationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this accept invitation result based on context it is used

func (*AcceptInvitationResult) MarshalBinary ¶

func (m *AcceptInvitationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AcceptInvitationResult) UnmarshalBinary ¶

func (m *AcceptInvitationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AcceptInvitationResult) Validate ¶

func (m *AcceptInvitationResult) Validate(formats strfmt.Registry) error

Validate validates this accept invitation result

type AccessType ¶

type AccessType string

AccessType access type

swagger:model AccessType

const (

	// AccessTypeWeb captures enum value "ACCESS_TYPE_WEB"
	AccessTypeWeb AccessType = "ACCESS_TYPE_WEB"

	// AccessTypeAPI captures enum value "ACCESS_TYPE_API"
	AccessTypeAPI AccessType = "ACCESS_TYPE_API"

	// AccessTypeAll captures enum value "ACCESS_TYPE_ALL"
	AccessTypeAll AccessType = "ACCESS_TYPE_ALL"
)

func NewAccessType ¶

func NewAccessType(value AccessType) *AccessType

func (AccessType) ContextValidate ¶

func (m AccessType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this access type based on context it is used

func (AccessType) Pointer ¶

func (m AccessType) Pointer() *AccessType

Pointer returns a pointer to a freshly-allocated AccessType.

func (AccessType) Validate ¶

func (m AccessType) Validate(formats strfmt.Registry) error

Validate validates this access type

type ActivateBillingTierIntent ¶

type ActivateBillingTierIntent struct {

	// The product that the customer wants to subscribe to.
	// Required: true
	ProductID *string `json:"productId"`
}

ActivateBillingTierIntent activate billing tier intent

swagger:model ActivateBillingTierIntent

func (*ActivateBillingTierIntent) ContextValidate ¶

func (m *ActivateBillingTierIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activate billing tier intent based on context it is used

func (*ActivateBillingTierIntent) MarshalBinary ¶

func (m *ActivateBillingTierIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivateBillingTierIntent) UnmarshalBinary ¶

func (m *ActivateBillingTierIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivateBillingTierIntent) Validate ¶

func (m *ActivateBillingTierIntent) Validate(formats strfmt.Registry) error

Validate validates this activate billing tier intent

type ActivateBillingTierResult ¶

type ActivateBillingTierResult struct {

	// The id of the product being subscribed to.
	// Required: true
	ProductID *string `json:"productId"`
}

ActivateBillingTierResult activate billing tier result

swagger:model ActivateBillingTierResult

func (*ActivateBillingTierResult) ContextValidate ¶

func (m *ActivateBillingTierResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activate billing tier result based on context it is used

func (*ActivateBillingTierResult) MarshalBinary ¶

func (m *ActivateBillingTierResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivateBillingTierResult) UnmarshalBinary ¶

func (m *ActivateBillingTierResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivateBillingTierResult) Validate ¶

func (m *ActivateBillingTierResult) Validate(formats strfmt.Registry) error

Validate validates this activate billing tier result

type Activity ¶

type Activity struct {

	// A list of app proofs generated by enclaves during activity execution, providing verifiable attestations of performed operations.
	AppProofs []*AppProof `json:"appProofs"`

	// can approve
	// Required: true
	CanApprove *bool `json:"canApprove"`

	// can reject
	// Required: true
	CanReject *bool `json:"canReject"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Failure reason of the intended action.
	Failure *Status `json:"failure,omitempty"`

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`

	// Unique identifier for a given Activity object.
	// Required: true
	ID *string `json:"id"`

	// Intent object crafted by Turnkey based on the user request, used to assess the permissibility of an action.
	// Required: true
	Intent *Intent `json:"intent"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Result of the intended action.
	// Required: true
	Result *Result `json:"result"`

	// The current processing status of a specified Activity.
	// Required: true
	Status *ActivityStatus `json:"status"`

	// Type of Activity, such as Add User, or Sign Transaction.
	// Required: true
	Type *ActivityType `json:"type"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// A list of objects representing a particular User's approval or rejection of a Consensus request, including all relevant metadata.
	// Required: true
	Votes []*Vote `json:"votes"`
}

Activity activity

swagger:model Activity

func (*Activity) ContextValidate ¶

func (m *Activity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity based on the context it is used

func (*Activity) MarshalBinary ¶

func (m *Activity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Activity) UnmarshalBinary ¶

func (m *Activity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Activity) Validate ¶

func (m *Activity) Validate(formats strfmt.Registry) error

Validate validates this activity

type ActivityResponse ¶

type ActivityResponse struct {

	// An action that can be taken within the Turnkey infrastructure.
	// Required: true
	Activity *Activity `json:"activity"`
}

ActivityResponse activity response

swagger:model ActivityResponse

func (*ActivityResponse) ContextValidate ¶

func (m *ActivityResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity response based on the context it is used

func (*ActivityResponse) MarshalBinary ¶

func (m *ActivityResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityResponse) UnmarshalBinary ¶

func (m *ActivityResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityResponse) Validate ¶

func (m *ActivityResponse) Validate(formats strfmt.Registry) error

Validate validates this activity response

type ActivityStatus ¶

type ActivityStatus string

ActivityStatus activity status

swagger:model ActivityStatus

const (

	// ActivityStatusCreated captures enum value "ACTIVITY_STATUS_CREATED"
	ActivityStatusCreated ActivityStatus = "ACTIVITY_STATUS_CREATED"

	// ActivityStatusPending captures enum value "ACTIVITY_STATUS_PENDING"
	ActivityStatusPending ActivityStatus = "ACTIVITY_STATUS_PENDING"

	// ActivityStatusCompleted captures enum value "ACTIVITY_STATUS_COMPLETED"
	ActivityStatusCompleted ActivityStatus = "ACTIVITY_STATUS_COMPLETED"

	// ActivityStatusFailed captures enum value "ACTIVITY_STATUS_FAILED"
	ActivityStatusFailed ActivityStatus = "ACTIVITY_STATUS_FAILED"

	// ActivityStatusConsensusNeeded captures enum value "ACTIVITY_STATUS_CONSENSUS_NEEDED"
	ActivityStatusConsensusNeeded ActivityStatus = "ACTIVITY_STATUS_CONSENSUS_NEEDED"

	// ActivityStatusRejected captures enum value "ACTIVITY_STATUS_REJECTED"
	ActivityStatusRejected ActivityStatus = "ACTIVITY_STATUS_REJECTED"
)

func NewActivityStatus ¶

func NewActivityStatus(value ActivityStatus) *ActivityStatus

func (ActivityStatus) ContextValidate ¶

func (m ActivityStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activity status based on context it is used

func (ActivityStatus) Pointer ¶

func (m ActivityStatus) Pointer() *ActivityStatus

Pointer returns a pointer to a freshly-allocated ActivityStatus.

func (ActivityStatus) Validate ¶

func (m ActivityStatus) Validate(formats strfmt.Registry) error

Validate validates this activity status

type ActivityType ¶

type ActivityType string

ActivityType activity type

swagger:model ActivityType

const (

	// ActivityTypeCreateAPIKeys captures enum value "ACTIVITY_TYPE_CREATE_API_KEYS"
	ActivityTypeCreateAPIKeys ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS"

	// ActivityTypeCreateUsers captures enum value "ACTIVITY_TYPE_CREATE_USERS"
	ActivityTypeCreateUsers ActivityType = "ACTIVITY_TYPE_CREATE_USERS"

	// ActivityTypeCreatePrivateKeys captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS"
	ActivityTypeCreatePrivateKeys ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS"

	// ActivityTypeSignRawPayload captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD"
	ActivityTypeSignRawPayload ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD"

	// ActivityTypeCreateInvitations captures enum value "ACTIVITY_TYPE_CREATE_INVITATIONS"
	ActivityTypeCreateInvitations ActivityType = "ACTIVITY_TYPE_CREATE_INVITATIONS"

	// ActivityTypeAcceptInvitation captures enum value "ACTIVITY_TYPE_ACCEPT_INVITATION"
	ActivityTypeAcceptInvitation ActivityType = "ACTIVITY_TYPE_ACCEPT_INVITATION"

	// ActivityTypeCreatePolicy captures enum value "ACTIVITY_TYPE_CREATE_POLICY"
	ActivityTypeCreatePolicy ActivityType = "ACTIVITY_TYPE_CREATE_POLICY"

	// ActivityTypeDisablePrivateKey captures enum value "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY"
	ActivityTypeDisablePrivateKey ActivityType = "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY"

	// ActivityTypeDeleteUsers captures enum value "ACTIVITY_TYPE_DELETE_USERS"
	ActivityTypeDeleteUsers ActivityType = "ACTIVITY_TYPE_DELETE_USERS"

	// ActivityTypeDeleteAPIKeys captures enum value "ACTIVITY_TYPE_DELETE_API_KEYS"
	ActivityTypeDeleteAPIKeys ActivityType = "ACTIVITY_TYPE_DELETE_API_KEYS"

	// ActivityTypeDeleteInvitation captures enum value "ACTIVITY_TYPE_DELETE_INVITATION"
	ActivityTypeDeleteInvitation ActivityType = "ACTIVITY_TYPE_DELETE_INVITATION"

	// ActivityTypeDeleteOrganization captures enum value "ACTIVITY_TYPE_DELETE_ORGANIZATION"
	ActivityTypeDeleteOrganization ActivityType = "ACTIVITY_TYPE_DELETE_ORGANIZATION"

	// ActivityTypeDeletePolicy captures enum value "ACTIVITY_TYPE_DELETE_POLICY"
	ActivityTypeDeletePolicy ActivityType = "ACTIVITY_TYPE_DELETE_POLICY"

	// ActivityTypeCreateUserTag captures enum value "ACTIVITY_TYPE_CREATE_USER_TAG"
	ActivityTypeCreateUserTag ActivityType = "ACTIVITY_TYPE_CREATE_USER_TAG"

	// ActivityTypeDeleteUserTags captures enum value "ACTIVITY_TYPE_DELETE_USER_TAGS"
	ActivityTypeDeleteUserTags ActivityType = "ACTIVITY_TYPE_DELETE_USER_TAGS"

	// ActivityTypeCreateOrganization captures enum value "ACTIVITY_TYPE_CREATE_ORGANIZATION"
	ActivityTypeCreateOrganization ActivityType = "ACTIVITY_TYPE_CREATE_ORGANIZATION"

	// ActivityTypeSignTransaction captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION"
	ActivityTypeSignTransaction ActivityType = "ACTIVITY_TYPE_SIGN_TRANSACTION"

	// ActivityTypeApproveActivity captures enum value "ACTIVITY_TYPE_APPROVE_ACTIVITY"
	ActivityTypeApproveActivity ActivityType = "ACTIVITY_TYPE_APPROVE_ACTIVITY"

	// ActivityTypeRejectActivity captures enum value "ACTIVITY_TYPE_REJECT_ACTIVITY"
	ActivityTypeRejectActivity ActivityType = "ACTIVITY_TYPE_REJECT_ACTIVITY"

	// ActivityTypeDeleteAuthenticators captures enum value "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"
	ActivityTypeDeleteAuthenticators ActivityType = "ACTIVITY_TYPE_DELETE_AUTHENTICATORS"

	// ActivityTypeCreateAuthenticators captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS"
	ActivityTypeCreateAuthenticators ActivityType = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS"

	// ActivityTypeCreatePrivateKeyTag captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"
	ActivityTypeCreatePrivateKeyTag ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG"

	// ActivityTypeDeletePrivateKeyTags captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"
	ActivityTypeDeletePrivateKeyTags ActivityType = "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS"

	// ActivityTypeSetPaymentMethod captures enum value "ACTIVITY_TYPE_SET_PAYMENT_METHOD"
	ActivityTypeSetPaymentMethod ActivityType = "ACTIVITY_TYPE_SET_PAYMENT_METHOD"

	// ActivityTypeActivateBillingTier captures enum value "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER"
	ActivityTypeActivateBillingTier ActivityType = "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER"

	// ActivityTypeDeletePaymentMethod captures enum value "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD"
	ActivityTypeDeletePaymentMethod ActivityType = "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD"

	// ActivityTypeCreatePolicyV2 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V2"
	ActivityTypeCreatePolicyV2 ActivityType = "ACTIVITY_TYPE_CREATE_POLICY_V2"

	// ActivityTypeCreatePolicyV3 captures enum value "ACTIVITY_TYPE_CREATE_POLICY_V3"
	ActivityTypeCreatePolicyV3 ActivityType = "ACTIVITY_TYPE_CREATE_POLICY_V3"

	// ActivityTypeCreateAPIOnlyUsers captures enum value "ACTIVITY_TYPE_CREATE_API_ONLY_USERS"
	ActivityTypeCreateAPIOnlyUsers ActivityType = "ACTIVITY_TYPE_CREATE_API_ONLY_USERS"

	// ActivityTypeUpdateRootQuorum captures enum value "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"
	ActivityTypeUpdateRootQuorum ActivityType = "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM"

	// ActivityTypeUpdateUserTag captures enum value "ACTIVITY_TYPE_UPDATE_USER_TAG"
	ActivityTypeUpdateUserTag ActivityType = "ACTIVITY_TYPE_UPDATE_USER_TAG"

	// ActivityTypeUpdatePrivateKeyTag captures enum value "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"
	ActivityTypeUpdatePrivateKeyTag ActivityType = "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG"

	// ActivityTypeCreateAuthenticatorsV2 captures enum value "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"
	ActivityTypeCreateAuthenticatorsV2 ActivityType = "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2"

	// ActivityTypeCreateOrganizationV2 captures enum value "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2"
	ActivityTypeCreateOrganizationV2 ActivityType = "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2"

	// ActivityTypeCreateUsersV2 captures enum value "ACTIVITY_TYPE_CREATE_USERS_V2"
	ActivityTypeCreateUsersV2 ActivityType = "ACTIVITY_TYPE_CREATE_USERS_V2"

	// ActivityTypeAcceptInvitationV2 captures enum value "ACTIVITY_TYPE_ACCEPT_INVITATION_V2"
	ActivityTypeAcceptInvitationV2 ActivityType = "ACTIVITY_TYPE_ACCEPT_INVITATION_V2"

	// ActivityTypeCreateSubOrganization captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION"
	ActivityTypeCreateSubOrganization ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION"

	// ActivityTypeCreateSubOrganizationV2 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2"
	ActivityTypeCreateSubOrganizationV2 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2"

	// ActivityTypeUpdateAllowedOrigins captures enum value "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS"
	ActivityTypeUpdateAllowedOrigins ActivityType = "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS"

	// ActivityTypeCreatePrivateKeysV2 captures enum value "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"
	ActivityTypeCreatePrivateKeysV2 ActivityType = "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2"

	// ActivityTypeUpdateUser captures enum value "ACTIVITY_TYPE_UPDATE_USER"
	ActivityTypeUpdateUser ActivityType = "ACTIVITY_TYPE_UPDATE_USER"

	// ActivityTypeUpdatePolicy captures enum value "ACTIVITY_TYPE_UPDATE_POLICY"
	ActivityTypeUpdatePolicy ActivityType = "ACTIVITY_TYPE_UPDATE_POLICY"

	// ActivityTypeSetPaymentMethodV2 captures enum value "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2"
	ActivityTypeSetPaymentMethodV2 ActivityType = "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2"

	// ActivityTypeCreateSubOrganizationV3 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"
	ActivityTypeCreateSubOrganizationV3 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3"

	// ActivityTypeCreateWallet captures enum value "ACTIVITY_TYPE_CREATE_WALLET"
	ActivityTypeCreateWallet ActivityType = "ACTIVITY_TYPE_CREATE_WALLET"

	// ActivityTypeCreateWalletAccounts captures enum value "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"
	ActivityTypeCreateWalletAccounts ActivityType = "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS"

	// ActivityTypeInitUserEmailRecovery captures enum value "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"
	ActivityTypeInitUserEmailRecovery ActivityType = "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY"

	// ActivityTypeRecoverUser captures enum value "ACTIVITY_TYPE_RECOVER_USER"
	ActivityTypeRecoverUser ActivityType = "ACTIVITY_TYPE_RECOVER_USER"

	// ActivityTypeSetOrganizationFeature captures enum value "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"
	ActivityTypeSetOrganizationFeature ActivityType = "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE"

	// ActivityTypeRemoveOrganizationFeature captures enum value "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"
	ActivityTypeRemoveOrganizationFeature ActivityType = "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE"

	// ActivityTypeSignRawPayloadV2 captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"
	ActivityTypeSignRawPayloadV2 ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2"

	// ActivityTypeSignTransactionV2 captures enum value "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"
	ActivityTypeSignTransactionV2 ActivityType = "ACTIVITY_TYPE_SIGN_TRANSACTION_V2"

	// ActivityTypeExportPrivateKey captures enum value "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"
	ActivityTypeExportPrivateKey ActivityType = "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY"

	// ActivityTypeExportWallet captures enum value "ACTIVITY_TYPE_EXPORT_WALLET"
	ActivityTypeExportWallet ActivityType = "ACTIVITY_TYPE_EXPORT_WALLET"

	// ActivityTypeCreateSubOrganizationV4 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"
	ActivityTypeCreateSubOrganizationV4 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4"

	// ActivityTypeEmailAuth captures enum value "ACTIVITY_TYPE_EMAIL_AUTH"
	ActivityTypeEmailAuth ActivityType = "ACTIVITY_TYPE_EMAIL_AUTH"

	// ActivityTypeExportWalletAccount captures enum value "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"
	ActivityTypeExportWalletAccount ActivityType = "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT"

	// ActivityTypeInitImportWallet captures enum value "ACTIVITY_TYPE_INIT_IMPORT_WALLET"
	ActivityTypeInitImportWallet ActivityType = "ACTIVITY_TYPE_INIT_IMPORT_WALLET"

	// ActivityTypeImportWallet captures enum value "ACTIVITY_TYPE_IMPORT_WALLET"
	ActivityTypeImportWallet ActivityType = "ACTIVITY_TYPE_IMPORT_WALLET"

	// ActivityTypeInitImportPrivateKey captures enum value "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"
	ActivityTypeInitImportPrivateKey ActivityType = "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY"

	// ActivityTypeImportPrivateKey captures enum value "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"
	ActivityTypeImportPrivateKey ActivityType = "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY"

	// ActivityTypeCreatePolicies captures enum value "ACTIVITY_TYPE_CREATE_POLICIES"
	ActivityTypeCreatePolicies ActivityType = "ACTIVITY_TYPE_CREATE_POLICIES"

	// ActivityTypeSignRawPayloads captures enum value "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"
	ActivityTypeSignRawPayloads ActivityType = "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS"

	// ActivityTypeCreateReadOnlySession captures enum value "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION"
	ActivityTypeCreateReadOnlySession ActivityType = "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION"

	// ActivityTypeCreateOauthProviders captures enum value "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS"
	ActivityTypeCreateOauthProviders ActivityType = "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS"

	// ActivityTypeDeleteOauthProviders captures enum value "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS"
	ActivityTypeDeleteOauthProviders ActivityType = "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS"

	// ActivityTypeCreateSubOrganizationV5 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5"
	ActivityTypeCreateSubOrganizationV5 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5"

	// ActivityTypeOauth captures enum value "ACTIVITY_TYPE_OAUTH"
	ActivityTypeOauth ActivityType = "ACTIVITY_TYPE_OAUTH"

	// ActivityTypeCreateAPIKeysV2 captures enum value "ACTIVITY_TYPE_CREATE_API_KEYS_V2"
	ActivityTypeCreateAPIKeysV2 ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS_V2"

	// ActivityTypeCreateReadWriteSession captures enum value "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION"
	ActivityTypeCreateReadWriteSession ActivityType = "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION"

	// ActivityTypeEmailAuthV2 captures enum value "ACTIVITY_TYPE_EMAIL_AUTH_V2"
	ActivityTypeEmailAuthV2 ActivityType = "ACTIVITY_TYPE_EMAIL_AUTH_V2"

	// ActivityTypeCreateSubOrganizationV6 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6"
	ActivityTypeCreateSubOrganizationV6 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6"

	// ActivityTypeDeletePrivateKeys captures enum value "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS"
	ActivityTypeDeletePrivateKeys ActivityType = "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS"

	// ActivityTypeDeleteWallets captures enum value "ACTIVITY_TYPE_DELETE_WALLETS"
	ActivityTypeDeleteWallets ActivityType = "ACTIVITY_TYPE_DELETE_WALLETS"

	// ActivityTypeCreateReadWriteSessionV2 captures enum value "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2"
	ActivityTypeCreateReadWriteSessionV2 ActivityType = "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2"

	// ActivityTypeDeleteSubOrganization captures enum value "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION"
	ActivityTypeDeleteSubOrganization ActivityType = "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION"

	// ActivityTypeInitOtpAuth captures enum value "ACTIVITY_TYPE_INIT_OTP_AUTH"
	ActivityTypeInitOtpAuth ActivityType = "ACTIVITY_TYPE_INIT_OTP_AUTH"

	// ActivityTypeOtpAuth captures enum value "ACTIVITY_TYPE_OTP_AUTH"
	ActivityTypeOtpAuth ActivityType = "ACTIVITY_TYPE_OTP_AUTH"

	// ActivityTypeCreateSubOrganizationV7 captures enum value "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7"
	ActivityTypeCreateSubOrganizationV7 ActivityType = "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7"

	// ActivityTypeUpdateWallet captures enum value "ACTIVITY_TYPE_UPDATE_WALLET"
	ActivityTypeUpdateWallet ActivityType = "ACTIVITY_TYPE_UPDATE_WALLET"

	// ActivityTypeUpdatePolicyV2 captures enum value "ACTIVITY_TYPE_UPDATE_POLICY_V2"
	ActivityTypeUpdatePolicyV2 ActivityType = "ACTIVITY_TYPE_UPDATE_POLICY_V2"

	// ActivityTypeCreateUsersV3 captures enum value "ACTIVITY_TYPE_CREATE_USERS_V3"
	ActivityTypeCreateUsersV3 ActivityType = "ACTIVITY_TYPE_CREATE_USERS_V3"

	// ActivityTypeInitOtpAuthV2 captures enum value "ACTIVITY_TYPE_INIT_OTP_AUTH_V2"
	ActivityTypeInitOtpAuthV2 ActivityType = "ACTIVITY_TYPE_INIT_OTP_AUTH_V2"

	// ActivityTypeInitOtp captures enum value "ACTIVITY_TYPE_INIT_OTP"
	ActivityTypeInitOtp ActivityType = "ACTIVITY_TYPE_INIT_OTP"

	// ActivityTypeVerifyOtp captures enum value "ACTIVITY_TYPE_VERIFY_OTP"
	ActivityTypeVerifyOtp ActivityType = "ACTIVITY_TYPE_VERIFY_OTP"

	// ActivityTypeOtpLogin captures enum value "ACTIVITY_TYPE_OTP_LOGIN"
	ActivityTypeOtpLogin ActivityType = "ACTIVITY_TYPE_OTP_LOGIN"

	// ActivityTypeStampLogin captures enum value "ACTIVITY_TYPE_STAMP_LOGIN"
	ActivityTypeStampLogin ActivityType = "ACTIVITY_TYPE_STAMP_LOGIN"

	// ActivityTypeOauthLogin captures enum value "ACTIVITY_TYPE_OAUTH_LOGIN"
	ActivityTypeOauthLogin ActivityType = "ACTIVITY_TYPE_OAUTH_LOGIN"

	// ActivityTypeUpdateUserName captures enum value "ACTIVITY_TYPE_UPDATE_USER_NAME"
	ActivityTypeUpdateUserName ActivityType = "ACTIVITY_TYPE_UPDATE_USER_NAME"

	// ActivityTypeUpdateUserEmail captures enum value "ACTIVITY_TYPE_UPDATE_USER_EMAIL"
	ActivityTypeUpdateUserEmail ActivityType = "ACTIVITY_TYPE_UPDATE_USER_EMAIL"

	// ActivityTypeUpdateUserPhoneNumber captures enum value "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER"
	ActivityTypeUpdateUserPhoneNumber ActivityType = "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER"

	// ActivityTypeInitFiatOnRamp captures enum value "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP"
	ActivityTypeInitFiatOnRamp ActivityType = "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP"

	// ActivityTypeCreateSmartContractInterface captures enum value "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE"
	ActivityTypeCreateSmartContractInterface ActivityType = "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE"

	// ActivityTypeDeleteSmartContractInterface captures enum value "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE"
	ActivityTypeDeleteSmartContractInterface ActivityType = "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE"

	// ActivityTypeEnableAuthProxy captures enum value "ACTIVITY_TYPE_ENABLE_AUTH_PROXY"
	ActivityTypeEnableAuthProxy ActivityType = "ACTIVITY_TYPE_ENABLE_AUTH_PROXY"

	// ActivityTypeDisableAuthProxy captures enum value "ACTIVITY_TYPE_DISABLE_AUTH_PROXY"
	ActivityTypeDisableAuthProxy ActivityType = "ACTIVITY_TYPE_DISABLE_AUTH_PROXY"

	// ActivityTypeUpdateAuthProxyConfig captures enum value "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG"
	ActivityTypeUpdateAuthProxyConfig ActivityType = "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG"

	// ActivityTypeCreateOauth2Credential captures enum value "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL"
	ActivityTypeCreateOauth2Credential ActivityType = "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL"

	// ActivityTypeUpdateOauth2Credential captures enum value "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL"
	ActivityTypeUpdateOauth2Credential ActivityType = "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL"

	// ActivityTypeDeleteOauth2Credential captures enum value "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL"
	ActivityTypeDeleteOauth2Credential ActivityType = "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL"

	// ActivityTypeOauth2Authenticate captures enum value "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"
	ActivityTypeOauth2Authenticate ActivityType = "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE"

	// ActivityTypeDeleteWalletAccounts captures enum value "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS"
	ActivityTypeDeleteWalletAccounts ActivityType = "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS"

	// ActivityTypeDeletePolicies captures enum value "ACTIVITY_TYPE_DELETE_POLICIES"
	ActivityTypeDeletePolicies ActivityType = "ACTIVITY_TYPE_DELETE_POLICIES"

	// ActivityTypeEthSendRawTransaction captures enum value "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION"
	ActivityTypeEthSendRawTransaction ActivityType = "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION"
)

func NewActivityType ¶

func NewActivityType(value ActivityType) *ActivityType

func (ActivityType) ContextValidate ¶

func (m ActivityType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this activity type based on context it is used

func (ActivityType) Pointer ¶

func (m ActivityType) Pointer() *ActivityType

Pointer returns a pointer to a freshly-allocated ActivityType.

func (ActivityType) Validate ¶

func (m ActivityType) Validate(formats strfmt.Registry) error

Validate validates this activity type

type ActivityV1Address ¶

type ActivityV1Address struct {

	// address
	Address string `json:"address,omitempty"`

	// format
	Format AddressFormat `json:"format,omitempty"`
}

ActivityV1Address activity v1 address

swagger:model activity.v1.Address

func (*ActivityV1Address) ContextValidate ¶

func (m *ActivityV1Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity v1 address based on the context it is used

func (*ActivityV1Address) MarshalBinary ¶

func (m *ActivityV1Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityV1Address) UnmarshalBinary ¶

func (m *ActivityV1Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityV1Address) Validate ¶

func (m *ActivityV1Address) Validate(formats strfmt.Registry) error

Validate validates this activity v1 address

type ActivityV1PolicyEvaluation ¶ added in v0.7.0

type ActivityV1PolicyEvaluation struct {

	// Unique identifier for a given Activity.
	// Required: true
	ActivityID *string `json:"activityId"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Unique identifier for a given policy evaluation.
	// Required: true
	ID *string `json:"id"`

	// Unique identifier for the Organization the Activity belongs to.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Detailed evaluation result for each Policy that was run.
	// Required: true
	PolicyEvaluations []*CommonV1PolicyEvaluation `json:"policyEvaluations"`

	// Unique identifier for the Vote associated with this policy evaluation.
	// Required: true
	VoteID *string `json:"voteId"`
}

ActivityV1PolicyEvaluation activity v1 policy evaluation

swagger:model activity.v1.PolicyEvaluation

func (*ActivityV1PolicyEvaluation) ContextValidate ¶ added in v0.7.0

func (m *ActivityV1PolicyEvaluation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this activity v1 policy evaluation based on the context it is used

func (*ActivityV1PolicyEvaluation) MarshalBinary ¶ added in v0.7.0

func (m *ActivityV1PolicyEvaluation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ActivityV1PolicyEvaluation) UnmarshalBinary ¶ added in v0.7.0

func (m *ActivityV1PolicyEvaluation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ActivityV1PolicyEvaluation) Validate ¶ added in v0.7.0

func (m *ActivityV1PolicyEvaluation) Validate(formats strfmt.Registry) error

Validate validates this activity v1 policy evaluation

type AddressFormat ¶

type AddressFormat string

AddressFormat address format

swagger:model AddressFormat

const (

	// AddressFormatUncompressed captures enum value "ADDRESS_FORMAT_UNCOMPRESSED"
	AddressFormatUncompressed AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED"

	// AddressFormatCompressed captures enum value "ADDRESS_FORMAT_COMPRESSED"
	AddressFormatCompressed AddressFormat = "ADDRESS_FORMAT_COMPRESSED"

	// AddressFormatEthereum captures enum value "ADDRESS_FORMAT_ETHEREUM"
	AddressFormatEthereum AddressFormat = "ADDRESS_FORMAT_ETHEREUM"

	// AddressFormatSolana captures enum value "ADDRESS_FORMAT_SOLANA"
	AddressFormatSolana AddressFormat = "ADDRESS_FORMAT_SOLANA"

	// AddressFormatCosmos captures enum value "ADDRESS_FORMAT_COSMOS"
	AddressFormatCosmos AddressFormat = "ADDRESS_FORMAT_COSMOS"

	// AddressFormatTron captures enum value "ADDRESS_FORMAT_TRON"
	AddressFormatTron AddressFormat = "ADDRESS_FORMAT_TRON"

	// AddressFormatSui captures enum value "ADDRESS_FORMAT_SUI"
	AddressFormatSui AddressFormat = "ADDRESS_FORMAT_SUI"

	// AddressFormatAptos captures enum value "ADDRESS_FORMAT_APTOS"
	AddressFormatAptos AddressFormat = "ADDRESS_FORMAT_APTOS"

	// AddressFormatBitcoinMainnetP2pkh captures enum value "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH"
	AddressFormatBitcoinMainnetP2pkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH"

	// AddressFormatBitcoinMainnetP2sh captures enum value "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH"
	AddressFormatBitcoinMainnetP2sh AddressFormat = "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH"

	// AddressFormatBitcoinMainnetP2wpkh captures enum value "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH"
	AddressFormatBitcoinMainnetP2wpkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH"

	// AddressFormatBitcoinMainnetP2wsh captures enum value "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH"
	AddressFormatBitcoinMainnetP2wsh AddressFormat = "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH"

	// AddressFormatBitcoinMainnetP2tr captures enum value "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR"
	AddressFormatBitcoinMainnetP2tr AddressFormat = "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR"

	// AddressFormatBitcoinTestnetP2pkh captures enum value "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH"
	AddressFormatBitcoinTestnetP2pkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH"

	// AddressFormatBitcoinTestnetP2sh captures enum value "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH"
	AddressFormatBitcoinTestnetP2sh AddressFormat = "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH"

	// AddressFormatBitcoinTestnetP2wpkh captures enum value "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH"
	AddressFormatBitcoinTestnetP2wpkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH"

	// AddressFormatBitcoinTestnetP2wsh captures enum value "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH"
	AddressFormatBitcoinTestnetP2wsh AddressFormat = "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH"

	// AddressFormatBitcoinTestnetP2tr captures enum value "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR"
	AddressFormatBitcoinTestnetP2tr AddressFormat = "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR"

	// AddressFormatBitcoinSignetP2pkh captures enum value "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH"
	AddressFormatBitcoinSignetP2pkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH"

	// AddressFormatBitcoinSignetP2sh captures enum value "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH"
	AddressFormatBitcoinSignetP2sh AddressFormat = "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH"

	// AddressFormatBitcoinSignetP2wpkh captures enum value "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH"
	AddressFormatBitcoinSignetP2wpkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH"

	// AddressFormatBitcoinSignetP2wsh captures enum value "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH"
	AddressFormatBitcoinSignetP2wsh AddressFormat = "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH"

	// AddressFormatBitcoinSignetP2tr captures enum value "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR"
	AddressFormatBitcoinSignetP2tr AddressFormat = "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR"

	// AddressFormatBitcoinRegtestP2pkh captures enum value "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH"
	AddressFormatBitcoinRegtestP2pkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH"

	// AddressFormatBitcoinRegtestP2sh captures enum value "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH"
	AddressFormatBitcoinRegtestP2sh AddressFormat = "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH"

	// AddressFormatBitcoinRegtestP2wpkh captures enum value "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH"
	AddressFormatBitcoinRegtestP2wpkh AddressFormat = "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH"

	// AddressFormatBitcoinRegtestP2wsh captures enum value "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH"
	AddressFormatBitcoinRegtestP2wsh AddressFormat = "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH"

	// AddressFormatBitcoinRegtestP2tr captures enum value "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR"
	AddressFormatBitcoinRegtestP2tr AddressFormat = "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR"

	// AddressFormatSei captures enum value "ADDRESS_FORMAT_SEI"
	AddressFormatSei AddressFormat = "ADDRESS_FORMAT_SEI"

	// AddressFormatXlm captures enum value "ADDRESS_FORMAT_XLM"
	AddressFormatXlm AddressFormat = "ADDRESS_FORMAT_XLM"

	// AddressFormatDogeMainnet captures enum value "ADDRESS_FORMAT_DOGE_MAINNET"
	AddressFormatDogeMainnet AddressFormat = "ADDRESS_FORMAT_DOGE_MAINNET"

	// AddressFormatDogeTestnet captures enum value "ADDRESS_FORMAT_DOGE_TESTNET"
	AddressFormatDogeTestnet AddressFormat = "ADDRESS_FORMAT_DOGE_TESTNET"

	// AddressFormatTonV3r2 captures enum value "ADDRESS_FORMAT_TON_V3R2"
	AddressFormatTonV3r2 AddressFormat = "ADDRESS_FORMAT_TON_V3R2"

	// AddressFormatTonV4r2 captures enum value "ADDRESS_FORMAT_TON_V4R2"
	AddressFormatTonV4r2 AddressFormat = "ADDRESS_FORMAT_TON_V4R2"

	// AddressFormatTonV5r1 captures enum value "ADDRESS_FORMAT_TON_V5R1"
	AddressFormatTonV5r1 AddressFormat = "ADDRESS_FORMAT_TON_V5R1"

	// AddressFormatXrp captures enum value "ADDRESS_FORMAT_XRP"
	AddressFormatXrp AddressFormat = "ADDRESS_FORMAT_XRP"
)

func NewAddressFormat ¶

func NewAddressFormat(value AddressFormat) *AddressFormat

func (AddressFormat) ContextValidate ¶

func (m AddressFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this address format based on context it is used

func (AddressFormat) Pointer ¶

func (m AddressFormat) Pointer() *AddressFormat

Pointer returns a pointer to a freshly-allocated AddressFormat.

func (AddressFormat) Validate ¶

func (m AddressFormat) Validate(formats strfmt.Registry) error

Validate validates this address format

type Any ¶

type Any struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

Any any

swagger:model Any

func (*Any) ContextValidate ¶

func (m *Any) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this any based on context it is used

func (*Any) MarshalBinary ¶

func (m *Any) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Any) UnmarshalBinary ¶

func (m *Any) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Any) Validate ¶

func (m *Any) Validate(formats strfmt.Registry) error

Validate validates this any

type AppProof ¶ added in v0.9.0

type AppProof struct {

	// JSON serialized AppProofPayload.
	// Required: true
	ProofPayload *string `json:"proofPayload"`

	// Ephemeral public key.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// Scheme of signing key.
	// Required: true
	Scheme *SignatureScheme `json:"scheme"`

	// Signature over hashed proof_payload.
	// Required: true
	Signature *string `json:"signature"`
}

AppProof app proof

swagger:model AppProof

func (*AppProof) ContextValidate ¶ added in v0.9.0

func (m *AppProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this app proof based on the context it is used

func (*AppProof) MarshalBinary ¶ added in v0.9.0

func (m *AppProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppProof) UnmarshalBinary ¶ added in v0.9.0

func (m *AppProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppProof) Validate ¶ added in v0.9.0

func (m *AppProof) Validate(formats strfmt.Registry) error

Validate validates this app proof

type ApproveActivityIntent ¶

type ApproveActivityIntent struct {

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`
}

ApproveActivityIntent approve activity intent

swagger:model ApproveActivityIntent

func (*ApproveActivityIntent) ContextValidate ¶

func (m *ApproveActivityIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this approve activity intent based on context it is used

func (*ApproveActivityIntent) MarshalBinary ¶

func (m *ApproveActivityIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveActivityIntent) UnmarshalBinary ¶

func (m *ApproveActivityIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveActivityIntent) Validate ¶

func (m *ApproveActivityIntent) Validate(formats strfmt.Registry) error

Validate validates this approve activity intent

type ApproveActivityRequest ¶

type ApproveActivityRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ApproveActivityIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_APPROVE_ACTIVITY]
	Type *string `json:"type"`
}

ApproveActivityRequest approve activity request

swagger:model ApproveActivityRequest

func (*ApproveActivityRequest) ContextValidate ¶

func (m *ApproveActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this approve activity request based on the context it is used

func (*ApproveActivityRequest) MarshalBinary ¶

func (m *ApproveActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ApproveActivityRequest) UnmarshalBinary ¶

func (m *ApproveActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ApproveActivityRequest) Validate ¶

func (m *ApproveActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this approve activity request

type Attestation ¶

type Attestation struct {

	// A base64 url encoded payload containing authenticator data and any attestation the webauthn provider chooses.
	// Required: true
	AttestationObject *string `json:"attestationObject"`

	// A base64 url encoded payload containing metadata about the signing context and the challenge.
	// Required: true
	ClientDataJSON *string `json:"clientDataJson"`

	// The cbor encoded then base64 url encoded id of the credential.
	// Required: true
	CredentialID *string `json:"credentialId"`

	// The type of authenticator transports.
	// Required: true
	Transports []AuthenticatorTransport `json:"transports"`
}

Attestation attestation

swagger:model Attestation

func (*Attestation) ContextValidate ¶

func (m *Attestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this attestation based on the context it is used

func (*Attestation) MarshalBinary ¶

func (m *Attestation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Attestation) UnmarshalBinary ¶

func (m *Attestation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Attestation) Validate ¶

func (m *Attestation) Validate(formats strfmt.Registry) error

Validate validates this attestation

type Authenticator ¶

type Authenticator struct {

	// Identifier indicating the type of the Security Key.
	// Required: true
	Aaguid *string `json:"aaguid"`

	// attestation type
	// Required: true
	AttestationType *string `json:"attestationType"`

	// Unique identifier for a given Authenticator.
	// Required: true
	AuthenticatorID *string `json:"authenticatorId"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// A User credential that can be used to authenticate to Turnkey.
	// Required: true
	Credential *ExternalDataV1Credential `json:"credential"`

	// Unique identifier for a WebAuthn credential.
	// Required: true
	CredentialID *string `json:"credentialId"`

	// The type of Authenticator device.
	// Required: true
	Model *string `json:"model"`

	// Types of transports that may be used by an Authenticator (e.g., USB, NFC, BLE).
	// Required: true
	Transports []AuthenticatorTransport `json:"transports"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

Authenticator authenticator

swagger:model Authenticator

func (*Authenticator) ContextValidate ¶

func (m *Authenticator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator based on the context it is used

func (*Authenticator) MarshalBinary ¶

func (m *Authenticator) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Authenticator) UnmarshalBinary ¶

func (m *Authenticator) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Authenticator) Validate ¶

func (m *Authenticator) Validate(formats strfmt.Registry) error

Validate validates this authenticator

type AuthenticatorAttestationResponse ¶

type AuthenticatorAttestationResponse struct {

	// attestation object
	// Required: true
	AttestationObject *string `json:"attestationObject"`

	// authenticator attachment
	// Enum: [cross-platform platform]
	AuthenticatorAttachment *string `json:"authenticatorAttachment,omitempty"`

	// client data Json
	// Required: true
	ClientDataJSON *string `json:"clientDataJson"`

	// transports
	Transports []AuthenticatorTransport `json:"transports"`
}

AuthenticatorAttestationResponse authenticator attestation response

swagger:model AuthenticatorAttestationResponse

func (*AuthenticatorAttestationResponse) ContextValidate ¶

func (m *AuthenticatorAttestationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator attestation response based on the context it is used

func (*AuthenticatorAttestationResponse) MarshalBinary ¶

func (m *AuthenticatorAttestationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorAttestationResponse) UnmarshalBinary ¶

func (m *AuthenticatorAttestationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorAttestationResponse) Validate ¶

Validate validates this authenticator attestation response

type AuthenticatorParams ¶

type AuthenticatorParams struct {

	// attestation
	// Required: true
	Attestation *PublicKeyCredentialWithAttestation `json:"attestation"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// Challenge presented for authentication purposes.
	// Required: true
	Challenge *string `json:"challenge"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

AuthenticatorParams authenticator params

swagger:model AuthenticatorParams

func (*AuthenticatorParams) ContextValidate ¶

func (m *AuthenticatorParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator params based on the context it is used

func (*AuthenticatorParams) MarshalBinary ¶

func (m *AuthenticatorParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorParams) UnmarshalBinary ¶

func (m *AuthenticatorParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorParams) Validate ¶

func (m *AuthenticatorParams) Validate(formats strfmt.Registry) error

Validate validates this authenticator params

type AuthenticatorParamsV2 ¶

type AuthenticatorParamsV2 struct {

	// The attestation that proves custody of the authenticator and provides metadata about it.
	// Required: true
	Attestation *Attestation `json:"attestation"`

	// Human-readable name for an Authenticator.
	// Required: true
	AuthenticatorName *string `json:"authenticatorName"`

	// Challenge presented for authentication purposes.
	// Required: true
	Challenge *string `json:"challenge"`
}

AuthenticatorParamsV2 authenticator params v2

swagger:model AuthenticatorParamsV2

func (*AuthenticatorParamsV2) ContextValidate ¶

func (m *AuthenticatorParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this authenticator params v2 based on the context it is used

func (*AuthenticatorParamsV2) MarshalBinary ¶

func (m *AuthenticatorParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthenticatorParamsV2) UnmarshalBinary ¶

func (m *AuthenticatorParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthenticatorParamsV2) Validate ¶

func (m *AuthenticatorParamsV2) Validate(formats strfmt.Registry) error

Validate validates this authenticator params v2

type AuthenticatorTransport ¶

type AuthenticatorTransport string

AuthenticatorTransport authenticator transport

swagger:model AuthenticatorTransport

const (

	// AuthenticatorTransportBle captures enum value "AUTHENTICATOR_TRANSPORT_BLE"
	AuthenticatorTransportBle AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_BLE"

	// AuthenticatorTransportInternal captures enum value "AUTHENTICATOR_TRANSPORT_INTERNAL"
	AuthenticatorTransportInternal AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_INTERNAL"

	// AuthenticatorTransportNfc captures enum value "AUTHENTICATOR_TRANSPORT_NFC"
	AuthenticatorTransportNfc AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_NFC"

	// AuthenticatorTransportUsb captures enum value "AUTHENTICATOR_TRANSPORT_USB"
	AuthenticatorTransportUsb AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_USB"

	// AuthenticatorTransportHybrid captures enum value "AUTHENTICATOR_TRANSPORT_HYBRID"
	AuthenticatorTransportHybrid AuthenticatorTransport = "AUTHENTICATOR_TRANSPORT_HYBRID"
)

func NewAuthenticatorTransport ¶

func NewAuthenticatorTransport(value AuthenticatorTransport) *AuthenticatorTransport

func (AuthenticatorTransport) ContextValidate ¶

func (m AuthenticatorTransport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this authenticator transport based on context it is used

func (AuthenticatorTransport) Pointer ¶

Pointer returns a pointer to a freshly-allocated AuthenticatorTransport.

func (AuthenticatorTransport) Validate ¶

func (m AuthenticatorTransport) Validate(formats strfmt.Registry) error

Validate validates this authenticator transport

type BootProof ¶ added in v0.9.0

type BootProof struct {

	// The DER encoded COSE Sign1 struct Attestation doc.
	// Required: true
	AwsAttestationDocB64 *string `json:"awsAttestationDocB64"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The label under which the enclave app was deployed.
	// Required: true
	DeploymentLabel *string `json:"deploymentLabel"`

	// Name of the enclave app
	// Required: true
	EnclaveApp *string `json:"enclaveApp"`

	// The hex encoded Ephemeral Public Key.
	// Required: true
	EphemeralPublicKeyHex *string `json:"ephemeralPublicKeyHex"`

	// Owner of the app i.e. 'tkhq'
	// Required: true
	Owner *string `json:"owner"`

	// The borsch serialized base64 encoded Manifest.
	// Required: true
	QosManifestB64 *string `json:"qosManifestB64"`

	// The borsch serialized base64 encoded Manifest Envelope.
	// Required: true
	QosManifestEnvelopeB64 *string `json:"qosManifestEnvelopeB64"`
}

BootProof boot proof

swagger:model BootProof

func (*BootProof) ContextValidate ¶ added in v0.9.0

func (m *BootProof) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this boot proof based on the context it is used

func (*BootProof) MarshalBinary ¶ added in v0.9.0

func (m *BootProof) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BootProof) UnmarshalBinary ¶ added in v0.9.0

func (m *BootProof) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BootProof) Validate ¶ added in v0.9.0

func (m *BootProof) Validate(formats strfmt.Registry) error

Validate validates this boot proof

type BootProofResponse ¶ added in v0.9.0

type BootProofResponse struct {

	// boot proof
	// Required: true
	BootProof *BootProof `json:"bootProof"`
}

BootProofResponse boot proof response

swagger:model BootProofResponse

func (*BootProofResponse) ContextValidate ¶ added in v0.9.0

func (m *BootProofResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this boot proof response based on the context it is used

func (*BootProofResponse) MarshalBinary ¶ added in v0.9.0

func (m *BootProofResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BootProofResponse) UnmarshalBinary ¶ added in v0.9.0

func (m *BootProofResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BootProofResponse) Validate ¶ added in v0.9.0

func (m *BootProofResponse) Validate(formats strfmt.Registry) error

Validate validates this boot proof response

type CommonV1PolicyEvaluation ¶ added in v0.9.0

type CommonV1PolicyEvaluation struct {

	// outcome
	Outcome Outcome `json:"outcome,omitempty"`

	// policy Id
	PolicyID string `json:"policyId,omitempty"`
}

CommonV1PolicyEvaluation common v1 policy evaluation

swagger:model common.v1.PolicyEvaluation

func (*CommonV1PolicyEvaluation) ContextValidate ¶ added in v0.9.0

func (m *CommonV1PolicyEvaluation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this common v1 policy evaluation based on the context it is used

func (*CommonV1PolicyEvaluation) MarshalBinary ¶ added in v0.9.0

func (m *CommonV1PolicyEvaluation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CommonV1PolicyEvaluation) UnmarshalBinary ¶ added in v0.9.0

func (m *CommonV1PolicyEvaluation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CommonV1PolicyEvaluation) Validate ¶ added in v0.9.0

func (m *CommonV1PolicyEvaluation) Validate(formats strfmt.Registry) error

Validate validates this common v1 policy evaluation

type Config ¶

type Config struct {

	// features
	Features []*Feature `json:"features"`

	// quorum
	Quorum *ExternalDataV1Quorum `json:"quorum,omitempty"`
}

Config config

swagger:model Config

func (*Config) ContextValidate ¶

func (m *Config) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this config based on the context it is used

func (*Config) MarshalBinary ¶

func (m *Config) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Config) UnmarshalBinary ¶

func (m *Config) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Config) Validate ¶

func (m *Config) Validate(formats strfmt.Registry) error

Validate validates this config

type CreateAPIKeysIntent ¶

type CreateAPIKeysIntent struct {

	// A list of API Keys.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAPIKeysIntent create Api keys intent

swagger:model CreateApiKeysIntent

func (*CreateAPIKeysIntent) ContextValidate ¶

func (m *CreateAPIKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api keys intent based on the context it is used

func (*CreateAPIKeysIntent) MarshalBinary ¶

func (m *CreateAPIKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysIntent) UnmarshalBinary ¶

func (m *CreateAPIKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysIntent) Validate ¶

func (m *CreateAPIKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this create Api keys intent

type CreateAPIKeysIntentV2 ¶

type CreateAPIKeysIntentV2 struct {

	// A list of API Keys.
	// Required: true
	APIKeys []*APIKeyParamsV2 `json:"apiKeys"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAPIKeysIntentV2 create Api keys intent v2

swagger:model CreateApiKeysIntentV2

func (*CreateAPIKeysIntentV2) ContextValidate ¶

func (m *CreateAPIKeysIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api keys intent v2 based on the context it is used

func (*CreateAPIKeysIntentV2) MarshalBinary ¶

func (m *CreateAPIKeysIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysIntentV2) UnmarshalBinary ¶

func (m *CreateAPIKeysIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysIntentV2) Validate ¶

func (m *CreateAPIKeysIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create Api keys intent v2

type CreateAPIKeysRequest ¶

type CreateAPIKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateAPIKeysIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_API_KEYS_V2]
	Type *string `json:"type"`
}

CreateAPIKeysRequest create Api keys request

swagger:model CreateApiKeysRequest

func (*CreateAPIKeysRequest) ContextValidate ¶

func (m *CreateAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api keys request based on the context it is used

func (*CreateAPIKeysRequest) MarshalBinary ¶

func (m *CreateAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysRequest) UnmarshalBinary ¶

func (m *CreateAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysRequest) Validate ¶

func (m *CreateAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this create Api keys request

type CreateAPIKeysResult ¶

type CreateAPIKeysResult struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`
}

CreateAPIKeysResult create Api keys result

swagger:model CreateApiKeysResult

func (*CreateAPIKeysResult) ContextValidate ¶

func (m *CreateAPIKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api keys result based on context it is used

func (*CreateAPIKeysResult) MarshalBinary ¶

func (m *CreateAPIKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIKeysResult) UnmarshalBinary ¶

func (m *CreateAPIKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIKeysResult) Validate ¶

func (m *CreateAPIKeysResult) Validate(formats strfmt.Registry) error

Validate validates this create Api keys result

type CreateAPIOnlyUsersIntent ¶

type CreateAPIOnlyUsersIntent struct {

	// A list of API-only Users to create.
	// Required: true
	APIOnlyUsers []*APIOnlyUserParams `json:"apiOnlyUsers"`
}

CreateAPIOnlyUsersIntent create Api only users intent

swagger:model CreateApiOnlyUsersIntent

func (*CreateAPIOnlyUsersIntent) ContextValidate ¶

func (m *CreateAPIOnlyUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create Api only users intent based on the context it is used

func (*CreateAPIOnlyUsersIntent) MarshalBinary ¶

func (m *CreateAPIOnlyUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIOnlyUsersIntent) UnmarshalBinary ¶

func (m *CreateAPIOnlyUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIOnlyUsersIntent) Validate ¶

func (m *CreateAPIOnlyUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this create Api only users intent

type CreateAPIOnlyUsersResult ¶

type CreateAPIOnlyUsersResult struct {

	// A list of API-only User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

CreateAPIOnlyUsersResult create Api only users result

swagger:model CreateApiOnlyUsersResult

func (*CreateAPIOnlyUsersResult) ContextValidate ¶

func (m *CreateAPIOnlyUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create Api only users result based on context it is used

func (*CreateAPIOnlyUsersResult) MarshalBinary ¶

func (m *CreateAPIOnlyUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAPIOnlyUsersResult) UnmarshalBinary ¶

func (m *CreateAPIOnlyUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAPIOnlyUsersResult) Validate ¶

func (m *CreateAPIOnlyUsersResult) Validate(formats strfmt.Registry) error

Validate validates this create Api only users result

type CreateAuthenticatorsIntent ¶

type CreateAuthenticatorsIntent struct {

	// A list of Authenticators.
	// Required: true
	Authenticators []*AuthenticatorParams `json:"authenticators"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAuthenticatorsIntent create authenticators intent

swagger:model CreateAuthenticatorsIntent

func (*CreateAuthenticatorsIntent) ContextValidate ¶

func (m *CreateAuthenticatorsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators intent based on the context it is used

func (*CreateAuthenticatorsIntent) MarshalBinary ¶

func (m *CreateAuthenticatorsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsIntent) UnmarshalBinary ¶

func (m *CreateAuthenticatorsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsIntent) Validate ¶

func (m *CreateAuthenticatorsIntent) Validate(formats strfmt.Registry) error

Validate validates this create authenticators intent

type CreateAuthenticatorsIntentV2 ¶

type CreateAuthenticatorsIntentV2 struct {

	// A list of Authenticators.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

CreateAuthenticatorsIntentV2 create authenticators intent v2

swagger:model CreateAuthenticatorsIntentV2

func (*CreateAuthenticatorsIntentV2) ContextValidate ¶

func (m *CreateAuthenticatorsIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators intent v2 based on the context it is used

func (*CreateAuthenticatorsIntentV2) MarshalBinary ¶

func (m *CreateAuthenticatorsIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsIntentV2) UnmarshalBinary ¶

func (m *CreateAuthenticatorsIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsIntentV2) Validate ¶

func (m *CreateAuthenticatorsIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create authenticators intent v2

type CreateAuthenticatorsRequest ¶

type CreateAuthenticatorsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateAuthenticatorsIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2]
	Type *string `json:"type"`
}

CreateAuthenticatorsRequest create authenticators request

swagger:model CreateAuthenticatorsRequest

func (*CreateAuthenticatorsRequest) ContextValidate ¶

func (m *CreateAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create authenticators request based on the context it is used

func (*CreateAuthenticatorsRequest) MarshalBinary ¶

func (m *CreateAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsRequest) UnmarshalBinary ¶

func (m *CreateAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsRequest) Validate ¶

func (m *CreateAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this create authenticators request

type CreateAuthenticatorsResult ¶

type CreateAuthenticatorsResult struct {

	// A list of Authenticator IDs.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`
}

CreateAuthenticatorsResult create authenticators result

swagger:model CreateAuthenticatorsResult

func (*CreateAuthenticatorsResult) ContextValidate ¶

func (m *CreateAuthenticatorsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create authenticators result based on context it is used

func (*CreateAuthenticatorsResult) MarshalBinary ¶

func (m *CreateAuthenticatorsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateAuthenticatorsResult) UnmarshalBinary ¶

func (m *CreateAuthenticatorsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateAuthenticatorsResult) Validate ¶

func (m *CreateAuthenticatorsResult) Validate(formats strfmt.Registry) error

Validate validates this create authenticators result

type CreateInvitationsIntent ¶

type CreateInvitationsIntent struct {

	// A list of Invitations.
	// Required: true
	Invitations []*InvitationParams `json:"invitations"`
}

CreateInvitationsIntent create invitations intent

swagger:model CreateInvitationsIntent

func (*CreateInvitationsIntent) ContextValidate ¶

func (m *CreateInvitationsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create invitations intent based on the context it is used

func (*CreateInvitationsIntent) MarshalBinary ¶

func (m *CreateInvitationsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsIntent) UnmarshalBinary ¶

func (m *CreateInvitationsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsIntent) Validate ¶

func (m *CreateInvitationsIntent) Validate(formats strfmt.Registry) error

Validate validates this create invitations intent

type CreateInvitationsRequest ¶

type CreateInvitationsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateInvitationsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_INVITATIONS]
	Type *string `json:"type"`
}

CreateInvitationsRequest create invitations request

swagger:model CreateInvitationsRequest

func (*CreateInvitationsRequest) ContextValidate ¶

func (m *CreateInvitationsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create invitations request based on the context it is used

func (*CreateInvitationsRequest) MarshalBinary ¶

func (m *CreateInvitationsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsRequest) UnmarshalBinary ¶

func (m *CreateInvitationsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsRequest) Validate ¶

func (m *CreateInvitationsRequest) Validate(formats strfmt.Registry) error

Validate validates this create invitations request

type CreateInvitationsResult ¶

type CreateInvitationsResult struct {

	// A list of Invitation IDs
	// Required: true
	InvitationIds []string `json:"invitationIds"`
}

CreateInvitationsResult create invitations result

swagger:model CreateInvitationsResult

func (*CreateInvitationsResult) ContextValidate ¶

func (m *CreateInvitationsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create invitations result based on context it is used

func (*CreateInvitationsResult) MarshalBinary ¶

func (m *CreateInvitationsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateInvitationsResult) UnmarshalBinary ¶

func (m *CreateInvitationsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateInvitationsResult) Validate ¶

func (m *CreateInvitationsResult) Validate(formats strfmt.Registry) error

Validate validates this create invitations result

type CreateOauth2CredentialIntent ¶ added in v0.9.0

type CreateOauth2CredentialIntent struct {

	// The Client ID issued by the OAuth 2.0 provider
	// Required: true
	ClientID *string `json:"clientId"`

	// The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key
	// Required: true
	EncryptedClientSecret *string `json:"encryptedClientSecret"`

	// The OAuth 2.0 provider
	// Required: true
	Provider *Oauth2Provider `json:"provider"`
}

CreateOauth2CredentialIntent create oauth2 credential intent

swagger:model CreateOauth2CredentialIntent

func (*CreateOauth2CredentialIntent) ContextValidate ¶ added in v0.9.0

func (m *CreateOauth2CredentialIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create oauth2 credential intent based on the context it is used

func (*CreateOauth2CredentialIntent) MarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauth2CredentialIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauth2CredentialIntent) Validate ¶ added in v0.9.0

func (m *CreateOauth2CredentialIntent) Validate(formats strfmt.Registry) error

Validate validates this create oauth2 credential intent

type CreateOauth2CredentialRequest ¶ added in v0.9.0

type CreateOauth2CredentialRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateOauth2CredentialIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL]
	Type *string `json:"type"`
}

CreateOauth2CredentialRequest create oauth2 credential request

swagger:model CreateOauth2CredentialRequest

func (*CreateOauth2CredentialRequest) ContextValidate ¶ added in v0.9.0

func (m *CreateOauth2CredentialRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create oauth2 credential request based on the context it is used

func (*CreateOauth2CredentialRequest) MarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauth2CredentialRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauth2CredentialRequest) Validate ¶ added in v0.9.0

func (m *CreateOauth2CredentialRequest) Validate(formats strfmt.Registry) error

Validate validates this create oauth2 credential request

type CreateOauth2CredentialResult ¶ added in v0.9.0

type CreateOauth2CredentialResult struct {

	// Unique identifier of the OAuth 2.0 credential that was created
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`
}

CreateOauth2CredentialResult create oauth2 credential result

swagger:model CreateOauth2CredentialResult

func (*CreateOauth2CredentialResult) ContextValidate ¶ added in v0.9.0

func (m *CreateOauth2CredentialResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create oauth2 credential result based on context it is used

func (*CreateOauth2CredentialResult) MarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauth2CredentialResult) UnmarshalBinary ¶ added in v0.9.0

func (m *CreateOauth2CredentialResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauth2CredentialResult) Validate ¶ added in v0.9.0

func (m *CreateOauth2CredentialResult) Validate(formats strfmt.Registry) error

Validate validates this create oauth2 credential result

type CreateOauthProvidersIntent ¶

type CreateOauthProvidersIntent struct {

	// A list of Oauth providers.
	// Required: true
	OauthProviders []*OauthProviderParams `json:"oauthProviders"`

	// The ID of the User to add an Oauth provider to
	// Required: true
	UserID *string `json:"userId"`
}

CreateOauthProvidersIntent create oauth providers intent

swagger:model CreateOauthProvidersIntent

func (*CreateOauthProvidersIntent) ContextValidate ¶

func (m *CreateOauthProvidersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create oauth providers intent based on the context it is used

func (*CreateOauthProvidersIntent) MarshalBinary ¶

func (m *CreateOauthProvidersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauthProvidersIntent) UnmarshalBinary ¶

func (m *CreateOauthProvidersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauthProvidersIntent) Validate ¶

func (m *CreateOauthProvidersIntent) Validate(formats strfmt.Registry) error

Validate validates this create oauth providers intent

type CreateOauthProvidersRequest ¶

type CreateOauthProvidersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateOauthProvidersIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS]
	Type *string `json:"type"`
}

CreateOauthProvidersRequest create oauth providers request

swagger:model CreateOauthProvidersRequest

func (*CreateOauthProvidersRequest) ContextValidate ¶

func (m *CreateOauthProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create oauth providers request based on the context it is used

func (*CreateOauthProvidersRequest) MarshalBinary ¶

func (m *CreateOauthProvidersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauthProvidersRequest) UnmarshalBinary ¶

func (m *CreateOauthProvidersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauthProvidersRequest) Validate ¶

func (m *CreateOauthProvidersRequest) Validate(formats strfmt.Registry) error

Validate validates this create oauth providers request

type CreateOauthProvidersResult ¶

type CreateOauthProvidersResult struct {

	// A list of unique identifiers for Oauth Providers
	// Required: true
	ProviderIds []string `json:"providerIds"`
}

CreateOauthProvidersResult create oauth providers result

swagger:model CreateOauthProvidersResult

func (*CreateOauthProvidersResult) ContextValidate ¶

func (m *CreateOauthProvidersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create oauth providers result based on context it is used

func (*CreateOauthProvidersResult) MarshalBinary ¶

func (m *CreateOauthProvidersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOauthProvidersResult) UnmarshalBinary ¶

func (m *CreateOauthProvidersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOauthProvidersResult) Validate ¶

func (m *CreateOauthProvidersResult) Validate(formats strfmt.Registry) error

Validate validates this create oauth providers result

type CreateOrganizationIntent ¶

type CreateOrganizationIntent struct {

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// The root user's Authenticator.
	// Required: true
	RootAuthenticator *AuthenticatorParams `json:"rootAuthenticator"`

	// The root user's email address.
	// Required: true
	RootEmail *string `json:"rootEmail"`

	// Unique identifier for the root user object.
	RootUserID *string `json:"rootUserId,omitempty"`
}

CreateOrganizationIntent create organization intent

swagger:model CreateOrganizationIntent

func (*CreateOrganizationIntent) ContextValidate ¶

func (m *CreateOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create organization intent based on the context it is used

func (*CreateOrganizationIntent) MarshalBinary ¶

func (m *CreateOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationIntent) UnmarshalBinary ¶

func (m *CreateOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationIntent) Validate ¶

func (m *CreateOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this create organization intent

type CreateOrganizationIntentV2 ¶

type CreateOrganizationIntentV2 struct {

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// The root user's Authenticator.
	// Required: true
	RootAuthenticator *AuthenticatorParamsV2 `json:"rootAuthenticator"`

	// The root user's email address.
	// Required: true
	RootEmail *string `json:"rootEmail"`

	// Unique identifier for the root user object.
	RootUserID *string `json:"rootUserId,omitempty"`
}

CreateOrganizationIntentV2 create organization intent v2

swagger:model CreateOrganizationIntentV2

func (*CreateOrganizationIntentV2) ContextValidate ¶

func (m *CreateOrganizationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create organization intent v2 based on the context it is used

func (*CreateOrganizationIntentV2) MarshalBinary ¶

func (m *CreateOrganizationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationIntentV2) UnmarshalBinary ¶

func (m *CreateOrganizationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationIntentV2) Validate ¶

func (m *CreateOrganizationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create organization intent v2

type CreateOrganizationResult ¶

type CreateOrganizationResult struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

CreateOrganizationResult create organization result

swagger:model CreateOrganizationResult

func (*CreateOrganizationResult) ContextValidate ¶

func (m *CreateOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create organization result based on context it is used

func (*CreateOrganizationResult) MarshalBinary ¶

func (m *CreateOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateOrganizationResult) UnmarshalBinary ¶

func (m *CreateOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateOrganizationResult) Validate ¶

func (m *CreateOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this create organization result

type CreatePoliciesIntent ¶

type CreatePoliciesIntent struct {

	// An array of policy intents to be created.
	// Required: true
	Policies []*CreatePolicyIntentV3 `json:"policies"`
}

CreatePoliciesIntent create policies intent

swagger:model CreatePoliciesIntent

func (*CreatePoliciesIntent) ContextValidate ¶

func (m *CreatePoliciesIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policies intent based on the context it is used

func (*CreatePoliciesIntent) MarshalBinary ¶

func (m *CreatePoliciesIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesIntent) UnmarshalBinary ¶

func (m *CreatePoliciesIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesIntent) Validate ¶

func (m *CreatePoliciesIntent) Validate(formats strfmt.Registry) error

Validate validates this create policies intent

type CreatePoliciesRequest ¶

type CreatePoliciesRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePoliciesIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_POLICIES]
	Type *string `json:"type"`
}

CreatePoliciesRequest create policies request

swagger:model CreatePoliciesRequest

func (*CreatePoliciesRequest) ContextValidate ¶

func (m *CreatePoliciesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policies request based on the context it is used

func (*CreatePoliciesRequest) MarshalBinary ¶

func (m *CreatePoliciesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesRequest) UnmarshalBinary ¶

func (m *CreatePoliciesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesRequest) Validate ¶

func (m *CreatePoliciesRequest) Validate(formats strfmt.Registry) error

Validate validates this create policies request

type CreatePoliciesResult ¶

type CreatePoliciesResult struct {

	// A list of unique identifiers for the created policies.
	// Required: true
	PolicyIds []string `json:"policyIds"`
}

CreatePoliciesResult create policies result

swagger:model CreatePoliciesResult

func (*CreatePoliciesResult) ContextValidate ¶

func (m *CreatePoliciesResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create policies result based on context it is used

func (*CreatePoliciesResult) MarshalBinary ¶

func (m *CreatePoliciesResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePoliciesResult) UnmarshalBinary ¶

func (m *CreatePoliciesResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePoliciesResult) Validate ¶

func (m *CreatePoliciesResult) Validate(formats strfmt.Registry) error

Validate validates this create policies result

type CreatePolicyIntent ¶

type CreatePolicyIntent struct {

	// The instruction to DENY or ALLOW a particular activity following policy selector(s).
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details.
	// Required: true
	Selectors []*Selector `json:"selectors"`
}

CreatePolicyIntent create policy intent

swagger:model CreatePolicyIntent

func (*CreatePolicyIntent) ContextValidate ¶

func (m *CreatePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent based on the context it is used

func (*CreatePolicyIntent) MarshalBinary ¶

func (m *CreatePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntent) UnmarshalBinary ¶

func (m *CreatePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntent) Validate ¶

func (m *CreatePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this create policy intent

type CreatePolicyIntentV2 ¶

type CreatePolicyIntentV2 struct {

	// Whether to ALLOW or DENY requests that match the condition and consensus requirements.
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// A list of simple functions each including a subject, target and boolean. See Policy Engine Language section for additional details.
	// Required: true
	Selectors []*SelectorV2 `json:"selectors"`
}

CreatePolicyIntentV2 create policy intent v2

swagger:model CreatePolicyIntentV2

func (*CreatePolicyIntentV2) ContextValidate ¶

func (m *CreatePolicyIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent v2 based on the context it is used

func (*CreatePolicyIntentV2) MarshalBinary ¶

func (m *CreatePolicyIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntentV2) UnmarshalBinary ¶

func (m *CreatePolicyIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntentV2) Validate ¶

func (m *CreatePolicyIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create policy intent v2

type CreatePolicyIntentV3 ¶

type CreatePolicyIntentV3 struct {

	// The condition expression that triggers the Effect
	Condition *string `json:"condition,omitempty"`

	// The consensus expression that triggers the Effect
	Consensus *string `json:"consensus,omitempty"`

	// The instruction to DENY or ALLOW an activity.
	// Required: true
	Effect *Effect `json:"effect"`

	// notes
	Notes string `json:"notes,omitempty"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`
}

CreatePolicyIntentV3 create policy intent v3

swagger:model CreatePolicyIntentV3

func (*CreatePolicyIntentV3) ContextValidate ¶

func (m *CreatePolicyIntentV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy intent v3 based on the context it is used

func (*CreatePolicyIntentV3) MarshalBinary ¶

func (m *CreatePolicyIntentV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyIntentV3) UnmarshalBinary ¶

func (m *CreatePolicyIntentV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyIntentV3) Validate ¶

func (m *CreatePolicyIntentV3) Validate(formats strfmt.Registry) error

Validate validates this create policy intent v3

type CreatePolicyRequest ¶

type CreatePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePolicyIntentV3 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_POLICY_V3]
	Type *string `json:"type"`
}

CreatePolicyRequest create policy request

swagger:model CreatePolicyRequest

func (*CreatePolicyRequest) ContextValidate ¶

func (m *CreatePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create policy request based on the context it is used

func (*CreatePolicyRequest) MarshalBinary ¶

func (m *CreatePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyRequest) UnmarshalBinary ¶

func (m *CreatePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyRequest) Validate ¶

func (m *CreatePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this create policy request

type CreatePolicyResult ¶

type CreatePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

CreatePolicyResult create policy result

swagger:model CreatePolicyResult

func (*CreatePolicyResult) ContextValidate ¶

func (m *CreatePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create policy result based on context it is used

func (*CreatePolicyResult) MarshalBinary ¶

func (m *CreatePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePolicyResult) UnmarshalBinary ¶

func (m *CreatePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePolicyResult) Validate ¶

func (m *CreatePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this create policy result

type CreatePrivateKeyTagIntent ¶

type CreatePrivateKeyTagIntent struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// Human-readable name for a Private Key Tag.
	// Required: true
	PrivateKeyTagName *string `json:"privateKeyTagName"`
}

CreatePrivateKeyTagIntent create private key tag intent

swagger:model CreatePrivateKeyTagIntent

func (*CreatePrivateKeyTagIntent) ContextValidate ¶

func (m *CreatePrivateKeyTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private key tag intent based on context it is used

func (*CreatePrivateKeyTagIntent) MarshalBinary ¶

func (m *CreatePrivateKeyTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagIntent) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagIntent) Validate ¶

func (m *CreatePrivateKeyTagIntent) Validate(formats strfmt.Registry) error

Validate validates this create private key tag intent

type CreatePrivateKeyTagRequest ¶

type CreatePrivateKeyTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePrivateKeyTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG]
	Type *string `json:"type"`
}

CreatePrivateKeyTagRequest create private key tag request

swagger:model CreatePrivateKeyTagRequest

func (*CreatePrivateKeyTagRequest) ContextValidate ¶

func (m *CreatePrivateKeyTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private key tag request based on the context it is used

func (*CreatePrivateKeyTagRequest) MarshalBinary ¶

func (m *CreatePrivateKeyTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagRequest) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagRequest) Validate ¶

func (m *CreatePrivateKeyTagRequest) Validate(formats strfmt.Registry) error

Validate validates this create private key tag request

type CreatePrivateKeyTagResult ¶

type CreatePrivateKeyTagResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`
}

CreatePrivateKeyTagResult create private key tag result

swagger:model CreatePrivateKeyTagResult

func (*CreatePrivateKeyTagResult) ContextValidate ¶

func (m *CreatePrivateKeyTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private key tag result based on context it is used

func (*CreatePrivateKeyTagResult) MarshalBinary ¶

func (m *CreatePrivateKeyTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeyTagResult) UnmarshalBinary ¶

func (m *CreatePrivateKeyTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeyTagResult) Validate ¶

func (m *CreatePrivateKeyTagResult) Validate(formats strfmt.Registry) error

Validate validates this create private key tag result

type CreatePrivateKeysIntent ¶

type CreatePrivateKeysIntent struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`
}

CreatePrivateKeysIntent create private keys intent

swagger:model CreatePrivateKeysIntent

func (*CreatePrivateKeysIntent) ContextValidate ¶

func (m *CreatePrivateKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys intent based on the context it is used

func (*CreatePrivateKeysIntent) MarshalBinary ¶

func (m *CreatePrivateKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysIntent) UnmarshalBinary ¶

func (m *CreatePrivateKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysIntent) Validate ¶

func (m *CreatePrivateKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this create private keys intent

type CreatePrivateKeysIntentV2 ¶

type CreatePrivateKeysIntentV2 struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`
}

CreatePrivateKeysIntentV2 create private keys intent v2

swagger:model CreatePrivateKeysIntentV2

func (*CreatePrivateKeysIntentV2) ContextValidate ¶

func (m *CreatePrivateKeysIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys intent v2 based on the context it is used

func (*CreatePrivateKeysIntentV2) MarshalBinary ¶

func (m *CreatePrivateKeysIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysIntentV2) UnmarshalBinary ¶

func (m *CreatePrivateKeysIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysIntentV2) Validate ¶

func (m *CreatePrivateKeysIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create private keys intent v2

type CreatePrivateKeysRequest ¶

type CreatePrivateKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreatePrivateKeysIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2]
	Type *string `json:"type"`
}

CreatePrivateKeysRequest create private keys request

swagger:model CreatePrivateKeysRequest

func (*CreatePrivateKeysRequest) ContextValidate ¶

func (m *CreatePrivateKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys request based on the context it is used

func (*CreatePrivateKeysRequest) MarshalBinary ¶

func (m *CreatePrivateKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysRequest) UnmarshalBinary ¶

func (m *CreatePrivateKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysRequest) Validate ¶

func (m *CreatePrivateKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this create private keys request

type CreatePrivateKeysResult ¶

type CreatePrivateKeysResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`
}

CreatePrivateKeysResult create private keys result

swagger:model CreatePrivateKeysResult

func (*CreatePrivateKeysResult) ContextValidate ¶

func (m *CreatePrivateKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create private keys result based on context it is used

func (*CreatePrivateKeysResult) MarshalBinary ¶

func (m *CreatePrivateKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysResult) UnmarshalBinary ¶

func (m *CreatePrivateKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysResult) Validate ¶

func (m *CreatePrivateKeysResult) Validate(formats strfmt.Registry) error

Validate validates this create private keys result

type CreatePrivateKeysResultV2 ¶

type CreatePrivateKeysResultV2 struct {

	// A list of Private Key IDs and addresses.
	// Required: true
	PrivateKeys []*PrivateKeyResult `json:"privateKeys"`
}

CreatePrivateKeysResultV2 create private keys result v2

swagger:model CreatePrivateKeysResultV2

func (*CreatePrivateKeysResultV2) ContextValidate ¶

func (m *CreatePrivateKeysResultV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create private keys result v2 based on the context it is used

func (*CreatePrivateKeysResultV2) MarshalBinary ¶

func (m *CreatePrivateKeysResultV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreatePrivateKeysResultV2) UnmarshalBinary ¶

func (m *CreatePrivateKeysResultV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreatePrivateKeysResultV2) Validate ¶

func (m *CreatePrivateKeysResultV2) Validate(formats strfmt.Registry) error

Validate validates this create private keys result v2

type CreateReadOnlySessionIntent ¶

type CreateReadOnlySessionIntent interface{}

CreateReadOnlySessionIntent create read only session intent

swagger:model CreateReadOnlySessionIntent

type CreateReadOnlySessionRequest ¶

type CreateReadOnlySessionRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters CreateReadOnlySessionIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION]
	Type *string `json:"type"`
}

CreateReadOnlySessionRequest create read only session request

swagger:model CreateReadOnlySessionRequest

func (*CreateReadOnlySessionRequest) ContextValidate ¶

func (m *CreateReadOnlySessionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read only session request based on context it is used

func (*CreateReadOnlySessionRequest) MarshalBinary ¶

func (m *CreateReadOnlySessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadOnlySessionRequest) UnmarshalBinary ¶

func (m *CreateReadOnlySessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadOnlySessionRequest) Validate ¶

func (m *CreateReadOnlySessionRequest) Validate(formats strfmt.Registry) error

Validate validates this create read only session request

type CreateReadOnlySessionResult ¶

type CreateReadOnlySessionResult struct {

	// Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// String representing a read only session
	// Required: true
	Session *string `json:"session"`

	// UTC timestamp in seconds representing the expiry time for the read only session.
	// Required: true
	SessionExpiry *string `json:"sessionExpiry"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	Username *string `json:"username"`
}

CreateReadOnlySessionResult create read only session result

swagger:model CreateReadOnlySessionResult

func (*CreateReadOnlySessionResult) ContextValidate ¶

func (m *CreateReadOnlySessionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read only session result based on context it is used

func (*CreateReadOnlySessionResult) MarshalBinary ¶

func (m *CreateReadOnlySessionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadOnlySessionResult) UnmarshalBinary ¶

func (m *CreateReadOnlySessionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadOnlySessionResult) Validate ¶

func (m *CreateReadOnlySessionResult) Validate(formats strfmt.Registry) error

Validate validates this create read only session result

type CreateReadWriteSessionIntent ¶

type CreateReadWriteSessionIntent struct {

	// Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Email of the user to create a read write session for
	// Required: true
	Email *string `json:"email"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

CreateReadWriteSessionIntent create read write session intent

swagger:model CreateReadWriteSessionIntent

func (*CreateReadWriteSessionIntent) ContextValidate ¶

func (m *CreateReadWriteSessionIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read write session intent based on context it is used

func (*CreateReadWriteSessionIntent) MarshalBinary ¶

func (m *CreateReadWriteSessionIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadWriteSessionIntent) UnmarshalBinary ¶

func (m *CreateReadWriteSessionIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadWriteSessionIntent) Validate ¶

func (m *CreateReadWriteSessionIntent) Validate(formats strfmt.Registry) error

Validate validates this create read write session intent

type CreateReadWriteSessionIntentV2 ¶

type CreateReadWriteSessionIntentV2 struct {

	// Optional human-readable name for an API Key. If none provided, default to Read Write Session - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated ReadWriteSession API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Client-side public key generated by the user, to which the read write session bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`

	// Unique identifier for a given User.
	UserID *string `json:"userId,omitempty"`
}

CreateReadWriteSessionIntentV2 create read write session intent v2

swagger:model CreateReadWriteSessionIntentV2

func (*CreateReadWriteSessionIntentV2) ContextValidate ¶

func (m *CreateReadWriteSessionIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read write session intent v2 based on context it is used

func (*CreateReadWriteSessionIntentV2) MarshalBinary ¶

func (m *CreateReadWriteSessionIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadWriteSessionIntentV2) UnmarshalBinary ¶

func (m *CreateReadWriteSessionIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadWriteSessionIntentV2) Validate ¶

func (m *CreateReadWriteSessionIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create read write session intent v2

type CreateReadWriteSessionRequest ¶

type CreateReadWriteSessionRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateReadWriteSessionIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2]
	Type *string `json:"type"`
}

CreateReadWriteSessionRequest create read write session request

swagger:model CreateReadWriteSessionRequest

func (*CreateReadWriteSessionRequest) ContextValidate ¶

func (m *CreateReadWriteSessionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create read write session request based on the context it is used

func (*CreateReadWriteSessionRequest) MarshalBinary ¶

func (m *CreateReadWriteSessionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadWriteSessionRequest) UnmarshalBinary ¶

func (m *CreateReadWriteSessionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadWriteSessionRequest) Validate ¶

func (m *CreateReadWriteSessionRequest) Validate(formats strfmt.Registry) error

Validate validates this create read write session request

type CreateReadWriteSessionResult ¶

type CreateReadWriteSessionResult struct {

	// Unique identifier for the created API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// HPKE encrypted credential bundle
	// Required: true
	CredentialBundle *string `json:"credentialBundle"`

	// Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	Username *string `json:"username"`
}

CreateReadWriteSessionResult create read write session result

swagger:model CreateReadWriteSessionResult

func (*CreateReadWriteSessionResult) ContextValidate ¶

func (m *CreateReadWriteSessionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read write session result based on context it is used

func (*CreateReadWriteSessionResult) MarshalBinary ¶

func (m *CreateReadWriteSessionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadWriteSessionResult) UnmarshalBinary ¶

func (m *CreateReadWriteSessionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadWriteSessionResult) Validate ¶

func (m *CreateReadWriteSessionResult) Validate(formats strfmt.Registry) error

Validate validates this create read write session result

type CreateReadWriteSessionResultV2 ¶

type CreateReadWriteSessionResultV2 struct {

	// Unique identifier for the created API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// HPKE encrypted credential bundle
	// Required: true
	CredentialBundle *string `json:"credentialBundle"`

	// Unique identifier for a given Organization. If the request is being made by a user and their Sub-Organization ID is unknown, this can be the Parent Organization ID. However, using the Sub-Organization ID is preferred due to performance reasons.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Human-readable name for an Organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	Username *string `json:"username"`
}

CreateReadWriteSessionResultV2 create read write session result v2

swagger:model CreateReadWriteSessionResultV2

func (*CreateReadWriteSessionResultV2) ContextValidate ¶

func (m *CreateReadWriteSessionResultV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create read write session result v2 based on context it is used

func (*CreateReadWriteSessionResultV2) MarshalBinary ¶

func (m *CreateReadWriteSessionResultV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateReadWriteSessionResultV2) UnmarshalBinary ¶

func (m *CreateReadWriteSessionResultV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateReadWriteSessionResultV2) Validate ¶

func (m *CreateReadWriteSessionResultV2) Validate(formats strfmt.Registry) error

Validate validates this create read write session result v2

type CreateSmartContractInterfaceIntent ¶ added in v0.7.0

type CreateSmartContractInterfaceIntent struct {

	// Human-readable name for a Smart Contract Interface.
	// Required: true
	Label *string `json:"label"`

	// Notes for a Smart Contract Interface.
	Notes string `json:"notes,omitempty"`

	// Corresponding contract address or program ID
	// Required: true
	SmartContractAddress *string `json:"smartContractAddress"`

	// ABI/IDL as a JSON string
	// Required: true
	SmartContractInterface *string `json:"smartContractInterface"`

	// type
	// Required: true
	Type *SmartContractInterfaceType `json:"type"`
}

CreateSmartContractInterfaceIntent create smart contract interface intent

swagger:model CreateSmartContractInterfaceIntent

func (*CreateSmartContractInterfaceIntent) ContextValidate ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create smart contract interface intent based on the context it is used

func (*CreateSmartContractInterfaceIntent) MarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSmartContractInterfaceIntent) UnmarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSmartContractInterfaceIntent) Validate ¶ added in v0.7.0

Validate validates this create smart contract interface intent

type CreateSmartContractInterfaceRequest ¶ added in v0.7.0

type CreateSmartContractInterfaceRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateSmartContractInterfaceIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE]
	Type *string `json:"type"`
}

CreateSmartContractInterfaceRequest create smart contract interface request

swagger:model CreateSmartContractInterfaceRequest

func (*CreateSmartContractInterfaceRequest) ContextValidate ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create smart contract interface request based on the context it is used

func (*CreateSmartContractInterfaceRequest) MarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSmartContractInterfaceRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSmartContractInterfaceRequest) Validate ¶ added in v0.7.0

Validate validates this create smart contract interface request

type CreateSmartContractInterfaceResult ¶ added in v0.7.0

type CreateSmartContractInterfaceResult struct {

	// The ID of the created Smart Contract Interface.
	// Required: true
	SmartContractInterfaceID *string `json:"smartContractInterfaceId"`
}

CreateSmartContractInterfaceResult create smart contract interface result

swagger:model CreateSmartContractInterfaceResult

func (*CreateSmartContractInterfaceResult) ContextValidate ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create smart contract interface result based on context it is used

func (*CreateSmartContractInterfaceResult) MarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSmartContractInterfaceResult) UnmarshalBinary ¶ added in v0.7.0

func (m *CreateSmartContractInterfaceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSmartContractInterfaceResult) Validate ¶ added in v0.7.0

Validate validates this create smart contract interface result

type CreateSubOrganizationIntent ¶

type CreateSubOrganizationIntent struct {

	// Name for this sub-organization
	// Required: true
	Name *string `json:"name"`

	// Root User authenticator for this new sub-organization
	// Required: true
	RootAuthenticator *AuthenticatorParamsV2 `json:"rootAuthenticator"`
}

CreateSubOrganizationIntent create sub organization intent

swagger:model CreateSubOrganizationIntent

func (*CreateSubOrganizationIntent) ContextValidate ¶

func (m *CreateSubOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent based on the context it is used

func (*CreateSubOrganizationIntent) MarshalBinary ¶

func (m *CreateSubOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntent) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntent) Validate ¶

func (m *CreateSubOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent

type CreateSubOrganizationIntentV2 ¶

type CreateSubOrganizationIntentV2 struct {

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`
}

CreateSubOrganizationIntentV2 create sub organization intent v2

swagger:model CreateSubOrganizationIntentV2

func (*CreateSubOrganizationIntentV2) ContextValidate ¶

func (m *CreateSubOrganizationIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v2 based on the context it is used

func (*CreateSubOrganizationIntentV2) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV2) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV2) Validate ¶

func (m *CreateSubOrganizationIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v2

type CreateSubOrganizationIntentV3 ¶

type CreateSubOrganizationIntentV3 struct {

	// A list of Private Keys.
	// Required: true
	PrivateKeys []*PrivateKeyParams `json:"privateKeys"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`
}

CreateSubOrganizationIntentV3 create sub organization intent v3

swagger:model CreateSubOrganizationIntentV3

func (*CreateSubOrganizationIntentV3) ContextValidate ¶

func (m *CreateSubOrganizationIntentV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v3 based on the context it is used

func (*CreateSubOrganizationIntentV3) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV3) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV3) Validate ¶

func (m *CreateSubOrganizationIntentV3) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v3

type CreateSubOrganizationIntentV4 ¶

type CreateSubOrganizationIntentV4 struct {

	// Disable email auth for the sub-organization
	DisableEmailAuth *bool `json:"disableEmailAuth,omitempty"`

	// Disable email recovery for the sub-organization
	DisableEmailRecovery *bool `json:"disableEmailRecovery,omitempty"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParams `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`

	// The wallet to create for the sub-organization
	Wallet *WalletParams `json:"wallet,omitempty"`
}

CreateSubOrganizationIntentV4 create sub organization intent v4

swagger:model CreateSubOrganizationIntentV4

func (*CreateSubOrganizationIntentV4) ContextValidate ¶

func (m *CreateSubOrganizationIntentV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v4 based on the context it is used

func (*CreateSubOrganizationIntentV4) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV4) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV4) Validate ¶

func (m *CreateSubOrganizationIntentV4) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v4

type CreateSubOrganizationIntentV5 ¶

type CreateSubOrganizationIntentV5 struct {

	// Disable email auth for the sub-organization
	DisableEmailAuth *bool `json:"disableEmailAuth,omitempty"`

	// Disable email recovery for the sub-organization
	DisableEmailRecovery *bool `json:"disableEmailRecovery,omitempty"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParamsV2 `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`

	// The wallet to create for the sub-organization
	Wallet *WalletParams `json:"wallet,omitempty"`
}

CreateSubOrganizationIntentV5 create sub organization intent v5

swagger:model CreateSubOrganizationIntentV5

func (*CreateSubOrganizationIntentV5) ContextValidate ¶

func (m *CreateSubOrganizationIntentV5) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v5 based on the context it is used

func (*CreateSubOrganizationIntentV5) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV5) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV5) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV5) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV5) Validate ¶

func (m *CreateSubOrganizationIntentV5) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v5

type CreateSubOrganizationIntentV6 ¶

type CreateSubOrganizationIntentV6 struct {

	// Disable email auth for the sub-organization
	DisableEmailAuth *bool `json:"disableEmailAuth,omitempty"`

	// Disable email recovery for the sub-organization
	DisableEmailRecovery *bool `json:"disableEmailRecovery,omitempty"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParamsV3 `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`

	// The wallet to create for the sub-organization
	Wallet *WalletParams `json:"wallet,omitempty"`
}

CreateSubOrganizationIntentV6 create sub organization intent v6

swagger:model CreateSubOrganizationIntentV6

func (*CreateSubOrganizationIntentV6) ContextValidate ¶

func (m *CreateSubOrganizationIntentV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v6 based on the context it is used

func (*CreateSubOrganizationIntentV6) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV6) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV6) Validate ¶

func (m *CreateSubOrganizationIntentV6) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v6

type CreateSubOrganizationIntentV7 ¶

type CreateSubOrganizationIntentV7 struct {

	// Disable email auth for the sub-organization
	DisableEmailAuth *bool `json:"disableEmailAuth,omitempty"`

	// Disable email recovery for the sub-organization
	DisableEmailRecovery *bool `json:"disableEmailRecovery,omitempty"`

	// Disable OTP email auth for the sub-organization
	DisableOtpEmailAuth *bool `json:"disableOtpEmailAuth,omitempty"`

	// Disable OTP SMS auth for the sub-organization
	DisableSmsAuth *bool `json:"disableSmsAuth,omitempty"`

	// The threshold of unique approvals to reach root quorum. This value must be less than or equal to the number of root users
	// Required: true
	RootQuorumThreshold *int32 `json:"rootQuorumThreshold"`

	// Root users to create within this sub-organization
	// Required: true
	RootUsers []*RootUserParamsV4 `json:"rootUsers"`

	// Name for this sub-organization
	// Required: true
	SubOrganizationName *string `json:"subOrganizationName"`

	// Signed JWT containing a unique id, expiry, verification type, contact
	VerificationToken *string `json:"verificationToken,omitempty"`

	// The wallet to create for the sub-organization
	Wallet *WalletParams `json:"wallet,omitempty"`
}

CreateSubOrganizationIntentV7 create sub organization intent v7

swagger:model CreateSubOrganizationIntentV7

func (*CreateSubOrganizationIntentV7) ContextValidate ¶

func (m *CreateSubOrganizationIntentV7) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization intent v7 based on the context it is used

func (*CreateSubOrganizationIntentV7) MarshalBinary ¶

func (m *CreateSubOrganizationIntentV7) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationIntentV7) UnmarshalBinary ¶

func (m *CreateSubOrganizationIntentV7) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationIntentV7) Validate ¶

func (m *CreateSubOrganizationIntentV7) Validate(formats strfmt.Registry) error

Validate validates this create sub organization intent v7

type CreateSubOrganizationRequest ¶

type CreateSubOrganizationRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateSubOrganizationIntentV7 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7]
	Type *string `json:"type"`
}

CreateSubOrganizationRequest create sub organization request

swagger:model CreateSubOrganizationRequest

func (*CreateSubOrganizationRequest) ContextValidate ¶

func (m *CreateSubOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization request based on the context it is used

func (*CreateSubOrganizationRequest) MarshalBinary ¶

func (m *CreateSubOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationRequest) UnmarshalBinary ¶

func (m *CreateSubOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationRequest) Validate ¶

func (m *CreateSubOrganizationRequest) Validate(formats strfmt.Registry) error

Validate validates this create sub organization request

type CreateSubOrganizationResult ¶

type CreateSubOrganizationResult struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`
}

CreateSubOrganizationResult create sub organization result

swagger:model CreateSubOrganizationResult

func (*CreateSubOrganizationResult) ContextValidate ¶

func (m *CreateSubOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create sub organization result based on context it is used

func (*CreateSubOrganizationResult) MarshalBinary ¶

func (m *CreateSubOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResult) UnmarshalBinary ¶

func (m *CreateSubOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResult) Validate ¶

func (m *CreateSubOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result

type CreateSubOrganizationResultV3 ¶

type CreateSubOrganizationResultV3 struct {

	// A list of Private Key IDs and addresses.
	// Required: true
	PrivateKeys []*PrivateKeyResult `json:"privateKeys"`

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`
}

CreateSubOrganizationResultV3 create sub organization result v3

swagger:model CreateSubOrganizationResultV3

func (*CreateSubOrganizationResultV3) ContextValidate ¶

func (m *CreateSubOrganizationResultV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v3 based on the context it is used

func (*CreateSubOrganizationResultV3) MarshalBinary ¶

func (m *CreateSubOrganizationResultV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV3) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV3) Validate ¶

func (m *CreateSubOrganizationResultV3) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v3

type CreateSubOrganizationResultV4 ¶

type CreateSubOrganizationResultV4 struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`

	// wallet
	Wallet *WalletResult `json:"wallet,omitempty"`
}

CreateSubOrganizationResultV4 create sub organization result v4

swagger:model CreateSubOrganizationResultV4

func (*CreateSubOrganizationResultV4) ContextValidate ¶

func (m *CreateSubOrganizationResultV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v4 based on the context it is used

func (*CreateSubOrganizationResultV4) MarshalBinary ¶

func (m *CreateSubOrganizationResultV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV4) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV4) Validate ¶

func (m *CreateSubOrganizationResultV4) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v4

type CreateSubOrganizationResultV5 ¶

type CreateSubOrganizationResultV5 struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`

	// wallet
	Wallet *WalletResult `json:"wallet,omitempty"`
}

CreateSubOrganizationResultV5 create sub organization result v5

swagger:model CreateSubOrganizationResultV5

func (*CreateSubOrganizationResultV5) ContextValidate ¶

func (m *CreateSubOrganizationResultV5) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v5 based on the context it is used

func (*CreateSubOrganizationResultV5) MarshalBinary ¶

func (m *CreateSubOrganizationResultV5) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV5) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV5) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV5) Validate ¶

func (m *CreateSubOrganizationResultV5) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v5

type CreateSubOrganizationResultV6 ¶

type CreateSubOrganizationResultV6 struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`

	// wallet
	Wallet *WalletResult `json:"wallet,omitempty"`
}

CreateSubOrganizationResultV6 create sub organization result v6

swagger:model CreateSubOrganizationResultV6

func (*CreateSubOrganizationResultV6) ContextValidate ¶

func (m *CreateSubOrganizationResultV6) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v6 based on the context it is used

func (*CreateSubOrganizationResultV6) MarshalBinary ¶

func (m *CreateSubOrganizationResultV6) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV6) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV6) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV6) Validate ¶

func (m *CreateSubOrganizationResultV6) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v6

type CreateSubOrganizationResultV7 ¶

type CreateSubOrganizationResultV7 struct {

	// root user ids
	RootUserIds []string `json:"rootUserIds"`

	// sub organization Id
	// Required: true
	SubOrganizationID *string `json:"subOrganizationId"`

	// wallet
	Wallet *WalletResult `json:"wallet,omitempty"`
}

CreateSubOrganizationResultV7 create sub organization result v7

swagger:model CreateSubOrganizationResultV7

func (*CreateSubOrganizationResultV7) ContextValidate ¶

func (m *CreateSubOrganizationResultV7) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create sub organization result v7 based on the context it is used

func (*CreateSubOrganizationResultV7) MarshalBinary ¶

func (m *CreateSubOrganizationResultV7) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateSubOrganizationResultV7) UnmarshalBinary ¶

func (m *CreateSubOrganizationResultV7) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateSubOrganizationResultV7) Validate ¶

func (m *CreateSubOrganizationResultV7) Validate(formats strfmt.Registry) error

Validate validates this create sub organization result v7

type CreateUserTagIntent ¶

type CreateUserTagIntent struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// Human-readable name for a User Tag.
	// Required: true
	UserTagName *string `json:"userTagName"`
}

CreateUserTagIntent create user tag intent

swagger:model CreateUserTagIntent

func (*CreateUserTagIntent) ContextValidate ¶

func (m *CreateUserTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user tag intent based on context it is used

func (*CreateUserTagIntent) MarshalBinary ¶

func (m *CreateUserTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagIntent) UnmarshalBinary ¶

func (m *CreateUserTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagIntent) Validate ¶

func (m *CreateUserTagIntent) Validate(formats strfmt.Registry) error

Validate validates this create user tag intent

type CreateUserTagRequest ¶

type CreateUserTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateUserTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_USER_TAG]
	Type *string `json:"type"`
}

CreateUserTagRequest create user tag request

swagger:model CreateUserTagRequest

func (*CreateUserTagRequest) ContextValidate ¶

func (m *CreateUserTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create user tag request based on the context it is used

func (*CreateUserTagRequest) MarshalBinary ¶

func (m *CreateUserTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagRequest) UnmarshalBinary ¶

func (m *CreateUserTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagRequest) Validate ¶

func (m *CreateUserTagRequest) Validate(formats strfmt.Registry) error

Validate validates this create user tag request

type CreateUserTagResult ¶

type CreateUserTagResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

CreateUserTagResult create user tag result

swagger:model CreateUserTagResult

func (*CreateUserTagResult) ContextValidate ¶

func (m *CreateUserTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create user tag result based on context it is used

func (*CreateUserTagResult) MarshalBinary ¶

func (m *CreateUserTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUserTagResult) UnmarshalBinary ¶

func (m *CreateUserTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUserTagResult) Validate ¶

func (m *CreateUserTagResult) Validate(formats strfmt.Registry) error

Validate validates this create user tag result

type CreateUsersIntent ¶

type CreateUsersIntent struct {

	// A list of Users.
	// Required: true
	Users []*UserParams `json:"users"`
}

CreateUsersIntent create users intent

swagger:model CreateUsersIntent

func (*CreateUsersIntent) ContextValidate ¶

func (m *CreateUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users intent based on the context it is used

func (*CreateUsersIntent) MarshalBinary ¶

func (m *CreateUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersIntent) UnmarshalBinary ¶

func (m *CreateUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersIntent) Validate ¶

func (m *CreateUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this create users intent

type CreateUsersIntentV2 ¶

type CreateUsersIntentV2 struct {

	// A list of Users.
	// Required: true
	Users []*UserParamsV2 `json:"users"`
}

CreateUsersIntentV2 create users intent v2

swagger:model CreateUsersIntentV2

func (*CreateUsersIntentV2) ContextValidate ¶

func (m *CreateUsersIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users intent v2 based on the context it is used

func (*CreateUsersIntentV2) MarshalBinary ¶

func (m *CreateUsersIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersIntentV2) UnmarshalBinary ¶

func (m *CreateUsersIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersIntentV2) Validate ¶

func (m *CreateUsersIntentV2) Validate(formats strfmt.Registry) error

Validate validates this create users intent v2

type CreateUsersIntentV3 ¶ added in v0.4.0

type CreateUsersIntentV3 struct {

	// A list of Users.
	// Required: true
	Users []*UserParamsV3 `json:"users"`
}

CreateUsersIntentV3 create users intent v3

swagger:model CreateUsersIntentV3

func (*CreateUsersIntentV3) ContextValidate ¶ added in v0.4.0

func (m *CreateUsersIntentV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users intent v3 based on the context it is used

func (*CreateUsersIntentV3) MarshalBinary ¶ added in v0.4.0

func (m *CreateUsersIntentV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersIntentV3) UnmarshalBinary ¶ added in v0.4.0

func (m *CreateUsersIntentV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersIntentV3) Validate ¶ added in v0.4.0

func (m *CreateUsersIntentV3) Validate(formats strfmt.Registry) error

Validate validates this create users intent v3

type CreateUsersRequest ¶

type CreateUsersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateUsersIntentV3 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_USERS_V3]
	Type *string `json:"type"`
}

CreateUsersRequest create users request

swagger:model CreateUsersRequest

func (*CreateUsersRequest) ContextValidate ¶

func (m *CreateUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create users request based on the context it is used

func (*CreateUsersRequest) MarshalBinary ¶

func (m *CreateUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersRequest) UnmarshalBinary ¶

func (m *CreateUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersRequest) Validate ¶

func (m *CreateUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this create users request

type CreateUsersResult ¶

type CreateUsersResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

CreateUsersResult create users result

swagger:model CreateUsersResult

func (*CreateUsersResult) ContextValidate ¶

func (m *CreateUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create users result based on context it is used

func (*CreateUsersResult) MarshalBinary ¶

func (m *CreateUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateUsersResult) UnmarshalBinary ¶

func (m *CreateUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateUsersResult) Validate ¶

func (m *CreateUsersResult) Validate(formats strfmt.Registry) error

Validate validates this create users result

type CreateWalletAccountsIntent ¶

type CreateWalletAccountsIntent struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Indicates if the wallet accounts should be persisted. This is helpful if you'd like to see the addresses of different derivation paths without actually creating the accounts. Defaults to true.
	Persist *bool `json:"persist,omitempty"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

CreateWalletAccountsIntent create wallet accounts intent

swagger:model CreateWalletAccountsIntent

func (*CreateWalletAccountsIntent) ContextValidate ¶

func (m *CreateWalletAccountsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet accounts intent based on the context it is used

func (*CreateWalletAccountsIntent) MarshalBinary ¶

func (m *CreateWalletAccountsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsIntent) UnmarshalBinary ¶

func (m *CreateWalletAccountsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsIntent) Validate ¶

func (m *CreateWalletAccountsIntent) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts intent

type CreateWalletAccountsRequest ¶

type CreateWalletAccountsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateWalletAccountsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS]
	Type *string `json:"type"`
}

CreateWalletAccountsRequest create wallet accounts request

swagger:model CreateWalletAccountsRequest

func (*CreateWalletAccountsRequest) ContextValidate ¶

func (m *CreateWalletAccountsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet accounts request based on the context it is used

func (*CreateWalletAccountsRequest) MarshalBinary ¶

func (m *CreateWalletAccountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsRequest) UnmarshalBinary ¶

func (m *CreateWalletAccountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsRequest) Validate ¶

func (m *CreateWalletAccountsRequest) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts request

type CreateWalletAccountsResult ¶

type CreateWalletAccountsResult struct {

	// A list of derived addresses.
	// Required: true
	Addresses []string `json:"addresses"`
}

CreateWalletAccountsResult create wallet accounts result

swagger:model CreateWalletAccountsResult

func (*CreateWalletAccountsResult) ContextValidate ¶

func (m *CreateWalletAccountsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create wallet accounts result based on context it is used

func (*CreateWalletAccountsResult) MarshalBinary ¶

func (m *CreateWalletAccountsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletAccountsResult) UnmarshalBinary ¶

func (m *CreateWalletAccountsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletAccountsResult) Validate ¶

func (m *CreateWalletAccountsResult) Validate(formats strfmt.Registry) error

Validate validates this create wallet accounts result

type CreateWalletIntent ¶

type CreateWalletIntent struct {

	// A list of wallet Accounts. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
	MnemonicLength *int32 `json:"mnemonicLength,omitempty"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

CreateWalletIntent create wallet intent

swagger:model CreateWalletIntent

func (*CreateWalletIntent) ContextValidate ¶

func (m *CreateWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet intent based on the context it is used

func (*CreateWalletIntent) MarshalBinary ¶

func (m *CreateWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletIntent) UnmarshalBinary ¶

func (m *CreateWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletIntent) Validate ¶

func (m *CreateWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this create wallet intent

type CreateWalletRequest ¶

type CreateWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *CreateWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_CREATE_WALLET]
	Type *string `json:"type"`
}

CreateWalletRequest create wallet request

swagger:model CreateWalletRequest

func (*CreateWalletRequest) ContextValidate ¶

func (m *CreateWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this create wallet request based on the context it is used

func (*CreateWalletRequest) MarshalBinary ¶

func (m *CreateWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletRequest) UnmarshalBinary ¶

func (m *CreateWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletRequest) Validate ¶

func (m *CreateWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this create wallet request

type CreateWalletResult ¶

type CreateWalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// Unique identifier for a Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

CreateWalletResult create wallet result

swagger:model CreateWalletResult

func (*CreateWalletResult) ContextValidate ¶

func (m *CreateWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this create wallet result based on context it is used

func (*CreateWalletResult) MarshalBinary ¶

func (m *CreateWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CreateWalletResult) UnmarshalBinary ¶

func (m *CreateWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CreateWalletResult) Validate ¶

func (m *CreateWalletResult) Validate(formats strfmt.Registry) error

Validate validates this create wallet result

type CredPropsAuthenticationExtensionsClientOutputs ¶

type CredPropsAuthenticationExtensionsClientOutputs struct {

	// rk
	// Required: true
	Rk *bool `json:"rk"`
}

CredPropsAuthenticationExtensionsClientOutputs cred props authentication extensions client outputs

swagger:model CredPropsAuthenticationExtensionsClientOutputs

func (*CredPropsAuthenticationExtensionsClientOutputs) ContextValidate ¶

ContextValidate validates this cred props authentication extensions client outputs based on context it is used

func (*CredPropsAuthenticationExtensionsClientOutputs) MarshalBinary ¶

MarshalBinary interface implementation

func (*CredPropsAuthenticationExtensionsClientOutputs) UnmarshalBinary ¶

UnmarshalBinary interface implementation

func (*CredPropsAuthenticationExtensionsClientOutputs) Validate ¶

Validate validates this cred props authentication extensions client outputs

type CredentialType ¶

type CredentialType string

CredentialType credential type

swagger:model CredentialType

const (

	// CredentialTypeWebauthnAuthenticator captures enum value "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"
	CredentialTypeWebauthnAuthenticator CredentialType = "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR"

	// CredentialTypeAPIKeyP256 captures enum value "CREDENTIAL_TYPE_API_KEY_P256"
	CredentialTypeAPIKeyP256 CredentialType = "CREDENTIAL_TYPE_API_KEY_P256"

	// CredentialTypeRecoverUserKeyP256 captures enum value "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256"
	CredentialTypeRecoverUserKeyP256 CredentialType = "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256"

	// CredentialTypeAPIKeySecp256k1 captures enum value "CREDENTIAL_TYPE_API_KEY_SECP256K1"
	CredentialTypeAPIKeySecp256k1 CredentialType = "CREDENTIAL_TYPE_API_KEY_SECP256K1"

	// CredentialTypeEmailAuthKeyP256 captures enum value "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256"
	CredentialTypeEmailAuthKeyP256 CredentialType = "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256"

	// CredentialTypeAPIKeyEd25519 captures enum value "CREDENTIAL_TYPE_API_KEY_ED25519"
	CredentialTypeAPIKeyEd25519 CredentialType = "CREDENTIAL_TYPE_API_KEY_ED25519"

	// CredentialTypeOtpAuthKeyP256 captures enum value "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256"
	CredentialTypeOtpAuthKeyP256 CredentialType = "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256"

	// CredentialTypeReadWriteSessionKeyP256 captures enum value "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256"
	CredentialTypeReadWriteSessionKeyP256 CredentialType = "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256"

	// CredentialTypeOauthKeyP256 captures enum value "CREDENTIAL_TYPE_OAUTH_KEY_P256"
	CredentialTypeOauthKeyP256 CredentialType = "CREDENTIAL_TYPE_OAUTH_KEY_P256"

	// CredentialTypeLogin captures enum value "CREDENTIAL_TYPE_LOGIN"
	CredentialTypeLogin CredentialType = "CREDENTIAL_TYPE_LOGIN"
)

func NewCredentialType ¶

func NewCredentialType(value CredentialType) *CredentialType

func (CredentialType) ContextValidate ¶

func (m CredentialType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this credential type based on context it is used

func (CredentialType) Pointer ¶

func (m CredentialType) Pointer() *CredentialType

Pointer returns a pointer to a freshly-allocated CredentialType.

func (CredentialType) Validate ¶

func (m CredentialType) Validate(formats strfmt.Registry) error

Validate validates this credential type

type Curve ¶

type Curve string

Curve curve

swagger:model Curve

const (

	// CurveSecp256k1 captures enum value "CURVE_SECP256K1"
	CurveSecp256k1 Curve = "CURVE_SECP256K1"

	// CurveEd25519 captures enum value "CURVE_ED25519"
	CurveEd25519 Curve = "CURVE_ED25519"
)

func NewCurve ¶

func NewCurve(value Curve) *Curve

func (Curve) ContextValidate ¶

func (m Curve) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this curve based on context it is used

func (Curve) Pointer ¶

func (m Curve) Pointer() *Curve

Pointer returns a pointer to a freshly-allocated Curve.

func (Curve) Validate ¶

func (m Curve) Validate(formats strfmt.Registry) error

Validate validates this curve

type DataV1Address ¶

type DataV1Address struct {

	// address
	Address string `json:"address,omitempty"`

	// format
	Format AddressFormat `json:"format,omitempty"`
}

DataV1Address data v1 address

swagger:model data.v1.Address

func (*DataV1Address) ContextValidate ¶

func (m *DataV1Address) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this data v1 address based on the context it is used

func (*DataV1Address) MarshalBinary ¶

func (m *DataV1Address) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataV1Address) UnmarshalBinary ¶

func (m *DataV1Address) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataV1Address) Validate ¶

func (m *DataV1Address) Validate(formats strfmt.Registry) error

Validate validates this data v1 address

type DeleteAPIKeysIntent ¶

type DeleteAPIKeysIntent struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

DeleteAPIKeysIntent delete Api keys intent

swagger:model DeleteApiKeysIntent

func (*DeleteAPIKeysIntent) ContextValidate ¶

func (m *DeleteAPIKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api keys intent based on context it is used

func (*DeleteAPIKeysIntent) MarshalBinary ¶

func (m *DeleteAPIKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysIntent) UnmarshalBinary ¶

func (m *DeleteAPIKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysIntent) Validate ¶

func (m *DeleteAPIKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys intent

type DeleteAPIKeysRequest ¶

type DeleteAPIKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteAPIKeysIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_API_KEYS]
	Type *string `json:"type"`
}

DeleteAPIKeysRequest delete Api keys request

swagger:model DeleteApiKeysRequest

func (*DeleteAPIKeysRequest) ContextValidate ¶

func (m *DeleteAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete Api keys request based on the context it is used

func (*DeleteAPIKeysRequest) MarshalBinary ¶

func (m *DeleteAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysRequest) UnmarshalBinary ¶

func (m *DeleteAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysRequest) Validate ¶

func (m *DeleteAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys request

type DeleteAPIKeysResult ¶

type DeleteAPIKeysResult struct {

	// A list of API Key IDs.
	// Required: true
	APIKeyIds []string `json:"apiKeyIds"`
}

DeleteAPIKeysResult delete Api keys result

swagger:model DeleteApiKeysResult

func (*DeleteAPIKeysResult) ContextValidate ¶

func (m *DeleteAPIKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete Api keys result based on context it is used

func (*DeleteAPIKeysResult) MarshalBinary ¶

func (m *DeleteAPIKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAPIKeysResult) UnmarshalBinary ¶

func (m *DeleteAPIKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAPIKeysResult) Validate ¶

func (m *DeleteAPIKeysResult) Validate(formats strfmt.Registry) error

Validate validates this delete Api keys result

type DeleteAuthenticatorsIntent ¶

type DeleteAuthenticatorsIntent struct {

	// A list of Authenticator IDs.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

DeleteAuthenticatorsIntent delete authenticators intent

swagger:model DeleteAuthenticatorsIntent

func (*DeleteAuthenticatorsIntent) ContextValidate ¶

func (m *DeleteAuthenticatorsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete authenticators intent based on context it is used

func (*DeleteAuthenticatorsIntent) MarshalBinary ¶

func (m *DeleteAuthenticatorsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsIntent) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsIntent) Validate ¶

func (m *DeleteAuthenticatorsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators intent

type DeleteAuthenticatorsRequest ¶

type DeleteAuthenticatorsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteAuthenticatorsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_AUTHENTICATORS]
	Type *string `json:"type"`
}

DeleteAuthenticatorsRequest delete authenticators request

swagger:model DeleteAuthenticatorsRequest

func (*DeleteAuthenticatorsRequest) ContextValidate ¶

func (m *DeleteAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete authenticators request based on the context it is used

func (*DeleteAuthenticatorsRequest) MarshalBinary ¶

func (m *DeleteAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsRequest) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsRequest) Validate ¶

func (m *DeleteAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators request

type DeleteAuthenticatorsResult ¶

type DeleteAuthenticatorsResult struct {

	// Unique identifier for a given Authenticator.
	// Required: true
	AuthenticatorIds []string `json:"authenticatorIds"`
}

DeleteAuthenticatorsResult delete authenticators result

swagger:model DeleteAuthenticatorsResult

func (*DeleteAuthenticatorsResult) ContextValidate ¶

func (m *DeleteAuthenticatorsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete authenticators result based on context it is used

func (*DeleteAuthenticatorsResult) MarshalBinary ¶

func (m *DeleteAuthenticatorsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteAuthenticatorsResult) UnmarshalBinary ¶

func (m *DeleteAuthenticatorsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteAuthenticatorsResult) Validate ¶

func (m *DeleteAuthenticatorsResult) Validate(formats strfmt.Registry) error

Validate validates this delete authenticators result

type DeleteInvitationIntent ¶

type DeleteInvitationIntent struct {

	// Unique identifier for a given Invitation object.
	// Required: true
	InvitationID *string `json:"invitationId"`
}

DeleteInvitationIntent delete invitation intent

swagger:model DeleteInvitationIntent

func (*DeleteInvitationIntent) ContextValidate ¶

func (m *DeleteInvitationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete invitation intent based on context it is used

func (*DeleteInvitationIntent) MarshalBinary ¶

func (m *DeleteInvitationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationIntent) UnmarshalBinary ¶

func (m *DeleteInvitationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationIntent) Validate ¶

func (m *DeleteInvitationIntent) Validate(formats strfmt.Registry) error

Validate validates this delete invitation intent

type DeleteInvitationRequest ¶

type DeleteInvitationRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteInvitationIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_INVITATION]
	Type *string `json:"type"`
}

DeleteInvitationRequest delete invitation request

swagger:model DeleteInvitationRequest

func (*DeleteInvitationRequest) ContextValidate ¶

func (m *DeleteInvitationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete invitation request based on the context it is used

func (*DeleteInvitationRequest) MarshalBinary ¶

func (m *DeleteInvitationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationRequest) UnmarshalBinary ¶

func (m *DeleteInvitationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationRequest) Validate ¶

func (m *DeleteInvitationRequest) Validate(formats strfmt.Registry) error

Validate validates this delete invitation request

type DeleteInvitationResult ¶

type DeleteInvitationResult struct {

	// Unique identifier for a given Invitation.
	// Required: true
	InvitationID *string `json:"invitationId"`
}

DeleteInvitationResult delete invitation result

swagger:model DeleteInvitationResult

func (*DeleteInvitationResult) ContextValidate ¶

func (m *DeleteInvitationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete invitation result based on context it is used

func (*DeleteInvitationResult) MarshalBinary ¶

func (m *DeleteInvitationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteInvitationResult) UnmarshalBinary ¶

func (m *DeleteInvitationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteInvitationResult) Validate ¶

func (m *DeleteInvitationResult) Validate(formats strfmt.Registry) error

Validate validates this delete invitation result

type DeleteOauth2CredentialIntent ¶ added in v0.9.0

type DeleteOauth2CredentialIntent struct {

	// The ID of the OAuth 2.0 credential to delete
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`
}

DeleteOauth2CredentialIntent delete oauth2 credential intent

swagger:model DeleteOauth2CredentialIntent

func (*DeleteOauth2CredentialIntent) ContextValidate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete oauth2 credential intent based on context it is used

func (*DeleteOauth2CredentialIntent) MarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauth2CredentialIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauth2CredentialIntent) Validate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialIntent) Validate(formats strfmt.Registry) error

Validate validates this delete oauth2 credential intent

type DeleteOauth2CredentialRequest ¶ added in v0.9.0

type DeleteOauth2CredentialRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteOauth2CredentialIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL]
	Type *string `json:"type"`
}

DeleteOauth2CredentialRequest delete oauth2 credential request

swagger:model DeleteOauth2CredentialRequest

func (*DeleteOauth2CredentialRequest) ContextValidate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete oauth2 credential request based on the context it is used

func (*DeleteOauth2CredentialRequest) MarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauth2CredentialRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauth2CredentialRequest) Validate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialRequest) Validate(formats strfmt.Registry) error

Validate validates this delete oauth2 credential request

type DeleteOauth2CredentialResult ¶ added in v0.9.0

type DeleteOauth2CredentialResult struct {

	// Unique identifier of the OAuth 2.0 credential that was deleted
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`
}

DeleteOauth2CredentialResult delete oauth2 credential result

swagger:model DeleteOauth2CredentialResult

func (*DeleteOauth2CredentialResult) ContextValidate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete oauth2 credential result based on context it is used

func (*DeleteOauth2CredentialResult) MarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauth2CredentialResult) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteOauth2CredentialResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauth2CredentialResult) Validate ¶ added in v0.9.0

func (m *DeleteOauth2CredentialResult) Validate(formats strfmt.Registry) error

Validate validates this delete oauth2 credential result

type DeleteOauthProvidersIntent ¶

type DeleteOauthProvidersIntent struct {

	// Unique identifier for a given Provider.
	// Required: true
	ProviderIds []string `json:"providerIds"`

	// The ID of the User to remove an Oauth provider from
	// Required: true
	UserID *string `json:"userId"`
}

DeleteOauthProvidersIntent delete oauth providers intent

swagger:model DeleteOauthProvidersIntent

func (*DeleteOauthProvidersIntent) ContextValidate ¶

func (m *DeleteOauthProvidersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete oauth providers intent based on context it is used

func (*DeleteOauthProvidersIntent) MarshalBinary ¶

func (m *DeleteOauthProvidersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauthProvidersIntent) UnmarshalBinary ¶

func (m *DeleteOauthProvidersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauthProvidersIntent) Validate ¶

func (m *DeleteOauthProvidersIntent) Validate(formats strfmt.Registry) error

Validate validates this delete oauth providers intent

type DeleteOauthProvidersRequest ¶

type DeleteOauthProvidersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteOauthProvidersIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS]
	Type *string `json:"type"`
}

DeleteOauthProvidersRequest delete oauth providers request

swagger:model DeleteOauthProvidersRequest

func (*DeleteOauthProvidersRequest) ContextValidate ¶

func (m *DeleteOauthProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete oauth providers request based on the context it is used

func (*DeleteOauthProvidersRequest) MarshalBinary ¶

func (m *DeleteOauthProvidersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauthProvidersRequest) UnmarshalBinary ¶

func (m *DeleteOauthProvidersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauthProvidersRequest) Validate ¶

func (m *DeleteOauthProvidersRequest) Validate(formats strfmt.Registry) error

Validate validates this delete oauth providers request

type DeleteOauthProvidersResult ¶

type DeleteOauthProvidersResult struct {

	// A list of unique identifiers for Oauth Providers
	// Required: true
	ProviderIds []string `json:"providerIds"`
}

DeleteOauthProvidersResult delete oauth providers result

swagger:model DeleteOauthProvidersResult

func (*DeleteOauthProvidersResult) ContextValidate ¶

func (m *DeleteOauthProvidersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete oauth providers result based on context it is used

func (*DeleteOauthProvidersResult) MarshalBinary ¶

func (m *DeleteOauthProvidersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOauthProvidersResult) UnmarshalBinary ¶

func (m *DeleteOauthProvidersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOauthProvidersResult) Validate ¶

func (m *DeleteOauthProvidersResult) Validate(formats strfmt.Registry) error

Validate validates this delete oauth providers result

type DeleteOrganizationIntent ¶

type DeleteOrganizationIntent struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

DeleteOrganizationIntent delete organization intent

swagger:model DeleteOrganizationIntent

func (*DeleteOrganizationIntent) ContextValidate ¶

func (m *DeleteOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete organization intent based on context it is used

func (*DeleteOrganizationIntent) MarshalBinary ¶

func (m *DeleteOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrganizationIntent) UnmarshalBinary ¶

func (m *DeleteOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrganizationIntent) Validate ¶

func (m *DeleteOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this delete organization intent

type DeleteOrganizationResult ¶

type DeleteOrganizationResult struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

DeleteOrganizationResult delete organization result

swagger:model DeleteOrganizationResult

func (*DeleteOrganizationResult) ContextValidate ¶

func (m *DeleteOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete organization result based on context it is used

func (*DeleteOrganizationResult) MarshalBinary ¶

func (m *DeleteOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteOrganizationResult) UnmarshalBinary ¶

func (m *DeleteOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteOrganizationResult) Validate ¶

func (m *DeleteOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this delete organization result

type DeletePaymentMethodIntent ¶

type DeletePaymentMethodIntent struct {

	// The payment method that the customer wants to remove.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

DeletePaymentMethodIntent delete payment method intent

swagger:model DeletePaymentMethodIntent

func (*DeletePaymentMethodIntent) ContextValidate ¶

func (m *DeletePaymentMethodIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete payment method intent based on context it is used

func (*DeletePaymentMethodIntent) MarshalBinary ¶

func (m *DeletePaymentMethodIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePaymentMethodIntent) UnmarshalBinary ¶

func (m *DeletePaymentMethodIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePaymentMethodIntent) Validate ¶

func (m *DeletePaymentMethodIntent) Validate(formats strfmt.Registry) error

Validate validates this delete payment method intent

type DeletePaymentMethodResult ¶

type DeletePaymentMethodResult struct {

	// The payment method that was removed.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

DeletePaymentMethodResult delete payment method result

swagger:model DeletePaymentMethodResult

func (*DeletePaymentMethodResult) ContextValidate ¶

func (m *DeletePaymentMethodResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete payment method result based on context it is used

func (*DeletePaymentMethodResult) MarshalBinary ¶

func (m *DeletePaymentMethodResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePaymentMethodResult) UnmarshalBinary ¶

func (m *DeletePaymentMethodResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePaymentMethodResult) Validate ¶

func (m *DeletePaymentMethodResult) Validate(formats strfmt.Registry) error

Validate validates this delete payment method result

type DeletePoliciesIntent ¶ added in v0.9.0

type DeletePoliciesIntent struct {

	// List of unique identifiers for policies within an organization
	// Required: true
	PolicyIds []string `json:"policyIds"`
}

DeletePoliciesIntent delete policies intent

swagger:model DeletePoliciesIntent

func (*DeletePoliciesIntent) ContextValidate ¶ added in v0.9.0

func (m *DeletePoliciesIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policies intent based on context it is used

func (*DeletePoliciesIntent) MarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePoliciesIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePoliciesIntent) Validate ¶ added in v0.9.0

func (m *DeletePoliciesIntent) Validate(formats strfmt.Registry) error

Validate validates this delete policies intent

type DeletePoliciesRequest ¶ added in v0.9.0

type DeletePoliciesRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePoliciesIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_POLICIES]
	Type *string `json:"type"`
}

DeletePoliciesRequest delete policies request

swagger:model DeletePoliciesRequest

func (*DeletePoliciesRequest) ContextValidate ¶ added in v0.9.0

func (m *DeletePoliciesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete policies request based on the context it is used

func (*DeletePoliciesRequest) MarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePoliciesRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePoliciesRequest) Validate ¶ added in v0.9.0

func (m *DeletePoliciesRequest) Validate(formats strfmt.Registry) error

Validate validates this delete policies request

type DeletePoliciesResult ¶ added in v0.9.0

type DeletePoliciesResult struct {

	// A list of unique identifiers for the deleted policies.
	// Required: true
	PolicyIds []string `json:"policyIds"`
}

DeletePoliciesResult delete policies result

swagger:model DeletePoliciesResult

func (*DeletePoliciesResult) ContextValidate ¶ added in v0.9.0

func (m *DeletePoliciesResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policies result based on context it is used

func (*DeletePoliciesResult) MarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePoliciesResult) UnmarshalBinary ¶ added in v0.9.0

func (m *DeletePoliciesResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePoliciesResult) Validate ¶ added in v0.9.0

func (m *DeletePoliciesResult) Validate(formats strfmt.Registry) error

Validate validates this delete policies result

type DeletePolicyIntent ¶

type DeletePolicyIntent struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

DeletePolicyIntent delete policy intent

swagger:model DeletePolicyIntent

func (*DeletePolicyIntent) ContextValidate ¶

func (m *DeletePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policy intent based on context it is used

func (*DeletePolicyIntent) MarshalBinary ¶

func (m *DeletePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyIntent) UnmarshalBinary ¶

func (m *DeletePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyIntent) Validate ¶

func (m *DeletePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this delete policy intent

type DeletePolicyRequest ¶

type DeletePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePolicyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_POLICY]
	Type *string `json:"type"`
}

DeletePolicyRequest delete policy request

swagger:model DeletePolicyRequest

func (*DeletePolicyRequest) ContextValidate ¶

func (m *DeletePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete policy request based on the context it is used

func (*DeletePolicyRequest) MarshalBinary ¶

func (m *DeletePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyRequest) UnmarshalBinary ¶

func (m *DeletePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyRequest) Validate ¶

func (m *DeletePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this delete policy request

type DeletePolicyResult ¶

type DeletePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

DeletePolicyResult delete policy result

swagger:model DeletePolicyResult

func (*DeletePolicyResult) ContextValidate ¶

func (m *DeletePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete policy result based on context it is used

func (*DeletePolicyResult) MarshalBinary ¶

func (m *DeletePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePolicyResult) UnmarshalBinary ¶

func (m *DeletePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePolicyResult) Validate ¶

func (m *DeletePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this delete policy result

type DeletePrivateKeyTagsIntent ¶

type DeletePrivateKeyTagsIntent struct {

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTagIds []string `json:"privateKeyTagIds"`
}

DeletePrivateKeyTagsIntent delete private key tags intent

swagger:model DeletePrivateKeyTagsIntent

func (*DeletePrivateKeyTagsIntent) ContextValidate ¶

func (m *DeletePrivateKeyTagsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private key tags intent based on context it is used

func (*DeletePrivateKeyTagsIntent) MarshalBinary ¶

func (m *DeletePrivateKeyTagsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsIntent) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsIntent) Validate ¶

func (m *DeletePrivateKeyTagsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags intent

type DeletePrivateKeyTagsRequest ¶

type DeletePrivateKeyTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePrivateKeyTagsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS]
	Type *string `json:"type"`
}

DeletePrivateKeyTagsRequest delete private key tags request

swagger:model DeletePrivateKeyTagsRequest

func (*DeletePrivateKeyTagsRequest) ContextValidate ¶

func (m *DeletePrivateKeyTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete private key tags request based on the context it is used

func (*DeletePrivateKeyTagsRequest) MarshalBinary ¶

func (m *DeletePrivateKeyTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsRequest) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsRequest) Validate ¶

func (m *DeletePrivateKeyTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags request

type DeletePrivateKeyTagsResult ¶

type DeletePrivateKeyTagsResult struct {

	// A list of Private Key IDs.
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTagIds []string `json:"privateKeyTagIds"`
}

DeletePrivateKeyTagsResult delete private key tags result

swagger:model DeletePrivateKeyTagsResult

func (*DeletePrivateKeyTagsResult) ContextValidate ¶

func (m *DeletePrivateKeyTagsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private key tags result based on context it is used

func (*DeletePrivateKeyTagsResult) MarshalBinary ¶

func (m *DeletePrivateKeyTagsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeyTagsResult) UnmarshalBinary ¶

func (m *DeletePrivateKeyTagsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeyTagsResult) Validate ¶

func (m *DeletePrivateKeyTagsResult) Validate(formats strfmt.Registry) error

Validate validates this delete private key tags result

type DeletePrivateKeysIntent ¶

type DeletePrivateKeysIntent struct {

	// Optional parameter for deleting the private keys, even if any have not been previously exported. If they have been exported, this field is ignored.
	DeleteWithoutExport *bool `json:"deleteWithoutExport,omitempty"`

	// List of unique identifiers for private keys within an organization
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`
}

DeletePrivateKeysIntent delete private keys intent

swagger:model DeletePrivateKeysIntent

func (*DeletePrivateKeysIntent) ContextValidate ¶

func (m *DeletePrivateKeysIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private keys intent based on context it is used

func (*DeletePrivateKeysIntent) MarshalBinary ¶

func (m *DeletePrivateKeysIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeysIntent) UnmarshalBinary ¶

func (m *DeletePrivateKeysIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeysIntent) Validate ¶

func (m *DeletePrivateKeysIntent) Validate(formats strfmt.Registry) error

Validate validates this delete private keys intent

type DeletePrivateKeysRequest ¶

type DeletePrivateKeysRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeletePrivateKeysIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_PRIVATE_KEYS]
	Type *string `json:"type"`
}

DeletePrivateKeysRequest delete private keys request

swagger:model DeletePrivateKeysRequest

func (*DeletePrivateKeysRequest) ContextValidate ¶

func (m *DeletePrivateKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete private keys request based on the context it is used

func (*DeletePrivateKeysRequest) MarshalBinary ¶

func (m *DeletePrivateKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeysRequest) UnmarshalBinary ¶

func (m *DeletePrivateKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeysRequest) Validate ¶

func (m *DeletePrivateKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this delete private keys request

type DeletePrivateKeysResult ¶

type DeletePrivateKeysResult struct {

	// A list of private key unique identifiers that were removed
	// Required: true
	PrivateKeyIds []string `json:"privateKeyIds"`
}

DeletePrivateKeysResult delete private keys result

swagger:model DeletePrivateKeysResult

func (*DeletePrivateKeysResult) ContextValidate ¶

func (m *DeletePrivateKeysResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete private keys result based on context it is used

func (*DeletePrivateKeysResult) MarshalBinary ¶

func (m *DeletePrivateKeysResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeletePrivateKeysResult) UnmarshalBinary ¶

func (m *DeletePrivateKeysResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeletePrivateKeysResult) Validate ¶

func (m *DeletePrivateKeysResult) Validate(formats strfmt.Registry) error

Validate validates this delete private keys result

type DeleteSmartContractInterfaceIntent ¶ added in v0.7.0

type DeleteSmartContractInterfaceIntent struct {

	// The ID of a Smart Contract Interface intended for deletion.
	// Required: true
	SmartContractInterfaceID *string `json:"smartContractInterfaceId"`
}

DeleteSmartContractInterfaceIntent delete smart contract interface intent

swagger:model DeleteSmartContractInterfaceIntent

func (*DeleteSmartContractInterfaceIntent) ContextValidate ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete smart contract interface intent based on context it is used

func (*DeleteSmartContractInterfaceIntent) MarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSmartContractInterfaceIntent) UnmarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSmartContractInterfaceIntent) Validate ¶ added in v0.7.0

Validate validates this delete smart contract interface intent

type DeleteSmartContractInterfaceRequest ¶ added in v0.7.0

type DeleteSmartContractInterfaceRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteSmartContractInterfaceIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE]
	Type *string `json:"type"`
}

DeleteSmartContractInterfaceRequest delete smart contract interface request

swagger:model DeleteSmartContractInterfaceRequest

func (*DeleteSmartContractInterfaceRequest) ContextValidate ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete smart contract interface request based on the context it is used

func (*DeleteSmartContractInterfaceRequest) MarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSmartContractInterfaceRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSmartContractInterfaceRequest) Validate ¶ added in v0.7.0

Validate validates this delete smart contract interface request

type DeleteSmartContractInterfaceResult ¶ added in v0.7.0

type DeleteSmartContractInterfaceResult struct {

	// The ID of the deleted Smart Contract Interface.
	// Required: true
	SmartContractInterfaceID *string `json:"smartContractInterfaceId"`
}

DeleteSmartContractInterfaceResult delete smart contract interface result

swagger:model DeleteSmartContractInterfaceResult

func (*DeleteSmartContractInterfaceResult) ContextValidate ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete smart contract interface result based on context it is used

func (*DeleteSmartContractInterfaceResult) MarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSmartContractInterfaceResult) UnmarshalBinary ¶ added in v0.7.0

func (m *DeleteSmartContractInterfaceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSmartContractInterfaceResult) Validate ¶ added in v0.7.0

Validate validates this delete smart contract interface result

type DeleteSubOrganizationIntent ¶

type DeleteSubOrganizationIntent struct {

	// Sub-organization deletion, by default, requires associated wallets and private keys to be exported for security reasons. Set this boolean to true to force sub-organization deletion even if some wallets or private keys within it have not been exported yet. Default: false.
	DeleteWithoutExport *bool `json:"deleteWithoutExport,omitempty"`
}

DeleteSubOrganizationIntent delete sub organization intent

swagger:model DeleteSubOrganizationIntent

func (*DeleteSubOrganizationIntent) ContextValidate ¶

func (m *DeleteSubOrganizationIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete sub organization intent based on context it is used

func (*DeleteSubOrganizationIntent) MarshalBinary ¶

func (m *DeleteSubOrganizationIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSubOrganizationIntent) UnmarshalBinary ¶

func (m *DeleteSubOrganizationIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSubOrganizationIntent) Validate ¶

func (m *DeleteSubOrganizationIntent) Validate(formats strfmt.Registry) error

Validate validates this delete sub organization intent

type DeleteSubOrganizationRequest ¶

type DeleteSubOrganizationRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteSubOrganizationIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION]
	Type *string `json:"type"`
}

DeleteSubOrganizationRequest delete sub organization request

swagger:model DeleteSubOrganizationRequest

func (*DeleteSubOrganizationRequest) ContextValidate ¶

func (m *DeleteSubOrganizationRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete sub organization request based on the context it is used

func (*DeleteSubOrganizationRequest) MarshalBinary ¶

func (m *DeleteSubOrganizationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSubOrganizationRequest) UnmarshalBinary ¶

func (m *DeleteSubOrganizationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSubOrganizationRequest) Validate ¶

func (m *DeleteSubOrganizationRequest) Validate(formats strfmt.Registry) error

Validate validates this delete sub organization request

type DeleteSubOrganizationResult ¶

type DeleteSubOrganizationResult struct {

	// Unique identifier of the sub organization that was removed
	// Required: true
	SubOrganizationUUID *string `json:"subOrganizationUuid"`
}

DeleteSubOrganizationResult delete sub organization result

swagger:model DeleteSubOrganizationResult

func (*DeleteSubOrganizationResult) ContextValidate ¶

func (m *DeleteSubOrganizationResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete sub organization result based on context it is used

func (*DeleteSubOrganizationResult) MarshalBinary ¶

func (m *DeleteSubOrganizationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteSubOrganizationResult) UnmarshalBinary ¶

func (m *DeleteSubOrganizationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteSubOrganizationResult) Validate ¶

func (m *DeleteSubOrganizationResult) Validate(formats strfmt.Registry) error

Validate validates this delete sub organization result

type DeleteUserTagsIntent ¶

type DeleteUserTagsIntent struct {

	// A list of User Tag IDs.
	// Required: true
	UserTagIds []string `json:"userTagIds"`
}

DeleteUserTagsIntent delete user tags intent

swagger:model DeleteUserTagsIntent

func (*DeleteUserTagsIntent) ContextValidate ¶

func (m *DeleteUserTagsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete user tags intent based on context it is used

func (*DeleteUserTagsIntent) MarshalBinary ¶

func (m *DeleteUserTagsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsIntent) UnmarshalBinary ¶

func (m *DeleteUserTagsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsIntent) Validate ¶

func (m *DeleteUserTagsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete user tags intent

type DeleteUserTagsRequest ¶

type DeleteUserTagsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteUserTagsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_USER_TAGS]
	Type *string `json:"type"`
}

DeleteUserTagsRequest delete user tags request

swagger:model DeleteUserTagsRequest

func (*DeleteUserTagsRequest) ContextValidate ¶

func (m *DeleteUserTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete user tags request based on the context it is used

func (*DeleteUserTagsRequest) MarshalBinary ¶

func (m *DeleteUserTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsRequest) UnmarshalBinary ¶

func (m *DeleteUserTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsRequest) Validate ¶

func (m *DeleteUserTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete user tags request

type DeleteUserTagsResult ¶

type DeleteUserTagsResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`

	// A list of User Tag IDs.
	// Required: true
	UserTagIds []string `json:"userTagIds"`
}

DeleteUserTagsResult delete user tags result

swagger:model DeleteUserTagsResult

func (*DeleteUserTagsResult) ContextValidate ¶

func (m *DeleteUserTagsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete user tags result based on context it is used

func (*DeleteUserTagsResult) MarshalBinary ¶

func (m *DeleteUserTagsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUserTagsResult) UnmarshalBinary ¶

func (m *DeleteUserTagsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUserTagsResult) Validate ¶

func (m *DeleteUserTagsResult) Validate(formats strfmt.Registry) error

Validate validates this delete user tags result

type DeleteUsersIntent ¶

type DeleteUsersIntent struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

DeleteUsersIntent delete users intent

swagger:model DeleteUsersIntent

func (*DeleteUsersIntent) ContextValidate ¶

func (m *DeleteUsersIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete users intent based on context it is used

func (*DeleteUsersIntent) MarshalBinary ¶

func (m *DeleteUsersIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersIntent) UnmarshalBinary ¶

func (m *DeleteUsersIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersIntent) Validate ¶

func (m *DeleteUsersIntent) Validate(formats strfmt.Registry) error

Validate validates this delete users intent

type DeleteUsersRequest ¶

type DeleteUsersRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteUsersIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_USERS]
	Type *string `json:"type"`
}

DeleteUsersRequest delete users request

swagger:model DeleteUsersRequest

func (*DeleteUsersRequest) ContextValidate ¶

func (m *DeleteUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete users request based on the context it is used

func (*DeleteUsersRequest) MarshalBinary ¶

func (m *DeleteUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersRequest) UnmarshalBinary ¶

func (m *DeleteUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersRequest) Validate ¶

func (m *DeleteUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this delete users request

type DeleteUsersResult ¶

type DeleteUsersResult struct {

	// A list of User IDs.
	// Required: true
	UserIds []string `json:"userIds"`
}

DeleteUsersResult delete users result

swagger:model DeleteUsersResult

func (*DeleteUsersResult) ContextValidate ¶

func (m *DeleteUsersResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete users result based on context it is used

func (*DeleteUsersResult) MarshalBinary ¶

func (m *DeleteUsersResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteUsersResult) UnmarshalBinary ¶

func (m *DeleteUsersResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteUsersResult) Validate ¶

func (m *DeleteUsersResult) Validate(formats strfmt.Registry) error

Validate validates this delete users result

type DeleteWalletAccountsIntent ¶ added in v0.9.0

type DeleteWalletAccountsIntent struct {

	// Optional parameter for deleting the wallet accounts, even if any have not been previously exported. If they have been exported, this field is ignored.
	DeleteWithoutExport *bool `json:"deleteWithoutExport,omitempty"`

	// List of unique identifiers for wallet accounts within an organization
	// Required: true
	WalletAccountIds []string `json:"walletAccountIds"`
}

DeleteWalletAccountsIntent delete wallet accounts intent

swagger:model DeleteWalletAccountsIntent

func (*DeleteWalletAccountsIntent) ContextValidate ¶ added in v0.9.0

func (m *DeleteWalletAccountsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete wallet accounts intent based on context it is used

func (*DeleteWalletAccountsIntent) MarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletAccountsIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletAccountsIntent) Validate ¶ added in v0.9.0

func (m *DeleteWalletAccountsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete wallet accounts intent

type DeleteWalletAccountsRequest ¶ added in v0.9.0

type DeleteWalletAccountsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteWalletAccountsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS]
	Type *string `json:"type"`
}

DeleteWalletAccountsRequest delete wallet accounts request

swagger:model DeleteWalletAccountsRequest

func (*DeleteWalletAccountsRequest) ContextValidate ¶ added in v0.9.0

func (m *DeleteWalletAccountsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete wallet accounts request based on the context it is used

func (*DeleteWalletAccountsRequest) MarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletAccountsRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletAccountsRequest) Validate ¶ added in v0.9.0

func (m *DeleteWalletAccountsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete wallet accounts request

type DeleteWalletAccountsResult ¶ added in v0.9.0

type DeleteWalletAccountsResult struct {

	// A list of wallet account unique identifiers that were removed
	// Required: true
	WalletAccountIds []string `json:"walletAccountIds"`
}

DeleteWalletAccountsResult delete wallet accounts result

swagger:model DeleteWalletAccountsResult

func (*DeleteWalletAccountsResult) ContextValidate ¶ added in v0.9.0

func (m *DeleteWalletAccountsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete wallet accounts result based on context it is used

func (*DeleteWalletAccountsResult) MarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletAccountsResult) UnmarshalBinary ¶ added in v0.9.0

func (m *DeleteWalletAccountsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletAccountsResult) Validate ¶ added in v0.9.0

func (m *DeleteWalletAccountsResult) Validate(formats strfmt.Registry) error

Validate validates this delete wallet accounts result

type DeleteWalletsIntent ¶

type DeleteWalletsIntent struct {

	// Optional parameter for deleting the wallets, even if any have not been previously exported. If they have been exported, this field is ignored.
	DeleteWithoutExport *bool `json:"deleteWithoutExport,omitempty"`

	// List of unique identifiers for wallets within an organization
	// Required: true
	WalletIds []string `json:"walletIds"`
}

DeleteWalletsIntent delete wallets intent

swagger:model DeleteWalletsIntent

func (*DeleteWalletsIntent) ContextValidate ¶

func (m *DeleteWalletsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete wallets intent based on context it is used

func (*DeleteWalletsIntent) MarshalBinary ¶

func (m *DeleteWalletsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletsIntent) UnmarshalBinary ¶

func (m *DeleteWalletsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletsIntent) Validate ¶

func (m *DeleteWalletsIntent) Validate(formats strfmt.Registry) error

Validate validates this delete wallets intent

type DeleteWalletsRequest ¶

type DeleteWalletsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *DeleteWalletsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_DELETE_WALLETS]
	Type *string `json:"type"`
}

DeleteWalletsRequest delete wallets request

swagger:model DeleteWalletsRequest

func (*DeleteWalletsRequest) ContextValidate ¶

func (m *DeleteWalletsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this delete wallets request based on the context it is used

func (*DeleteWalletsRequest) MarshalBinary ¶

func (m *DeleteWalletsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletsRequest) UnmarshalBinary ¶

func (m *DeleteWalletsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletsRequest) Validate ¶

func (m *DeleteWalletsRequest) Validate(formats strfmt.Registry) error

Validate validates this delete wallets request

type DeleteWalletsResult ¶

type DeleteWalletsResult struct {

	// A list of wallet unique identifiers that were removed
	// Required: true
	WalletIds []string `json:"walletIds"`
}

DeleteWalletsResult delete wallets result

swagger:model DeleteWalletsResult

func (*DeleteWalletsResult) ContextValidate ¶

func (m *DeleteWalletsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this delete wallets result based on context it is used

func (*DeleteWalletsResult) MarshalBinary ¶

func (m *DeleteWalletsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeleteWalletsResult) UnmarshalBinary ¶

func (m *DeleteWalletsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeleteWalletsResult) Validate ¶

func (m *DeleteWalletsResult) Validate(formats strfmt.Registry) error

Validate validates this delete wallets result

type DisableAuthProxyIntent ¶ added in v0.9.0

type DisableAuthProxyIntent interface{}

DisableAuthProxyIntent disable auth proxy intent

swagger:model DisableAuthProxyIntent

type DisableAuthProxyResult ¶ added in v0.9.0

type DisableAuthProxyResult interface{}

DisableAuthProxyResult disable auth proxy result

swagger:model DisableAuthProxyResult

type DisablePrivateKeyIntent ¶

type DisablePrivateKeyIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

DisablePrivateKeyIntent disable private key intent

swagger:model DisablePrivateKeyIntent

func (*DisablePrivateKeyIntent) ContextValidate ¶

func (m *DisablePrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disable private key intent based on context it is used

func (*DisablePrivateKeyIntent) MarshalBinary ¶

func (m *DisablePrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisablePrivateKeyIntent) UnmarshalBinary ¶

func (m *DisablePrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisablePrivateKeyIntent) Validate ¶

func (m *DisablePrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this disable private key intent

type DisablePrivateKeyResult ¶

type DisablePrivateKeyResult struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

DisablePrivateKeyResult disable private key result

swagger:model DisablePrivateKeyResult

func (*DisablePrivateKeyResult) ContextValidate ¶

func (m *DisablePrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disable private key result based on context it is used

func (*DisablePrivateKeyResult) MarshalBinary ¶

func (m *DisablePrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DisablePrivateKeyResult) UnmarshalBinary ¶

func (m *DisablePrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DisablePrivateKeyResult) Validate ¶

func (m *DisablePrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this disable private key result

type Effect ¶

type Effect string

Effect effect

swagger:model Effect

const (

	// EffectAllow captures enum value "EFFECT_ALLOW"
	EffectAllow Effect = "EFFECT_ALLOW"

	// EffectDeny captures enum value "EFFECT_DENY"
	EffectDeny Effect = "EFFECT_DENY"
)

func NewEffect ¶

func NewEffect(value Effect) *Effect

func (Effect) ContextValidate ¶

func (m Effect) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this effect based on context it is used

func (Effect) Pointer ¶

func (m Effect) Pointer() *Effect

Pointer returns a pointer to a freshly-allocated Effect.

func (Effect) Validate ¶

func (m Effect) Validate(formats strfmt.Registry) error

Validate validates this effect

type EmailAuthIntent ¶

type EmailAuthIntent struct {

	// Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Email of the authenticating user.
	// Required: true
	Email *string `json:"email"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Email Auth API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

EmailAuthIntent email auth intent

swagger:model EmailAuthIntent

func (*EmailAuthIntent) ContextValidate ¶

func (m *EmailAuthIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email auth intent based on the context it is used

func (*EmailAuthIntent) MarshalBinary ¶

func (m *EmailAuthIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthIntent) UnmarshalBinary ¶

func (m *EmailAuthIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthIntent) Validate ¶

func (m *EmailAuthIntent) Validate(formats strfmt.Registry) error

Validate validates this email auth intent

type EmailAuthIntentV2 ¶

type EmailAuthIntentV2 struct {

	// Optional human-readable name for an API Key. If none provided, default to Email Auth - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Email of the authenticating user.
	// Required: true
	Email *string `json:"email"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Email Auth API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Client-side public key generated by the user, to which the email auth bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

EmailAuthIntentV2 email auth intent v2

swagger:model EmailAuthIntentV2

func (*EmailAuthIntentV2) ContextValidate ¶

func (m *EmailAuthIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email auth intent v2 based on the context it is used

func (*EmailAuthIntentV2) MarshalBinary ¶

func (m *EmailAuthIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthIntentV2) UnmarshalBinary ¶

func (m *EmailAuthIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthIntentV2) Validate ¶

func (m *EmailAuthIntentV2) Validate(formats strfmt.Registry) error

Validate validates this email auth intent v2

type EmailAuthRequest ¶

type EmailAuthRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *EmailAuthIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EMAIL_AUTH_V2]
	Type *string `json:"type"`
}

EmailAuthRequest email auth request

swagger:model EmailAuthRequest

func (*EmailAuthRequest) ContextValidate ¶

func (m *EmailAuthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this email auth request based on the context it is used

func (*EmailAuthRequest) MarshalBinary ¶

func (m *EmailAuthRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthRequest) UnmarshalBinary ¶

func (m *EmailAuthRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthRequest) Validate ¶

func (m *EmailAuthRequest) Validate(formats strfmt.Registry) error

Validate validates this email auth request

type EmailAuthResult ¶

type EmailAuthResult struct {

	// Unique identifier for the created API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Unique identifier for the authenticating User.
	// Required: true
	UserID *string `json:"userId"`
}

EmailAuthResult email auth result

swagger:model EmailAuthResult

func (*EmailAuthResult) ContextValidate ¶

func (m *EmailAuthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this email auth result based on context it is used

func (*EmailAuthResult) MarshalBinary ¶

func (m *EmailAuthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailAuthResult) UnmarshalBinary ¶

func (m *EmailAuthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailAuthResult) Validate ¶

func (m *EmailAuthResult) Validate(formats strfmt.Registry) error

Validate validates this email auth result

type EmailCustomizationParams ¶

type EmailCustomizationParams struct {

	// The name of the application.
	AppName *string `json:"appName,omitempty"`

	// A URL pointing to a logo in PNG format. Note this logo will be resized to fit into 340px x 124px.
	LogoURL *string `json:"logoUrl,omitempty"`

	// A template for the URL to be used in a magic link button, e.g. `https://dapp.xyz/%s`. The auth bundle will be interpolated into the `%s`.
	MagicLinkTemplate *string `json:"magicLinkTemplate,omitempty"`

	// Unique identifier for a given Email Template. If not specified, the default is the most recent Email Template.
	TemplateID *string `json:"templateId,omitempty"`

	// JSON object containing key/value pairs to be used with custom templates.
	TemplateVariables *string `json:"templateVariables,omitempty"`
}

EmailCustomizationParams email customization params

swagger:model EmailCustomizationParams

func (*EmailCustomizationParams) ContextValidate ¶

func (m *EmailCustomizationParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this email customization params based on context it is used

func (*EmailCustomizationParams) MarshalBinary ¶

func (m *EmailCustomizationParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EmailCustomizationParams) UnmarshalBinary ¶

func (m *EmailCustomizationParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EmailCustomizationParams) Validate ¶

func (m *EmailCustomizationParams) Validate(formats strfmt.Registry) error

Validate validates this email customization params

type EnableAuthProxyIntent ¶ added in v0.9.0

type EnableAuthProxyIntent interface{}

EnableAuthProxyIntent enable auth proxy intent

swagger:model EnableAuthProxyIntent

type EnableAuthProxyResult ¶ added in v0.9.0

type EnableAuthProxyResult struct {

	// A User ID with permission to initiate authentication.
	// Required: true
	UserID *string `json:"userId"`
}

EnableAuthProxyResult enable auth proxy result

swagger:model EnableAuthProxyResult

func (*EnableAuthProxyResult) ContextValidate ¶ added in v0.9.0

func (m *EnableAuthProxyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enable auth proxy result based on context it is used

func (*EnableAuthProxyResult) MarshalBinary ¶ added in v0.9.0

func (m *EnableAuthProxyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnableAuthProxyResult) UnmarshalBinary ¶ added in v0.9.0

func (m *EnableAuthProxyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnableAuthProxyResult) Validate ¶ added in v0.9.0

func (m *EnableAuthProxyResult) Validate(formats strfmt.Registry) error

Validate validates this enable auth proxy result

type EthSendRawTransactionIntent ¶ added in v0.10.0

type EthSendRawTransactionIntent struct {

	// The CAIP-2 chain ID.
	// Required: true
	// Enum: [eip155:1 eip155:11155111 eip155:8453 eip155:84532]
	ChainID *string `json:"chainId"`

	// The raw, signed transaction to be sent.
	// Required: true
	SignedTransaction *string `json:"signedTransaction"`
}

EthSendRawTransactionIntent eth send raw transaction intent

swagger:model EthSendRawTransactionIntent

func (*EthSendRawTransactionIntent) ContextValidate ¶ added in v0.10.0

func (m *EthSendRawTransactionIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this eth send raw transaction intent based on context it is used

func (*EthSendRawTransactionIntent) MarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EthSendRawTransactionIntent) UnmarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EthSendRawTransactionIntent) Validate ¶ added in v0.10.0

func (m *EthSendRawTransactionIntent) Validate(formats strfmt.Registry) error

Validate validates this eth send raw transaction intent

type EthSendRawTransactionRequest ¶ added in v0.10.0

type EthSendRawTransactionRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *EthSendRawTransactionIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION]
	Type *string `json:"type"`
}

EthSendRawTransactionRequest eth send raw transaction request

swagger:model EthSendRawTransactionRequest

func (*EthSendRawTransactionRequest) ContextValidate ¶ added in v0.10.0

func (m *EthSendRawTransactionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this eth send raw transaction request based on the context it is used

func (*EthSendRawTransactionRequest) MarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EthSendRawTransactionRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EthSendRawTransactionRequest) Validate ¶ added in v0.10.0

func (m *EthSendRawTransactionRequest) Validate(formats strfmt.Registry) error

Validate validates this eth send raw transaction request

type EthSendRawTransactionResult ¶ added in v0.10.0

type EthSendRawTransactionResult struct {

	// The transaction hash of the sent transaction
	// Required: true
	TransactionHash *string `json:"transactionHash"`
}

EthSendRawTransactionResult eth send raw transaction result

swagger:model EthSendRawTransactionResult

func (*EthSendRawTransactionResult) ContextValidate ¶ added in v0.10.0

func (m *EthSendRawTransactionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this eth send raw transaction result based on context it is used

func (*EthSendRawTransactionResult) MarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EthSendRawTransactionResult) UnmarshalBinary ¶ added in v0.10.0

func (m *EthSendRawTransactionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EthSendRawTransactionResult) Validate ¶ added in v0.10.0

func (m *EthSendRawTransactionResult) Validate(formats strfmt.Registry) error

Validate validates this eth send raw transaction result

type ExportPrivateKeyIntent ¶

type ExportPrivateKeyIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

ExportPrivateKeyIntent export private key intent

swagger:model ExportPrivateKeyIntent

func (*ExportPrivateKeyIntent) ContextValidate ¶

func (m *ExportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export private key intent based on context it is used

func (*ExportPrivateKeyIntent) MarshalBinary ¶

func (m *ExportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyIntent) UnmarshalBinary ¶

func (m *ExportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyIntent) Validate ¶

func (m *ExportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this export private key intent

type ExportPrivateKeyRequest ¶

type ExportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

ExportPrivateKeyRequest export private key request

swagger:model ExportPrivateKeyRequest

func (*ExportPrivateKeyRequest) ContextValidate ¶

func (m *ExportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export private key request based on the context it is used

func (*ExportPrivateKeyRequest) MarshalBinary ¶

func (m *ExportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyRequest) UnmarshalBinary ¶

func (m *ExportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyRequest) Validate ¶

func (m *ExportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this export private key request

type ExportPrivateKeyResult ¶

type ExportPrivateKeyResult struct {

	// Export bundle containing a private key encrypted to the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

ExportPrivateKeyResult export private key result

swagger:model ExportPrivateKeyResult

func (*ExportPrivateKeyResult) ContextValidate ¶

func (m *ExportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export private key result based on context it is used

func (*ExportPrivateKeyResult) MarshalBinary ¶

func (m *ExportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportPrivateKeyResult) UnmarshalBinary ¶

func (m *ExportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportPrivateKeyResult) Validate ¶

func (m *ExportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this export private key result

type ExportWalletAccountIntent ¶

type ExportWalletAccountIntent struct {

	// Address to identify Wallet Account.
	// Required: true
	Address *string `json:"address"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

ExportWalletAccountIntent export wallet account intent

swagger:model ExportWalletAccountIntent

func (*ExportWalletAccountIntent) ContextValidate ¶

func (m *ExportWalletAccountIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet account intent based on context it is used

func (*ExportWalletAccountIntent) MarshalBinary ¶

func (m *ExportWalletAccountIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountIntent) UnmarshalBinary ¶

func (m *ExportWalletAccountIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountIntent) Validate ¶

func (m *ExportWalletAccountIntent) Validate(formats strfmt.Registry) error

Validate validates this export wallet account intent

type ExportWalletAccountRequest ¶

type ExportWalletAccountRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportWalletAccountIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT]
	Type *string `json:"type"`
}

ExportWalletAccountRequest export wallet account request

swagger:model ExportWalletAccountRequest

func (*ExportWalletAccountRequest) ContextValidate ¶

func (m *ExportWalletAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet account request based on the context it is used

func (*ExportWalletAccountRequest) MarshalBinary ¶

func (m *ExportWalletAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountRequest) UnmarshalBinary ¶

func (m *ExportWalletAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountRequest) Validate ¶

func (m *ExportWalletAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this export wallet account request

type ExportWalletAccountResult ¶

type ExportWalletAccountResult struct {

	// Address to identify Wallet Account.
	// Required: true
	Address *string `json:"address"`

	// Export bundle containing a private key encrypted by the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`
}

ExportWalletAccountResult export wallet account result

swagger:model ExportWalletAccountResult

func (*ExportWalletAccountResult) ContextValidate ¶

func (m *ExportWalletAccountResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet account result based on context it is used

func (*ExportWalletAccountResult) MarshalBinary ¶

func (m *ExportWalletAccountResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletAccountResult) UnmarshalBinary ¶

func (m *ExportWalletAccountResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletAccountResult) Validate ¶

func (m *ExportWalletAccountResult) Validate(formats strfmt.Registry) error

Validate validates this export wallet account result

type ExportWalletIntent ¶

type ExportWalletIntent struct {

	// The language of the mnemonic to export. Defaults to English.
	Language MnemonicLanguage `json:"language,omitempty"`

	// Client-side public key generated by the user, to which the export bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ExportWalletIntent export wallet intent

swagger:model ExportWalletIntent

func (*ExportWalletIntent) ContextValidate ¶

func (m *ExportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet intent based on the context it is used

func (*ExportWalletIntent) MarshalBinary ¶

func (m *ExportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletIntent) UnmarshalBinary ¶

func (m *ExportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletIntent) Validate ¶

func (m *ExportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this export wallet intent

type ExportWalletRequest ¶

type ExportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ExportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_EXPORT_WALLET]
	Type *string `json:"type"`
}

ExportWalletRequest export wallet request

swagger:model ExportWalletRequest

func (*ExportWalletRequest) ContextValidate ¶

func (m *ExportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this export wallet request based on the context it is used

func (*ExportWalletRequest) MarshalBinary ¶

func (m *ExportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletRequest) UnmarshalBinary ¶

func (m *ExportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletRequest) Validate ¶

func (m *ExportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this export wallet request

type ExportWalletResult ¶

type ExportWalletResult struct {

	// Export bundle containing a wallet mnemonic + optional newline passphrase encrypted by the client's target public key.
	// Required: true
	ExportBundle *string `json:"exportBundle"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ExportWalletResult export wallet result

swagger:model ExportWalletResult

func (*ExportWalletResult) ContextValidate ¶

func (m *ExportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this export wallet result based on context it is used

func (*ExportWalletResult) MarshalBinary ¶

func (m *ExportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExportWalletResult) UnmarshalBinary ¶

func (m *ExportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExportWalletResult) Validate ¶

func (m *ExportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this export wallet result

type ExternalDataV1Credential ¶

type ExternalDataV1Credential struct {

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// type
	// Required: true
	Type *CredentialType `json:"type"`
}

ExternalDataV1Credential external data v1 credential

swagger:model external.data.v1.Credential

func (*ExternalDataV1Credential) ContextValidate ¶

func (m *ExternalDataV1Credential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this external data v1 credential based on the context it is used

func (*ExternalDataV1Credential) MarshalBinary ¶

func (m *ExternalDataV1Credential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalDataV1Credential) UnmarshalBinary ¶

func (m *ExternalDataV1Credential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalDataV1Credential) Validate ¶

func (m *ExternalDataV1Credential) Validate(formats strfmt.Registry) error

Validate validates this external data v1 credential

type ExternalDataV1Quorum ¶

type ExternalDataV1Quorum struct {

	// Count of unique approvals required to meet quorum.
	// Required: true
	Threshold *int32 `json:"threshold"`

	// Unique identifiers of quorum set members.
	// Required: true
	UserIds []string `json:"userIds"`
}

ExternalDataV1Quorum external data v1 quorum

swagger:model external.data.v1.Quorum

func (*ExternalDataV1Quorum) ContextValidate ¶

func (m *ExternalDataV1Quorum) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external data v1 quorum based on context it is used

func (*ExternalDataV1Quorum) MarshalBinary ¶

func (m *ExternalDataV1Quorum) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalDataV1Quorum) UnmarshalBinary ¶

func (m *ExternalDataV1Quorum) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalDataV1Quorum) Validate ¶

func (m *ExternalDataV1Quorum) Validate(formats strfmt.Registry) error

Validate validates this external data v1 quorum

type ExternalDataV1Timestamp ¶

type ExternalDataV1Timestamp struct {

	// nanos
	// Required: true
	Nanos *string `json:"nanos"`

	// seconds
	// Required: true
	Seconds *string `json:"seconds"`
}

ExternalDataV1Timestamp external data v1 timestamp

swagger:model external.data.v1.Timestamp

func (*ExternalDataV1Timestamp) ContextValidate ¶

func (m *ExternalDataV1Timestamp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this external data v1 timestamp based on context it is used

func (*ExternalDataV1Timestamp) MarshalBinary ¶

func (m *ExternalDataV1Timestamp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalDataV1Timestamp) UnmarshalBinary ¶

func (m *ExternalDataV1Timestamp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalDataV1Timestamp) Validate ¶

func (m *ExternalDataV1Timestamp) Validate(formats strfmt.Registry) error

Validate validates this external data v1 timestamp

type Feature ¶

type Feature struct {

	// name
	Name FeatureName `json:"name,omitempty"`

	// value
	Value *string `json:"value,omitempty"`
}

Feature feature

swagger:model Feature

func (*Feature) ContextValidate ¶

func (m *Feature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this feature based on the context it is used

func (*Feature) MarshalBinary ¶

func (m *Feature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Feature) UnmarshalBinary ¶

func (m *Feature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Feature) Validate ¶

func (m *Feature) Validate(formats strfmt.Registry) error

Validate validates this feature

type FeatureName ¶

type FeatureName string

FeatureName feature name

swagger:model FeatureName

const (

	// FeatureNameRootUserEmailRecovery captures enum value "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"
	FeatureNameRootUserEmailRecovery FeatureName = "FEATURE_NAME_ROOT_USER_EMAIL_RECOVERY"

	// FeatureNameWebauthnOrigins captures enum value "FEATURE_NAME_WEBAUTHN_ORIGINS"
	FeatureNameWebauthnOrigins FeatureName = "FEATURE_NAME_WEBAUTHN_ORIGINS"

	// FeatureNameEmailAuth captures enum value "FEATURE_NAME_EMAIL_AUTH"
	FeatureNameEmailAuth FeatureName = "FEATURE_NAME_EMAIL_AUTH"

	// FeatureNameEmailRecovery captures enum value "FEATURE_NAME_EMAIL_RECOVERY"
	FeatureNameEmailRecovery FeatureName = "FEATURE_NAME_EMAIL_RECOVERY"

	// FeatureNameWebhook captures enum value "FEATURE_NAME_WEBHOOK"
	FeatureNameWebhook FeatureName = "FEATURE_NAME_WEBHOOK"

	// FeatureNameSmsAuth captures enum value "FEATURE_NAME_SMS_AUTH"
	FeatureNameSmsAuth FeatureName = "FEATURE_NAME_SMS_AUTH"

	// FeatureNameOtpEmailAuth captures enum value "FEATURE_NAME_OTP_EMAIL_AUTH"
	FeatureNameOtpEmailAuth FeatureName = "FEATURE_NAME_OTP_EMAIL_AUTH"

	// FeatureNameAuthProxy captures enum value "FEATURE_NAME_AUTH_PROXY"
	FeatureNameAuthProxy FeatureName = "FEATURE_NAME_AUTH_PROXY"
)

func NewFeatureName ¶

func NewFeatureName(value FeatureName) *FeatureName

func (FeatureName) ContextValidate ¶

func (m FeatureName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this feature name based on context it is used

func (FeatureName) Pointer ¶

func (m FeatureName) Pointer() *FeatureName

Pointer returns a pointer to a freshly-allocated FeatureName.

func (FeatureName) Validate ¶

func (m FeatureName) Validate(formats strfmt.Registry) error

Validate validates this feature name

type FiatOnRampBlockchainNetwork ¶ added in v0.6.0

type FiatOnRampBlockchainNetwork string

FiatOnRampBlockchainNetwork fiat on ramp blockchain network

swagger:model FiatOnRampBlockchainNetwork

const (

	// FiatOnRampBlockchainNetworkBitcoin captures enum value "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN"
	FiatOnRampBlockchainNetworkBitcoin FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BITCOIN"

	// FiatOnRampBlockchainNetworkEthereum captures enum value "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM"
	FiatOnRampBlockchainNetworkEthereum FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_ETHEREUM"

	// FiatOnRampBlockchainNetworkSolana captures enum value "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA"
	FiatOnRampBlockchainNetworkSolana FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_SOLANA"

	// FiatOnRampBlockchainNetworkBase captures enum value "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"
	FiatOnRampBlockchainNetworkBase FiatOnRampBlockchainNetwork = "FIAT_ON_RAMP_BLOCKCHAIN_NETWORK_BASE"
)

func NewFiatOnRampBlockchainNetwork ¶ added in v0.6.0

func NewFiatOnRampBlockchainNetwork(value FiatOnRampBlockchainNetwork) *FiatOnRampBlockchainNetwork

func (FiatOnRampBlockchainNetwork) ContextValidate ¶ added in v0.6.0

func (m FiatOnRampBlockchainNetwork) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fiat on ramp blockchain network based on context it is used

func (FiatOnRampBlockchainNetwork) Pointer ¶ added in v0.6.0

Pointer returns a pointer to a freshly-allocated FiatOnRampBlockchainNetwork.

func (FiatOnRampBlockchainNetwork) Validate ¶ added in v0.6.0

func (m FiatOnRampBlockchainNetwork) Validate(formats strfmt.Registry) error

Validate validates this fiat on ramp blockchain network

type FiatOnRampCryptoCurrency ¶ added in v0.6.0

type FiatOnRampCryptoCurrency string

FiatOnRampCryptoCurrency fiat on ramp crypto currency

swagger:model FiatOnRampCryptoCurrency

const (

	// FiatOnRampCryptoCurrencyBtc captures enum value "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC"
	FiatOnRampCryptoCurrencyBtc FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC"

	// FiatOnRampCryptoCurrencyEth captures enum value "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH"
	FiatOnRampCryptoCurrencyEth FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_ETH"

	// FiatOnRampCryptoCurrencySol captures enum value "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL"
	FiatOnRampCryptoCurrencySol FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_SOL"

	// FiatOnRampCryptoCurrencyUsdc captures enum value "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"
	FiatOnRampCryptoCurrencyUsdc FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_USDC"
)

func NewFiatOnRampCryptoCurrency ¶ added in v0.6.0

func NewFiatOnRampCryptoCurrency(value FiatOnRampCryptoCurrency) *FiatOnRampCryptoCurrency

func (FiatOnRampCryptoCurrency) ContextValidate ¶ added in v0.6.0

func (m FiatOnRampCryptoCurrency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fiat on ramp crypto currency based on context it is used

func (FiatOnRampCryptoCurrency) Pointer ¶ added in v0.6.0

Pointer returns a pointer to a freshly-allocated FiatOnRampCryptoCurrency.

func (FiatOnRampCryptoCurrency) Validate ¶ added in v0.6.0

func (m FiatOnRampCryptoCurrency) Validate(formats strfmt.Registry) error

Validate validates this fiat on ramp crypto currency

type FiatOnRampCurrency ¶ added in v0.6.0

type FiatOnRampCurrency string

FiatOnRampCurrency fiat on ramp currency

swagger:model FiatOnRampCurrency

const (

	// FiatOnRampCurrencyAud captures enum value "FIAT_ON_RAMP_CURRENCY_AUD"
	FiatOnRampCurrencyAud FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_AUD"

	// FiatOnRampCurrencyBgn captures enum value "FIAT_ON_RAMP_CURRENCY_BGN"
	FiatOnRampCurrencyBgn FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_BGN"

	// FiatOnRampCurrencyBrl captures enum value "FIAT_ON_RAMP_CURRENCY_BRL"
	FiatOnRampCurrencyBrl FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_BRL"

	// FiatOnRampCurrencyCad captures enum value "FIAT_ON_RAMP_CURRENCY_CAD"
	FiatOnRampCurrencyCad FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_CAD"

	// FiatOnRampCurrencyChf captures enum value "FIAT_ON_RAMP_CURRENCY_CHF"
	FiatOnRampCurrencyChf FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_CHF"

	// FiatOnRampCurrencyCop captures enum value "FIAT_ON_RAMP_CURRENCY_COP"
	FiatOnRampCurrencyCop FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_COP"

	// FiatOnRampCurrencyCzk captures enum value "FIAT_ON_RAMP_CURRENCY_CZK"
	FiatOnRampCurrencyCzk FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_CZK"

	// FiatOnRampCurrencyDkk captures enum value "FIAT_ON_RAMP_CURRENCY_DKK"
	FiatOnRampCurrencyDkk FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_DKK"

	// FiatOnRampCurrencyDop captures enum value "FIAT_ON_RAMP_CURRENCY_DOP"
	FiatOnRampCurrencyDop FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_DOP"

	// FiatOnRampCurrencyEgp captures enum value "FIAT_ON_RAMP_CURRENCY_EGP"
	FiatOnRampCurrencyEgp FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_EGP"

	// FiatOnRampCurrencyEur captures enum value "FIAT_ON_RAMP_CURRENCY_EUR"
	FiatOnRampCurrencyEur FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_EUR"

	// FiatOnRampCurrencyGbp captures enum value "FIAT_ON_RAMP_CURRENCY_GBP"
	FiatOnRampCurrencyGbp FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_GBP"

	// FiatOnRampCurrencyHkd captures enum value "FIAT_ON_RAMP_CURRENCY_HKD"
	FiatOnRampCurrencyHkd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_HKD"

	// FiatOnRampCurrencyIdr captures enum value "FIAT_ON_RAMP_CURRENCY_IDR"
	FiatOnRampCurrencyIdr FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_IDR"

	// FiatOnRampCurrencyIls captures enum value "FIAT_ON_RAMP_CURRENCY_ILS"
	FiatOnRampCurrencyIls FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_ILS"

	// FiatOnRampCurrencyJod captures enum value "FIAT_ON_RAMP_CURRENCY_JOD"
	FiatOnRampCurrencyJod FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_JOD"

	// FiatOnRampCurrencyKes captures enum value "FIAT_ON_RAMP_CURRENCY_KES"
	FiatOnRampCurrencyKes FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_KES"

	// FiatOnRampCurrencyKwd captures enum value "FIAT_ON_RAMP_CURRENCY_KWD"
	FiatOnRampCurrencyKwd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_KWD"

	// FiatOnRampCurrencyLkr captures enum value "FIAT_ON_RAMP_CURRENCY_LKR"
	FiatOnRampCurrencyLkr FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_LKR"

	// FiatOnRampCurrencyMxn captures enum value "FIAT_ON_RAMP_CURRENCY_MXN"
	FiatOnRampCurrencyMxn FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_MXN"

	// FiatOnRampCurrencyNgn captures enum value "FIAT_ON_RAMP_CURRENCY_NGN"
	FiatOnRampCurrencyNgn FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_NGN"

	// FiatOnRampCurrencyNok captures enum value "FIAT_ON_RAMP_CURRENCY_NOK"
	FiatOnRampCurrencyNok FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_NOK"

	// FiatOnRampCurrencyNzd captures enum value "FIAT_ON_RAMP_CURRENCY_NZD"
	FiatOnRampCurrencyNzd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_NZD"

	// FiatOnRampCurrencyOmr captures enum value "FIAT_ON_RAMP_CURRENCY_OMR"
	FiatOnRampCurrencyOmr FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_OMR"

	// FiatOnRampCurrencyPen captures enum value "FIAT_ON_RAMP_CURRENCY_PEN"
	FiatOnRampCurrencyPen FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_PEN"

	// FiatOnRampCurrencyPln captures enum value "FIAT_ON_RAMP_CURRENCY_PLN"
	FiatOnRampCurrencyPln FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_PLN"

	// FiatOnRampCurrencyRon captures enum value "FIAT_ON_RAMP_CURRENCY_RON"
	FiatOnRampCurrencyRon FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_RON"

	// FiatOnRampCurrencySek captures enum value "FIAT_ON_RAMP_CURRENCY_SEK"
	FiatOnRampCurrencySek FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_SEK"

	// FiatOnRampCurrencyThb captures enum value "FIAT_ON_RAMP_CURRENCY_THB"
	FiatOnRampCurrencyThb FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_THB"

	// FiatOnRampCurrencyTry captures enum value "FIAT_ON_RAMP_CURRENCY_TRY"
	FiatOnRampCurrencyTry FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_TRY"

	// FiatOnRampCurrencyTwd captures enum value "FIAT_ON_RAMP_CURRENCY_TWD"
	FiatOnRampCurrencyTwd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_TWD"

	// FiatOnRampCurrencyUsd captures enum value "FIAT_ON_RAMP_CURRENCY_USD"
	FiatOnRampCurrencyUsd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_USD"

	// FiatOnRampCurrencyVnd captures enum value "FIAT_ON_RAMP_CURRENCY_VND"
	FiatOnRampCurrencyVnd FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_VND"

	// FiatOnRampCurrencyZar captures enum value "FIAT_ON_RAMP_CURRENCY_ZAR"
	FiatOnRampCurrencyZar FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_ZAR"
)

func NewFiatOnRampCurrency ¶ added in v0.6.0

func NewFiatOnRampCurrency(value FiatOnRampCurrency) *FiatOnRampCurrency

func (FiatOnRampCurrency) ContextValidate ¶ added in v0.6.0

func (m FiatOnRampCurrency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fiat on ramp currency based on context it is used

func (FiatOnRampCurrency) Pointer ¶ added in v0.6.0

Pointer returns a pointer to a freshly-allocated FiatOnRampCurrency.

func (FiatOnRampCurrency) Validate ¶ added in v0.6.0

func (m FiatOnRampCurrency) Validate(formats strfmt.Registry) error

Validate validates this fiat on ramp currency

type FiatOnRampPaymentMethod ¶ added in v0.6.0

type FiatOnRampPaymentMethod string

FiatOnRampPaymentMethod fiat on ramp payment method

swagger:model FiatOnRampPaymentMethod

const (

	// FiatOnRampPaymentMethodCreditDebitCard captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD"
	FiatOnRampPaymentMethodCreditDebitCard FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD"

	// FiatOnRampPaymentMethodApplePay captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY"
	FiatOnRampPaymentMethodApplePay FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY"

	// FiatOnRampPaymentMethodGbpBankTransfer captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER"
	FiatOnRampPaymentMethodGbpBankTransfer FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER"

	// FiatOnRampPaymentMethodGbpOpenBankingPayment captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT"
	FiatOnRampPaymentMethodGbpOpenBankingPayment FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT"

	// FiatOnRampPaymentMethodGooglePay captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY"
	FiatOnRampPaymentMethodGooglePay FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY"

	// FiatOnRampPaymentMethodSepaBankTransfer captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER"
	FiatOnRampPaymentMethodSepaBankTransfer FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER"

	// FiatOnRampPaymentMethodPixInstantPayment captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT"
	FiatOnRampPaymentMethodPixInstantPayment FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT"

	// FiatOnRampPaymentMethodPaypal captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL"
	FiatOnRampPaymentMethodPaypal FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL"

	// FiatOnRampPaymentMethodVenmo captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO"
	FiatOnRampPaymentMethodVenmo FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO"

	// FiatOnRampPaymentMethodMoonpayBalance captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE"
	FiatOnRampPaymentMethodMoonpayBalance FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE"

	// FiatOnRampPaymentMethodCryptoAccount captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT"
	FiatOnRampPaymentMethodCryptoAccount FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT"

	// FiatOnRampPaymentMethodFiatWallet captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET"
	FiatOnRampPaymentMethodFiatWallet FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET"

	// FiatOnRampPaymentMethodAchBankAccount captures enum value "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"
	FiatOnRampPaymentMethodAchBankAccount FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT"
)

func NewFiatOnRampPaymentMethod ¶ added in v0.6.0

func NewFiatOnRampPaymentMethod(value FiatOnRampPaymentMethod) *FiatOnRampPaymentMethod

func (FiatOnRampPaymentMethod) ContextValidate ¶ added in v0.6.0

func (m FiatOnRampPaymentMethod) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fiat on ramp payment method based on context it is used

func (FiatOnRampPaymentMethod) Pointer ¶ added in v0.6.0

Pointer returns a pointer to a freshly-allocated FiatOnRampPaymentMethod.

func (FiatOnRampPaymentMethod) Validate ¶ added in v0.6.0

func (m FiatOnRampPaymentMethod) Validate(formats strfmt.Registry) error

Validate validates this fiat on ramp payment method

type FiatOnRampProvider ¶ added in v0.6.0

type FiatOnRampProvider string

FiatOnRampProvider fiat on ramp provider

swagger:model FiatOnRampProvider

const (

	// FiatOnRampProviderCoinbase captures enum value "FIAT_ON_RAMP_PROVIDER_COINBASE"
	FiatOnRampProviderCoinbase FiatOnRampProvider = "FIAT_ON_RAMP_PROVIDER_COINBASE"

	// FiatOnRampProviderMoonpay captures enum value "FIAT_ON_RAMP_PROVIDER_MOONPAY"
	FiatOnRampProviderMoonpay FiatOnRampProvider = "FIAT_ON_RAMP_PROVIDER_MOONPAY"
)

func NewFiatOnRampProvider ¶ added in v0.6.0

func NewFiatOnRampProvider(value FiatOnRampProvider) *FiatOnRampProvider

func (FiatOnRampProvider) ContextValidate ¶ added in v0.6.0

func (m FiatOnRampProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this fiat on ramp provider based on context it is used

func (FiatOnRampProvider) Pointer ¶ added in v0.6.0

Pointer returns a pointer to a freshly-allocated FiatOnRampProvider.

func (FiatOnRampProvider) Validate ¶ added in v0.6.0

func (m FiatOnRampProvider) Validate(formats strfmt.Registry) error

Validate validates this fiat on ramp provider

type GetAPIKeyRequest ¶

type GetAPIKeyRequest struct {

	// Unique identifier for a given API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetAPIKeyRequest get Api key request

swagger:model GetApiKeyRequest

func (*GetAPIKeyRequest) ContextValidate ¶

func (m *GetAPIKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get Api key request based on context it is used

func (*GetAPIKeyRequest) MarshalBinary ¶

func (m *GetAPIKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeyRequest) UnmarshalBinary ¶

func (m *GetAPIKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeyRequest) Validate ¶

func (m *GetAPIKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this get Api key request

type GetAPIKeyResponse ¶

type GetAPIKeyResponse struct {

	// An API key.
	// Required: true
	APIKey *APIKey `json:"apiKey"`
}

GetAPIKeyResponse get Api key response

swagger:model GetApiKeyResponse

func (*GetAPIKeyResponse) ContextValidate ¶

func (m *GetAPIKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get Api key response based on the context it is used

func (*GetAPIKeyResponse) MarshalBinary ¶

func (m *GetAPIKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeyResponse) UnmarshalBinary ¶

func (m *GetAPIKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeyResponse) Validate ¶

func (m *GetAPIKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this get Api key response

type GetAPIKeysRequest ¶

type GetAPIKeysRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given user.
	UserID *string `json:"userId,omitempty"`
}

GetAPIKeysRequest get Api keys request

swagger:model GetApiKeysRequest

func (*GetAPIKeysRequest) ContextValidate ¶

func (m *GetAPIKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get Api keys request based on context it is used

func (*GetAPIKeysRequest) MarshalBinary ¶

func (m *GetAPIKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeysRequest) UnmarshalBinary ¶

func (m *GetAPIKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeysRequest) Validate ¶

func (m *GetAPIKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this get Api keys request

type GetAPIKeysResponse ¶

type GetAPIKeysResponse struct {

	// A list of API keys.
	// Required: true
	APIKeys []*APIKey `json:"apiKeys"`
}

GetAPIKeysResponse get Api keys response

swagger:model GetApiKeysResponse

func (*GetAPIKeysResponse) ContextValidate ¶

func (m *GetAPIKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get Api keys response based on the context it is used

func (*GetAPIKeysResponse) MarshalBinary ¶

func (m *GetAPIKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAPIKeysResponse) UnmarshalBinary ¶

func (m *GetAPIKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAPIKeysResponse) Validate ¶

func (m *GetAPIKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this get Api keys response

type GetActivitiesRequest ¶

type GetActivitiesRequest struct {

	// Array of activity statuses filtering which activities will be listed in the response.
	FilterByStatus []ActivityStatus `json:"filterByStatus"`

	// Array of activity types filtering which activities will be listed in the response.
	FilterByType []ActivityType `json:"filterByType"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`
}

GetActivitiesRequest get activities request

swagger:model GetActivitiesRequest

func (*GetActivitiesRequest) ContextValidate ¶

func (m *GetActivitiesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get activities request based on the context it is used

func (*GetActivitiesRequest) MarshalBinary ¶

func (m *GetActivitiesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivitiesRequest) UnmarshalBinary ¶

func (m *GetActivitiesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivitiesRequest) Validate ¶

func (m *GetActivitiesRequest) Validate(formats strfmt.Registry) error

Validate validates this get activities request

type GetActivitiesResponse ¶

type GetActivitiesResponse struct {

	// A list of activities.
	// Required: true
	Activities []*Activity `json:"activities"`
}

GetActivitiesResponse get activities response

swagger:model GetActivitiesResponse

func (*GetActivitiesResponse) ContextValidate ¶

func (m *GetActivitiesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get activities response based on the context it is used

func (*GetActivitiesResponse) MarshalBinary ¶

func (m *GetActivitiesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivitiesResponse) UnmarshalBinary ¶

func (m *GetActivitiesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivitiesResponse) Validate ¶

func (m *GetActivitiesResponse) Validate(formats strfmt.Registry) error

Validate validates this get activities response

type GetActivityRequest ¶

type GetActivityRequest struct {

	// Unique identifier for a given activity object.
	// Required: true
	ActivityID *string `json:"activityId"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetActivityRequest get activity request

swagger:model GetActivityRequest

func (*GetActivityRequest) ContextValidate ¶

func (m *GetActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get activity request based on context it is used

func (*GetActivityRequest) MarshalBinary ¶

func (m *GetActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetActivityRequest) UnmarshalBinary ¶

func (m *GetActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetActivityRequest) Validate ¶

func (m *GetActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this get activity request

type GetAppProofsRequest ¶ added in v0.9.0

type GetAppProofsRequest struct {

	// Unique identifier for a given activity.
	// Required: true
	ActivityID *string `json:"activityId"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetAppProofsRequest get app proofs request

swagger:model GetAppProofsRequest

func (*GetAppProofsRequest) ContextValidate ¶ added in v0.9.0

func (m *GetAppProofsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get app proofs request based on context it is used

func (*GetAppProofsRequest) MarshalBinary ¶ added in v0.9.0

func (m *GetAppProofsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAppProofsRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *GetAppProofsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAppProofsRequest) Validate ¶ added in v0.9.0

func (m *GetAppProofsRequest) Validate(formats strfmt.Registry) error

Validate validates this get app proofs request

type GetAppProofsResponse ¶ added in v0.9.0

type GetAppProofsResponse struct {

	// app proofs
	// Required: true
	AppProofs []*AppProof `json:"appProofs"`
}

GetAppProofsResponse get app proofs response

swagger:model GetAppProofsResponse

func (*GetAppProofsResponse) ContextValidate ¶ added in v0.9.0

func (m *GetAppProofsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get app proofs response based on the context it is used

func (*GetAppProofsResponse) MarshalBinary ¶ added in v0.9.0

func (m *GetAppProofsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAppProofsResponse) UnmarshalBinary ¶ added in v0.9.0

func (m *GetAppProofsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAppProofsResponse) Validate ¶ added in v0.9.0

func (m *GetAppProofsResponse) Validate(formats strfmt.Registry) error

Validate validates this get app proofs response

type GetAuthenticatorRequest ¶

type GetAuthenticatorRequest struct {

	// Unique identifier for a given authenticator.
	// Required: true
	AuthenticatorID *string `json:"authenticatorId"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetAuthenticatorRequest get authenticator request

swagger:model GetAuthenticatorRequest

func (*GetAuthenticatorRequest) ContextValidate ¶

func (m *GetAuthenticatorRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get authenticator request based on context it is used

func (*GetAuthenticatorRequest) MarshalBinary ¶

func (m *GetAuthenticatorRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorRequest) UnmarshalBinary ¶

func (m *GetAuthenticatorRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorRequest) Validate ¶

func (m *GetAuthenticatorRequest) Validate(formats strfmt.Registry) error

Validate validates this get authenticator request

type GetAuthenticatorResponse ¶

type GetAuthenticatorResponse struct {

	// An authenticator.
	// Required: true
	Authenticator *Authenticator `json:"authenticator"`
}

GetAuthenticatorResponse get authenticator response

swagger:model GetAuthenticatorResponse

func (*GetAuthenticatorResponse) ContextValidate ¶

func (m *GetAuthenticatorResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get authenticator response based on the context it is used

func (*GetAuthenticatorResponse) MarshalBinary ¶

func (m *GetAuthenticatorResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorResponse) UnmarshalBinary ¶

func (m *GetAuthenticatorResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorResponse) Validate ¶

func (m *GetAuthenticatorResponse) Validate(formats strfmt.Registry) error

Validate validates this get authenticator response

type GetAuthenticatorsRequest ¶

type GetAuthenticatorsRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given user.
	// Required: true
	UserID *string `json:"userId"`
}

GetAuthenticatorsRequest get authenticators request

swagger:model GetAuthenticatorsRequest

func (*GetAuthenticatorsRequest) ContextValidate ¶

func (m *GetAuthenticatorsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get authenticators request based on context it is used

func (*GetAuthenticatorsRequest) MarshalBinary ¶

func (m *GetAuthenticatorsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorsRequest) UnmarshalBinary ¶

func (m *GetAuthenticatorsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorsRequest) Validate ¶

func (m *GetAuthenticatorsRequest) Validate(formats strfmt.Registry) error

Validate validates this get authenticators request

type GetAuthenticatorsResponse ¶

type GetAuthenticatorsResponse struct {

	// A list of authenticators.
	// Required: true
	Authenticators []*Authenticator `json:"authenticators"`
}

GetAuthenticatorsResponse get authenticators response

swagger:model GetAuthenticatorsResponse

func (*GetAuthenticatorsResponse) ContextValidate ¶

func (m *GetAuthenticatorsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get authenticators response based on the context it is used

func (*GetAuthenticatorsResponse) MarshalBinary ¶

func (m *GetAuthenticatorsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetAuthenticatorsResponse) UnmarshalBinary ¶

func (m *GetAuthenticatorsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetAuthenticatorsResponse) Validate ¶

func (m *GetAuthenticatorsResponse) Validate(formats strfmt.Registry) error

Validate validates this get authenticators response

type GetBootProofRequest ¶ added in v0.9.0

type GetBootProofRequest struct {

	// Hex encoded ephemeral public key.
	// Required: true
	EphemeralKey *string `json:"ephemeralKey"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetBootProofRequest get boot proof request

swagger:model GetBootProofRequest

func (*GetBootProofRequest) ContextValidate ¶ added in v0.9.0

func (m *GetBootProofRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get boot proof request based on context it is used

func (*GetBootProofRequest) MarshalBinary ¶ added in v0.9.0

func (m *GetBootProofRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetBootProofRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *GetBootProofRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetBootProofRequest) Validate ¶ added in v0.9.0

func (m *GetBootProofRequest) Validate(formats strfmt.Registry) error

Validate validates this get boot proof request

type GetLatestBootProofRequest ¶ added in v0.9.0

type GetLatestBootProofRequest struct {

	// Name of enclave app.
	// Required: true
	AppName *string `json:"appName"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetLatestBootProofRequest get latest boot proof request

swagger:model GetLatestBootProofRequest

func (*GetLatestBootProofRequest) ContextValidate ¶ added in v0.9.0

func (m *GetLatestBootProofRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get latest boot proof request based on context it is used

func (*GetLatestBootProofRequest) MarshalBinary ¶ added in v0.9.0

func (m *GetLatestBootProofRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetLatestBootProofRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *GetLatestBootProofRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetLatestBootProofRequest) Validate ¶ added in v0.9.0

func (m *GetLatestBootProofRequest) Validate(formats strfmt.Registry) error

Validate validates this get latest boot proof request

type GetOauth2CredentialRequest ¶ added in v0.9.0

type GetOauth2CredentialRequest struct {

	// Unique identifier for a given OAuth 2.0 Credential.
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetOauth2CredentialRequest get oauth2 credential request

swagger:model GetOauth2CredentialRequest

func (*GetOauth2CredentialRequest) ContextValidate ¶ added in v0.9.0

func (m *GetOauth2CredentialRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get oauth2 credential request based on context it is used

func (*GetOauth2CredentialRequest) MarshalBinary ¶ added in v0.9.0

func (m *GetOauth2CredentialRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOauth2CredentialRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *GetOauth2CredentialRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOauth2CredentialRequest) Validate ¶ added in v0.9.0

func (m *GetOauth2CredentialRequest) Validate(formats strfmt.Registry) error

Validate validates this get oauth2 credential request

type GetOauth2CredentialResponse ¶ added in v0.9.0

type GetOauth2CredentialResponse struct {

	// oauth2 credential
	// Required: true
	Oauth2Credential *Oauth2Credential `json:"oauth2Credential"`
}

GetOauth2CredentialResponse get oauth2 credential response

swagger:model GetOauth2CredentialResponse

func (*GetOauth2CredentialResponse) ContextValidate ¶ added in v0.9.0

func (m *GetOauth2CredentialResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get oauth2 credential response based on the context it is used

func (*GetOauth2CredentialResponse) MarshalBinary ¶ added in v0.9.0

func (m *GetOauth2CredentialResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOauth2CredentialResponse) UnmarshalBinary ¶ added in v0.9.0

func (m *GetOauth2CredentialResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOauth2CredentialResponse) Validate ¶ added in v0.9.0

func (m *GetOauth2CredentialResponse) Validate(formats strfmt.Registry) error

Validate validates this get oauth2 credential response

type GetOauthProvidersRequest ¶

type GetOauthProvidersRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given user.
	UserID *string `json:"userId,omitempty"`
}

GetOauthProvidersRequest get oauth providers request

swagger:model GetOauthProvidersRequest

func (*GetOauthProvidersRequest) ContextValidate ¶

func (m *GetOauthProvidersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get oauth providers request based on context it is used

func (*GetOauthProvidersRequest) MarshalBinary ¶

func (m *GetOauthProvidersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOauthProvidersRequest) UnmarshalBinary ¶

func (m *GetOauthProvidersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOauthProvidersRequest) Validate ¶

func (m *GetOauthProvidersRequest) Validate(formats strfmt.Registry) error

Validate validates this get oauth providers request

type GetOauthProvidersResponse ¶

type GetOauthProvidersResponse struct {

	// A list of Oauth providers.
	// Required: true
	OauthProviders []*OauthProvider `json:"oauthProviders"`
}

GetOauthProvidersResponse get oauth providers response

swagger:model GetOauthProvidersResponse

func (*GetOauthProvidersResponse) ContextValidate ¶

func (m *GetOauthProvidersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get oauth providers response based on the context it is used

func (*GetOauthProvidersResponse) MarshalBinary ¶

func (m *GetOauthProvidersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOauthProvidersResponse) UnmarshalBinary ¶

func (m *GetOauthProvidersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOauthProvidersResponse) Validate ¶

func (m *GetOauthProvidersResponse) Validate(formats strfmt.Registry) error

Validate validates this get oauth providers response

type GetOrganizationConfigsRequest ¶

type GetOrganizationConfigsRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetOrganizationConfigsRequest get organization configs request

swagger:model GetOrganizationConfigsRequest

func (*GetOrganizationConfigsRequest) ContextValidate ¶

func (m *GetOrganizationConfigsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get organization configs request based on context it is used

func (*GetOrganizationConfigsRequest) MarshalBinary ¶

func (m *GetOrganizationConfigsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrganizationConfigsRequest) UnmarshalBinary ¶

func (m *GetOrganizationConfigsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrganizationConfigsRequest) Validate ¶

func (m *GetOrganizationConfigsRequest) Validate(formats strfmt.Registry) error

Validate validates this get organization configs request

type GetOrganizationConfigsResponse ¶

type GetOrganizationConfigsResponse struct {

	// Organization configs including quorum settings and organization features.
	// Required: true
	Configs *Config `json:"configs"`
}

GetOrganizationConfigsResponse get organization configs response

swagger:model GetOrganizationConfigsResponse

func (*GetOrganizationConfigsResponse) ContextValidate ¶

func (m *GetOrganizationConfigsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get organization configs response based on the context it is used

func (*GetOrganizationConfigsResponse) MarshalBinary ¶

func (m *GetOrganizationConfigsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetOrganizationConfigsResponse) UnmarshalBinary ¶

func (m *GetOrganizationConfigsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetOrganizationConfigsResponse) Validate ¶

func (m *GetOrganizationConfigsResponse) Validate(formats strfmt.Registry) error

Validate validates this get organization configs response

type GetPoliciesRequest ¶

type GetPoliciesRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetPoliciesRequest get policies request

swagger:model GetPoliciesRequest

func (*GetPoliciesRequest) ContextValidate ¶

func (m *GetPoliciesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get policies request based on context it is used

func (*GetPoliciesRequest) MarshalBinary ¶

func (m *GetPoliciesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPoliciesRequest) UnmarshalBinary ¶

func (m *GetPoliciesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPoliciesRequest) Validate ¶

func (m *GetPoliciesRequest) Validate(formats strfmt.Registry) error

Validate validates this get policies request

type GetPoliciesResponse ¶

type GetPoliciesResponse struct {

	// A list of policies.
	// Required: true
	Policies []*Policy `json:"policies"`
}

GetPoliciesResponse get policies response

swagger:model GetPoliciesResponse

func (*GetPoliciesResponse) ContextValidate ¶

func (m *GetPoliciesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get policies response based on the context it is used

func (*GetPoliciesResponse) MarshalBinary ¶

func (m *GetPoliciesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPoliciesResponse) UnmarshalBinary ¶

func (m *GetPoliciesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPoliciesResponse) Validate ¶

func (m *GetPoliciesResponse) Validate(formats strfmt.Registry) error

Validate validates this get policies response

type GetPolicyEvaluationsRequest ¶ added in v0.7.0

type GetPolicyEvaluationsRequest struct {

	// Unique identifier for a given activity.
	// Required: true
	ActivityID *string `json:"activityId"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetPolicyEvaluationsRequest get policy evaluations request

swagger:model GetPolicyEvaluationsRequest

func (*GetPolicyEvaluationsRequest) ContextValidate ¶ added in v0.7.0

func (m *GetPolicyEvaluationsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get policy evaluations request based on context it is used

func (*GetPolicyEvaluationsRequest) MarshalBinary ¶ added in v0.7.0

func (m *GetPolicyEvaluationsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyEvaluationsRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *GetPolicyEvaluationsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyEvaluationsRequest) Validate ¶ added in v0.7.0

func (m *GetPolicyEvaluationsRequest) Validate(formats strfmt.Registry) error

Validate validates this get policy evaluations request

type GetPolicyEvaluationsResponse ¶ added in v0.7.0

type GetPolicyEvaluationsResponse struct {

	// policy evaluations
	// Required: true
	PolicyEvaluations []*ActivityV1PolicyEvaluation `json:"policyEvaluations"`
}

GetPolicyEvaluationsResponse get policy evaluations response

swagger:model GetPolicyEvaluationsResponse

func (*GetPolicyEvaluationsResponse) ContextValidate ¶ added in v0.7.0

func (m *GetPolicyEvaluationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get policy evaluations response based on the context it is used

func (*GetPolicyEvaluationsResponse) MarshalBinary ¶ added in v0.7.0

func (m *GetPolicyEvaluationsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyEvaluationsResponse) UnmarshalBinary ¶ added in v0.7.0

func (m *GetPolicyEvaluationsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyEvaluationsResponse) Validate ¶ added in v0.7.0

func (m *GetPolicyEvaluationsResponse) Validate(formats strfmt.Registry) error

Validate validates this get policy evaluations response

type GetPolicyRequest ¶

type GetPolicyRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

GetPolicyRequest get policy request

swagger:model GetPolicyRequest

func (*GetPolicyRequest) ContextValidate ¶

func (m *GetPolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get policy request based on context it is used

func (*GetPolicyRequest) MarshalBinary ¶

func (m *GetPolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyRequest) UnmarshalBinary ¶

func (m *GetPolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyRequest) Validate ¶

func (m *GetPolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this get policy request

type GetPolicyResponse ¶

type GetPolicyResponse struct {

	// Object that codifies rules defining the actions that are permissible within an organization.
	// Required: true
	Policy *Policy `json:"policy"`
}

GetPolicyResponse get policy response

swagger:model GetPolicyResponse

func (*GetPolicyResponse) ContextValidate ¶

func (m *GetPolicyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get policy response based on the context it is used

func (*GetPolicyResponse) MarshalBinary ¶

func (m *GetPolicyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPolicyResponse) UnmarshalBinary ¶

func (m *GetPolicyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPolicyResponse) Validate ¶

func (m *GetPolicyResponse) Validate(formats strfmt.Registry) error

Validate validates this get policy response

type GetPrivateKeyRequest ¶

type GetPrivateKeyRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given private key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

GetPrivateKeyRequest get private key request

swagger:model GetPrivateKeyRequest

func (*GetPrivateKeyRequest) ContextValidate ¶

func (m *GetPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get private key request based on context it is used

func (*GetPrivateKeyRequest) MarshalBinary ¶

func (m *GetPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeyRequest) UnmarshalBinary ¶

func (m *GetPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeyRequest) Validate ¶

func (m *GetPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this get private key request

type GetPrivateKeyResponse ¶

type GetPrivateKeyResponse struct {

	// Cryptographic public/private key pair that can be used for cryptocurrency needs or more generalized encryption.
	// Required: true
	PrivateKey *PrivateKey `json:"privateKey"`
}

GetPrivateKeyResponse get private key response

swagger:model GetPrivateKeyResponse

func (*GetPrivateKeyResponse) ContextValidate ¶

func (m *GetPrivateKeyResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private key response based on the context it is used

func (*GetPrivateKeyResponse) MarshalBinary ¶

func (m *GetPrivateKeyResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeyResponse) UnmarshalBinary ¶

func (m *GetPrivateKeyResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeyResponse) Validate ¶

func (m *GetPrivateKeyResponse) Validate(formats strfmt.Registry) error

Validate validates this get private key response

type GetPrivateKeysRequest ¶

type GetPrivateKeysRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetPrivateKeysRequest get private keys request

swagger:model GetPrivateKeysRequest

func (*GetPrivateKeysRequest) ContextValidate ¶

func (m *GetPrivateKeysRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get private keys request based on context it is used

func (*GetPrivateKeysRequest) MarshalBinary ¶

func (m *GetPrivateKeysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeysRequest) UnmarshalBinary ¶

func (m *GetPrivateKeysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeysRequest) Validate ¶

func (m *GetPrivateKeysRequest) Validate(formats strfmt.Registry) error

Validate validates this get private keys request

type GetPrivateKeysResponse ¶

type GetPrivateKeysResponse struct {

	// A list of private keys.
	// Required: true
	PrivateKeys []*PrivateKey `json:"privateKeys"`
}

GetPrivateKeysResponse get private keys response

swagger:model GetPrivateKeysResponse

func (*GetPrivateKeysResponse) ContextValidate ¶

func (m *GetPrivateKeysResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get private keys response based on the context it is used

func (*GetPrivateKeysResponse) MarshalBinary ¶

func (m *GetPrivateKeysResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetPrivateKeysResponse) UnmarshalBinary ¶

func (m *GetPrivateKeysResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetPrivateKeysResponse) Validate ¶

func (m *GetPrivateKeysResponse) Validate(formats strfmt.Registry) error

Validate validates this get private keys response

type GetSmartContractInterfaceRequest ¶ added in v0.7.0

type GetSmartContractInterfaceRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given smart contract interface.
	// Required: true
	SmartContractInterfaceID *string `json:"smartContractInterfaceId"`
}

GetSmartContractInterfaceRequest get smart contract interface request

swagger:model GetSmartContractInterfaceRequest

func (*GetSmartContractInterfaceRequest) ContextValidate ¶ added in v0.7.0

func (m *GetSmartContractInterfaceRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get smart contract interface request based on context it is used

func (*GetSmartContractInterfaceRequest) MarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfaceRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSmartContractInterfaceRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfaceRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSmartContractInterfaceRequest) Validate ¶ added in v0.7.0

Validate validates this get smart contract interface request

type GetSmartContractInterfaceResponse ¶ added in v0.7.0

type GetSmartContractInterfaceResponse struct {

	// Object to be used in conjunction with policies to guard transaction signing.
	// Required: true
	SmartContractInterface *SmartContractInterface `json:"smartContractInterface"`
}

GetSmartContractInterfaceResponse get smart contract interface response

swagger:model GetSmartContractInterfaceResponse

func (*GetSmartContractInterfaceResponse) ContextValidate ¶ added in v0.7.0

func (m *GetSmartContractInterfaceResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get smart contract interface response based on the context it is used

func (*GetSmartContractInterfaceResponse) MarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfaceResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSmartContractInterfaceResponse) UnmarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfaceResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSmartContractInterfaceResponse) Validate ¶ added in v0.7.0

Validate validates this get smart contract interface response

type GetSmartContractInterfacesRequest ¶ added in v0.7.0

type GetSmartContractInterfacesRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetSmartContractInterfacesRequest get smart contract interfaces request

swagger:model GetSmartContractInterfacesRequest

func (*GetSmartContractInterfacesRequest) ContextValidate ¶ added in v0.7.0

func (m *GetSmartContractInterfacesRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get smart contract interfaces request based on context it is used

func (*GetSmartContractInterfacesRequest) MarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfacesRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSmartContractInterfacesRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfacesRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSmartContractInterfacesRequest) Validate ¶ added in v0.7.0

Validate validates this get smart contract interfaces request

type GetSmartContractInterfacesResponse ¶ added in v0.7.0

type GetSmartContractInterfacesResponse struct {

	// A list of smart contract interfaces.
	// Required: true
	SmartContractInterfaces []*SmartContractInterface `json:"smartContractInterfaces"`
}

GetSmartContractInterfacesResponse get smart contract interfaces response

swagger:model GetSmartContractInterfacesResponse

func (*GetSmartContractInterfacesResponse) ContextValidate ¶ added in v0.7.0

func (m *GetSmartContractInterfacesResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get smart contract interfaces response based on the context it is used

func (*GetSmartContractInterfacesResponse) MarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfacesResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSmartContractInterfacesResponse) UnmarshalBinary ¶ added in v0.7.0

func (m *GetSmartContractInterfacesResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSmartContractInterfacesResponse) Validate ¶ added in v0.7.0

Validate validates this get smart contract interfaces response

type GetSubOrgIdsRequest ¶

type GetSubOrgIdsRequest struct {

	// Specifies the type of filter to apply, i.e 'CREDENTIAL_ID', 'NAME', 'USERNAME', 'EMAIL', 'PHONE_NUMBER', 'OIDC_TOKEN', 'WALLET_ACCOUNT_ADDRESS' or 'PUBLIC_KEY'
	FilterType string `json:"filterType,omitempty"`

	// The value of the filter to apply for the specified type. For example, a specific email or name string.
	FilterValue string `json:"filterValue,omitempty"`

	// Unique identifier for the parent organization. This is used to find sub-organizations within it.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`
}

GetSubOrgIdsRequest get sub org ids request

swagger:model GetSubOrgIdsRequest

func (*GetSubOrgIdsRequest) ContextValidate ¶

func (m *GetSubOrgIdsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get sub org ids request based on the context it is used

func (*GetSubOrgIdsRequest) MarshalBinary ¶

func (m *GetSubOrgIdsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubOrgIdsRequest) UnmarshalBinary ¶

func (m *GetSubOrgIdsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubOrgIdsRequest) Validate ¶

func (m *GetSubOrgIdsRequest) Validate(formats strfmt.Registry) error

Validate validates this get sub org ids request

type GetSubOrgIdsResponse ¶

type GetSubOrgIdsResponse struct {

	// List of unique identifiers for the matching sub-organizations.
	// Required: true
	OrganizationIds []string `json:"organizationIds"`
}

GetSubOrgIdsResponse get sub org ids response

swagger:model GetSubOrgIdsResponse

func (*GetSubOrgIdsResponse) ContextValidate ¶

func (m *GetSubOrgIdsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get sub org ids response based on context it is used

func (*GetSubOrgIdsResponse) MarshalBinary ¶

func (m *GetSubOrgIdsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetSubOrgIdsResponse) UnmarshalBinary ¶

func (m *GetSubOrgIdsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetSubOrgIdsResponse) Validate ¶

func (m *GetSubOrgIdsResponse) Validate(formats strfmt.Registry) error

Validate validates this get sub org ids response

type GetUserRequest ¶

type GetUserRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given user.
	// Required: true
	UserID *string `json:"userId"`
}

GetUserRequest get user request

swagger:model GetUserRequest

func (*GetUserRequest) ContextValidate ¶

func (m *GetUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get user request based on context it is used

func (*GetUserRequest) MarshalBinary ¶

func (m *GetUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserRequest) UnmarshalBinary ¶

func (m *GetUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserRequest) Validate ¶

func (m *GetUserRequest) Validate(formats strfmt.Registry) error

Validate validates this get user request

type GetUserResponse ¶

type GetUserResponse struct {

	// Web and/or API user within your organization.
	// Required: true
	User *User `json:"user"`
}

GetUserResponse get user response

swagger:model GetUserResponse

func (*GetUserResponse) ContextValidate ¶

func (m *GetUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get user response based on the context it is used

func (*GetUserResponse) MarshalBinary ¶

func (m *GetUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUserResponse) UnmarshalBinary ¶

func (m *GetUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUserResponse) Validate ¶

func (m *GetUserResponse) Validate(formats strfmt.Registry) error

Validate validates this get user response

type GetUsersRequest ¶

type GetUsersRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetUsersRequest get users request

swagger:model GetUsersRequest

func (*GetUsersRequest) ContextValidate ¶

func (m *GetUsersRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get users request based on context it is used

func (*GetUsersRequest) MarshalBinary ¶

func (m *GetUsersRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUsersRequest) UnmarshalBinary ¶

func (m *GetUsersRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUsersRequest) Validate ¶

func (m *GetUsersRequest) Validate(formats strfmt.Registry) error

Validate validates this get users request

type GetUsersResponse ¶

type GetUsersResponse struct {

	// A list of users.
	// Required: true
	Users []*User `json:"users"`
}

GetUsersResponse get users response

swagger:model GetUsersResponse

func (*GetUsersResponse) ContextValidate ¶

func (m *GetUsersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get users response based on the context it is used

func (*GetUsersResponse) MarshalBinary ¶

func (m *GetUsersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetUsersResponse) UnmarshalBinary ¶

func (m *GetUsersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetUsersResponse) Validate ¶

func (m *GetUsersResponse) Validate(formats strfmt.Registry) error

Validate validates this get users response

type GetVerifiedSubOrgIdsRequest ¶

type GetVerifiedSubOrgIdsRequest struct {

	// Specifies the type of filter to apply, i.e 'EMAIL', 'PHONE_NUMBER'.
	FilterType string `json:"filterType,omitempty"`

	// The value of the filter to apply for the specified type. For example, a specific email or phone number string.
	FilterValue string `json:"filterValue,omitempty"`

	// Unique identifier for the parent organization. This is used to find sub-organizations within it.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`
}

GetVerifiedSubOrgIdsRequest get verified sub org ids request

swagger:model GetVerifiedSubOrgIdsRequest

func (*GetVerifiedSubOrgIdsRequest) ContextValidate ¶

func (m *GetVerifiedSubOrgIdsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get verified sub org ids request based on the context it is used

func (*GetVerifiedSubOrgIdsRequest) MarshalBinary ¶

func (m *GetVerifiedSubOrgIdsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifiedSubOrgIdsRequest) UnmarshalBinary ¶

func (m *GetVerifiedSubOrgIdsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifiedSubOrgIdsRequest) Validate ¶

func (m *GetVerifiedSubOrgIdsRequest) Validate(formats strfmt.Registry) error

Validate validates this get verified sub org ids request

type GetVerifiedSubOrgIdsResponse ¶

type GetVerifiedSubOrgIdsResponse struct {

	// List of unique identifiers for the matching sub-organizations.
	// Required: true
	OrganizationIds []string `json:"organizationIds"`
}

GetVerifiedSubOrgIdsResponse get verified sub org ids response

swagger:model GetVerifiedSubOrgIdsResponse

func (*GetVerifiedSubOrgIdsResponse) ContextValidate ¶

func (m *GetVerifiedSubOrgIdsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get verified sub org ids response based on context it is used

func (*GetVerifiedSubOrgIdsResponse) MarshalBinary ¶

func (m *GetVerifiedSubOrgIdsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetVerifiedSubOrgIdsResponse) UnmarshalBinary ¶

func (m *GetVerifiedSubOrgIdsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetVerifiedSubOrgIdsResponse) Validate ¶

func (m *GetVerifiedSubOrgIdsResponse) Validate(formats strfmt.Registry) error

Validate validates this get verified sub org ids response

type GetWalletAccountRequest ¶ added in v0.3.0

type GetWalletAccountRequest struct {

	// Address corresponding to a wallet account.
	Address *string `json:"address,omitempty"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Path corresponding to a wallet account.
	Path *string `json:"path,omitempty"`

	// Unique identifier for a given wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

GetWalletAccountRequest get wallet account request

swagger:model GetWalletAccountRequest

func (*GetWalletAccountRequest) ContextValidate ¶ added in v0.3.0

func (m *GetWalletAccountRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get wallet account request based on context it is used

func (*GetWalletAccountRequest) MarshalBinary ¶ added in v0.3.0

func (m *GetWalletAccountRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountRequest) UnmarshalBinary ¶ added in v0.3.0

func (m *GetWalletAccountRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountRequest) Validate ¶ added in v0.3.0

func (m *GetWalletAccountRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallet account request

type GetWalletAccountResponse ¶ added in v0.3.0

type GetWalletAccountResponse struct {

	// The resulting wallet account.
	// Required: true
	Account *WalletAccount `json:"account"`
}

GetWalletAccountResponse get wallet account response

swagger:model GetWalletAccountResponse

func (*GetWalletAccountResponse) ContextValidate ¶ added in v0.3.0

func (m *GetWalletAccountResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet account response based on the context it is used

func (*GetWalletAccountResponse) MarshalBinary ¶ added in v0.3.0

func (m *GetWalletAccountResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountResponse) UnmarshalBinary ¶ added in v0.3.0

func (m *GetWalletAccountResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountResponse) Validate ¶ added in v0.3.0

func (m *GetWalletAccountResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallet account response

type GetWalletAccountsRequest ¶

type GetWalletAccountsRequest struct {

	// Optional flag to specify if the wallet details should be included in the response. Default = false.
	IncludeWalletDetails *bool `json:"includeWalletDetails,omitempty"`

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Parameters used for cursor-based pagination.
	PaginationOptions *Pagination `json:"paginationOptions,omitempty"`

	// Unique identifier for a given wallet. If not provided, all accounts for the organization will be returned.
	WalletID *string `json:"walletId,omitempty"`
}

GetWalletAccountsRequest get wallet accounts request

swagger:model GetWalletAccountsRequest

func (*GetWalletAccountsRequest) ContextValidate ¶

func (m *GetWalletAccountsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet accounts request based on the context it is used

func (*GetWalletAccountsRequest) MarshalBinary ¶

func (m *GetWalletAccountsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountsRequest) UnmarshalBinary ¶

func (m *GetWalletAccountsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountsRequest) Validate ¶

func (m *GetWalletAccountsRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallet accounts request

type GetWalletAccountsResponse ¶

type GetWalletAccountsResponse struct {

	// A list of accounts generated from a wallet that share a common seed.
	// Required: true
	Accounts []*WalletAccount `json:"accounts"`
}

GetWalletAccountsResponse get wallet accounts response

swagger:model GetWalletAccountsResponse

func (*GetWalletAccountsResponse) ContextValidate ¶

func (m *GetWalletAccountsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet accounts response based on the context it is used

func (*GetWalletAccountsResponse) MarshalBinary ¶

func (m *GetWalletAccountsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletAccountsResponse) UnmarshalBinary ¶

func (m *GetWalletAccountsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletAccountsResponse) Validate ¶

func (m *GetWalletAccountsResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallet accounts response

type GetWalletRequest ¶

type GetWalletRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Unique identifier for a given wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

GetWalletRequest get wallet request

swagger:model GetWalletRequest

func (*GetWalletRequest) ContextValidate ¶

func (m *GetWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get wallet request based on context it is used

func (*GetWalletRequest) MarshalBinary ¶

func (m *GetWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletRequest) UnmarshalBinary ¶

func (m *GetWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletRequest) Validate ¶

func (m *GetWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallet request

type GetWalletResponse ¶

type GetWalletResponse struct {

	// A collection of deterministically generated cryptographic public / private key pairs that share a common seed.
	// Required: true
	Wallet *Wallet `json:"wallet"`
}

GetWalletResponse get wallet response

swagger:model GetWalletResponse

func (*GetWalletResponse) ContextValidate ¶

func (m *GetWalletResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallet response based on the context it is used

func (*GetWalletResponse) MarshalBinary ¶

func (m *GetWalletResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletResponse) UnmarshalBinary ¶

func (m *GetWalletResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletResponse) Validate ¶

func (m *GetWalletResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallet response

type GetWalletsRequest ¶

type GetWalletsRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetWalletsRequest get wallets request

swagger:model GetWalletsRequest

func (*GetWalletsRequest) ContextValidate ¶

func (m *GetWalletsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get wallets request based on context it is used

func (*GetWalletsRequest) MarshalBinary ¶

func (m *GetWalletsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletsRequest) UnmarshalBinary ¶

func (m *GetWalletsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletsRequest) Validate ¶

func (m *GetWalletsRequest) Validate(formats strfmt.Registry) error

Validate validates this get wallets request

type GetWalletsResponse ¶

type GetWalletsResponse struct {

	// A list of wallets.
	// Required: true
	Wallets []*Wallet `json:"wallets"`
}

GetWalletsResponse get wallets response

swagger:model GetWalletsResponse

func (*GetWalletsResponse) ContextValidate ¶

func (m *GetWalletsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get wallets response based on the context it is used

func (*GetWalletsResponse) MarshalBinary ¶

func (m *GetWalletsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWalletsResponse) UnmarshalBinary ¶

func (m *GetWalletsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWalletsResponse) Validate ¶

func (m *GetWalletsResponse) Validate(formats strfmt.Registry) error

Validate validates this get wallets response

type GetWhoamiRequest ¶

type GetWhoamiRequest struct {

	// Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

GetWhoamiRequest get whoami request

swagger:model GetWhoamiRequest

func (*GetWhoamiRequest) ContextValidate ¶

func (m *GetWhoamiRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get whoami request based on context it is used

func (*GetWhoamiRequest) MarshalBinary ¶

func (m *GetWhoamiRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWhoamiRequest) UnmarshalBinary ¶

func (m *GetWhoamiRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWhoamiRequest) Validate ¶

func (m *GetWhoamiRequest) Validate(formats strfmt.Registry) error

Validate validates this get whoami request

type GetWhoamiResponse ¶

type GetWhoamiResponse struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Human-readable name for an organization.
	// Required: true
	OrganizationName *string `json:"organizationName"`

	// Unique identifier for a given user.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a user.
	// Required: true
	Username *string `json:"username"`
}

GetWhoamiResponse get whoami response

swagger:model GetWhoamiResponse

func (*GetWhoamiResponse) ContextValidate ¶

func (m *GetWhoamiResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this get whoami response based on context it is used

func (*GetWhoamiResponse) MarshalBinary ¶

func (m *GetWhoamiResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetWhoamiResponse) UnmarshalBinary ¶

func (m *GetWhoamiResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetWhoamiResponse) Validate ¶

func (m *GetWhoamiResponse) Validate(formats strfmt.Registry) error

Validate validates this get whoami response

type HashFunction ¶

type HashFunction string

HashFunction hash function

swagger:model HashFunction

const (

	// HashFunctionNoOp captures enum value "HASH_FUNCTION_NO_OP"
	HashFunctionNoOp HashFunction = "HASH_FUNCTION_NO_OP"

	// HashFunctionSha256 captures enum value "HASH_FUNCTION_SHA256"
	HashFunctionSha256 HashFunction = "HASH_FUNCTION_SHA256"

	// HashFunctionKeccak256 captures enum value "HASH_FUNCTION_KECCAK256"
	HashFunctionKeccak256 HashFunction = "HASH_FUNCTION_KECCAK256"

	// HashFunctionNotApplicable captures enum value "HASH_FUNCTION_NOT_APPLICABLE"
	HashFunctionNotApplicable HashFunction = "HASH_FUNCTION_NOT_APPLICABLE"
)

func NewHashFunction ¶

func NewHashFunction(value HashFunction) *HashFunction

func (HashFunction) ContextValidate ¶

func (m HashFunction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hash function based on context it is used

func (HashFunction) Pointer ¶

func (m HashFunction) Pointer() *HashFunction

Pointer returns a pointer to a freshly-allocated HashFunction.

func (HashFunction) Validate ¶

func (m HashFunction) Validate(formats strfmt.Registry) error

Validate validates this hash function

type ImportPrivateKeyIntent ¶

type ImportPrivateKeyIntent struct {

	// Cryptocurrency-specific formats for a derived address (e.g., Ethereum).
	// Required: true
	AddressFormats []AddressFormat `json:"addressFormats"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// Bundle containing a raw private key encrypted to the enclave's target public key.
	// Required: true
	EncryptedBundle *string `json:"encryptedBundle"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// The ID of the User importing a Private Key.
	// Required: true
	UserID *string `json:"userId"`
}

ImportPrivateKeyIntent import private key intent

swagger:model ImportPrivateKeyIntent

func (*ImportPrivateKeyIntent) ContextValidate ¶

func (m *ImportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key intent based on the context it is used

func (*ImportPrivateKeyIntent) MarshalBinary ¶

func (m *ImportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyIntent) UnmarshalBinary ¶

func (m *ImportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyIntent) Validate ¶

func (m *ImportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this import private key intent

type ImportPrivateKeyRequest ¶

type ImportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ImportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_IMPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

ImportPrivateKeyRequest import private key request

swagger:model ImportPrivateKeyRequest

func (*ImportPrivateKeyRequest) ContextValidate ¶

func (m *ImportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key request based on the context it is used

func (*ImportPrivateKeyRequest) MarshalBinary ¶

func (m *ImportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyRequest) UnmarshalBinary ¶

func (m *ImportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyRequest) Validate ¶

func (m *ImportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this import private key request

type ImportPrivateKeyResult ¶

type ImportPrivateKeyResult struct {

	// A list of addresses.
	// Required: true
	Addresses []*ActivityV1Address `json:"addresses"`

	// Unique identifier for a Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

ImportPrivateKeyResult import private key result

swagger:model ImportPrivateKeyResult

func (*ImportPrivateKeyResult) ContextValidate ¶

func (m *ImportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import private key result based on the context it is used

func (*ImportPrivateKeyResult) MarshalBinary ¶

func (m *ImportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportPrivateKeyResult) UnmarshalBinary ¶

func (m *ImportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportPrivateKeyResult) Validate ¶

func (m *ImportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this import private key result

type ImportWalletIntent ¶

type ImportWalletIntent struct {

	// A list of wallet Accounts.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Bundle containing a wallet mnemonic encrypted to the enclave's target public key.
	// Required: true
	EncryptedBundle *string `json:"encryptedBundle"`

	// The ID of the User importing a Wallet.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

ImportWalletIntent import wallet intent

swagger:model ImportWalletIntent

func (*ImportWalletIntent) ContextValidate ¶

func (m *ImportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import wallet intent based on the context it is used

func (*ImportWalletIntent) MarshalBinary ¶

func (m *ImportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletIntent) UnmarshalBinary ¶

func (m *ImportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletIntent) Validate ¶

func (m *ImportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this import wallet intent

type ImportWalletRequest ¶

type ImportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *ImportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_IMPORT_WALLET]
	Type *string `json:"type"`
}

ImportWalletRequest import wallet request

swagger:model ImportWalletRequest

func (*ImportWalletRequest) ContextValidate ¶

func (m *ImportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this import wallet request based on the context it is used

func (*ImportWalletRequest) MarshalBinary ¶

func (m *ImportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletRequest) UnmarshalBinary ¶

func (m *ImportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletRequest) Validate ¶

func (m *ImportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this import wallet request

type ImportWalletResult ¶

type ImportWalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// Unique identifier for a Wallet.
	// Required: true
	WalletID *string `json:"walletId"`
}

ImportWalletResult import wallet result

swagger:model ImportWalletResult

func (*ImportWalletResult) ContextValidate ¶

func (m *ImportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this import wallet result based on context it is used

func (*ImportWalletResult) MarshalBinary ¶

func (m *ImportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportWalletResult) UnmarshalBinary ¶

func (m *ImportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportWalletResult) Validate ¶

func (m *ImportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this import wallet result

type InitFiatOnRampIntent ¶ added in v0.6.0

type InitFiatOnRampIntent struct {

	// ISO 3166-1 two-digit country code for Coinbase representing the purchasing user’s country of residence, e.g., US, GB.
	CountryCode *string `json:"countryCode,omitempty"`

	// ISO 3166-2 two-digit country subdivision code for Coinbase representing the purchasing user’s subdivision of residence within their country, e.g. NY. Required if country_code=US.
	CountrySubdivisionCode *string `json:"countrySubdivisionCode,omitempty"`

	// Code for the cryptocurrency to be purchased, e.g., btc, eth. Maps to MoonPay's currencyCode or Coinbase's defaultAsset.
	// Required: true
	CryptoCurrencyCode *FiatOnRampCryptoCurrency `json:"cryptoCurrencyCode"`

	// Specifies a preset fiat amount for the transaction, e.g., '100'. Must be greater than '20'. If not provided, the user will be prompted to enter an amount.
	FiatCurrencyAmount *string `json:"fiatCurrencyAmount,omitempty"`

	// Code for the fiat currency to be used in the transaction, e.g., USD, EUR.
	FiatCurrencyCode FiatOnRampCurrency `json:"fiatCurrencyCode,omitempty"`

	// Blockchain network to be used for the transaction, e.g., bitcoin, ethereum. Maps to MoonPay's network or Coinbase's defaultNetwork.
	// Required: true
	Network *FiatOnRampBlockchainNetwork `json:"network"`

	// Enum to specifiy which on-ramp provider to use
	// Required: true
	OnrampProvider *FiatOnRampProvider `json:"onrampProvider"`

	// Pre-selected payment method, e.g., CREDIT_DEBIT_CARD, APPLE_PAY. Validated against the chosen provider.
	PaymentMethod FiatOnRampPaymentMethod `json:"paymentMethod,omitempty"`

	// Optional flag to indicate whether to use the sandbox mode to simulate transactions for the on-ramp provider. Default is false.
	SandboxMode *bool `json:"sandboxMode,omitempty"`

	// Optional MoonPay Widget URL to sign when using MoonPay client SDKs with URL Signing enabled.
	URLForSignature *string `json:"urlForSignature,omitempty"`

	// Destination wallet address for the buy transaction.
	// Required: true
	WalletAddress *string `json:"walletAddress"`
}

InitFiatOnRampIntent init fiat on ramp intent

swagger:model InitFiatOnRampIntent

func (*InitFiatOnRampIntent) ContextValidate ¶ added in v0.6.0

func (m *InitFiatOnRampIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init fiat on ramp intent based on the context it is used

func (*InitFiatOnRampIntent) MarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitFiatOnRampIntent) UnmarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitFiatOnRampIntent) Validate ¶ added in v0.6.0

func (m *InitFiatOnRampIntent) Validate(formats strfmt.Registry) error

Validate validates this init fiat on ramp intent

type InitFiatOnRampRequest ¶ added in v0.6.0

type InitFiatOnRampRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitFiatOnRampIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_FIAT_ON_RAMP]
	Type *string `json:"type"`
}

InitFiatOnRampRequest init fiat on ramp request

swagger:model InitFiatOnRampRequest

func (*InitFiatOnRampRequest) ContextValidate ¶ added in v0.6.0

func (m *InitFiatOnRampRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init fiat on ramp request based on the context it is used

func (*InitFiatOnRampRequest) MarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitFiatOnRampRequest) UnmarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitFiatOnRampRequest) Validate ¶ added in v0.6.0

func (m *InitFiatOnRampRequest) Validate(formats strfmt.Registry) error

Validate validates this init fiat on ramp request

type InitFiatOnRampResult ¶ added in v0.6.0

type InitFiatOnRampResult struct {

	// Unique identifier used to retrieve transaction statuses for a given fiat on-ramp flow.
	// Required: true
	OnRampTransactionID *string `json:"onRampTransactionId"`

	// Unique URL for a given fiat on-ramp flow.
	// Required: true
	OnRampURL *string `json:"onRampUrl"`

	// Optional signature of the MoonPay Widget URL. The signature is generated if the Init Fiat On Ramp intent includes the urlForSignature field. The signature can be used to initialize the MoonPay SDKs when URL signing is enabled for your project.
	OnRampURLSignature string `json:"onRampUrlSignature,omitempty"`
}

InitFiatOnRampResult init fiat on ramp result

swagger:model InitFiatOnRampResult

func (*InitFiatOnRampResult) ContextValidate ¶ added in v0.6.0

func (m *InitFiatOnRampResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init fiat on ramp result based on context it is used

func (*InitFiatOnRampResult) MarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitFiatOnRampResult) UnmarshalBinary ¶ added in v0.6.0

func (m *InitFiatOnRampResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitFiatOnRampResult) Validate ¶ added in v0.6.0

func (m *InitFiatOnRampResult) Validate(formats strfmt.Registry) error

Validate validates this init fiat on ramp result

type InitImportPrivateKeyIntent ¶

type InitImportPrivateKeyIntent struct {

	// The ID of the User importing a Private Key.
	// Required: true
	UserID *string `json:"userId"`
}

InitImportPrivateKeyIntent init import private key intent

swagger:model InitImportPrivateKeyIntent

func (*InitImportPrivateKeyIntent) ContextValidate ¶

func (m *InitImportPrivateKeyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import private key intent based on context it is used

func (*InitImportPrivateKeyIntent) MarshalBinary ¶

func (m *InitImportPrivateKeyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyIntent) UnmarshalBinary ¶

func (m *InitImportPrivateKeyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyIntent) Validate ¶

func (m *InitImportPrivateKeyIntent) Validate(formats strfmt.Registry) error

Validate validates this init import private key intent

type InitImportPrivateKeyRequest ¶

type InitImportPrivateKeyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitImportPrivateKeyIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY]
	Type *string `json:"type"`
}

InitImportPrivateKeyRequest init import private key request

swagger:model InitImportPrivateKeyRequest

func (*InitImportPrivateKeyRequest) ContextValidate ¶

func (m *InitImportPrivateKeyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init import private key request based on the context it is used

func (*InitImportPrivateKeyRequest) MarshalBinary ¶

func (m *InitImportPrivateKeyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyRequest) UnmarshalBinary ¶

func (m *InitImportPrivateKeyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyRequest) Validate ¶

func (m *InitImportPrivateKeyRequest) Validate(formats strfmt.Registry) error

Validate validates this init import private key request

type InitImportPrivateKeyResult ¶

type InitImportPrivateKeyResult struct {

	// Import bundle containing a public key and signature to use for importing client data.
	// Required: true
	ImportBundle *string `json:"importBundle"`
}

InitImportPrivateKeyResult init import private key result

swagger:model InitImportPrivateKeyResult

func (*InitImportPrivateKeyResult) ContextValidate ¶

func (m *InitImportPrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import private key result based on context it is used

func (*InitImportPrivateKeyResult) MarshalBinary ¶

func (m *InitImportPrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportPrivateKeyResult) UnmarshalBinary ¶

func (m *InitImportPrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportPrivateKeyResult) Validate ¶

func (m *InitImportPrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this init import private key result

type InitImportWalletIntent ¶

type InitImportWalletIntent struct {

	// The ID of the User importing a Wallet.
	// Required: true
	UserID *string `json:"userId"`
}

InitImportWalletIntent init import wallet intent

swagger:model InitImportWalletIntent

func (*InitImportWalletIntent) ContextValidate ¶

func (m *InitImportWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import wallet intent based on context it is used

func (*InitImportWalletIntent) MarshalBinary ¶

func (m *InitImportWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletIntent) UnmarshalBinary ¶

func (m *InitImportWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletIntent) Validate ¶

func (m *InitImportWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this init import wallet intent

type InitImportWalletRequest ¶

type InitImportWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitImportWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_IMPORT_WALLET]
	Type *string `json:"type"`
}

InitImportWalletRequest init import wallet request

swagger:model InitImportWalletRequest

func (*InitImportWalletRequest) ContextValidate ¶

func (m *InitImportWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init import wallet request based on the context it is used

func (*InitImportWalletRequest) MarshalBinary ¶

func (m *InitImportWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletRequest) UnmarshalBinary ¶

func (m *InitImportWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletRequest) Validate ¶

func (m *InitImportWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this init import wallet request

type InitImportWalletResult ¶

type InitImportWalletResult struct {

	// Import bundle containing a public key and signature to use for importing client data.
	// Required: true
	ImportBundle *string `json:"importBundle"`
}

InitImportWalletResult init import wallet result

swagger:model InitImportWalletResult

func (*InitImportWalletResult) ContextValidate ¶

func (m *InitImportWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init import wallet result based on context it is used

func (*InitImportWalletResult) MarshalBinary ¶

func (m *InitImportWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitImportWalletResult) UnmarshalBinary ¶

func (m *InitImportWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitImportWalletResult) Validate ¶

func (m *InitImportWalletResult) Validate(formats strfmt.Registry) error

Validate validates this init import wallet result

type InitOtpAuthIntent ¶

type InitOtpAuthIntent struct {

	// Email or phone number to send the OTP code to
	// Required: true
	Contact *string `json:"contact"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Enum to specifiy whether to send OTP via SMS or email
	// Required: true
	OtpType *string `json:"otpType"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the OTP email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Optional parameters for customizing SMS message. If not provided, the default sms message will be used.
	SmsCustomization *SmsCustomizationParams `json:"smsCustomization,omitempty"`

	// Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address.
	UserIdentifier *string `json:"userIdentifier,omitempty"`
}

InitOtpAuthIntent init otp auth intent

swagger:model InitOtpAuthIntent

func (*InitOtpAuthIntent) ContextValidate ¶

func (m *InitOtpAuthIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init otp auth intent based on the context it is used

func (*InitOtpAuthIntent) MarshalBinary ¶

func (m *InitOtpAuthIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpAuthIntent) UnmarshalBinary ¶

func (m *InitOtpAuthIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpAuthIntent) Validate ¶

func (m *InitOtpAuthIntent) Validate(formats strfmt.Registry) error

Validate validates this init otp auth intent

type InitOtpAuthIntentV2 ¶ added in v0.4.0

type InitOtpAuthIntentV2 struct {

	// Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true
	Alphanumeric *bool `json:"alphanumeric,omitempty"`

	// Email or phone number to send the OTP code to
	// Required: true
	Contact *string `json:"contact"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Optional length of the OTP code. Default = 9
	OtpLength *int32 `json:"otpLength,omitempty"`

	// Enum to specifiy whether to send OTP via SMS or email
	// Required: true
	OtpType *string `json:"otpType"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the OTP email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Optional parameters for customizing SMS message. If not provided, the default sms message will be used.
	SmsCustomization *SmsCustomizationParams `json:"smsCustomization,omitempty"`

	// Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address.
	UserIdentifier *string `json:"userIdentifier,omitempty"`
}

InitOtpAuthIntentV2 init otp auth intent v2

swagger:model InitOtpAuthIntentV2

func (*InitOtpAuthIntentV2) ContextValidate ¶ added in v0.4.0

func (m *InitOtpAuthIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init otp auth intent v2 based on the context it is used

func (*InitOtpAuthIntentV2) MarshalBinary ¶ added in v0.4.0

func (m *InitOtpAuthIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpAuthIntentV2) UnmarshalBinary ¶ added in v0.4.0

func (m *InitOtpAuthIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpAuthIntentV2) Validate ¶ added in v0.4.0

func (m *InitOtpAuthIntentV2) Validate(formats strfmt.Registry) error

Validate validates this init otp auth intent v2

type InitOtpAuthRequest ¶

type InitOtpAuthRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitOtpAuthIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_OTP_AUTH_V2]
	Type *string `json:"type"`
}

InitOtpAuthRequest init otp auth request

swagger:model InitOtpAuthRequest

func (*InitOtpAuthRequest) ContextValidate ¶

func (m *InitOtpAuthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init otp auth request based on the context it is used

func (*InitOtpAuthRequest) MarshalBinary ¶

func (m *InitOtpAuthRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpAuthRequest) UnmarshalBinary ¶

func (m *InitOtpAuthRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpAuthRequest) Validate ¶

func (m *InitOtpAuthRequest) Validate(formats strfmt.Registry) error

Validate validates this init otp auth request

type InitOtpAuthResult ¶

type InitOtpAuthResult struct {

	// Unique identifier for an OTP authentication
	// Required: true
	OtpID *string `json:"otpId"`
}

InitOtpAuthResult init otp auth result

swagger:model InitOtpAuthResult

func (*InitOtpAuthResult) ContextValidate ¶

func (m *InitOtpAuthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init otp auth result based on context it is used

func (*InitOtpAuthResult) MarshalBinary ¶

func (m *InitOtpAuthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpAuthResult) UnmarshalBinary ¶

func (m *InitOtpAuthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpAuthResult) Validate ¶

func (m *InitOtpAuthResult) Validate(formats strfmt.Registry) error

Validate validates this init otp auth result

type InitOtpAuthResultV2 ¶ added in v0.4.0

type InitOtpAuthResultV2 struct {

	// Unique identifier for an OTP authentication
	// Required: true
	OtpID *string `json:"otpId"`
}

InitOtpAuthResultV2 init otp auth result v2

swagger:model InitOtpAuthResultV2

func (*InitOtpAuthResultV2) ContextValidate ¶ added in v0.4.0

func (m *InitOtpAuthResultV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init otp auth result v2 based on context it is used

func (*InitOtpAuthResultV2) MarshalBinary ¶ added in v0.4.0

func (m *InitOtpAuthResultV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpAuthResultV2) UnmarshalBinary ¶ added in v0.4.0

func (m *InitOtpAuthResultV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpAuthResultV2) Validate ¶ added in v0.4.0

func (m *InitOtpAuthResultV2) Validate(formats strfmt.Registry) error

Validate validates this init otp auth result v2

type InitOtpIntent ¶ added in v0.5.0

type InitOtpIntent struct {

	// Optional flag to specify if the OTP code should be alphanumeric (Crockford’s Base32). Default = true
	Alphanumeric *bool `json:"alphanumeric,omitempty"`

	// Email or phone number to send the OTP code to
	// Required: true
	Contact *string `json:"contact"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the OTP is valid for. If not provided, a default of 5 minutes will be used. Maximum value is 600 seconds (10 minutes)
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Optional length of the OTP code. Default = 9
	OtpLength *int32 `json:"otpLength,omitempty"`

	// Whether to send OTP via SMS or email. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL
	// Required: true
	OtpType *string `json:"otpType"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the OTP email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Optional parameters for customizing SMS message. If not provided, the default sms message will be used.
	SmsCustomization *SmsCustomizationParams `json:"smsCustomization,omitempty"`

	// Optional client-generated user identifier to enable per-user rate limiting for SMS auth. We recommend using a hash of the client-side IP address.
	UserIdentifier *string `json:"userIdentifier,omitempty"`
}

InitOtpIntent init otp intent

swagger:model InitOtpIntent

func (*InitOtpIntent) ContextValidate ¶ added in v0.5.0

func (m *InitOtpIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init otp intent based on the context it is used

func (*InitOtpIntent) MarshalBinary ¶ added in v0.5.0

func (m *InitOtpIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpIntent) UnmarshalBinary ¶ added in v0.5.0

func (m *InitOtpIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpIntent) Validate ¶ added in v0.5.0

func (m *InitOtpIntent) Validate(formats strfmt.Registry) error

Validate validates this init otp intent

type InitOtpRequest ¶ added in v0.5.0

type InitOtpRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitOtpIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_OTP]
	Type *string `json:"type"`
}

InitOtpRequest init otp request

swagger:model InitOtpRequest

func (*InitOtpRequest) ContextValidate ¶ added in v0.5.0

func (m *InitOtpRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init otp request based on the context it is used

func (*InitOtpRequest) MarshalBinary ¶ added in v0.5.0

func (m *InitOtpRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpRequest) UnmarshalBinary ¶ added in v0.5.0

func (m *InitOtpRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpRequest) Validate ¶ added in v0.5.0

func (m *InitOtpRequest) Validate(formats strfmt.Registry) error

Validate validates this init otp request

type InitOtpResult ¶ added in v0.5.0

type InitOtpResult struct {

	// Unique identifier for an OTP authentication
	// Required: true
	OtpID *string `json:"otpId"`
}

InitOtpResult init otp result

swagger:model InitOtpResult

func (*InitOtpResult) ContextValidate ¶ added in v0.5.0

func (m *InitOtpResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init otp result based on context it is used

func (*InitOtpResult) MarshalBinary ¶ added in v0.5.0

func (m *InitOtpResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitOtpResult) UnmarshalBinary ¶ added in v0.5.0

func (m *InitOtpResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitOtpResult) Validate ¶ added in v0.5.0

func (m *InitOtpResult) Validate(formats strfmt.Registry) error

Validate validates this init otp result

type InitUserEmailRecoveryIntent ¶

type InitUserEmailRecoveryIntent struct {

	// Email of the user starting recovery
	// Required: true
	Email *string `json:"email"`

	// Optional parameters for customizing emails. If not provided, the default email will be used.
	EmailCustomization *EmailCustomizationParams `json:"emailCustomization,omitempty"`

	// Expiration window (in seconds) indicating how long the recovery credential is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Optional custom email address to use as reply-to
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Optional custom email address from which to send the OTP email
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Optional custom sender name for use with sendFromEmailAddress; if left empty, will default to 'Notifications'
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Client-side public key generated by the user, to which the recovery bundle will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

InitUserEmailRecoveryIntent init user email recovery intent

swagger:model InitUserEmailRecoveryIntent

func (*InitUserEmailRecoveryIntent) ContextValidate ¶

func (m *InitUserEmailRecoveryIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init user email recovery intent based on the context it is used

func (*InitUserEmailRecoveryIntent) MarshalBinary ¶

func (m *InitUserEmailRecoveryIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryIntent) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryIntent) Validate ¶

func (m *InitUserEmailRecoveryIntent) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery intent

type InitUserEmailRecoveryRequest ¶

type InitUserEmailRecoveryRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *InitUserEmailRecoveryIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY]
	Type *string `json:"type"`
}

InitUserEmailRecoveryRequest init user email recovery request

swagger:model InitUserEmailRecoveryRequest

func (*InitUserEmailRecoveryRequest) ContextValidate ¶

func (m *InitUserEmailRecoveryRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this init user email recovery request based on the context it is used

func (*InitUserEmailRecoveryRequest) MarshalBinary ¶

func (m *InitUserEmailRecoveryRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryRequest) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryRequest) Validate ¶

func (m *InitUserEmailRecoveryRequest) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery request

type InitUserEmailRecoveryResult ¶

type InitUserEmailRecoveryResult struct {

	// Unique identifier for the user being recovered.
	// Required: true
	UserID *string `json:"userId"`
}

InitUserEmailRecoveryResult init user email recovery result

swagger:model InitUserEmailRecoveryResult

func (*InitUserEmailRecoveryResult) ContextValidate ¶

func (m *InitUserEmailRecoveryResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this init user email recovery result based on context it is used

func (*InitUserEmailRecoveryResult) MarshalBinary ¶

func (m *InitUserEmailRecoveryResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InitUserEmailRecoveryResult) UnmarshalBinary ¶

func (m *InitUserEmailRecoveryResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InitUserEmailRecoveryResult) Validate ¶

func (m *InitUserEmailRecoveryResult) Validate(formats strfmt.Registry) error

Validate validates this init user email recovery result

type Intent ¶

type Intent struct {

	// accept invitation intent
	AcceptInvitationIntent *AcceptInvitationIntent `json:"acceptInvitationIntent,omitempty"`

	// accept invitation intent v2
	AcceptInvitationIntentV2 *AcceptInvitationIntentV2 `json:"acceptInvitationIntentV2,omitempty"`

	// activate billing tier intent
	ActivateBillingTierIntent *ActivateBillingTierIntent `json:"activateBillingTierIntent,omitempty"`

	// approve activity intent
	ApproveActivityIntent *ApproveActivityIntent `json:"approveActivityIntent,omitempty"`

	// create Api keys intent
	CreateAPIKeysIntent *CreateAPIKeysIntent `json:"createApiKeysIntent,omitempty"`

	// create Api keys intent v2
	CreateAPIKeysIntentV2 *CreateAPIKeysIntentV2 `json:"createApiKeysIntentV2,omitempty"`

	// create Api only users intent
	CreateAPIOnlyUsersIntent *CreateAPIOnlyUsersIntent `json:"createApiOnlyUsersIntent,omitempty"`

	// create authenticators intent
	CreateAuthenticatorsIntent *CreateAuthenticatorsIntent `json:"createAuthenticatorsIntent,omitempty"`

	// create authenticators intent v2
	CreateAuthenticatorsIntentV2 *CreateAuthenticatorsIntentV2 `json:"createAuthenticatorsIntentV2,omitempty"`

	// create invitations intent
	CreateInvitationsIntent *CreateInvitationsIntent `json:"createInvitationsIntent,omitempty"`

	// create oauth2 credential intent
	CreateOauth2CredentialIntent *CreateOauth2CredentialIntent `json:"createOauth2CredentialIntent,omitempty"`

	// create oauth providers intent
	CreateOauthProvidersIntent *CreateOauthProvidersIntent `json:"createOauthProvidersIntent,omitempty"`

	// create organization intent
	CreateOrganizationIntent *CreateOrganizationIntent `json:"createOrganizationIntent,omitempty"`

	// create organization intent v2
	CreateOrganizationIntentV2 *CreateOrganizationIntentV2 `json:"createOrganizationIntentV2,omitempty"`

	// create policies intent
	CreatePoliciesIntent *CreatePoliciesIntent `json:"createPoliciesIntent,omitempty"`

	// create policy intent
	CreatePolicyIntent *CreatePolicyIntent `json:"createPolicyIntent,omitempty"`

	// create policy intent v2
	CreatePolicyIntentV2 *CreatePolicyIntentV2 `json:"createPolicyIntentV2,omitempty"`

	// create policy intent v3
	CreatePolicyIntentV3 *CreatePolicyIntentV3 `json:"createPolicyIntentV3,omitempty"`

	// create private key tag intent
	CreatePrivateKeyTagIntent *CreatePrivateKeyTagIntent `json:"createPrivateKeyTagIntent,omitempty"`

	// create private keys intent
	CreatePrivateKeysIntent *CreatePrivateKeysIntent `json:"createPrivateKeysIntent,omitempty"`

	// create private keys intent v2
	CreatePrivateKeysIntentV2 *CreatePrivateKeysIntentV2 `json:"createPrivateKeysIntentV2,omitempty"`

	// create read only session intent
	CreateReadOnlySessionIntent CreateReadOnlySessionIntent `json:"createReadOnlySessionIntent,omitempty"`

	// create read write session intent
	CreateReadWriteSessionIntent *CreateReadWriteSessionIntent `json:"createReadWriteSessionIntent,omitempty"`

	// create read write session intent v2
	CreateReadWriteSessionIntentV2 *CreateReadWriteSessionIntentV2 `json:"createReadWriteSessionIntentV2,omitempty"`

	// create smart contract interface intent
	CreateSmartContractInterfaceIntent *CreateSmartContractInterfaceIntent `json:"createSmartContractInterfaceIntent,omitempty"`

	// create sub organization intent
	CreateSubOrganizationIntent *CreateSubOrganizationIntent `json:"createSubOrganizationIntent,omitempty"`

	// create sub organization intent v2
	CreateSubOrganizationIntentV2 *CreateSubOrganizationIntentV2 `json:"createSubOrganizationIntentV2,omitempty"`

	// create sub organization intent v3
	CreateSubOrganizationIntentV3 *CreateSubOrganizationIntentV3 `json:"createSubOrganizationIntentV3,omitempty"`

	// create sub organization intent v4
	CreateSubOrganizationIntentV4 *CreateSubOrganizationIntentV4 `json:"createSubOrganizationIntentV4,omitempty"`

	// create sub organization intent v5
	CreateSubOrganizationIntentV5 *CreateSubOrganizationIntentV5 `json:"createSubOrganizationIntentV5,omitempty"`

	// create sub organization intent v6
	CreateSubOrganizationIntentV6 *CreateSubOrganizationIntentV6 `json:"createSubOrganizationIntentV6,omitempty"`

	// create sub organization intent v7
	CreateSubOrganizationIntentV7 *CreateSubOrganizationIntentV7 `json:"createSubOrganizationIntentV7,omitempty"`

	// create user tag intent
	CreateUserTagIntent *CreateUserTagIntent `json:"createUserTagIntent,omitempty"`

	// create users intent
	CreateUsersIntent *CreateUsersIntent `json:"createUsersIntent,omitempty"`

	// create users intent v2
	CreateUsersIntentV2 *CreateUsersIntentV2 `json:"createUsersIntentV2,omitempty"`

	// create users intent v3
	CreateUsersIntentV3 *CreateUsersIntentV3 `json:"createUsersIntentV3,omitempty"`

	// create wallet accounts intent
	CreateWalletAccountsIntent *CreateWalletAccountsIntent `json:"createWalletAccountsIntent,omitempty"`

	// create wallet intent
	CreateWalletIntent *CreateWalletIntent `json:"createWalletIntent,omitempty"`

	// delete Api keys intent
	DeleteAPIKeysIntent *DeleteAPIKeysIntent `json:"deleteApiKeysIntent,omitempty"`

	// delete authenticators intent
	DeleteAuthenticatorsIntent *DeleteAuthenticatorsIntent `json:"deleteAuthenticatorsIntent,omitempty"`

	// delete invitation intent
	DeleteInvitationIntent *DeleteInvitationIntent `json:"deleteInvitationIntent,omitempty"`

	// delete oauth2 credential intent
	DeleteOauth2CredentialIntent *DeleteOauth2CredentialIntent `json:"deleteOauth2CredentialIntent,omitempty"`

	// delete oauth providers intent
	DeleteOauthProvidersIntent *DeleteOauthProvidersIntent `json:"deleteOauthProvidersIntent,omitempty"`

	// delete organization intent
	DeleteOrganizationIntent *DeleteOrganizationIntent `json:"deleteOrganizationIntent,omitempty"`

	// delete payment method intent
	DeletePaymentMethodIntent *DeletePaymentMethodIntent `json:"deletePaymentMethodIntent,omitempty"`

	// delete policies intent
	DeletePoliciesIntent *DeletePoliciesIntent `json:"deletePoliciesIntent,omitempty"`

	// delete policy intent
	DeletePolicyIntent *DeletePolicyIntent `json:"deletePolicyIntent,omitempty"`

	// delete private key tags intent
	DeletePrivateKeyTagsIntent *DeletePrivateKeyTagsIntent `json:"deletePrivateKeyTagsIntent,omitempty"`

	// delete private keys intent
	DeletePrivateKeysIntent *DeletePrivateKeysIntent `json:"deletePrivateKeysIntent,omitempty"`

	// delete smart contract interface intent
	DeleteSmartContractInterfaceIntent *DeleteSmartContractInterfaceIntent `json:"deleteSmartContractInterfaceIntent,omitempty"`

	// delete sub organization intent
	DeleteSubOrganizationIntent *DeleteSubOrganizationIntent `json:"deleteSubOrganizationIntent,omitempty"`

	// delete user tags intent
	DeleteUserTagsIntent *DeleteUserTagsIntent `json:"deleteUserTagsIntent,omitempty"`

	// delete users intent
	DeleteUsersIntent *DeleteUsersIntent `json:"deleteUsersIntent,omitempty"`

	// delete wallet accounts intent
	DeleteWalletAccountsIntent *DeleteWalletAccountsIntent `json:"deleteWalletAccountsIntent,omitempty"`

	// delete wallets intent
	DeleteWalletsIntent *DeleteWalletsIntent `json:"deleteWalletsIntent,omitempty"`

	// disable auth proxy intent
	DisableAuthProxyIntent DisableAuthProxyIntent `json:"disableAuthProxyIntent,omitempty"`

	// disable private key intent
	DisablePrivateKeyIntent *DisablePrivateKeyIntent `json:"disablePrivateKeyIntent,omitempty"`

	// email auth intent
	EmailAuthIntent *EmailAuthIntent `json:"emailAuthIntent,omitempty"`

	// email auth intent v2
	EmailAuthIntentV2 *EmailAuthIntentV2 `json:"emailAuthIntentV2,omitempty"`

	// enable auth proxy intent
	EnableAuthProxyIntent EnableAuthProxyIntent `json:"enableAuthProxyIntent,omitempty"`

	// eth send raw transaction intent
	EthSendRawTransactionIntent *EthSendRawTransactionIntent `json:"ethSendRawTransactionIntent,omitempty"`

	// export private key intent
	ExportPrivateKeyIntent *ExportPrivateKeyIntent `json:"exportPrivateKeyIntent,omitempty"`

	// export wallet account intent
	ExportWalletAccountIntent *ExportWalletAccountIntent `json:"exportWalletAccountIntent,omitempty"`

	// export wallet intent
	ExportWalletIntent *ExportWalletIntent `json:"exportWalletIntent,omitempty"`

	// import private key intent
	ImportPrivateKeyIntent *ImportPrivateKeyIntent `json:"importPrivateKeyIntent,omitempty"`

	// import wallet intent
	ImportWalletIntent *ImportWalletIntent `json:"importWalletIntent,omitempty"`

	// init fiat on ramp intent
	InitFiatOnRampIntent *InitFiatOnRampIntent `json:"initFiatOnRampIntent,omitempty"`

	// init import private key intent
	InitImportPrivateKeyIntent *InitImportPrivateKeyIntent `json:"initImportPrivateKeyIntent,omitempty"`

	// init import wallet intent
	InitImportWalletIntent *InitImportWalletIntent `json:"initImportWalletIntent,omitempty"`

	// init otp auth intent
	InitOtpAuthIntent *InitOtpAuthIntent `json:"initOtpAuthIntent,omitempty"`

	// init otp auth intent v2
	InitOtpAuthIntentV2 *InitOtpAuthIntentV2 `json:"initOtpAuthIntentV2,omitempty"`

	// init otp intent
	InitOtpIntent *InitOtpIntent `json:"initOtpIntent,omitempty"`

	// init user email recovery intent
	InitUserEmailRecoveryIntent *InitUserEmailRecoveryIntent `json:"initUserEmailRecoveryIntent,omitempty"`

	// oauth2 authenticate intent
	Oauth2AuthenticateIntent *Oauth2AuthenticateIntent `json:"oauth2AuthenticateIntent,omitempty"`

	// oauth intent
	OauthIntent *OauthIntent `json:"oauthIntent,omitempty"`

	// oauth login intent
	OauthLoginIntent *OauthLoginIntent `json:"oauthLoginIntent,omitempty"`

	// otp auth intent
	OtpAuthIntent *OtpAuthIntent `json:"otpAuthIntent,omitempty"`

	// otp login intent
	OtpLoginIntent *OtpLoginIntent `json:"otpLoginIntent,omitempty"`

	// recover user intent
	RecoverUserIntent *RecoverUserIntent `json:"recoverUserIntent,omitempty"`

	// reject activity intent
	RejectActivityIntent *RejectActivityIntent `json:"rejectActivityIntent,omitempty"`

	// remove organization feature intent
	RemoveOrganizationFeatureIntent *RemoveOrganizationFeatureIntent `json:"removeOrganizationFeatureIntent,omitempty"`

	// set organization feature intent
	SetOrganizationFeatureIntent *SetOrganizationFeatureIntent `json:"setOrganizationFeatureIntent,omitempty"`

	// set payment method intent
	SetPaymentMethodIntent *SetPaymentMethodIntent `json:"setPaymentMethodIntent,omitempty"`

	// set payment method intent v2
	SetPaymentMethodIntentV2 *SetPaymentMethodIntentV2 `json:"setPaymentMethodIntentV2,omitempty"`

	// sign raw payload intent
	SignRawPayloadIntent *SignRawPayloadIntent `json:"signRawPayloadIntent,omitempty"`

	// sign raw payload intent v2
	SignRawPayloadIntentV2 *SignRawPayloadIntentV2 `json:"signRawPayloadIntentV2,omitempty"`

	// sign raw payloads intent
	SignRawPayloadsIntent *SignRawPayloadsIntent `json:"signRawPayloadsIntent,omitempty"`

	// sign transaction intent
	SignTransactionIntent *SignTransactionIntent `json:"signTransactionIntent,omitempty"`

	// sign transaction intent v2
	SignTransactionIntentV2 *SignTransactionIntentV2 `json:"signTransactionIntentV2,omitempty"`

	// stamp login intent
	StampLoginIntent *StampLoginIntent `json:"stampLoginIntent,omitempty"`

	// update allowed origins intent
	UpdateAllowedOriginsIntent *UpdateAllowedOriginsIntent `json:"updateAllowedOriginsIntent,omitempty"`

	// update auth proxy config intent
	UpdateAuthProxyConfigIntent *UpdateAuthProxyConfigIntent `json:"updateAuthProxyConfigIntent,omitempty"`

	// update oauth2 credential intent
	UpdateOauth2CredentialIntent *UpdateOauth2CredentialIntent `json:"updateOauth2CredentialIntent,omitempty"`

	// update policy intent
	UpdatePolicyIntent *UpdatePolicyIntent `json:"updatePolicyIntent,omitempty"`

	// update policy intent v2
	UpdatePolicyIntentV2 *UpdatePolicyIntentV2 `json:"updatePolicyIntentV2,omitempty"`

	// update private key tag intent
	UpdatePrivateKeyTagIntent *UpdatePrivateKeyTagIntent `json:"updatePrivateKeyTagIntent,omitempty"`

	// update root quorum intent
	UpdateRootQuorumIntent *UpdateRootQuorumIntent `json:"updateRootQuorumIntent,omitempty"`

	// update user email intent
	UpdateUserEmailIntent *UpdateUserEmailIntent `json:"updateUserEmailIntent,omitempty"`

	// update user intent
	UpdateUserIntent *UpdateUserIntent `json:"updateUserIntent,omitempty"`

	// update user name intent
	UpdateUserNameIntent *UpdateUserNameIntent `json:"updateUserNameIntent,omitempty"`

	// update user phone number intent
	UpdateUserPhoneNumberIntent *UpdateUserPhoneNumberIntent `json:"updateUserPhoneNumberIntent,omitempty"`

	// update user tag intent
	UpdateUserTagIntent *UpdateUserTagIntent `json:"updateUserTagIntent,omitempty"`

	// update wallet intent
	UpdateWalletIntent *UpdateWalletIntent `json:"updateWalletIntent,omitempty"`

	// verify otp intent
	VerifyOtpIntent *VerifyOtpIntent `json:"verifyOtpIntent,omitempty"`
}

Intent intent

swagger:model Intent

func (*Intent) ContextValidate ¶

func (m *Intent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this intent based on the context it is used

func (*Intent) MarshalBinary ¶

func (m *Intent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Intent) UnmarshalBinary ¶

func (m *Intent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Intent) Validate ¶

func (m *Intent) Validate(formats strfmt.Registry) error

Validate validates this intent

type InvitationParams ¶

type InvitationParams struct {

	// The User's permissible access method(s).
	// Required: true
	AccessType *AccessType `json:"accessType"`

	// The email address of the intended Invitation recipient.
	// Required: true
	ReceiverUserEmail *string `json:"receiverUserEmail"`

	// The name of the intended Invitation recipient.
	// Required: true
	ReceiverUserName *string `json:"receiverUserName"`

	// A list of tags assigned to the Invitation recipient. This field, if not needed, should be an empty array in your request body.
	// Required: true
	ReceiverUserTags []string `json:"receiverUserTags"`

	// Unique identifier for the Sender of an Invitation.
	// Required: true
	SenderUserID *string `json:"senderUserId"`
}

InvitationParams invitation params

swagger:model InvitationParams

func (*InvitationParams) ContextValidate ¶

func (m *InvitationParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this invitation params based on the context it is used

func (*InvitationParams) MarshalBinary ¶

func (m *InvitationParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InvitationParams) UnmarshalBinary ¶

func (m *InvitationParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InvitationParams) Validate ¶

func (m *InvitationParams) Validate(formats strfmt.Registry) error

Validate validates this invitation params

type ListOauth2CredentialsRequest ¶ added in v0.9.0

type ListOauth2CredentialsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

ListOauth2CredentialsRequest list oauth2 credentials request

swagger:model ListOauth2CredentialsRequest

func (*ListOauth2CredentialsRequest) ContextValidate ¶ added in v0.9.0

func (m *ListOauth2CredentialsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list oauth2 credentials request based on context it is used

func (*ListOauth2CredentialsRequest) MarshalBinary ¶ added in v0.9.0

func (m *ListOauth2CredentialsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOauth2CredentialsRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *ListOauth2CredentialsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOauth2CredentialsRequest) Validate ¶ added in v0.9.0

func (m *ListOauth2CredentialsRequest) Validate(formats strfmt.Registry) error

Validate validates this list oauth2 credentials request

type ListOauth2CredentialsResponse ¶ added in v0.9.0

type ListOauth2CredentialsResponse struct {

	// oauth2 credentials
	// Required: true
	Oauth2Credentials []*Oauth2Credential `json:"oauth2Credentials"`
}

ListOauth2CredentialsResponse list oauth2 credentials response

swagger:model ListOauth2CredentialsResponse

func (*ListOauth2CredentialsResponse) ContextValidate ¶ added in v0.9.0

func (m *ListOauth2CredentialsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list oauth2 credentials response based on the context it is used

func (*ListOauth2CredentialsResponse) MarshalBinary ¶ added in v0.9.0

func (m *ListOauth2CredentialsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListOauth2CredentialsResponse) UnmarshalBinary ¶ added in v0.9.0

func (m *ListOauth2CredentialsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListOauth2CredentialsResponse) Validate ¶ added in v0.9.0

func (m *ListOauth2CredentialsResponse) Validate(formats strfmt.Registry) error

Validate validates this list oauth2 credentials response

type ListPrivateKeyTagsRequest ¶

type ListPrivateKeyTagsRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

ListPrivateKeyTagsRequest list private key tags request

swagger:model ListPrivateKeyTagsRequest

func (*ListPrivateKeyTagsRequest) ContextValidate ¶

func (m *ListPrivateKeyTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list private key tags request based on context it is used

func (*ListPrivateKeyTagsRequest) MarshalBinary ¶

func (m *ListPrivateKeyTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateKeyTagsRequest) UnmarshalBinary ¶

func (m *ListPrivateKeyTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateKeyTagsRequest) Validate ¶

func (m *ListPrivateKeyTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this list private key tags request

type ListPrivateKeyTagsResponse ¶

type ListPrivateKeyTagsResponse struct {

	// A list of private key tags.
	// Required: true
	PrivateKeyTags []*V1Tag `json:"privateKeyTags"`
}

ListPrivateKeyTagsResponse list private key tags response

swagger:model ListPrivateKeyTagsResponse

func (*ListPrivateKeyTagsResponse) ContextValidate ¶

func (m *ListPrivateKeyTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list private key tags response based on the context it is used

func (*ListPrivateKeyTagsResponse) MarshalBinary ¶

func (m *ListPrivateKeyTagsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListPrivateKeyTagsResponse) UnmarshalBinary ¶

func (m *ListPrivateKeyTagsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListPrivateKeyTagsResponse) Validate ¶

func (m *ListPrivateKeyTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this list private key tags response

type ListUserTagsRequest ¶

type ListUserTagsRequest struct {

	// Unique identifier for a given organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`
}

ListUserTagsRequest list user tags request

swagger:model ListUserTagsRequest

func (*ListUserTagsRequest) ContextValidate ¶

func (m *ListUserTagsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this list user tags request based on context it is used

func (*ListUserTagsRequest) MarshalBinary ¶

func (m *ListUserTagsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserTagsRequest) UnmarshalBinary ¶

func (m *ListUserTagsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserTagsRequest) Validate ¶

func (m *ListUserTagsRequest) Validate(formats strfmt.Registry) error

Validate validates this list user tags request

type ListUserTagsResponse ¶

type ListUserTagsResponse struct {

	// A list of user tags.
	// Required: true
	UserTags []*V1Tag `json:"userTags"`
}

ListUserTagsResponse list user tags response

swagger:model ListUserTagsResponse

func (*ListUserTagsResponse) ContextValidate ¶

func (m *ListUserTagsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this list user tags response based on the context it is used

func (*ListUserTagsResponse) MarshalBinary ¶

func (m *ListUserTagsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListUserTagsResponse) UnmarshalBinary ¶

func (m *ListUserTagsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListUserTagsResponse) Validate ¶

func (m *ListUserTagsResponse) Validate(formats strfmt.Registry) error

Validate validates this list user tags response

type MnemonicLanguage ¶

type MnemonicLanguage string

MnemonicLanguage mnemonic language

swagger:model MnemonicLanguage

const (

	// MnemonicLanguageEnglish captures enum value "MNEMONIC_LANGUAGE_ENGLISH"
	MnemonicLanguageEnglish MnemonicLanguage = "MNEMONIC_LANGUAGE_ENGLISH"

	// MnemonicLanguageSimplifiedChinese captures enum value "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE"
	MnemonicLanguageSimplifiedChinese MnemonicLanguage = "MNEMONIC_LANGUAGE_SIMPLIFIED_CHINESE"

	// MnemonicLanguageTraditionalChinese captures enum value "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE"
	MnemonicLanguageTraditionalChinese MnemonicLanguage = "MNEMONIC_LANGUAGE_TRADITIONAL_CHINESE"

	// MnemonicLanguageCzech captures enum value "MNEMONIC_LANGUAGE_CZECH"
	MnemonicLanguageCzech MnemonicLanguage = "MNEMONIC_LANGUAGE_CZECH"

	// MnemonicLanguageFrench captures enum value "MNEMONIC_LANGUAGE_FRENCH"
	MnemonicLanguageFrench MnemonicLanguage = "MNEMONIC_LANGUAGE_FRENCH"

	// MnemonicLanguageItalian captures enum value "MNEMONIC_LANGUAGE_ITALIAN"
	MnemonicLanguageItalian MnemonicLanguage = "MNEMONIC_LANGUAGE_ITALIAN"

	// MnemonicLanguageJapanese captures enum value "MNEMONIC_LANGUAGE_JAPANESE"
	MnemonicLanguageJapanese MnemonicLanguage = "MNEMONIC_LANGUAGE_JAPANESE"

	// MnemonicLanguageKorean captures enum value "MNEMONIC_LANGUAGE_KOREAN"
	MnemonicLanguageKorean MnemonicLanguage = "MNEMONIC_LANGUAGE_KOREAN"

	// MnemonicLanguageSpanish captures enum value "MNEMONIC_LANGUAGE_SPANISH"
	MnemonicLanguageSpanish MnemonicLanguage = "MNEMONIC_LANGUAGE_SPANISH"
)

func NewMnemonicLanguage ¶

func NewMnemonicLanguage(value MnemonicLanguage) *MnemonicLanguage

func (MnemonicLanguage) ContextValidate ¶

func (m MnemonicLanguage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this mnemonic language based on context it is used

func (MnemonicLanguage) Pointer ¶

func (m MnemonicLanguage) Pointer() *MnemonicLanguage

Pointer returns a pointer to a freshly-allocated MnemonicLanguage.

func (MnemonicLanguage) Validate ¶

func (m MnemonicLanguage) Validate(formats strfmt.Registry) error

Validate validates this mnemonic language

type Oauth2AuthenticateIntent ¶ added in v0.9.0

type Oauth2AuthenticateIntent struct {

	// The auth_code provided by the OAuth 2.0 provider to the end user to be exchanged for a Bearer token in the OAuth 2.0 flow
	// Required: true
	AuthCode *string `json:"authCode"`

	// An optional P256 public key to which, if provided, the bearer token will be encrypted and returned via the `encrypted_bearer_token` claim of the OIDC Token
	BearerTokenTargetPublicKey *string `json:"bearerTokenTargetPublicKey,omitempty"`

	// The code verifier used by OAuth 2.0 PKCE providers
	// Required: true
	CodeVerifier *string `json:"codeVerifier"`

	// An optional nonce used by the client to prevent replay/substitution of an ID token
	Nonce *string `json:"nonce,omitempty"`

	// The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`

	// The URI the user is redirected to after they have authenticated with the OAuth 2.0 provider
	// Required: true
	RedirectURI *string `json:"redirectUri"`
}

Oauth2AuthenticateIntent oauth2 authenticate intent

swagger:model Oauth2AuthenticateIntent

func (*Oauth2AuthenticateIntent) ContextValidate ¶ added in v0.9.0

func (m *Oauth2AuthenticateIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth2 authenticate intent based on context it is used

func (*Oauth2AuthenticateIntent) MarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Oauth2AuthenticateIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Oauth2AuthenticateIntent) Validate ¶ added in v0.9.0

func (m *Oauth2AuthenticateIntent) Validate(formats strfmt.Registry) error

Validate validates this oauth2 authenticate intent

type Oauth2AuthenticateRequest ¶ added in v0.9.0

type Oauth2AuthenticateRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *Oauth2AuthenticateIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_OAUTH2_AUTHENTICATE]
	Type *string `json:"type"`
}

Oauth2AuthenticateRequest oauth2 authenticate request

swagger:model Oauth2AuthenticateRequest

func (*Oauth2AuthenticateRequest) ContextValidate ¶ added in v0.9.0

func (m *Oauth2AuthenticateRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oauth2 authenticate request based on the context it is used

func (*Oauth2AuthenticateRequest) MarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Oauth2AuthenticateRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Oauth2AuthenticateRequest) Validate ¶ added in v0.9.0

func (m *Oauth2AuthenticateRequest) Validate(formats strfmt.Registry) error

Validate validates this oauth2 authenticate request

type Oauth2AuthenticateResult ¶ added in v0.9.0

type Oauth2AuthenticateResult struct {

	// Base64 encoded OIDC token issued by Turnkey to be used with the LoginWithOAuth activity
	// Required: true
	OidcToken *string `json:"oidcToken"`
}

Oauth2AuthenticateResult oauth2 authenticate result

swagger:model Oauth2AuthenticateResult

func (*Oauth2AuthenticateResult) ContextValidate ¶ added in v0.9.0

func (m *Oauth2AuthenticateResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth2 authenticate result based on context it is used

func (*Oauth2AuthenticateResult) MarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Oauth2AuthenticateResult) UnmarshalBinary ¶ added in v0.9.0

func (m *Oauth2AuthenticateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Oauth2AuthenticateResult) Validate ¶ added in v0.9.0

func (m *Oauth2AuthenticateResult) Validate(formats strfmt.Registry) error

Validate validates this oauth2 authenticate result

type Oauth2Credential ¶ added in v0.9.0

type Oauth2Credential struct {

	// The client id for a given OAuth 2.0 Credential.
	// Required: true
	ClientID *string `json:"clientId"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The encrypted client secret for a given OAuth 2.0 Credential encrypted to the TLS Fetcher quorum key.
	// Required: true
	EncryptedClientSecret *string `json:"encryptedClientSecret"`

	// Unique identifier for a given OAuth 2.0 Credential.
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`

	// Unique identifier for an Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// The provider for a given OAuth 2.0 Credential.
	// Required: true
	Provider *Oauth2Provider `json:"provider"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

Oauth2Credential oauth2 credential

swagger:model Oauth2Credential

func (*Oauth2Credential) ContextValidate ¶ added in v0.9.0

func (m *Oauth2Credential) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oauth2 credential based on the context it is used

func (*Oauth2Credential) MarshalBinary ¶ added in v0.9.0

func (m *Oauth2Credential) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Oauth2Credential) UnmarshalBinary ¶ added in v0.9.0

func (m *Oauth2Credential) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Oauth2Credential) Validate ¶ added in v0.9.0

func (m *Oauth2Credential) Validate(formats strfmt.Registry) error

Validate validates this oauth2 credential

type Oauth2Provider ¶ added in v0.9.0

type Oauth2Provider string

Oauth2Provider oauth2 provider

swagger:model Oauth2Provider

const (

	// Oauth2ProviderX captures enum value "OAUTH2_PROVIDER_X"
	Oauth2ProviderX Oauth2Provider = "OAUTH2_PROVIDER_X"

	// Oauth2ProviderDiscord captures enum value "OAUTH2_PROVIDER_DISCORD"
	Oauth2ProviderDiscord Oauth2Provider = "OAUTH2_PROVIDER_DISCORD"
)

func NewOauth2Provider ¶ added in v0.9.0

func NewOauth2Provider(value Oauth2Provider) *Oauth2Provider

func (Oauth2Provider) ContextValidate ¶ added in v0.9.0

func (m Oauth2Provider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth2 provider based on context it is used

func (Oauth2Provider) Pointer ¶ added in v0.9.0

func (m Oauth2Provider) Pointer() *Oauth2Provider

Pointer returns a pointer to a freshly-allocated Oauth2Provider.

func (Oauth2Provider) Validate ¶ added in v0.9.0

func (m Oauth2Provider) Validate(formats strfmt.Registry) error

Validate validates this oauth2 provider

type OauthIntent ¶

type OauthIntent struct {

	// Optional human-readable name for an API Key. If none provided, default to Oauth - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Oauth API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Base64 encoded OIDC token
	// Required: true
	OidcToken *string `json:"oidcToken"`

	// Client-side public key generated by the user, to which the oauth bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

OauthIntent oauth intent

swagger:model OauthIntent

func (*OauthIntent) ContextValidate ¶

func (m *OauthIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth intent based on context it is used

func (*OauthIntent) MarshalBinary ¶

func (m *OauthIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthIntent) UnmarshalBinary ¶

func (m *OauthIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthIntent) Validate ¶

func (m *OauthIntent) Validate(formats strfmt.Registry) error

Validate validates this oauth intent

type OauthLoginIntent ¶ added in v0.5.0

type OauthLoginIntent struct {

	// Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Login API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Base64 encoded OIDC token
	// Required: true
	OidcToken *string `json:"oidcToken"`

	// Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the oidc token associated with this request
	// Required: true
	PublicKey *string `json:"publicKey"`
}

OauthLoginIntent oauth login intent

swagger:model OauthLoginIntent

func (*OauthLoginIntent) ContextValidate ¶ added in v0.5.0

func (m *OauthLoginIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth login intent based on context it is used

func (*OauthLoginIntent) MarshalBinary ¶ added in v0.5.0

func (m *OauthLoginIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthLoginIntent) UnmarshalBinary ¶ added in v0.5.0

func (m *OauthLoginIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthLoginIntent) Validate ¶ added in v0.5.0

func (m *OauthLoginIntent) Validate(formats strfmt.Registry) error

Validate validates this oauth login intent

type OauthLoginRequest ¶ added in v0.5.0

type OauthLoginRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *OauthLoginIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_OAUTH_LOGIN]
	Type *string `json:"type"`
}

OauthLoginRequest oauth login request

swagger:model OauthLoginRequest

func (*OauthLoginRequest) ContextValidate ¶ added in v0.5.0

func (m *OauthLoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oauth login request based on the context it is used

func (*OauthLoginRequest) MarshalBinary ¶ added in v0.5.0

func (m *OauthLoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthLoginRequest) UnmarshalBinary ¶ added in v0.5.0

func (m *OauthLoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthLoginRequest) Validate ¶ added in v0.5.0

func (m *OauthLoginRequest) Validate(formats strfmt.Registry) error

Validate validates this oauth login request

type OauthLoginResult ¶ added in v0.5.0

type OauthLoginResult struct {

	// Signed JWT containing an expiry, public key, session type, user id, and organization id
	// Required: true
	Session *string `json:"session"`
}

OauthLoginResult oauth login result

swagger:model OauthLoginResult

func (*OauthLoginResult) ContextValidate ¶ added in v0.5.0

func (m *OauthLoginResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth login result based on context it is used

func (*OauthLoginResult) MarshalBinary ¶ added in v0.5.0

func (m *OauthLoginResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthLoginResult) UnmarshalBinary ¶ added in v0.5.0

func (m *OauthLoginResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthLoginResult) Validate ¶ added in v0.5.0

func (m *OauthLoginResult) Validate(formats strfmt.Registry) error

Validate validates this oauth login result

type OauthProvider ¶

type OauthProvider struct {

	// Expected audience ('aud' attribute of the signed token) which represents the app ID
	// Required: true
	Audience *string `json:"audience"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The issuer of the token, typically a URL indicating the authentication server, e.g https://accounts.google.com
	// Required: true
	Issuer *string `json:"issuer"`

	// Unique identifier for an OAuth Provider
	// Required: true
	ProviderID *string `json:"providerId"`

	// Human-readable name to identify a Provider.
	// Required: true
	ProviderName *string `json:"providerName"`

	// Expected subject ('sub' attribute of the signed token) which represents the user ID
	// Required: true
	Subject *string `json:"subject"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

OauthProvider oauth provider

swagger:model OauthProvider

func (*OauthProvider) ContextValidate ¶

func (m *OauthProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oauth provider based on the context it is used

func (*OauthProvider) MarshalBinary ¶

func (m *OauthProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthProvider) UnmarshalBinary ¶

func (m *OauthProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthProvider) Validate ¶

func (m *OauthProvider) Validate(formats strfmt.Registry) error

Validate validates this oauth provider

type OauthProviderParams ¶

type OauthProviderParams struct {

	// Base64 encoded OIDC token
	// Required: true
	OidcToken *string `json:"oidcToken"`

	// Human-readable name to identify a Provider.
	// Required: true
	ProviderName *string `json:"providerName"`
}

OauthProviderParams oauth provider params

swagger:model OauthProviderParams

func (*OauthProviderParams) ContextValidate ¶

func (m *OauthProviderParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth provider params based on context it is used

func (*OauthProviderParams) MarshalBinary ¶

func (m *OauthProviderParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthProviderParams) UnmarshalBinary ¶

func (m *OauthProviderParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthProviderParams) Validate ¶

func (m *OauthProviderParams) Validate(formats strfmt.Registry) error

Validate validates this oauth provider params

type OauthRequest ¶

type OauthRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *OauthIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_OAUTH]
	Type *string `json:"type"`
}

OauthRequest oauth request

swagger:model OauthRequest

func (*OauthRequest) ContextValidate ¶

func (m *OauthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this oauth request based on the context it is used

func (*OauthRequest) MarshalBinary ¶

func (m *OauthRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthRequest) UnmarshalBinary ¶

func (m *OauthRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthRequest) Validate ¶

func (m *OauthRequest) Validate(formats strfmt.Registry) error

Validate validates this oauth request

type OauthResult ¶

type OauthResult struct {

	// Unique identifier for the created API key.
	// Required: true
	APIKeyID *string `json:"apiKeyId"`

	// HPKE encrypted credential bundle
	// Required: true
	CredentialBundle *string `json:"credentialBundle"`

	// Unique identifier for the authenticating User.
	// Required: true
	UserID *string `json:"userId"`
}

OauthResult oauth result

swagger:model OauthResult

func (*OauthResult) ContextValidate ¶

func (m *OauthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this oauth result based on context it is used

func (*OauthResult) MarshalBinary ¶

func (m *OauthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OauthResult) UnmarshalBinary ¶

func (m *OauthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OauthResult) Validate ¶

func (m *OauthResult) Validate(formats strfmt.Registry) error

Validate validates this oauth result

type Operator ¶

type Operator string

Operator operator

swagger:model Operator

const (

	// OperatorEqual captures enum value "OPERATOR_EQUAL"
	OperatorEqual Operator = "OPERATOR_EQUAL"

	// OperatorMoreThan captures enum value "OPERATOR_MORE_THAN"
	OperatorMoreThan Operator = "OPERATOR_MORE_THAN"

	// OperatorMoreThanOrEqual captures enum value "OPERATOR_MORE_THAN_OR_EQUAL"
	OperatorMoreThanOrEqual Operator = "OPERATOR_MORE_THAN_OR_EQUAL"

	// OperatorLessThan captures enum value "OPERATOR_LESS_THAN"
	OperatorLessThan Operator = "OPERATOR_LESS_THAN"

	// OperatorLessThanOrEqual captures enum value "OPERATOR_LESS_THAN_OR_EQUAL"
	OperatorLessThanOrEqual Operator = "OPERATOR_LESS_THAN_OR_EQUAL"

	// OperatorContains captures enum value "OPERATOR_CONTAINS"
	OperatorContains Operator = "OPERATOR_CONTAINS"

	// OperatorNotEqual captures enum value "OPERATOR_NOT_EQUAL"
	OperatorNotEqual Operator = "OPERATOR_NOT_EQUAL"

	// OperatorIn captures enum value "OPERATOR_IN"
	OperatorIn Operator = "OPERATOR_IN"

	// OperatorNotIn captures enum value "OPERATOR_NOT_IN"
	OperatorNotIn Operator = "OPERATOR_NOT_IN"

	// OperatorContainsOne captures enum value "OPERATOR_CONTAINS_ONE"
	OperatorContainsOne Operator = "OPERATOR_CONTAINS_ONE"

	// OperatorContainsAll captures enum value "OPERATOR_CONTAINS_ALL"
	OperatorContainsAll Operator = "OPERATOR_CONTAINS_ALL"
)

func NewOperator ¶

func NewOperator(value Operator) *Operator

func (Operator) ContextValidate ¶

func (m Operator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operator based on context it is used

func (Operator) Pointer ¶

func (m Operator) Pointer() *Operator

Pointer returns a pointer to a freshly-allocated Operator.

func (Operator) Validate ¶

func (m Operator) Validate(formats strfmt.Registry) error

Validate validates this operator

type OtpAuthIntent ¶

type OtpAuthIntent struct {

	// Optional human-readable name for an API Key. If none provided, default to OTP Auth - <Timestamp>
	APIKeyName *string `json:"apiKeyName,omitempty"`

	// Expiration window (in seconds) indicating how long the API key is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated OTP Auth API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// OTP sent out to a user's contact (email or SMS)
	// Required: true
	OtpCode *string `json:"otpCode"`

	// ID representing the result of an init OTP activity.
	// Required: true
	OtpID *string `json:"otpId"`

	// Client-side public key generated by the user, to which the OTP bundle (credentials) will be encrypted.
	// Required: true
	TargetPublicKey *string `json:"targetPublicKey"`
}

OtpAuthIntent otp auth intent

swagger:model OtpAuthIntent

func (*OtpAuthIntent) ContextValidate ¶

func (m *OtpAuthIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this otp auth intent based on context it is used

func (*OtpAuthIntent) MarshalBinary ¶

func (m *OtpAuthIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpAuthIntent) UnmarshalBinary ¶

func (m *OtpAuthIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpAuthIntent) Validate ¶

func (m *OtpAuthIntent) Validate(formats strfmt.Registry) error

Validate validates this otp auth intent

type OtpAuthRequest ¶

type OtpAuthRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *OtpAuthIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_OTP_AUTH]
	Type *string `json:"type"`
}

OtpAuthRequest otp auth request

swagger:model OtpAuthRequest

func (*OtpAuthRequest) ContextValidate ¶

func (m *OtpAuthRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this otp auth request based on the context it is used

func (*OtpAuthRequest) MarshalBinary ¶

func (m *OtpAuthRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpAuthRequest) UnmarshalBinary ¶

func (m *OtpAuthRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpAuthRequest) Validate ¶

func (m *OtpAuthRequest) Validate(formats strfmt.Registry) error

Validate validates this otp auth request

type OtpAuthResult ¶

type OtpAuthResult struct {

	// Unique identifier for the created API key.
	APIKeyID string `json:"apiKeyId,omitempty"`

	// HPKE encrypted credential bundle
	CredentialBundle string `json:"credentialBundle,omitempty"`

	// Unique identifier for the authenticating User.
	// Required: true
	UserID *string `json:"userId"`
}

OtpAuthResult otp auth result

swagger:model OtpAuthResult

func (*OtpAuthResult) ContextValidate ¶

func (m *OtpAuthResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this otp auth result based on context it is used

func (*OtpAuthResult) MarshalBinary ¶

func (m *OtpAuthResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpAuthResult) UnmarshalBinary ¶

func (m *OtpAuthResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpAuthResult) Validate ¶

func (m *OtpAuthResult) Validate(formats strfmt.Registry) error

Validate validates this otp auth result

type OtpLoginIntent ¶ added in v0.5.0

type OtpLoginIntent struct {

	// Optional signature associated with the public key passed into the verification step. This must be a hex-encoded ECDSA signature over the verification token. Only required if a public key was provided during the verification step.
	ClientSignature *string `json:"clientSignature,omitempty"`

	// Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Login API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Client-side public key generated by the user, which will be conditionally added to org data based on the validity of the verification token
	// Required: true
	PublicKey *string `json:"publicKey"`

	// Signed JWT containing a unique id, expiry, verification type, contact
	// Required: true
	VerificationToken *string `json:"verificationToken"`
}

OtpLoginIntent otp login intent

swagger:model OtpLoginIntent

func (*OtpLoginIntent) ContextValidate ¶ added in v0.5.0

func (m *OtpLoginIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this otp login intent based on context it is used

func (*OtpLoginIntent) MarshalBinary ¶ added in v0.5.0

func (m *OtpLoginIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpLoginIntent) UnmarshalBinary ¶ added in v0.5.0

func (m *OtpLoginIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpLoginIntent) Validate ¶ added in v0.5.0

func (m *OtpLoginIntent) Validate(formats strfmt.Registry) error

Validate validates this otp login intent

type OtpLoginRequest ¶ added in v0.5.0

type OtpLoginRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *OtpLoginIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_OTP_LOGIN]
	Type *string `json:"type"`
}

OtpLoginRequest otp login request

swagger:model OtpLoginRequest

func (*OtpLoginRequest) ContextValidate ¶ added in v0.5.0

func (m *OtpLoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this otp login request based on the context it is used

func (*OtpLoginRequest) MarshalBinary ¶ added in v0.5.0

func (m *OtpLoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpLoginRequest) UnmarshalBinary ¶ added in v0.5.0

func (m *OtpLoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpLoginRequest) Validate ¶ added in v0.5.0

func (m *OtpLoginRequest) Validate(formats strfmt.Registry) error

Validate validates this otp login request

type OtpLoginResult ¶ added in v0.5.0

type OtpLoginResult struct {

	// Signed JWT containing an expiry, public key, session type, user id, and organization id
	// Required: true
	Session *string `json:"session"`
}

OtpLoginResult otp login result

swagger:model OtpLoginResult

func (*OtpLoginResult) ContextValidate ¶ added in v0.5.0

func (m *OtpLoginResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this otp login result based on context it is used

func (*OtpLoginResult) MarshalBinary ¶ added in v0.5.0

func (m *OtpLoginResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OtpLoginResult) UnmarshalBinary ¶ added in v0.5.0

func (m *OtpLoginResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OtpLoginResult) Validate ¶ added in v0.5.0

func (m *OtpLoginResult) Validate(formats strfmt.Registry) error

Validate validates this otp login result

type Outcome ¶ added in v0.7.0

type Outcome string

Outcome outcome

swagger:model Outcome

const (

	// OutcomeAllow captures enum value "OUTCOME_ALLOW"
	OutcomeAllow Outcome = "OUTCOME_ALLOW"

	// OutcomeDenyExplicit captures enum value "OUTCOME_DENY_EXPLICIT"
	OutcomeDenyExplicit Outcome = "OUTCOME_DENY_EXPLICIT"

	// OutcomeDenyImplicit captures enum value "OUTCOME_DENY_IMPLICIT"
	OutcomeDenyImplicit Outcome = "OUTCOME_DENY_IMPLICIT"

	// OutcomeRequiresConsensus captures enum value "OUTCOME_REQUIRES_CONSENSUS"
	OutcomeRequiresConsensus Outcome = "OUTCOME_REQUIRES_CONSENSUS"

	// OutcomeRejected captures enum value "OUTCOME_REJECTED"
	OutcomeRejected Outcome = "OUTCOME_REJECTED"

	// OutcomeError captures enum value "OUTCOME_ERROR"
	OutcomeError Outcome = "OUTCOME_ERROR"
)

func NewOutcome ¶ added in v0.7.0

func NewOutcome(value Outcome) *Outcome

func (Outcome) ContextValidate ¶ added in v0.7.0

func (m Outcome) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this outcome based on context it is used

func (Outcome) Pointer ¶ added in v0.7.0

func (m Outcome) Pointer() *Outcome

Pointer returns a pointer to a freshly-allocated Outcome.

func (Outcome) Validate ¶ added in v0.7.0

func (m Outcome) Validate(formats strfmt.Registry) error

Validate validates this outcome

type Pagination ¶

type Pagination struct {

	// A pagination cursor. This is an object ID that enables you to fetch all objects after this ID.
	After string `json:"after,omitempty"`

	// A pagination cursor. This is an object ID that enables you to fetch all objects before this ID.
	Before string `json:"before,omitempty"`

	// A limit of the number of object to be returned, between 1 and 100. Defaults to 10.
	Limit string `json:"limit,omitempty"`
}

Pagination pagination

swagger:model Pagination

func (*Pagination) ContextValidate ¶

func (m *Pagination) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pagination based on context it is used

func (*Pagination) MarshalBinary ¶

func (m *Pagination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Pagination) UnmarshalBinary ¶

func (m *Pagination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Pagination) Validate ¶

func (m *Pagination) Validate(formats strfmt.Registry) error

Validate validates this pagination

type PathFormat ¶

type PathFormat string

PathFormat path format

swagger:model PathFormat

const (

	// PathFormatBip32 captures enum value "PATH_FORMAT_BIP32"
	PathFormatBip32 PathFormat = "PATH_FORMAT_BIP32"
)

func NewPathFormat ¶

func NewPathFormat(value PathFormat) *PathFormat

func (PathFormat) ContextValidate ¶

func (m PathFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this path format based on context it is used

func (PathFormat) Pointer ¶

func (m PathFormat) Pointer() *PathFormat

Pointer returns a pointer to a freshly-allocated PathFormat.

func (PathFormat) Validate ¶

func (m PathFormat) Validate(formats strfmt.Registry) error

Validate validates this path format

type PayloadEncoding ¶

type PayloadEncoding string

PayloadEncoding payload encoding

swagger:model PayloadEncoding

const (

	// PayloadEncodingHexadecimal captures enum value "PAYLOAD_ENCODING_HEXADECIMAL"
	PayloadEncodingHexadecimal PayloadEncoding = "PAYLOAD_ENCODING_HEXADECIMAL"

	// PayloadEncodingTextUTF8 captures enum value "PAYLOAD_ENCODING_TEXT_UTF8"
	PayloadEncodingTextUTF8 PayloadEncoding = "PAYLOAD_ENCODING_TEXT_UTF8"

	// PayloadEncodingEip712 captures enum value "PAYLOAD_ENCODING_EIP712"
	PayloadEncodingEip712 PayloadEncoding = "PAYLOAD_ENCODING_EIP712"

	// PayloadEncodingEip7702Authorization captures enum value "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"
	PayloadEncodingEip7702Authorization PayloadEncoding = "PAYLOAD_ENCODING_EIP7702_AUTHORIZATION"
)

func NewPayloadEncoding ¶

func NewPayloadEncoding(value PayloadEncoding) *PayloadEncoding

func (PayloadEncoding) ContextValidate ¶

func (m PayloadEncoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this payload encoding based on context it is used

func (PayloadEncoding) Pointer ¶

func (m PayloadEncoding) Pointer() *PayloadEncoding

Pointer returns a pointer to a freshly-allocated PayloadEncoding.

func (PayloadEncoding) Validate ¶

func (m PayloadEncoding) Validate(formats strfmt.Registry) error

Validate validates this payload encoding

type Policy ¶

type Policy struct {

	// A condition expression that evalutes to true or false.
	// Required: true
	Condition *string `json:"condition"`

	// A consensus expression that evalutes to true or false.
	// Required: true
	Consensus *string `json:"consensus"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The instruction to DENY or ALLOW a particular activity following policy selector(s).
	// Required: true
	Effect *Effect `json:"effect"`

	// Human-readable notes added by a User to describe a particular policy.
	// Required: true
	Notes *string `json:"notes"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`

	// Human-readable name for a Policy.
	// Required: true
	PolicyName *string `json:"policyName"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

Policy policy

swagger:model Policy

func (*Policy) ContextValidate ¶

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary ¶

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PrivateKey ¶

type PrivateKey struct {

	// Derived cryptocurrency addresses for a given Private Key.
	// Required: true
	Addresses []*DataV1Address `json:"addresses"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// True when a given Private Key is exported, false otherwise.
	// Required: true
	Exported *bool `json:"exported"`

	// True when a given Private Key is imported, false otherwise.
	// Required: true
	Imported *bool `json:"imported"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// A list of Private Key Tag IDs.
	// Required: true
	PrivateKeyTags []string `json:"privateKeyTags"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

PrivateKey private key

swagger:model PrivateKey

func (*PrivateKey) ContextValidate ¶

func (m *PrivateKey) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key based on the context it is used

func (*PrivateKey) MarshalBinary ¶

func (m *PrivateKey) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKey) UnmarshalBinary ¶

func (m *PrivateKey) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKey) Validate ¶

func (m *PrivateKey) Validate(formats strfmt.Registry) error

Validate validates this private key

type PrivateKeyParams ¶

type PrivateKeyParams struct {

	// Cryptocurrency-specific formats for a derived address (e.g., Ethereum).
	// Required: true
	AddressFormats []AddressFormat `json:"addressFormats"`

	// Cryptographic Curve used to generate a given Private Key.
	// Required: true
	Curve *Curve `json:"curve"`

	// Human-readable name for a Private Key.
	// Required: true
	PrivateKeyName *string `json:"privateKeyName"`

	// A list of Private Key Tag IDs. This field, if not needed, should be an empty array in your request body.
	// Required: true
	PrivateKeyTags []string `json:"privateKeyTags"`
}

PrivateKeyParams private key params

swagger:model PrivateKeyParams

func (*PrivateKeyParams) ContextValidate ¶

func (m *PrivateKeyParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key params based on the context it is used

func (*PrivateKeyParams) MarshalBinary ¶

func (m *PrivateKeyParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKeyParams) UnmarshalBinary ¶

func (m *PrivateKeyParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKeyParams) Validate ¶

func (m *PrivateKeyParams) Validate(formats strfmt.Registry) error

Validate validates this private key params

type PrivateKeyResult ¶

type PrivateKeyResult struct {

	// addresses
	Addresses []*ActivityV1Address `json:"addresses"`

	// private key Id
	PrivateKeyID string `json:"privateKeyId,omitempty"`
}

PrivateKeyResult private key result

swagger:model PrivateKeyResult

func (*PrivateKeyResult) ContextValidate ¶

func (m *PrivateKeyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this private key result based on the context it is used

func (*PrivateKeyResult) MarshalBinary ¶

func (m *PrivateKeyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PrivateKeyResult) UnmarshalBinary ¶

func (m *PrivateKeyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PrivateKeyResult) Validate ¶

func (m *PrivateKeyResult) Validate(formats strfmt.Registry) error

Validate validates this private key result

type PublicKeyCredentialWithAttestation ¶

type PublicKeyCredentialWithAttestation struct {

	// authenticator attachment
	// Enum: [cross-platform platform]
	AuthenticatorAttachment *string `json:"authenticatorAttachment,omitempty"`

	// client extension results
	// Required: true
	ClientExtensionResults *SimpleClientExtensionResults `json:"clientExtensionResults"`

	// id
	// Required: true
	ID *string `json:"id"`

	// raw Id
	// Required: true
	RawID *string `json:"rawId"`

	// response
	// Required: true
	Response *AuthenticatorAttestationResponse `json:"response"`

	// type
	// Required: true
	// Enum: [public-key]
	Type *string `json:"type"`
}

PublicKeyCredentialWithAttestation public key credential with attestation

swagger:model PublicKeyCredentialWithAttestation

func (*PublicKeyCredentialWithAttestation) ContextValidate ¶

func (m *PublicKeyCredentialWithAttestation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this public key credential with attestation based on the context it is used

func (*PublicKeyCredentialWithAttestation) MarshalBinary ¶

func (m *PublicKeyCredentialWithAttestation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PublicKeyCredentialWithAttestation) UnmarshalBinary ¶

func (m *PublicKeyCredentialWithAttestation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PublicKeyCredentialWithAttestation) Validate ¶

Validate validates this public key credential with attestation

type RecoverUserIntent ¶

type RecoverUserIntent struct {

	// The new authenticator to register.
	// Required: true
	Authenticator *AuthenticatorParamsV2 `json:"authenticator"`

	// Unique identifier for the user performing recovery.
	// Required: true
	UserID *string `json:"userId"`
}

RecoverUserIntent recover user intent

swagger:model RecoverUserIntent

func (*RecoverUserIntent) ContextValidate ¶

func (m *RecoverUserIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover user intent based on the context it is used

func (*RecoverUserIntent) MarshalBinary ¶

func (m *RecoverUserIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserIntent) UnmarshalBinary ¶

func (m *RecoverUserIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserIntent) Validate ¶

func (m *RecoverUserIntent) Validate(formats strfmt.Registry) error

Validate validates this recover user intent

type RecoverUserRequest ¶

type RecoverUserRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RecoverUserIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_RECOVER_USER]
	Type *string `json:"type"`
}

RecoverUserRequest recover user request

swagger:model RecoverUserRequest

func (*RecoverUserRequest) ContextValidate ¶

func (m *RecoverUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recover user request based on the context it is used

func (*RecoverUserRequest) MarshalBinary ¶

func (m *RecoverUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserRequest) UnmarshalBinary ¶

func (m *RecoverUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserRequest) Validate ¶

func (m *RecoverUserRequest) Validate(formats strfmt.Registry) error

Validate validates this recover user request

type RecoverUserResult ¶

type RecoverUserResult struct {

	// ID of the authenticator created.
	// Required: true
	AuthenticatorID []string `json:"authenticatorId"`
}

RecoverUserResult recover user result

swagger:model RecoverUserResult

func (*RecoverUserResult) ContextValidate ¶

func (m *RecoverUserResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recover user result based on context it is used

func (*RecoverUserResult) MarshalBinary ¶

func (m *RecoverUserResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecoverUserResult) UnmarshalBinary ¶

func (m *RecoverUserResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecoverUserResult) Validate ¶

func (m *RecoverUserResult) Validate(formats strfmt.Registry) error

Validate validates this recover user result

type RejectActivityIntent ¶

type RejectActivityIntent struct {

	// An artifact verifying a User's action.
	// Required: true
	Fingerprint *string `json:"fingerprint"`
}

RejectActivityIntent reject activity intent

swagger:model RejectActivityIntent

func (*RejectActivityIntent) ContextValidate ¶

func (m *RejectActivityIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this reject activity intent based on context it is used

func (*RejectActivityIntent) MarshalBinary ¶

func (m *RejectActivityIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RejectActivityIntent) UnmarshalBinary ¶

func (m *RejectActivityIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RejectActivityIntent) Validate ¶

func (m *RejectActivityIntent) Validate(formats strfmt.Registry) error

Validate validates this reject activity intent

type RejectActivityRequest ¶

type RejectActivityRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RejectActivityIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_REJECT_ACTIVITY]
	Type *string `json:"type"`
}

RejectActivityRequest reject activity request

swagger:model RejectActivityRequest

func (*RejectActivityRequest) ContextValidate ¶

func (m *RejectActivityRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this reject activity request based on the context it is used

func (*RejectActivityRequest) MarshalBinary ¶

func (m *RejectActivityRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RejectActivityRequest) UnmarshalBinary ¶

func (m *RejectActivityRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RejectActivityRequest) Validate ¶

func (m *RejectActivityRequest) Validate(formats strfmt.Registry) error

Validate validates this reject activity request

type RemoveOrganizationFeatureIntent ¶

type RemoveOrganizationFeatureIntent struct {

	// Name of the feature to remove
	// Required: true
	Name *FeatureName `json:"name"`
}

RemoveOrganizationFeatureIntent remove organization feature intent

swagger:model RemoveOrganizationFeatureIntent

func (*RemoveOrganizationFeatureIntent) ContextValidate ¶

func (m *RemoveOrganizationFeatureIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature intent based on the context it is used

func (*RemoveOrganizationFeatureIntent) MarshalBinary ¶

func (m *RemoveOrganizationFeatureIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureIntent) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureIntent) Validate ¶

Validate validates this remove organization feature intent

type RemoveOrganizationFeatureRequest ¶

type RemoveOrganizationFeatureRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *RemoveOrganizationFeatureIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE]
	Type *string `json:"type"`
}

RemoveOrganizationFeatureRequest remove organization feature request

swagger:model RemoveOrganizationFeatureRequest

func (*RemoveOrganizationFeatureRequest) ContextValidate ¶

func (m *RemoveOrganizationFeatureRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature request based on the context it is used

func (*RemoveOrganizationFeatureRequest) MarshalBinary ¶

func (m *RemoveOrganizationFeatureRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureRequest) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureRequest) Validate ¶

Validate validates this remove organization feature request

type RemoveOrganizationFeatureResult ¶

type RemoveOrganizationFeatureResult struct {

	// Resulting list of organization features.
	// Required: true
	Features []*Feature `json:"features"`
}

RemoveOrganizationFeatureResult remove organization feature result

swagger:model RemoveOrganizationFeatureResult

func (*RemoveOrganizationFeatureResult) ContextValidate ¶

func (m *RemoveOrganizationFeatureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this remove organization feature result based on the context it is used

func (*RemoveOrganizationFeatureResult) MarshalBinary ¶

func (m *RemoveOrganizationFeatureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RemoveOrganizationFeatureResult) UnmarshalBinary ¶

func (m *RemoveOrganizationFeatureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RemoveOrganizationFeatureResult) Validate ¶

Validate validates this remove organization feature result

type Result ¶

type Result struct {

	// accept invitation result
	AcceptInvitationResult *AcceptInvitationResult `json:"acceptInvitationResult,omitempty"`

	// activate billing tier result
	ActivateBillingTierResult *ActivateBillingTierResult `json:"activateBillingTierResult,omitempty"`

	// create Api keys result
	CreateAPIKeysResult *CreateAPIKeysResult `json:"createApiKeysResult,omitempty"`

	// create Api only users result
	CreateAPIOnlyUsersResult *CreateAPIOnlyUsersResult `json:"createApiOnlyUsersResult,omitempty"`

	// create authenticators result
	CreateAuthenticatorsResult *CreateAuthenticatorsResult `json:"createAuthenticatorsResult,omitempty"`

	// create invitations result
	CreateInvitationsResult *CreateInvitationsResult `json:"createInvitationsResult,omitempty"`

	// create oauth2 credential result
	CreateOauth2CredentialResult *CreateOauth2CredentialResult `json:"createOauth2CredentialResult,omitempty"`

	// create oauth providers result
	CreateOauthProvidersResult *CreateOauthProvidersResult `json:"createOauthProvidersResult,omitempty"`

	// create organization result
	CreateOrganizationResult *CreateOrganizationResult `json:"createOrganizationResult,omitempty"`

	// create policies result
	CreatePoliciesResult *CreatePoliciesResult `json:"createPoliciesResult,omitempty"`

	// create policy result
	CreatePolicyResult *CreatePolicyResult `json:"createPolicyResult,omitempty"`

	// create private key tag result
	CreatePrivateKeyTagResult *CreatePrivateKeyTagResult `json:"createPrivateKeyTagResult,omitempty"`

	// create private keys result
	CreatePrivateKeysResult *CreatePrivateKeysResult `json:"createPrivateKeysResult,omitempty"`

	// create private keys result v2
	CreatePrivateKeysResultV2 *CreatePrivateKeysResultV2 `json:"createPrivateKeysResultV2,omitempty"`

	// create read only session result
	CreateReadOnlySessionResult *CreateReadOnlySessionResult `json:"createReadOnlySessionResult,omitempty"`

	// create read write session result
	CreateReadWriteSessionResult *CreateReadWriteSessionResult `json:"createReadWriteSessionResult,omitempty"`

	// create read write session result v2
	CreateReadWriteSessionResultV2 *CreateReadWriteSessionResultV2 `json:"createReadWriteSessionResultV2,omitempty"`

	// create smart contract interface result
	CreateSmartContractInterfaceResult *CreateSmartContractInterfaceResult `json:"createSmartContractInterfaceResult,omitempty"`

	// create sub organization result
	CreateSubOrganizationResult *CreateSubOrganizationResult `json:"createSubOrganizationResult,omitempty"`

	// create sub organization result v3
	CreateSubOrganizationResultV3 *CreateSubOrganizationResultV3 `json:"createSubOrganizationResultV3,omitempty"`

	// create sub organization result v4
	CreateSubOrganizationResultV4 *CreateSubOrganizationResultV4 `json:"createSubOrganizationResultV4,omitempty"`

	// create sub organization result v5
	CreateSubOrganizationResultV5 *CreateSubOrganizationResultV5 `json:"createSubOrganizationResultV5,omitempty"`

	// create sub organization result v6
	CreateSubOrganizationResultV6 *CreateSubOrganizationResultV6 `json:"createSubOrganizationResultV6,omitempty"`

	// create sub organization result v7
	CreateSubOrganizationResultV7 *CreateSubOrganizationResultV7 `json:"createSubOrganizationResultV7,omitempty"`

	// create user tag result
	CreateUserTagResult *CreateUserTagResult `json:"createUserTagResult,omitempty"`

	// create users result
	CreateUsersResult *CreateUsersResult `json:"createUsersResult,omitempty"`

	// create wallet accounts result
	CreateWalletAccountsResult *CreateWalletAccountsResult `json:"createWalletAccountsResult,omitempty"`

	// create wallet result
	CreateWalletResult *CreateWalletResult `json:"createWalletResult,omitempty"`

	// delete Api keys result
	DeleteAPIKeysResult *DeleteAPIKeysResult `json:"deleteApiKeysResult,omitempty"`

	// delete authenticators result
	DeleteAuthenticatorsResult *DeleteAuthenticatorsResult `json:"deleteAuthenticatorsResult,omitempty"`

	// delete invitation result
	DeleteInvitationResult *DeleteInvitationResult `json:"deleteInvitationResult,omitempty"`

	// delete oauth2 credential result
	DeleteOauth2CredentialResult *DeleteOauth2CredentialResult `json:"deleteOauth2CredentialResult,omitempty"`

	// delete oauth providers result
	DeleteOauthProvidersResult *DeleteOauthProvidersResult `json:"deleteOauthProvidersResult,omitempty"`

	// delete organization result
	DeleteOrganizationResult *DeleteOrganizationResult `json:"deleteOrganizationResult,omitempty"`

	// delete payment method result
	DeletePaymentMethodResult *DeletePaymentMethodResult `json:"deletePaymentMethodResult,omitempty"`

	// delete policies result
	DeletePoliciesResult *DeletePoliciesResult `json:"deletePoliciesResult,omitempty"`

	// delete policy result
	DeletePolicyResult *DeletePolicyResult `json:"deletePolicyResult,omitempty"`

	// delete private key tags result
	DeletePrivateKeyTagsResult *DeletePrivateKeyTagsResult `json:"deletePrivateKeyTagsResult,omitempty"`

	// delete private keys result
	DeletePrivateKeysResult *DeletePrivateKeysResult `json:"deletePrivateKeysResult,omitempty"`

	// delete smart contract interface result
	DeleteSmartContractInterfaceResult *DeleteSmartContractInterfaceResult `json:"deleteSmartContractInterfaceResult,omitempty"`

	// delete sub organization result
	DeleteSubOrganizationResult *DeleteSubOrganizationResult `json:"deleteSubOrganizationResult,omitempty"`

	// delete user tags result
	DeleteUserTagsResult *DeleteUserTagsResult `json:"deleteUserTagsResult,omitempty"`

	// delete users result
	DeleteUsersResult *DeleteUsersResult `json:"deleteUsersResult,omitempty"`

	// delete wallet accounts result
	DeleteWalletAccountsResult *DeleteWalletAccountsResult `json:"deleteWalletAccountsResult,omitempty"`

	// delete wallets result
	DeleteWalletsResult *DeleteWalletsResult `json:"deleteWalletsResult,omitempty"`

	// disable auth proxy result
	DisableAuthProxyResult DisableAuthProxyResult `json:"disableAuthProxyResult,omitempty"`

	// disable private key result
	DisablePrivateKeyResult *DisablePrivateKeyResult `json:"disablePrivateKeyResult,omitempty"`

	// email auth result
	EmailAuthResult *EmailAuthResult `json:"emailAuthResult,omitempty"`

	// enable auth proxy result
	EnableAuthProxyResult *EnableAuthProxyResult `json:"enableAuthProxyResult,omitempty"`

	// eth send raw transaction result
	EthSendRawTransactionResult *EthSendRawTransactionResult `json:"ethSendRawTransactionResult,omitempty"`

	// export private key result
	ExportPrivateKeyResult *ExportPrivateKeyResult `json:"exportPrivateKeyResult,omitempty"`

	// export wallet account result
	ExportWalletAccountResult *ExportWalletAccountResult `json:"exportWalletAccountResult,omitempty"`

	// export wallet result
	ExportWalletResult *ExportWalletResult `json:"exportWalletResult,omitempty"`

	// import private key result
	ImportPrivateKeyResult *ImportPrivateKeyResult `json:"importPrivateKeyResult,omitempty"`

	// import wallet result
	ImportWalletResult *ImportWalletResult `json:"importWalletResult,omitempty"`

	// init fiat on ramp result
	InitFiatOnRampResult *InitFiatOnRampResult `json:"initFiatOnRampResult,omitempty"`

	// init import private key result
	InitImportPrivateKeyResult *InitImportPrivateKeyResult `json:"initImportPrivateKeyResult,omitempty"`

	// init import wallet result
	InitImportWalletResult *InitImportWalletResult `json:"initImportWalletResult,omitempty"`

	// init otp auth result
	InitOtpAuthResult *InitOtpAuthResult `json:"initOtpAuthResult,omitempty"`

	// init otp auth result v2
	InitOtpAuthResultV2 *InitOtpAuthResultV2 `json:"initOtpAuthResultV2,omitempty"`

	// init otp result
	InitOtpResult *InitOtpResult `json:"initOtpResult,omitempty"`

	// init user email recovery result
	InitUserEmailRecoveryResult *InitUserEmailRecoveryResult `json:"initUserEmailRecoveryResult,omitempty"`

	// oauth2 authenticate result
	Oauth2AuthenticateResult *Oauth2AuthenticateResult `json:"oauth2AuthenticateResult,omitempty"`

	// oauth login result
	OauthLoginResult *OauthLoginResult `json:"oauthLoginResult,omitempty"`

	// oauth result
	OauthResult *OauthResult `json:"oauthResult,omitempty"`

	// otp auth result
	OtpAuthResult *OtpAuthResult `json:"otpAuthResult,omitempty"`

	// otp login result
	OtpLoginResult *OtpLoginResult `json:"otpLoginResult,omitempty"`

	// recover user result
	RecoverUserResult *RecoverUserResult `json:"recoverUserResult,omitempty"`

	// remove organization feature result
	RemoveOrganizationFeatureResult *RemoveOrganizationFeatureResult `json:"removeOrganizationFeatureResult,omitempty"`

	// set organization feature result
	SetOrganizationFeatureResult *SetOrganizationFeatureResult `json:"setOrganizationFeatureResult,omitempty"`

	// set payment method result
	SetPaymentMethodResult *SetPaymentMethodResult `json:"setPaymentMethodResult,omitempty"`

	// sign raw payload result
	SignRawPayloadResult *SignRawPayloadResult `json:"signRawPayloadResult,omitempty"`

	// sign raw payloads result
	SignRawPayloadsResult *SignRawPayloadsResult `json:"signRawPayloadsResult,omitempty"`

	// sign transaction result
	SignTransactionResult *SignTransactionResult `json:"signTransactionResult,omitempty"`

	// stamp login result
	StampLoginResult *StampLoginResult `json:"stampLoginResult,omitempty"`

	// update allowed origins result
	UpdateAllowedOriginsResult UpdateAllowedOriginsResult `json:"updateAllowedOriginsResult,omitempty"`

	// update auth proxy config result
	UpdateAuthProxyConfigResult *UpdateAuthProxyConfigResult `json:"updateAuthProxyConfigResult,omitempty"`

	// update oauth2 credential result
	UpdateOauth2CredentialResult *UpdateOauth2CredentialResult `json:"updateOauth2CredentialResult,omitempty"`

	// update policy result
	UpdatePolicyResult *UpdatePolicyResult `json:"updatePolicyResult,omitempty"`

	// update policy result v2
	UpdatePolicyResultV2 *UpdatePolicyResultV2 `json:"updatePolicyResultV2,omitempty"`

	// update private key tag result
	UpdatePrivateKeyTagResult *UpdatePrivateKeyTagResult `json:"updatePrivateKeyTagResult,omitempty"`

	// update root quorum result
	UpdateRootQuorumResult UpdateRootQuorumResult `json:"updateRootQuorumResult,omitempty"`

	// update user email result
	UpdateUserEmailResult *UpdateUserEmailResult `json:"updateUserEmailResult,omitempty"`

	// update user name result
	UpdateUserNameResult *UpdateUserNameResult `json:"updateUserNameResult,omitempty"`

	// update user phone number result
	UpdateUserPhoneNumberResult *UpdateUserPhoneNumberResult `json:"updateUserPhoneNumberResult,omitempty"`

	// update user result
	UpdateUserResult *UpdateUserResult `json:"updateUserResult,omitempty"`

	// update user tag result
	UpdateUserTagResult *UpdateUserTagResult `json:"updateUserTagResult,omitempty"`

	// update wallet result
	UpdateWalletResult *UpdateWalletResult `json:"updateWalletResult,omitempty"`

	// verify otp result
	VerifyOtpResult *VerifyOtpResult `json:"verifyOtpResult,omitempty"`
}

Result result

swagger:model Result

func (*Result) ContextValidate ¶

func (m *Result) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this result based on the context it is used

func (*Result) MarshalBinary ¶

func (m *Result) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Result) UnmarshalBinary ¶

func (m *Result) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Result) Validate ¶

func (m *Result) Validate(formats strfmt.Registry) error

Validate validates this result

type RootUserParams ¶

type RootUserParams struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`
}

RootUserParams root user params

swagger:model RootUserParams

func (*RootUserParams) ContextValidate ¶

func (m *RootUserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this root user params based on the context it is used

func (*RootUserParams) MarshalBinary ¶

func (m *RootUserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootUserParams) UnmarshalBinary ¶

func (m *RootUserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootUserParams) Validate ¶

func (m *RootUserParams) Validate(formats strfmt.Registry) error

Validate validates this root user params

type RootUserParamsV2 ¶

type RootUserParamsV2 struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// A list of Oauth providers. This field, if not needed, should be an empty array in your request body.
	// Required: true
	OauthProviders []*OauthProviderParams `json:"oauthProviders"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`
}

RootUserParamsV2 root user params v2

swagger:model RootUserParamsV2

func (*RootUserParamsV2) ContextValidate ¶

func (m *RootUserParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this root user params v2 based on the context it is used

func (*RootUserParamsV2) MarshalBinary ¶

func (m *RootUserParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootUserParamsV2) UnmarshalBinary ¶

func (m *RootUserParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootUserParamsV2) Validate ¶

func (m *RootUserParamsV2) Validate(formats strfmt.Registry) error

Validate validates this root user params v2

type RootUserParamsV3 ¶

type RootUserParamsV3 struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParamsV2 `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// A list of Oauth providers. This field, if not needed, should be an empty array in your request body.
	// Required: true
	OauthProviders []*OauthProviderParams `json:"oauthProviders"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`
}

RootUserParamsV3 root user params v3

swagger:model RootUserParamsV3

func (*RootUserParamsV3) ContextValidate ¶

func (m *RootUserParamsV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this root user params v3 based on the context it is used

func (*RootUserParamsV3) MarshalBinary ¶

func (m *RootUserParamsV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootUserParamsV3) UnmarshalBinary ¶

func (m *RootUserParamsV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootUserParamsV3) Validate ¶

func (m *RootUserParamsV3) Validate(formats strfmt.Registry) error

Validate validates this root user params v3

type RootUserParamsV4 ¶

type RootUserParamsV4 struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParamsV2 `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// A list of Oauth providers. This field, if not needed, should be an empty array in your request body.
	// Required: true
	OauthProviders []*OauthProviderParams `json:"oauthProviders"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// The user's phone number in E.164 format e.g. +13214567890
	UserPhoneNumber *string `json:"userPhoneNumber,omitempty"`
}

RootUserParamsV4 root user params v4

swagger:model RootUserParamsV4

func (*RootUserParamsV4) ContextValidate ¶

func (m *RootUserParamsV4) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this root user params v4 based on the context it is used

func (*RootUserParamsV4) MarshalBinary ¶

func (m *RootUserParamsV4) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootUserParamsV4) UnmarshalBinary ¶

func (m *RootUserParamsV4) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootUserParamsV4) Validate ¶

func (m *RootUserParamsV4) Validate(formats strfmt.Registry) error

Validate validates this root user params v4

type Selector ¶

type Selector struct {

	// operator
	Operator Operator `json:"operator,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// target
	Target string `json:"target,omitempty"`
}

Selector selector

swagger:model Selector

func (*Selector) ContextValidate ¶

func (m *Selector) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this selector based on the context it is used

func (*Selector) MarshalBinary ¶

func (m *Selector) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Selector) UnmarshalBinary ¶

func (m *Selector) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Selector) Validate ¶

func (m *Selector) Validate(formats strfmt.Registry) error

Validate validates this selector

type SelectorV2 ¶

type SelectorV2 struct {

	// operator
	Operator Operator `json:"operator,omitempty"`

	// subject
	Subject string `json:"subject,omitempty"`

	// targets
	Targets []string `json:"targets"`
}

SelectorV2 selector v2

swagger:model SelectorV2

func (*SelectorV2) ContextValidate ¶

func (m *SelectorV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this selector v2 based on the context it is used

func (*SelectorV2) MarshalBinary ¶

func (m *SelectorV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SelectorV2) UnmarshalBinary ¶

func (m *SelectorV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SelectorV2) Validate ¶

func (m *SelectorV2) Validate(formats strfmt.Registry) error

Validate validates this selector v2

type SetOrganizationFeatureIntent ¶

type SetOrganizationFeatureIntent struct {

	// Name of the feature to set
	// Required: true
	Name *FeatureName `json:"name"`

	// Optional value for the feature. Will override existing values if feature is already set.
	// Required: true
	Value *string `json:"value"`
}

SetOrganizationFeatureIntent set organization feature intent

swagger:model SetOrganizationFeatureIntent

func (*SetOrganizationFeatureIntent) ContextValidate ¶

func (m *SetOrganizationFeatureIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature intent based on the context it is used

func (*SetOrganizationFeatureIntent) MarshalBinary ¶

func (m *SetOrganizationFeatureIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureIntent) UnmarshalBinary ¶

func (m *SetOrganizationFeatureIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureIntent) Validate ¶

func (m *SetOrganizationFeatureIntent) Validate(formats strfmt.Registry) error

Validate validates this set organization feature intent

type SetOrganizationFeatureRequest ¶

type SetOrganizationFeatureRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SetOrganizationFeatureIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE]
	Type *string `json:"type"`
}

SetOrganizationFeatureRequest set organization feature request

swagger:model SetOrganizationFeatureRequest

func (*SetOrganizationFeatureRequest) ContextValidate ¶

func (m *SetOrganizationFeatureRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature request based on the context it is used

func (*SetOrganizationFeatureRequest) MarshalBinary ¶

func (m *SetOrganizationFeatureRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureRequest) UnmarshalBinary ¶

func (m *SetOrganizationFeatureRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureRequest) Validate ¶

func (m *SetOrganizationFeatureRequest) Validate(formats strfmt.Registry) error

Validate validates this set organization feature request

type SetOrganizationFeatureResult ¶

type SetOrganizationFeatureResult struct {

	// Resulting list of organization features.
	// Required: true
	Features []*Feature `json:"features"`
}

SetOrganizationFeatureResult set organization feature result

swagger:model SetOrganizationFeatureResult

func (*SetOrganizationFeatureResult) ContextValidate ¶

func (m *SetOrganizationFeatureResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this set organization feature result based on the context it is used

func (*SetOrganizationFeatureResult) MarshalBinary ¶

func (m *SetOrganizationFeatureResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetOrganizationFeatureResult) UnmarshalBinary ¶

func (m *SetOrganizationFeatureResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetOrganizationFeatureResult) Validate ¶

func (m *SetOrganizationFeatureResult) Validate(formats strfmt.Registry) error

Validate validates this set organization feature result

type SetPaymentMethodIntent ¶

type SetPaymentMethodIntent struct {

	// The email that will receive invoices for the credit card.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the credit card.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The verification digits of the customer's credit card.
	// Required: true
	Cvv *string `json:"cvv"`

	// The month that the credit card expires.
	// Required: true
	ExpiryMonth *string `json:"expiryMonth"`

	// The year that the credit card expires.
	// Required: true
	ExpiryYear *string `json:"expiryYear"`

	// The account number of the customer's credit card.
	// Required: true
	Number *string `json:"number"`
}

SetPaymentMethodIntent set payment method intent

swagger:model SetPaymentMethodIntent

func (*SetPaymentMethodIntent) ContextValidate ¶

func (m *SetPaymentMethodIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method intent based on context it is used

func (*SetPaymentMethodIntent) MarshalBinary ¶

func (m *SetPaymentMethodIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodIntent) UnmarshalBinary ¶

func (m *SetPaymentMethodIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodIntent) Validate ¶

func (m *SetPaymentMethodIntent) Validate(formats strfmt.Registry) error

Validate validates this set payment method intent

type SetPaymentMethodIntentV2 ¶

type SetPaymentMethodIntentV2 struct {

	// The email that will receive invoices for the credit card.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the credit card.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The id of the payment method that was created clientside.
	// Required: true
	PaymentMethodID *string `json:"paymentMethodId"`
}

SetPaymentMethodIntentV2 set payment method intent v2

swagger:model SetPaymentMethodIntentV2

func (*SetPaymentMethodIntentV2) ContextValidate ¶

func (m *SetPaymentMethodIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method intent v2 based on context it is used

func (*SetPaymentMethodIntentV2) MarshalBinary ¶

func (m *SetPaymentMethodIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodIntentV2) UnmarshalBinary ¶

func (m *SetPaymentMethodIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodIntentV2) Validate ¶

func (m *SetPaymentMethodIntentV2) Validate(formats strfmt.Registry) error

Validate validates this set payment method intent v2

type SetPaymentMethodResult ¶

type SetPaymentMethodResult struct {

	// The email address associated with the payment method.
	// Required: true
	CardHolderEmail *string `json:"cardHolderEmail"`

	// The name associated with the payment method.
	// Required: true
	CardHolderName *string `json:"cardHolderName"`

	// The last four digits of the credit card added.
	// Required: true
	LastFour *string `json:"lastFour"`
}

SetPaymentMethodResult set payment method result

swagger:model SetPaymentMethodResult

func (*SetPaymentMethodResult) ContextValidate ¶

func (m *SetPaymentMethodResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this set payment method result based on context it is used

func (*SetPaymentMethodResult) MarshalBinary ¶

func (m *SetPaymentMethodResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SetPaymentMethodResult) UnmarshalBinary ¶

func (m *SetPaymentMethodResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SetPaymentMethodResult) Validate ¶

func (m *SetPaymentMethodResult) Validate(formats strfmt.Registry) error

Validate validates this set payment method result

type SignRawPayloadIntent ¶

type SignRawPayloadIntent struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// Raw unsigned payload to be signed.
	// Required: true
	Payload *string `json:"payload"`

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`
}

SignRawPayloadIntent sign raw payload intent

swagger:model SignRawPayloadIntent

func (*SignRawPayloadIntent) ContextValidate ¶

func (m *SignRawPayloadIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload intent based on the context it is used

func (*SignRawPayloadIntent) MarshalBinary ¶

func (m *SignRawPayloadIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadIntent) UnmarshalBinary ¶

func (m *SignRawPayloadIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadIntent) Validate ¶

func (m *SignRawPayloadIntent) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload intent

type SignRawPayloadIntentV2 ¶

type SignRawPayloadIntentV2 struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// Raw unsigned payload to be signed.
	// Required: true
	Payload *string `json:"payload"`

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`
}

SignRawPayloadIntentV2 sign raw payload intent v2

swagger:model SignRawPayloadIntentV2

func (*SignRawPayloadIntentV2) ContextValidate ¶

func (m *SignRawPayloadIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload intent v2 based on the context it is used

func (*SignRawPayloadIntentV2) MarshalBinary ¶

func (m *SignRawPayloadIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadIntentV2) UnmarshalBinary ¶

func (m *SignRawPayloadIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadIntentV2) Validate ¶

func (m *SignRawPayloadIntentV2) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload intent v2

type SignRawPayloadRequest ¶

type SignRawPayloadRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignRawPayloadIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2]
	Type *string `json:"type"`
}

SignRawPayloadRequest sign raw payload request

swagger:model SignRawPayloadRequest

func (*SignRawPayloadRequest) ContextValidate ¶

func (m *SignRawPayloadRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payload request based on the context it is used

func (*SignRawPayloadRequest) MarshalBinary ¶

func (m *SignRawPayloadRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadRequest) UnmarshalBinary ¶

func (m *SignRawPayloadRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadRequest) Validate ¶

func (m *SignRawPayloadRequest) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload request

type SignRawPayloadResult ¶

type SignRawPayloadResult struct {

	// Component of an ECSDA signature.
	// Required: true
	R *string `json:"r"`

	// Component of an ECSDA signature.
	// Required: true
	S *string `json:"s"`

	// Component of an ECSDA signature.
	// Required: true
	V *string `json:"v"`
}

SignRawPayloadResult sign raw payload result

swagger:model SignRawPayloadResult

func (*SignRawPayloadResult) ContextValidate ¶

func (m *SignRawPayloadResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sign raw payload result based on context it is used

func (*SignRawPayloadResult) MarshalBinary ¶

func (m *SignRawPayloadResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadResult) UnmarshalBinary ¶

func (m *SignRawPayloadResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadResult) Validate ¶

func (m *SignRawPayloadResult) Validate(formats strfmt.Registry) error

Validate validates this sign raw payload result

type SignRawPayloadsIntent ¶

type SignRawPayloadsIntent struct {

	// Encoding of the `payload` string. Turnkey uses this information to convert `payload` into bytes with the correct decoder (e.g. hex, utf8).
	// Required: true
	Encoding *PayloadEncoding `json:"encoding"`

	// Hash function to apply to payload bytes before signing. This field must be set to HASH_FUNCTION_NOT_APPLICABLE for EdDSA/ed25519 signature requests; configurable payload hashing is not supported by RFC 8032.
	// Required: true
	HashFunction *HashFunction `json:"hashFunction"`

	// An array of raw unsigned payloads to be signed.
	// Required: true
	Payloads []string `json:"payloads"`

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`
}

SignRawPayloadsIntent sign raw payloads intent

swagger:model SignRawPayloadsIntent

func (*SignRawPayloadsIntent) ContextValidate ¶

func (m *SignRawPayloadsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads intent based on the context it is used

func (*SignRawPayloadsIntent) MarshalBinary ¶

func (m *SignRawPayloadsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsIntent) UnmarshalBinary ¶

func (m *SignRawPayloadsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsIntent) Validate ¶

func (m *SignRawPayloadsIntent) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads intent

type SignRawPayloadsRequest ¶

type SignRawPayloadsRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignRawPayloadsIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_RAW_PAYLOADS]
	Type *string `json:"type"`
}

SignRawPayloadsRequest sign raw payloads request

swagger:model SignRawPayloadsRequest

func (*SignRawPayloadsRequest) ContextValidate ¶

func (m *SignRawPayloadsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads request based on the context it is used

func (*SignRawPayloadsRequest) MarshalBinary ¶

func (m *SignRawPayloadsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsRequest) UnmarshalBinary ¶

func (m *SignRawPayloadsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsRequest) Validate ¶

func (m *SignRawPayloadsRequest) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads request

type SignRawPayloadsResult ¶

type SignRawPayloadsResult struct {

	// signatures
	Signatures []*SignRawPayloadResult `json:"signatures"`
}

SignRawPayloadsResult sign raw payloads result

swagger:model SignRawPayloadsResult

func (*SignRawPayloadsResult) ContextValidate ¶

func (m *SignRawPayloadsResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign raw payloads result based on the context it is used

func (*SignRawPayloadsResult) MarshalBinary ¶

func (m *SignRawPayloadsResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignRawPayloadsResult) UnmarshalBinary ¶

func (m *SignRawPayloadsResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignRawPayloadsResult) Validate ¶

func (m *SignRawPayloadsResult) Validate(formats strfmt.Registry) error

Validate validates this sign raw payloads result

type SignTransactionIntent ¶

type SignTransactionIntent struct {

	// Unique identifier for a given Private Key.
	// Required: true
	PrivateKeyID *string `json:"privateKeyId"`

	// type
	// Required: true
	Type *TransactionType `json:"type"`

	// Raw unsigned transaction to be signed by a particular Private Key.
	// Required: true
	UnsignedTransaction *string `json:"unsignedTransaction"`
}

SignTransactionIntent sign transaction intent

swagger:model SignTransactionIntent

func (*SignTransactionIntent) ContextValidate ¶

func (m *SignTransactionIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction intent based on the context it is used

func (*SignTransactionIntent) MarshalBinary ¶

func (m *SignTransactionIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionIntent) UnmarshalBinary ¶

func (m *SignTransactionIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionIntent) Validate ¶

func (m *SignTransactionIntent) Validate(formats strfmt.Registry) error

Validate validates this sign transaction intent

type SignTransactionIntentV2 ¶

type SignTransactionIntentV2 struct {

	// A Wallet account address, Private Key address, or Private Key identifier.
	// Required: true
	SignWith *string `json:"signWith"`

	// type
	// Required: true
	Type *TransactionType `json:"type"`

	// Raw unsigned transaction to be signed
	// Required: true
	UnsignedTransaction *string `json:"unsignedTransaction"`
}

SignTransactionIntentV2 sign transaction intent v2

swagger:model SignTransactionIntentV2

func (*SignTransactionIntentV2) ContextValidate ¶

func (m *SignTransactionIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction intent v2 based on the context it is used

func (*SignTransactionIntentV2) MarshalBinary ¶

func (m *SignTransactionIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionIntentV2) UnmarshalBinary ¶

func (m *SignTransactionIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionIntentV2) Validate ¶

func (m *SignTransactionIntentV2) Validate(formats strfmt.Registry) error

Validate validates this sign transaction intent v2

type SignTransactionRequest ¶

type SignTransactionRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *SignTransactionIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_SIGN_TRANSACTION_V2]
	Type *string `json:"type"`
}

SignTransactionRequest sign transaction request

swagger:model SignTransactionRequest

func (*SignTransactionRequest) ContextValidate ¶

func (m *SignTransactionRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sign transaction request based on the context it is used

func (*SignTransactionRequest) MarshalBinary ¶

func (m *SignTransactionRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionRequest) UnmarshalBinary ¶

func (m *SignTransactionRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionRequest) Validate ¶

func (m *SignTransactionRequest) Validate(formats strfmt.Registry) error

Validate validates this sign transaction request

type SignTransactionResult ¶

type SignTransactionResult struct {

	// signed transaction
	// Required: true
	SignedTransaction *string `json:"signedTransaction"`
}

SignTransactionResult sign transaction result

swagger:model SignTransactionResult

func (*SignTransactionResult) ContextValidate ¶

func (m *SignTransactionResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sign transaction result based on context it is used

func (*SignTransactionResult) MarshalBinary ¶

func (m *SignTransactionResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SignTransactionResult) UnmarshalBinary ¶

func (m *SignTransactionResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SignTransactionResult) Validate ¶

func (m *SignTransactionResult) Validate(formats strfmt.Registry) error

Validate validates this sign transaction result

type SignatureScheme ¶ added in v0.9.0

type SignatureScheme string

SignatureScheme signature scheme

swagger:model SignatureScheme

const (

	// SignatureSchemeEphemeralKeyP256 captures enum value "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256"
	SignatureSchemeEphemeralKeyP256 SignatureScheme = "SIGNATURE_SCHEME_EPHEMERAL_KEY_P256"
)

func NewSignatureScheme ¶ added in v0.9.0

func NewSignatureScheme(value SignatureScheme) *SignatureScheme

func (SignatureScheme) ContextValidate ¶ added in v0.9.0

func (m SignatureScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this signature scheme based on context it is used

func (SignatureScheme) Pointer ¶ added in v0.9.0

func (m SignatureScheme) Pointer() *SignatureScheme

Pointer returns a pointer to a freshly-allocated SignatureScheme.

func (SignatureScheme) Validate ¶ added in v0.9.0

func (m SignatureScheme) Validate(formats strfmt.Registry) error

Validate validates this signature scheme

type SimpleClientExtensionResults ¶

type SimpleClientExtensionResults struct {

	// appid
	Appid *bool `json:"appid,omitempty"`

	// appid exclude
	AppidExclude *bool `json:"appidExclude,omitempty"`

	// cred props
	CredProps *CredPropsAuthenticationExtensionsClientOutputs `json:"credProps,omitempty"`
}

SimpleClientExtensionResults simple client extension results

swagger:model SimpleClientExtensionResults

func (*SimpleClientExtensionResults) ContextValidate ¶

func (m *SimpleClientExtensionResults) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple client extension results based on the context it is used

func (*SimpleClientExtensionResults) MarshalBinary ¶

func (m *SimpleClientExtensionResults) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleClientExtensionResults) UnmarshalBinary ¶

func (m *SimpleClientExtensionResults) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleClientExtensionResults) Validate ¶

func (m *SimpleClientExtensionResults) Validate(formats strfmt.Registry) error

Validate validates this simple client extension results

type SmartContractInterface ¶ added in v0.9.0

type SmartContractInterface struct {

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// The label corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
	// Required: true
	Label *string `json:"label"`

	// The notes corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
	// Required: true
	Notes *string `json:"notes"`

	// The Organization the Smart Contract Interface belongs to.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// The address corresponding to the Smart Contract or Program.
	// Required: true
	SmartContractAddress *string `json:"smartContractAddress"`

	// The JSON corresponding to the Smart Contract Interface (ABI or IDL).
	// Required: true
	SmartContractInterface *string `json:"smartContractInterface"`

	// Unique identifier for a given Smart Contract Interface (ABI or IDL).
	// Required: true
	SmartContractInterfaceID *string `json:"smartContractInterfaceId"`

	// The type corresponding to the Smart Contract Interface (either ETHEREUM or SOLANA).
	// Required: true
	Type *string `json:"type"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

SmartContractInterface smart contract interface

swagger:model SmartContractInterface

func (*SmartContractInterface) ContextValidate ¶ added in v0.9.0

func (m *SmartContractInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this smart contract interface based on the context it is used

func (*SmartContractInterface) MarshalBinary ¶ added in v0.9.0

func (m *SmartContractInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SmartContractInterface) UnmarshalBinary ¶ added in v0.9.0

func (m *SmartContractInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SmartContractInterface) Validate ¶ added in v0.9.0

func (m *SmartContractInterface) Validate(formats strfmt.Registry) error

Validate validates this smart contract interface

type SmartContractInterfaceType ¶ added in v0.7.0

type SmartContractInterfaceType string

SmartContractInterfaceType smart contract interface type

swagger:model SmartContractInterfaceType

const (

	// SmartContractInterfaceTypeEthereum captures enum value "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM"
	SmartContractInterfaceTypeEthereum SmartContractInterfaceType = "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM"

	// SmartContractInterfaceTypeSolana captures enum value "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"
	SmartContractInterfaceTypeSolana SmartContractInterfaceType = "SMART_CONTRACT_INTERFACE_TYPE_SOLANA"
)

func NewSmartContractInterfaceType ¶ added in v0.7.0

func NewSmartContractInterfaceType(value SmartContractInterfaceType) *SmartContractInterfaceType

func (SmartContractInterfaceType) ContextValidate ¶ added in v0.7.0

func (m SmartContractInterfaceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this smart contract interface type based on context it is used

func (SmartContractInterfaceType) Pointer ¶ added in v0.7.0

Pointer returns a pointer to a freshly-allocated SmartContractInterfaceType.

func (SmartContractInterfaceType) Validate ¶ added in v0.7.0

func (m SmartContractInterfaceType) Validate(formats strfmt.Registry) error

Validate validates this smart contract interface type

type SmsCustomizationParams ¶

type SmsCustomizationParams struct {

	// Template containing references to .OtpCode i.e Your OTP is {{.OtpCode}}
	Template *string `json:"template,omitempty"`
}

SmsCustomizationParams sms customization params

swagger:model SmsCustomizationParams

func (*SmsCustomizationParams) ContextValidate ¶

func (m *SmsCustomizationParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sms customization params based on context it is used

func (*SmsCustomizationParams) MarshalBinary ¶

func (m *SmsCustomizationParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SmsCustomizationParams) UnmarshalBinary ¶

func (m *SmsCustomizationParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SmsCustomizationParams) Validate ¶

func (m *SmsCustomizationParams) Validate(formats strfmt.Registry) error

Validate validates this sms customization params

type StampLoginIntent ¶ added in v0.5.0

type StampLoginIntent struct {

	// Expiration window (in seconds) indicating how long the Session is valid for. If not provided, a default of 15 minutes will be used.
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// Invalidate all other previously generated Login API keys
	InvalidateExisting *bool `json:"invalidateExisting,omitempty"`

	// Client-side public key generated by the user, which will be conditionally added to org data based on the passkey stamp associated with this request
	// Required: true
	PublicKey *string `json:"publicKey"`
}

StampLoginIntent stamp login intent

swagger:model StampLoginIntent

func (*StampLoginIntent) ContextValidate ¶ added in v0.5.0

func (m *StampLoginIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stamp login intent based on context it is used

func (*StampLoginIntent) MarshalBinary ¶ added in v0.5.0

func (m *StampLoginIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StampLoginIntent) UnmarshalBinary ¶ added in v0.5.0

func (m *StampLoginIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StampLoginIntent) Validate ¶ added in v0.5.0

func (m *StampLoginIntent) Validate(formats strfmt.Registry) error

Validate validates this stamp login intent

type StampLoginRequest ¶ added in v0.5.0

type StampLoginRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *StampLoginIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_STAMP_LOGIN]
	Type *string `json:"type"`
}

StampLoginRequest stamp login request

swagger:model StampLoginRequest

func (*StampLoginRequest) ContextValidate ¶ added in v0.5.0

func (m *StampLoginRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this stamp login request based on the context it is used

func (*StampLoginRequest) MarshalBinary ¶ added in v0.5.0

func (m *StampLoginRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StampLoginRequest) UnmarshalBinary ¶ added in v0.5.0

func (m *StampLoginRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StampLoginRequest) Validate ¶ added in v0.5.0

func (m *StampLoginRequest) Validate(formats strfmt.Registry) error

Validate validates this stamp login request

type StampLoginResult ¶ added in v0.5.0

type StampLoginResult struct {

	// Signed JWT containing an expiry, public key, session type, user id, and organization id
	// Required: true
	Session *string `json:"session"`
}

StampLoginResult stamp login result

swagger:model StampLoginResult

func (*StampLoginResult) ContextValidate ¶ added in v0.5.0

func (m *StampLoginResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this stamp login result based on context it is used

func (*StampLoginResult) MarshalBinary ¶ added in v0.5.0

func (m *StampLoginResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StampLoginResult) UnmarshalBinary ¶ added in v0.5.0

func (m *StampLoginResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StampLoginResult) Validate ¶ added in v0.5.0

func (m *StampLoginResult) Validate(formats strfmt.Registry) error

Validate validates this stamp login result

type Status ¶

type Status struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*Any `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

Status status

swagger:model Status

func (*Status) ContextValidate ¶

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status based on the context it is used

func (*Status) MarshalBinary ¶

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary ¶

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate ¶

func (m *Status) Validate(formats strfmt.Registry) error

Validate validates this status

type TagType ¶

type TagType string

TagType tag type

swagger:model TagType

const (

	// TagTypeUser captures enum value "TAG_TYPE_USER"
	TagTypeUser TagType = "TAG_TYPE_USER"

	// TagTypePrivateKey captures enum value "TAG_TYPE_PRIVATE_KEY"
	TagTypePrivateKey TagType = "TAG_TYPE_PRIVATE_KEY"
)

func NewTagType ¶

func NewTagType(value TagType) *TagType

func (TagType) ContextValidate ¶

func (m TagType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag type based on context it is used

func (TagType) Pointer ¶

func (m TagType) Pointer() *TagType

Pointer returns a pointer to a freshly-allocated TagType.

func (TagType) Validate ¶

func (m TagType) Validate(formats strfmt.Registry) error

Validate validates this tag type

type TransactionType ¶

type TransactionType string

TransactionType transaction type

swagger:model TransactionType

const (

	// TransactionTypeEthereum captures enum value "TRANSACTION_TYPE_ETHEREUM"
	TransactionTypeEthereum TransactionType = "TRANSACTION_TYPE_ETHEREUM"

	// TransactionTypeSolana captures enum value "TRANSACTION_TYPE_SOLANA"
	TransactionTypeSolana TransactionType = "TRANSACTION_TYPE_SOLANA"

	// TransactionTypeTron captures enum value "TRANSACTION_TYPE_TRON"
	TransactionTypeTron TransactionType = "TRANSACTION_TYPE_TRON"

	// TransactionTypeBitcoin captures enum value "TRANSACTION_TYPE_BITCOIN"
	TransactionTypeBitcoin TransactionType = "TRANSACTION_TYPE_BITCOIN"
)

func NewTransactionType ¶

func NewTransactionType(value TransactionType) *TransactionType

func (TransactionType) ContextValidate ¶

func (m TransactionType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this transaction type based on context it is used

func (TransactionType) Pointer ¶

func (m TransactionType) Pointer() *TransactionType

Pointer returns a pointer to a freshly-allocated TransactionType.

func (TransactionType) Validate ¶

func (m TransactionType) Validate(formats strfmt.Registry) error

Validate validates this transaction type

type UpdateAllowedOriginsIntent ¶

type UpdateAllowedOriginsIntent struct {

	// Additional origins requests are allowed from besides Turnkey origins
	// Required: true
	AllowedOrigins []string `json:"allowedOrigins"`
}

UpdateAllowedOriginsIntent update allowed origins intent

swagger:model UpdateAllowedOriginsIntent

func (*UpdateAllowedOriginsIntent) ContextValidate ¶

func (m *UpdateAllowedOriginsIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update allowed origins intent based on context it is used

func (*UpdateAllowedOriginsIntent) MarshalBinary ¶

func (m *UpdateAllowedOriginsIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAllowedOriginsIntent) UnmarshalBinary ¶

func (m *UpdateAllowedOriginsIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAllowedOriginsIntent) Validate ¶

func (m *UpdateAllowedOriginsIntent) Validate(formats strfmt.Registry) error

Validate validates this update allowed origins intent

type UpdateAllowedOriginsResult ¶

type UpdateAllowedOriginsResult interface{}

UpdateAllowedOriginsResult update allowed origins result

swagger:model UpdateAllowedOriginsResult

type UpdateAuthProxyConfigIntent ¶ added in v0.9.0

type UpdateAuthProxyConfigIntent struct {

	// Updated list of allowed proxy authentication methods.
	AllowedAuthMethods []string `json:"allowedAuthMethods"`

	// Updated list of allowed origins for CORS.
	AllowedOrigins []string `json:"allowedOrigins"`

	// Template ID for email-auth messages.
	EmailAuthTemplateID *string `json:"emailAuthTemplateId,omitempty"`

	// Overrides for auth-related email content.
	EmailCustomizationParams *EmailCustomizationParams `json:"emailCustomizationParams,omitempty"`

	// Enable alphanumeric OTP codes.
	OtpAlphanumeric *bool `json:"otpAlphanumeric,omitempty"`

	// OTP code lifetime in seconds.
	OtpExpirationSeconds *int32 `json:"otpExpirationSeconds,omitempty"`

	// Desired OTP code length (6–9).
	OtpLength *int32 `json:"otpLength,omitempty"`

	// Template ID for OTP SMS messages.
	OtpTemplateID *string `json:"otpTemplateId,omitempty"`

	// Custom reply-to address for auth-related emails.
	ReplyToEmailAddress *string `json:"replyToEmailAddress,omitempty"`

	// Custom 'from' address for auth-related emails.
	SendFromEmailAddress *string `json:"sendFromEmailAddress,omitempty"`

	// Custom 'from' email sender for auth-related emails.
	SendFromEmailSenderName *string `json:"sendFromEmailSenderName,omitempty"`

	// Session lifetime in seconds.
	SessionExpirationSeconds *int32 `json:"sessionExpirationSeconds,omitempty"`

	// Overrides for auth-related SMS content.
	SmsCustomizationParams *SmsCustomizationParams `json:"smsCustomizationParams,omitempty"`

	// Verification-token lifetime in seconds.
	VerificationTokenExpirationSeconds *int32 `json:"verificationTokenExpirationSeconds,omitempty"`

	// Verification token required for get account with PII (email/phone number). Default false.
	VerificationTokenRequiredForGetAccountPii *bool `json:"verificationTokenRequiredForGetAccountPii,omitempty"`

	// Overrides for react wallet kit related settings.
	WalletKitSettings *WalletKitSettingsParams `json:"walletKitSettings,omitempty"`
}

UpdateAuthProxyConfigIntent update auth proxy config intent

swagger:model UpdateAuthProxyConfigIntent

func (*UpdateAuthProxyConfigIntent) ContextValidate ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update auth proxy config intent based on the context it is used

func (*UpdateAuthProxyConfigIntent) MarshalBinary ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAuthProxyConfigIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAuthProxyConfigIntent) Validate ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigIntent) Validate(formats strfmt.Registry) error

Validate validates this update auth proxy config intent

type UpdateAuthProxyConfigResult ¶ added in v0.9.0

type UpdateAuthProxyConfigResult struct {

	// Unique identifier for a given User. (representing the turnkey signer user id)
	ConfigID string `json:"configId,omitempty"`
}

UpdateAuthProxyConfigResult update auth proxy config result

swagger:model UpdateAuthProxyConfigResult

func (*UpdateAuthProxyConfigResult) ContextValidate ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update auth proxy config result based on context it is used

func (*UpdateAuthProxyConfigResult) MarshalBinary ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateAuthProxyConfigResult) UnmarshalBinary ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateAuthProxyConfigResult) Validate ¶ added in v0.9.0

func (m *UpdateAuthProxyConfigResult) Validate(formats strfmt.Registry) error

Validate validates this update auth proxy config result

type UpdateOauth2CredentialIntent ¶ added in v0.9.0

type UpdateOauth2CredentialIntent struct {

	// The Client ID issued by the OAuth 2.0 provider
	// Required: true
	ClientID *string `json:"clientId"`

	// The client secret issued by the OAuth 2.0 provider encrypted to the TLS Fetcher quorum key
	// Required: true
	EncryptedClientSecret *string `json:"encryptedClientSecret"`

	// The ID of the OAuth 2.0 credential to update
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`

	// The OAuth 2.0 provider
	// Required: true
	Provider *Oauth2Provider `json:"provider"`
}

UpdateOauth2CredentialIntent update oauth2 credential intent

swagger:model UpdateOauth2CredentialIntent

func (*UpdateOauth2CredentialIntent) ContextValidate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update oauth2 credential intent based on the context it is used

func (*UpdateOauth2CredentialIntent) MarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOauth2CredentialIntent) UnmarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOauth2CredentialIntent) Validate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialIntent) Validate(formats strfmt.Registry) error

Validate validates this update oauth2 credential intent

type UpdateOauth2CredentialRequest ¶ added in v0.9.0

type UpdateOauth2CredentialRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateOauth2CredentialIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL]
	Type *string `json:"type"`
}

UpdateOauth2CredentialRequest update oauth2 credential request

swagger:model UpdateOauth2CredentialRequest

func (*UpdateOauth2CredentialRequest) ContextValidate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update oauth2 credential request based on the context it is used

func (*UpdateOauth2CredentialRequest) MarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOauth2CredentialRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOauth2CredentialRequest) Validate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialRequest) Validate(formats strfmt.Registry) error

Validate validates this update oauth2 credential request

type UpdateOauth2CredentialResult ¶ added in v0.9.0

type UpdateOauth2CredentialResult struct {

	// Unique identifier of the OAuth 2.0 credential that was updated
	// Required: true
	Oauth2CredentialID *string `json:"oauth2CredentialId"`
}

UpdateOauth2CredentialResult update oauth2 credential result

swagger:model UpdateOauth2CredentialResult

func (*UpdateOauth2CredentialResult) ContextValidate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update oauth2 credential result based on context it is used

func (*UpdateOauth2CredentialResult) MarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateOauth2CredentialResult) UnmarshalBinary ¶ added in v0.9.0

func (m *UpdateOauth2CredentialResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateOauth2CredentialResult) Validate ¶ added in v0.9.0

func (m *UpdateOauth2CredentialResult) Validate(formats strfmt.Registry) error

Validate validates this update oauth2 credential result

type UpdatePolicyIntent ¶

type UpdatePolicyIntent struct {

	// The condition expression that triggers the Effect (optional).
	PolicyCondition *string `json:"policyCondition,omitempty"`

	// The consensus expression that triggers the Effect (optional).
	PolicyConsensus *string `json:"policyConsensus,omitempty"`

	// The instruction to DENY or ALLOW an activity (optional).
	PolicyEffect Effect `json:"policyEffect,omitempty"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`

	// Human-readable name for a Policy.
	PolicyName *string `json:"policyName,omitempty"`

	// Accompanying notes for a Policy (optional).
	PolicyNotes *string `json:"policyNotes,omitempty"`
}

UpdatePolicyIntent update policy intent

swagger:model UpdatePolicyIntent

func (*UpdatePolicyIntent) ContextValidate ¶

func (m *UpdatePolicyIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update policy intent based on the context it is used

func (*UpdatePolicyIntent) MarshalBinary ¶

func (m *UpdatePolicyIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyIntent) UnmarshalBinary ¶

func (m *UpdatePolicyIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyIntent) Validate ¶

func (m *UpdatePolicyIntent) Validate(formats strfmt.Registry) error

Validate validates this update policy intent

type UpdatePolicyIntentV2 ¶ added in v0.4.0

type UpdatePolicyIntentV2 struct {

	// The condition expression that triggers the Effect (optional).
	PolicyCondition *string `json:"policyCondition,omitempty"`

	// The consensus expression that triggers the Effect (optional).
	PolicyConsensus *string `json:"policyConsensus,omitempty"`

	// The instruction to DENY or ALLOW an activity (optional).
	PolicyEffect Effect `json:"policyEffect,omitempty"`

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`

	// Human-readable name for a Policy.
	PolicyName *string `json:"policyName,omitempty"`

	// Accompanying notes for a Policy (optional).
	PolicyNotes *string `json:"policyNotes,omitempty"`
}

UpdatePolicyIntentV2 update policy intent v2

swagger:model UpdatePolicyIntentV2

func (*UpdatePolicyIntentV2) ContextValidate ¶ added in v0.4.0

func (m *UpdatePolicyIntentV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update policy intent v2 based on the context it is used

func (*UpdatePolicyIntentV2) MarshalBinary ¶ added in v0.4.0

func (m *UpdatePolicyIntentV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyIntentV2) UnmarshalBinary ¶ added in v0.4.0

func (m *UpdatePolicyIntentV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyIntentV2) Validate ¶ added in v0.4.0

func (m *UpdatePolicyIntentV2) Validate(formats strfmt.Registry) error

Validate validates this update policy intent v2

type UpdatePolicyRequest ¶

type UpdatePolicyRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdatePolicyIntentV2 `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_POLICY_V2]
	Type *string `json:"type"`
}

UpdatePolicyRequest update policy request

swagger:model UpdatePolicyRequest

func (*UpdatePolicyRequest) ContextValidate ¶

func (m *UpdatePolicyRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update policy request based on the context it is used

func (*UpdatePolicyRequest) MarshalBinary ¶

func (m *UpdatePolicyRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyRequest) UnmarshalBinary ¶

func (m *UpdatePolicyRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyRequest) Validate ¶

func (m *UpdatePolicyRequest) Validate(formats strfmt.Registry) error

Validate validates this update policy request

type UpdatePolicyResult ¶

type UpdatePolicyResult struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

UpdatePolicyResult update policy result

swagger:model UpdatePolicyResult

func (*UpdatePolicyResult) ContextValidate ¶

func (m *UpdatePolicyResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update policy result based on context it is used

func (*UpdatePolicyResult) MarshalBinary ¶

func (m *UpdatePolicyResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyResult) UnmarshalBinary ¶

func (m *UpdatePolicyResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyResult) Validate ¶

func (m *UpdatePolicyResult) Validate(formats strfmt.Registry) error

Validate validates this update policy result

type UpdatePolicyResultV2 ¶ added in v0.4.0

type UpdatePolicyResultV2 struct {

	// Unique identifier for a given Policy.
	// Required: true
	PolicyID *string `json:"policyId"`
}

UpdatePolicyResultV2 update policy result v2

swagger:model UpdatePolicyResultV2

func (*UpdatePolicyResultV2) ContextValidate ¶ added in v0.4.0

func (m *UpdatePolicyResultV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update policy result v2 based on context it is used

func (*UpdatePolicyResultV2) MarshalBinary ¶ added in v0.4.0

func (m *UpdatePolicyResultV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePolicyResultV2) UnmarshalBinary ¶ added in v0.4.0

func (m *UpdatePolicyResultV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePolicyResultV2) Validate ¶ added in v0.4.0

func (m *UpdatePolicyResultV2) Validate(formats strfmt.Registry) error

Validate validates this update policy result v2

type UpdatePrivateKeyTagIntent ¶

type UpdatePrivateKeyTagIntent struct {

	// A list of Private Keys IDs to add this tag to.
	// Required: true
	AddPrivateKeyIds []string `json:"addPrivateKeyIds"`

	// The new, human-readable name for the tag with the given ID.
	NewPrivateKeyTagName *string `json:"newPrivateKeyTagName,omitempty"`

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`

	// A list of Private Key IDs to remove this tag from.
	// Required: true
	RemovePrivateKeyIds []string `json:"removePrivateKeyIds"`
}

UpdatePrivateKeyTagIntent update private key tag intent

swagger:model UpdatePrivateKeyTagIntent

func (*UpdatePrivateKeyTagIntent) ContextValidate ¶

func (m *UpdatePrivateKeyTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update private key tag intent based on context it is used

func (*UpdatePrivateKeyTagIntent) MarshalBinary ¶

func (m *UpdatePrivateKeyTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagIntent) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagIntent) Validate ¶

func (m *UpdatePrivateKeyTagIntent) Validate(formats strfmt.Registry) error

Validate validates this update private key tag intent

type UpdatePrivateKeyTagRequest ¶

type UpdatePrivateKeyTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdatePrivateKeyTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG]
	Type *string `json:"type"`
}

UpdatePrivateKeyTagRequest update private key tag request

swagger:model UpdatePrivateKeyTagRequest

func (*UpdatePrivateKeyTagRequest) ContextValidate ¶

func (m *UpdatePrivateKeyTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update private key tag request based on the context it is used

func (*UpdatePrivateKeyTagRequest) MarshalBinary ¶

func (m *UpdatePrivateKeyTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagRequest) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagRequest) Validate ¶

func (m *UpdatePrivateKeyTagRequest) Validate(formats strfmt.Registry) error

Validate validates this update private key tag request

type UpdatePrivateKeyTagResult ¶

type UpdatePrivateKeyTagResult struct {

	// Unique identifier for a given Private Key Tag.
	// Required: true
	PrivateKeyTagID *string `json:"privateKeyTagId"`
}

UpdatePrivateKeyTagResult update private key tag result

swagger:model UpdatePrivateKeyTagResult

func (*UpdatePrivateKeyTagResult) ContextValidate ¶

func (m *UpdatePrivateKeyTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update private key tag result based on context it is used

func (*UpdatePrivateKeyTagResult) MarshalBinary ¶

func (m *UpdatePrivateKeyTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePrivateKeyTagResult) UnmarshalBinary ¶

func (m *UpdatePrivateKeyTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePrivateKeyTagResult) Validate ¶

func (m *UpdatePrivateKeyTagResult) Validate(formats strfmt.Registry) error

Validate validates this update private key tag result

type UpdateRootQuorumIntent ¶

type UpdateRootQuorumIntent struct {

	// The threshold of unique approvals to reach quorum.
	// Required: true
	Threshold *int32 `json:"threshold"`

	// The unique identifiers of users who comprise the quorum set.
	// Required: true
	UserIds []string `json:"userIds"`
}

UpdateRootQuorumIntent update root quorum intent

swagger:model UpdateRootQuorumIntent

func (*UpdateRootQuorumIntent) ContextValidate ¶

func (m *UpdateRootQuorumIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update root quorum intent based on context it is used

func (*UpdateRootQuorumIntent) MarshalBinary ¶

func (m *UpdateRootQuorumIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRootQuorumIntent) UnmarshalBinary ¶

func (m *UpdateRootQuorumIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRootQuorumIntent) Validate ¶

func (m *UpdateRootQuorumIntent) Validate(formats strfmt.Registry) error

Validate validates this update root quorum intent

type UpdateRootQuorumRequest ¶

type UpdateRootQuorumRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateRootQuorumIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_ROOT_QUORUM]
	Type *string `json:"type"`
}

UpdateRootQuorumRequest update root quorum request

swagger:model UpdateRootQuorumRequest

func (*UpdateRootQuorumRequest) ContextValidate ¶

func (m *UpdateRootQuorumRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update root quorum request based on the context it is used

func (*UpdateRootQuorumRequest) MarshalBinary ¶

func (m *UpdateRootQuorumRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateRootQuorumRequest) UnmarshalBinary ¶

func (m *UpdateRootQuorumRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateRootQuorumRequest) Validate ¶

func (m *UpdateRootQuorumRequest) Validate(formats strfmt.Registry) error

Validate validates this update root quorum request

type UpdateRootQuorumResult ¶

type UpdateRootQuorumResult interface{}

UpdateRootQuorumResult update root quorum result

swagger:model UpdateRootQuorumResult

type UpdateUserEmailIntent ¶ added in v0.6.0

type UpdateUserEmailIntent struct {

	// The user's email address. Setting this to an empty string will remove the user's email.
	// Required: true
	UserEmail *string `json:"userEmail"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Signed JWT containing a unique id, expiry, verification type, contact
	VerificationToken *string `json:"verificationToken,omitempty"`
}

UpdateUserEmailIntent update user email intent

swagger:model UpdateUserEmailIntent

func (*UpdateUserEmailIntent) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserEmailIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user email intent based on context it is used

func (*UpdateUserEmailIntent) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserEmailIntent) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserEmailIntent) Validate ¶ added in v0.6.0

func (m *UpdateUserEmailIntent) Validate(formats strfmt.Registry) error

Validate validates this update user email intent

type UpdateUserEmailRequest ¶ added in v0.6.0

type UpdateUserEmailRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserEmailIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER_EMAIL]
	Type *string `json:"type"`
}

UpdateUserEmailRequest update user email request

swagger:model UpdateUserEmailRequest

func (*UpdateUserEmailRequest) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserEmailRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user email request based on the context it is used

func (*UpdateUserEmailRequest) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserEmailRequest) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserEmailRequest) Validate ¶ added in v0.6.0

func (m *UpdateUserEmailRequest) Validate(formats strfmt.Registry) error

Validate validates this update user email request

type UpdateUserEmailResult ¶ added in v0.6.0

type UpdateUserEmailResult struct {

	// Unique identifier of the User whose email was updated.
	// Required: true
	UserID *string `json:"userId"`
}

UpdateUserEmailResult update user email result

swagger:model UpdateUserEmailResult

func (*UpdateUserEmailResult) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserEmailResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user email result based on context it is used

func (*UpdateUserEmailResult) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserEmailResult) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserEmailResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserEmailResult) Validate ¶ added in v0.6.0

func (m *UpdateUserEmailResult) Validate(formats strfmt.Registry) error

Validate validates this update user email result

type UpdateUserIntent ¶

type UpdateUserIntent struct {

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	UserName *string `json:"userName,omitempty"`

	// The user's phone number in E.164 format e.g. +13214567890
	UserPhoneNumber *string `json:"userPhoneNumber,omitempty"`

	// An updated list of User Tags to apply to this User. This field, if not needed, should be an empty array in your request body.
	UserTagIds []string `json:"userTagIds"`
}

UpdateUserIntent update user intent

swagger:model UpdateUserIntent

func (*UpdateUserIntent) ContextValidate ¶

func (m *UpdateUserIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user intent based on context it is used

func (*UpdateUserIntent) MarshalBinary ¶

func (m *UpdateUserIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserIntent) UnmarshalBinary ¶

func (m *UpdateUserIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserIntent) Validate ¶

func (m *UpdateUserIntent) Validate(formats strfmt.Registry) error

Validate validates this update user intent

type UpdateUserNameIntent ¶ added in v0.6.0

type UpdateUserNameIntent struct {

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`
}

UpdateUserNameIntent update user name intent

swagger:model UpdateUserNameIntent

func (*UpdateUserNameIntent) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserNameIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user name intent based on context it is used

func (*UpdateUserNameIntent) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserNameIntent) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserNameIntent) Validate ¶ added in v0.6.0

func (m *UpdateUserNameIntent) Validate(formats strfmt.Registry) error

Validate validates this update user name intent

type UpdateUserNameRequest ¶ added in v0.6.0

type UpdateUserNameRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserNameIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER_NAME]
	Type *string `json:"type"`
}

UpdateUserNameRequest update user name request

swagger:model UpdateUserNameRequest

func (*UpdateUserNameRequest) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserNameRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user name request based on the context it is used

func (*UpdateUserNameRequest) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserNameRequest) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserNameRequest) Validate ¶ added in v0.6.0

func (m *UpdateUserNameRequest) Validate(formats strfmt.Registry) error

Validate validates this update user name request

type UpdateUserNameResult ¶ added in v0.6.0

type UpdateUserNameResult struct {

	// Unique identifier of the User whose name was updated.
	// Required: true
	UserID *string `json:"userId"`
}

UpdateUserNameResult update user name result

swagger:model UpdateUserNameResult

func (*UpdateUserNameResult) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserNameResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user name result based on context it is used

func (*UpdateUserNameResult) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserNameResult) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserNameResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserNameResult) Validate ¶ added in v0.6.0

func (m *UpdateUserNameResult) Validate(formats strfmt.Registry) error

Validate validates this update user name result

type UpdateUserPhoneNumberIntent ¶ added in v0.6.0

type UpdateUserPhoneNumberIntent struct {

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// The user's phone number in E.164 format e.g. +13214567890. Setting this to an empty string will remove the user's phone number.
	// Required: true
	UserPhoneNumber *string `json:"userPhoneNumber"`

	// Signed JWT containing a unique id, expiry, verification type, contact
	VerificationToken *string `json:"verificationToken,omitempty"`
}

UpdateUserPhoneNumberIntent update user phone number intent

swagger:model UpdateUserPhoneNumberIntent

func (*UpdateUserPhoneNumberIntent) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user phone number intent based on context it is used

func (*UpdateUserPhoneNumberIntent) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserPhoneNumberIntent) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserPhoneNumberIntent) Validate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberIntent) Validate(formats strfmt.Registry) error

Validate validates this update user phone number intent

type UpdateUserPhoneNumberRequest ¶ added in v0.6.0

type UpdateUserPhoneNumberRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserPhoneNumberIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER]
	Type *string `json:"type"`
}

UpdateUserPhoneNumberRequest update user phone number request

swagger:model UpdateUserPhoneNumberRequest

func (*UpdateUserPhoneNumberRequest) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user phone number request based on the context it is used

func (*UpdateUserPhoneNumberRequest) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserPhoneNumberRequest) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserPhoneNumberRequest) Validate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberRequest) Validate(formats strfmt.Registry) error

Validate validates this update user phone number request

type UpdateUserPhoneNumberResult ¶ added in v0.6.0

type UpdateUserPhoneNumberResult struct {

	// Unique identifier of the User whose phone number was updated.
	// Required: true
	UserID *string `json:"userId"`
}

UpdateUserPhoneNumberResult update user phone number result

swagger:model UpdateUserPhoneNumberResult

func (*UpdateUserPhoneNumberResult) ContextValidate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user phone number result based on context it is used

func (*UpdateUserPhoneNumberResult) MarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserPhoneNumberResult) UnmarshalBinary ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserPhoneNumberResult) Validate ¶ added in v0.6.0

func (m *UpdateUserPhoneNumberResult) Validate(formats strfmt.Registry) error

Validate validates this update user phone number result

type UpdateUserRequest ¶

type UpdateUserRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER]
	Type *string `json:"type"`
}

UpdateUserRequest update user request

swagger:model UpdateUserRequest

func (*UpdateUserRequest) ContextValidate ¶

func (m *UpdateUserRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user request based on the context it is used

func (*UpdateUserRequest) MarshalBinary ¶

func (m *UpdateUserRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserRequest) UnmarshalBinary ¶

func (m *UpdateUserRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserRequest) Validate ¶

func (m *UpdateUserRequest) Validate(formats strfmt.Registry) error

Validate validates this update user request

type UpdateUserResult ¶

type UpdateUserResult struct {

	// A User ID.
	// Required: true
	UserID *string `json:"userId"`
}

UpdateUserResult update user result

swagger:model UpdateUserResult

func (*UpdateUserResult) ContextValidate ¶

func (m *UpdateUserResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user result based on context it is used

func (*UpdateUserResult) MarshalBinary ¶

func (m *UpdateUserResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserResult) UnmarshalBinary ¶

func (m *UpdateUserResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserResult) Validate ¶

func (m *UpdateUserResult) Validate(formats strfmt.Registry) error

Validate validates this update user result

type UpdateUserTagIntent ¶

type UpdateUserTagIntent struct {

	// A list of User IDs to add this tag to.
	// Required: true
	AddUserIds []string `json:"addUserIds"`

	// The new, human-readable name for the tag with the given ID.
	NewUserTagName *string `json:"newUserTagName,omitempty"`

	// A list of User IDs to remove this tag from.
	// Required: true
	RemoveUserIds []string `json:"removeUserIds"`

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

UpdateUserTagIntent update user tag intent

swagger:model UpdateUserTagIntent

func (*UpdateUserTagIntent) ContextValidate ¶

func (m *UpdateUserTagIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user tag intent based on context it is used

func (*UpdateUserTagIntent) MarshalBinary ¶

func (m *UpdateUserTagIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagIntent) UnmarshalBinary ¶

func (m *UpdateUserTagIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagIntent) Validate ¶

func (m *UpdateUserTagIntent) Validate(formats strfmt.Registry) error

Validate validates this update user tag intent

type UpdateUserTagRequest ¶

type UpdateUserTagRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateUserTagIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_USER_TAG]
	Type *string `json:"type"`
}

UpdateUserTagRequest update user tag request

swagger:model UpdateUserTagRequest

func (*UpdateUserTagRequest) ContextValidate ¶

func (m *UpdateUserTagRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update user tag request based on the context it is used

func (*UpdateUserTagRequest) MarshalBinary ¶

func (m *UpdateUserTagRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagRequest) UnmarshalBinary ¶

func (m *UpdateUserTagRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagRequest) Validate ¶

func (m *UpdateUserTagRequest) Validate(formats strfmt.Registry) error

Validate validates this update user tag request

type UpdateUserTagResult ¶

type UpdateUserTagResult struct {

	// Unique identifier for a given User Tag.
	// Required: true
	UserTagID *string `json:"userTagId"`
}

UpdateUserTagResult update user tag result

swagger:model UpdateUserTagResult

func (*UpdateUserTagResult) ContextValidate ¶

func (m *UpdateUserTagResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update user tag result based on context it is used

func (*UpdateUserTagResult) MarshalBinary ¶

func (m *UpdateUserTagResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateUserTagResult) UnmarshalBinary ¶

func (m *UpdateUserTagResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateUserTagResult) Validate ¶

func (m *UpdateUserTagResult) Validate(formats strfmt.Registry) error

Validate validates this update user tag result

type UpdateWalletIntent ¶ added in v0.2.0

type UpdateWalletIntent struct {

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`

	// Human-readable name for a Wallet.
	WalletName string `json:"walletName,omitempty"`
}

UpdateWalletIntent update wallet intent

swagger:model UpdateWalletIntent

func (*UpdateWalletIntent) ContextValidate ¶ added in v0.2.0

func (m *UpdateWalletIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update wallet intent based on context it is used

func (*UpdateWalletIntent) MarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateWalletIntent) UnmarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateWalletIntent) Validate ¶ added in v0.2.0

func (m *UpdateWalletIntent) Validate(formats strfmt.Registry) error

Validate validates this update wallet intent

type UpdateWalletRequest ¶ added in v0.2.0

type UpdateWalletRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *UpdateWalletIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_UPDATE_WALLET]
	Type *string `json:"type"`
}

UpdateWalletRequest update wallet request

swagger:model UpdateWalletRequest

func (*UpdateWalletRequest) ContextValidate ¶ added in v0.2.0

func (m *UpdateWalletRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this update wallet request based on the context it is used

func (*UpdateWalletRequest) MarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateWalletRequest) UnmarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateWalletRequest) Validate ¶ added in v0.2.0

func (m *UpdateWalletRequest) Validate(formats strfmt.Registry) error

Validate validates this update wallet request

type UpdateWalletResult ¶ added in v0.2.0

type UpdateWalletResult struct {

	// A Wallet ID.
	// Required: true
	WalletID *string `json:"walletId"`
}

UpdateWalletResult update wallet result

swagger:model UpdateWalletResult

func (*UpdateWalletResult) ContextValidate ¶ added in v0.2.0

func (m *UpdateWalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update wallet result based on context it is used

func (*UpdateWalletResult) MarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdateWalletResult) UnmarshalBinary ¶ added in v0.2.0

func (m *UpdateWalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdateWalletResult) Validate ¶ added in v0.2.0

func (m *UpdateWalletResult) Validate(formats strfmt.Registry) error

Validate validates this update wallet result

type User ¶

type User struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKey `json:"apiKeys"`

	// A list of Authenticator parameters.
	// Required: true
	Authenticators []*Authenticator `json:"authenticators"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// A list of Oauth Providers.
	// Required: true
	OauthProviders []*OauthProvider `json:"oauthProviders"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// The user's phone number in E.164 format e.g. +13214567890
	UserPhoneNumber *string `json:"userPhoneNumber,omitempty"`

	// A list of User Tag IDs.
	// Required: true
	UserTags []string `json:"userTags"`
}

User user

swagger:model User

func (*User) ContextValidate ¶

func (m *User) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user based on the context it is used

func (*User) MarshalBinary ¶

func (m *User) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*User) UnmarshalBinary ¶

func (m *User) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*User) Validate ¶

func (m *User) Validate(formats strfmt.Registry) error

Validate validates this user

type UserParams ¶

type UserParams struct {

	// The User's permissible access method(s).
	// Required: true
	AccessType *AccessType `json:"accessType"`

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParams `json:"authenticators"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of User Tag IDs. This field, if not needed, should be an empty array in your request body.
	// Required: true
	UserTags []string `json:"userTags"`
}

UserParams user params

swagger:model UserParams

func (*UserParams) ContextValidate ¶

func (m *UserParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user params based on the context it is used

func (*UserParams) MarshalBinary ¶

func (m *UserParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserParams) UnmarshalBinary ¶

func (m *UserParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserParams) Validate ¶

func (m *UserParams) Validate(formats strfmt.Registry) error

Validate validates this user params

type UserParamsV2 ¶

type UserParamsV2 struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParams `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// A list of User Tag IDs. This field, if not needed, should be an empty array in your request body.
	// Required: true
	UserTags []string `json:"userTags"`
}

UserParamsV2 user params v2

swagger:model UserParamsV2

func (*UserParamsV2) ContextValidate ¶

func (m *UserParamsV2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user params v2 based on the context it is used

func (*UserParamsV2) MarshalBinary ¶

func (m *UserParamsV2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserParamsV2) UnmarshalBinary ¶

func (m *UserParamsV2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserParamsV2) Validate ¶

func (m *UserParamsV2) Validate(formats strfmt.Registry) error

Validate validates this user params v2

type UserParamsV3 ¶ added in v0.4.0

type UserParamsV3 struct {

	// A list of API Key parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	APIKeys []*APIKeyParamsV2 `json:"apiKeys"`

	// A list of Authenticator parameters. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Authenticators []*AuthenticatorParamsV2 `json:"authenticators"`

	// A list of Oauth providers. This field, if not needed, should be an empty array in your request body.
	// Required: true
	OauthProviders []*OauthProviderParams `json:"oauthProviders"`

	// The user's email address.
	UserEmail *string `json:"userEmail,omitempty"`

	// Human-readable name for a User.
	// Required: true
	UserName *string `json:"userName"`

	// The user's phone number in E.164 format e.g. +13214567890
	UserPhoneNumber *string `json:"userPhoneNumber,omitempty"`

	// A list of User Tag IDs. This field, if not needed, should be an empty array in your request body.
	// Required: true
	UserTags []string `json:"userTags"`
}

UserParamsV3 user params v3

swagger:model UserParamsV3

func (*UserParamsV3) ContextValidate ¶ added in v0.4.0

func (m *UserParamsV3) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user params v3 based on the context it is used

func (*UserParamsV3) MarshalBinary ¶ added in v0.4.0

func (m *UserParamsV3) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserParamsV3) UnmarshalBinary ¶ added in v0.4.0

func (m *UserParamsV3) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserParamsV3) Validate ¶ added in v0.4.0

func (m *UserParamsV3) Validate(formats strfmt.Registry) error

Validate validates this user params v3

type V1Tag ¶

type V1Tag struct {

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Unique identifier for a given Tag.
	// Required: true
	TagID *string `json:"tagId"`

	// Human-readable name for a Tag.
	// Required: true
	TagName *string `json:"tagName"`

	// tag type
	// Required: true
	TagType *TagType `json:"tagType"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`
}

V1Tag v1 tag

swagger:model v1.Tag

func (*V1Tag) ContextValidate ¶

func (m *V1Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 tag based on the context it is used

func (*V1Tag) MarshalBinary ¶

func (m *V1Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Tag) UnmarshalBinary ¶

func (m *V1Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Tag) Validate ¶

func (m *V1Tag) Validate(formats strfmt.Registry) error

Validate validates this v1 tag

type VerifyOtpIntent ¶ added in v0.5.0

type VerifyOtpIntent struct {

	// Expiration window (in seconds) indicating how long the verification token is valid for. If not provided, a default of 1 hour will be used. Maximum value is 86400 seconds (24 hours)
	ExpirationSeconds *string `json:"expirationSeconds,omitempty"`

	// OTP sent out to a user's contact (email or SMS)
	// Required: true
	OtpCode *string `json:"otpCode"`

	// ID representing the result of an init OTP activity.
	// Required: true
	OtpID *string `json:"otpId"`

	// Client-side public key generated by the user, which will be added to the JWT response and verified in subsequent requests via a client proof signature
	PublicKey *string `json:"publicKey,omitempty"`
}

VerifyOtpIntent verify otp intent

swagger:model VerifyOtpIntent

func (*VerifyOtpIntent) ContextValidate ¶ added in v0.5.0

func (m *VerifyOtpIntent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this verify otp intent based on context it is used

func (*VerifyOtpIntent) MarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpIntent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VerifyOtpIntent) UnmarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpIntent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VerifyOtpIntent) Validate ¶ added in v0.5.0

func (m *VerifyOtpIntent) Validate(formats strfmt.Registry) error

Validate validates this verify otp intent

type VerifyOtpRequest ¶ added in v0.5.0

type VerifyOtpRequest struct {

	// Unique identifier for a given Organization.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// parameters
	// Required: true
	Parameters *VerifyOtpIntent `json:"parameters"`

	// Timestamp (in milliseconds) of the request, used to verify liveness of user requests.
	// Required: true
	TimestampMs *string `json:"timestampMs"`

	// type
	// Required: true
	// Enum: [ACTIVITY_TYPE_VERIFY_OTP]
	Type *string `json:"type"`
}

VerifyOtpRequest verify otp request

swagger:model VerifyOtpRequest

func (*VerifyOtpRequest) ContextValidate ¶ added in v0.5.0

func (m *VerifyOtpRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this verify otp request based on the context it is used

func (*VerifyOtpRequest) MarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VerifyOtpRequest) UnmarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VerifyOtpRequest) Validate ¶ added in v0.5.0

func (m *VerifyOtpRequest) Validate(formats strfmt.Registry) error

Validate validates this verify otp request

type VerifyOtpResult ¶ added in v0.5.0

type VerifyOtpResult struct {

	// Signed JWT containing a unique id, expiry, verification type, contact. Verification status of a user is updated when the token is consumed (in OTP_LOGIN requests)
	// Required: true
	VerificationToken *string `json:"verificationToken"`
}

VerifyOtpResult verify otp result

swagger:model VerifyOtpResult

func (*VerifyOtpResult) ContextValidate ¶ added in v0.5.0

func (m *VerifyOtpResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this verify otp result based on context it is used

func (*VerifyOtpResult) MarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VerifyOtpResult) UnmarshalBinary ¶ added in v0.5.0

func (m *VerifyOtpResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VerifyOtpResult) Validate ¶ added in v0.5.0

func (m *VerifyOtpResult) Validate(formats strfmt.Registry) error

Validate validates this verify otp result

type Vote ¶

type Vote struct {

	// Unique identifier for a given Activity object.
	// Required: true
	ActivityID *string `json:"activityId"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Unique identifier for a given Vote object.
	// Required: true
	ID *string `json:"id"`

	// The raw message being signed within a Vote.
	// Required: true
	Message *string `json:"message"`

	// The public component of a cryptographic key pair used to sign messages and transactions.
	// Required: true
	PublicKey *string `json:"publicKey"`

	// Method used to produce a signature.
	// Required: true
	Scheme *string `json:"scheme"`

	// selection
	// Required: true
	// Enum: [VOTE_SELECTION_APPROVED VOTE_SELECTION_REJECTED]
	Selection *string `json:"selection"`

	// The signature applied to a particular vote.
	// Required: true
	Signature *string `json:"signature"`

	// Web and/or API user within your Organization.
	// Required: true
	User *User `json:"user"`

	// Unique identifier for a given User.
	// Required: true
	UserID *string `json:"userId"`
}

Vote vote

swagger:model Vote

func (*Vote) ContextValidate ¶

func (m *Vote) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vote based on the context it is used

func (*Vote) MarshalBinary ¶

func (m *Vote) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Vote) UnmarshalBinary ¶

func (m *Vote) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Vote) Validate ¶

func (m *Vote) Validate(formats strfmt.Registry) error

Validate validates this vote

type Wallet ¶

type Wallet struct {

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// True when a given Wallet is exported, false otherwise.
	// Required: true
	Exported *bool `json:"exported"`

	// True when a given Wallet is imported, false otherwise.
	// Required: true
	Imported *bool `json:"imported"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// Unique identifier for a given Wallet.
	// Required: true
	WalletID *string `json:"walletId"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

Wallet wallet

swagger:model Wallet

func (*Wallet) ContextValidate ¶

func (m *Wallet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet based on the context it is used

func (*Wallet) MarshalBinary ¶

func (m *Wallet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Wallet) UnmarshalBinary ¶

func (m *Wallet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Wallet) Validate ¶

func (m *Wallet) Validate(formats strfmt.Registry) error

Validate validates this wallet

type WalletAccount ¶

type WalletAccount struct {

	// Address generated using the Wallet seed and Account parameters.
	// Required: true
	Address *string `json:"address"`

	// Address format used to generate the Account.
	// Required: true
	AddressFormat *AddressFormat `json:"addressFormat"`

	// created at
	// Required: true
	CreatedAt *ExternalDataV1Timestamp `json:"createdAt"`

	// Cryptographic curve used to generate the Account.
	// Required: true
	Curve *Curve `json:"curve"`

	// The Organization the Account belongs to.
	// Required: true
	OrganizationID *string `json:"organizationId"`

	// Path used to generate the Account.
	// Required: true
	Path *string `json:"path"`

	// Path format used to generate the Account.
	// Required: true
	PathFormat *PathFormat `json:"pathFormat"`

	// The public component of this wallet account's underlying cryptographic key pair.
	PublicKey *string `json:"publicKey,omitempty"`

	// updated at
	// Required: true
	UpdatedAt *ExternalDataV1Timestamp `json:"updatedAt"`

	// Unique identifier for a given Wallet Account.
	// Required: true
	WalletAccountID *string `json:"walletAccountId"`

	// Wallet details for this account. This is only present when include_wallet_details=true.
	WalletDetails *Wallet `json:"walletDetails,omitempty"`

	// The Wallet the Account was derived from.
	// Required: true
	WalletID *string `json:"walletId"`
}

WalletAccount wallet account

swagger:model WalletAccount

func (*WalletAccount) ContextValidate ¶

func (m *WalletAccount) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet account based on the context it is used

func (*WalletAccount) MarshalBinary ¶

func (m *WalletAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletAccount) UnmarshalBinary ¶

func (m *WalletAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletAccount) Validate ¶

func (m *WalletAccount) Validate(formats strfmt.Registry) error

Validate validates this wallet account

type WalletAccountParams ¶

type WalletAccountParams struct {

	// Address format used to generate a wallet Acccount.
	// Required: true
	AddressFormat *AddressFormat `json:"addressFormat"`

	// Cryptographic curve used to generate a wallet Account.
	// Required: true
	Curve *Curve `json:"curve"`

	// Path used to generate a wallet Account.
	// Required: true
	Path *string `json:"path"`

	// Path format used to generate a wallet Account.
	// Required: true
	PathFormat *PathFormat `json:"pathFormat"`
}

WalletAccountParams wallet account params

swagger:model WalletAccountParams

func (*WalletAccountParams) ContextValidate ¶

func (m *WalletAccountParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet account params based on the context it is used

func (*WalletAccountParams) MarshalBinary ¶

func (m *WalletAccountParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletAccountParams) UnmarshalBinary ¶

func (m *WalletAccountParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletAccountParams) Validate ¶

func (m *WalletAccountParams) Validate(formats strfmt.Registry) error

Validate validates this wallet account params

type WalletKitSettingsParams ¶ added in v0.9.0

type WalletKitSettingsParams struct {

	// Enabled Social Providers
	//
	// List of enabled social login providers (e.g., 'apple', 'google', 'facebook')
	EnabledSocialProviders []string `json:"enabledSocialProviders"`

	// Oauth Client IDs
	//
	// Mapping of social login providers to their Oauth client IDs.
	OauthClientIds map[string]string `json:"oauthClientIds,omitempty"`

	// Oauth Redirect URL
	//
	// Oauth redirect URL to be used for social login flows.
	OauthRedirectURL string `json:"oauthRedirectUrl,omitempty"`
}

WalletKitSettingsParams wallet kit settings params

swagger:model WalletKitSettingsParams

func (*WalletKitSettingsParams) ContextValidate ¶ added in v0.9.0

func (m *WalletKitSettingsParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this wallet kit settings params based on context it is used

func (*WalletKitSettingsParams) MarshalBinary ¶ added in v0.9.0

func (m *WalletKitSettingsParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletKitSettingsParams) UnmarshalBinary ¶ added in v0.9.0

func (m *WalletKitSettingsParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletKitSettingsParams) Validate ¶ added in v0.9.0

func (m *WalletKitSettingsParams) Validate(formats strfmt.Registry) error

Validate validates this wallet kit settings params

type WalletParams ¶

type WalletParams struct {

	// A list of wallet Accounts. This field, if not needed, should be an empty array in your request body.
	// Required: true
	Accounts []*WalletAccountParams `json:"accounts"`

	// Length of mnemonic to generate the Wallet seed. Defaults to 12. Accepted values: 12, 15, 18, 21, 24.
	MnemonicLength *int32 `json:"mnemonicLength,omitempty"`

	// Human-readable name for a Wallet.
	// Required: true
	WalletName *string `json:"walletName"`
}

WalletParams wallet params

swagger:model WalletParams

func (*WalletParams) ContextValidate ¶

func (m *WalletParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this wallet params based on the context it is used

func (*WalletParams) MarshalBinary ¶

func (m *WalletParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletParams) UnmarshalBinary ¶

func (m *WalletParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletParams) Validate ¶

func (m *WalletParams) Validate(formats strfmt.Registry) error

Validate validates this wallet params

type WalletResult ¶

type WalletResult struct {

	// A list of account addresses.
	// Required: true
	Addresses []string `json:"addresses"`

	// wallet Id
	// Required: true
	WalletID *string `json:"walletId"`
}

WalletResult wallet result

swagger:model WalletResult

func (*WalletResult) ContextValidate ¶

func (m *WalletResult) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this wallet result based on context it is used

func (*WalletResult) MarshalBinary ¶

func (m *WalletResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletResult) UnmarshalBinary ¶

func (m *WalletResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletResult) Validate ¶

func (m *WalletResult) Validate(formats strfmt.Registry) error

Validate validates this wallet result

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL