legal

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceVersion = "4.0.0"

Variables

View Source
var SDKVersion string

Functions

func GetUserAgent

func GetUserAgent() string

func NewLegalClient

func NewLegalClient(configRepository repository.ConfigRepository) *legalclient.JusticeLegalService

Types

type AdminUserAgreementService

type AdminUserAgreementService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminUserAgreementService) GetAuthSession

func (aaa *AdminUserAgreementService) GetAuthSession() auth.Session

func (*AdminUserAgreementService) UpdateFlightId

func (aaa *AdminUserAgreementService) UpdateFlightId(flightId string)

type AdminUserEligibilitiesService

type AdminUserEligibilitiesService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AdminUserEligibilitiesService) GetAuthSession

func (aaa *AdminUserEligibilitiesService) GetAuthSession() auth.Session

func (*AdminUserEligibilitiesService) UpdateFlightId

func (aaa *AdminUserEligibilitiesService) UpdateFlightId(flightId string)

type AgreementService

type AgreementService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AgreementService) AcceptVersionedPolicyShort

func (aaa *AgreementService) AcceptVersionedPolicyShort(input *agreement.AcceptVersionedPolicyParams) error

func (*AgreementService) BulkAcceptVersionedPolicyShort

func (*AgreementService) ChangePreferenceConsent1Short

func (aaa *AgreementService) ChangePreferenceConsent1Short(input *agreement.ChangePreferenceConsent1Params) error

func (*AgreementService) ChangePreferenceConsentShort

func (aaa *AgreementService) ChangePreferenceConsentShort(input *agreement.ChangePreferenceConsentParams) error

func (*AgreementService) GetAuthSession

func (aaa *AgreementService) GetAuthSession() auth.Session

func (*AgreementService) UpdateFlightId

func (aaa *AgreementService) UpdateFlightId(flightId string)

type AgreementWithNamespaceService

type AgreementWithNamespaceService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AgreementWithNamespaceService) GetAuthSession

func (aaa *AgreementWithNamespaceService) GetAuthSession() auth.Session

func (*AgreementWithNamespaceService) UpdateFlightId

func (aaa *AgreementWithNamespaceService) UpdateFlightId(flightId string)

type AnonymizationService

type AnonymizationService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*AnonymizationService) AnonymizeUserAgreementShort

func (aaa *AnonymizationService) AnonymizeUserAgreementShort(input *anonymization.AnonymizeUserAgreementParams) error

func (*AnonymizationService) GetAuthSession

func (aaa *AnonymizationService) GetAuthSession() auth.Session

func (*AnonymizationService) UpdateFlightId

func (aaa *AnonymizationService) UpdateFlightId(flightId string)

type BaseLegalPoliciesService

type BaseLegalPoliciesService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*BaseLegalPoliciesService) CreatePolicyShort

func (*BaseLegalPoliciesService) GetAuthSession

func (aaa *BaseLegalPoliciesService) GetAuthSession() auth.Session

func (*BaseLegalPoliciesService) UpdateFlightId

func (aaa *BaseLegalPoliciesService) UpdateFlightId(flightId string)

type BaseLegalPoliciesWithNamespaceService

type BaseLegalPoliciesWithNamespaceService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*BaseLegalPoliciesWithNamespaceService) DeleteBasePolicyShort

func (*BaseLegalPoliciesWithNamespaceService) GetAuthSession

func (aaa *BaseLegalPoliciesWithNamespaceService) GetAuthSession() auth.Session

func (*BaseLegalPoliciesWithNamespaceService) UpdateFlightId

func (aaa *BaseLegalPoliciesWithNamespaceService) UpdateFlightId(flightId string)

type EligibilitiesService

type EligibilitiesService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*EligibilitiesService) GetAuthSession

func (aaa *EligibilitiesService) GetAuthSession() auth.Session

func (*EligibilitiesService) UpdateFlightId

func (aaa *EligibilitiesService) UpdateFlightId(flightId string)

type LocalizedPolicyVersionsService

type LocalizedPolicyVersionsService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*LocalizedPolicyVersionsService) GetAuthSession

func (aaa *LocalizedPolicyVersionsService) GetAuthSession() auth.Session

func (*LocalizedPolicyVersionsService) SetDefaultPolicyShort

func (*LocalizedPolicyVersionsService) UpdateFlightId

func (aaa *LocalizedPolicyVersionsService) UpdateFlightId(flightId string)

type LocalizedPolicyVersionsWithNamespaceService

type LocalizedPolicyVersionsWithNamespaceService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*LocalizedPolicyVersionsWithNamespaceService) DeleteLocalizedPolicyShort

func (*LocalizedPolicyVersionsWithNamespaceService) GetAuthSession

func (*LocalizedPolicyVersionsWithNamespaceService) SetDefaultPolicy1Short

func (*LocalizedPolicyVersionsWithNamespaceService) UpdateFlightId

func (aaa *LocalizedPolicyVersionsWithNamespaceService) UpdateFlightId(flightId string)

type PoliciesService

type PoliciesService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PoliciesService) GetAuthSession

func (aaa *PoliciesService) GetAuthSession() auth.Session

func (*PoliciesService) RetrieveCountryListWithPoliciesShort

func (aaa *PoliciesService) RetrieveCountryListWithPoliciesShort(input *policies.RetrieveCountryListWithPoliciesParams) ([]string, error)

func (*PoliciesService) RetrieveLatestPoliciesShort

func (*PoliciesService) RetrievePoliciesShort

func (*PoliciesService) SetDefaultPolicy2Short

func (aaa *PoliciesService) SetDefaultPolicy2Short(input *policies.SetDefaultPolicy2Params) error

func (*PoliciesService) UpdateFlightId

func (aaa *PoliciesService) UpdateFlightId(flightId string)

func (*PoliciesService) UpdatePolicyShort

func (aaa *PoliciesService) UpdatePolicyShort(input *policies.UpdatePolicyParams) error

type PoliciesWithNamespaceService

type PoliciesWithNamespaceService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PoliciesWithNamespaceService) DeletePolicyShort

func (*PoliciesWithNamespaceService) GetAuthSession

func (aaa *PoliciesWithNamespaceService) GetAuthSession() auth.Session

func (*PoliciesWithNamespaceService) SetDefaultPolicy3Short

func (*PoliciesWithNamespaceService) UpdateFlightId

func (aaa *PoliciesWithNamespaceService) UpdateFlightId(flightId string)

func (*PoliciesWithNamespaceService) UpdatePolicy1Short

type PolicyVersionsService

type PolicyVersionsService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PolicyVersionsService) GetAuthSession

func (aaa *PolicyVersionsService) GetAuthSession() auth.Session

func (*PolicyVersionsService) PublishPolicyVersionShort

func (aaa *PolicyVersionsService) PublishPolicyVersionShort(input *policy_versions.PublishPolicyVersionParams) error

func (*PolicyVersionsService) UpdateFlightId

func (aaa *PolicyVersionsService) UpdateFlightId(flightId string)

type PolicyVersionsWithNamespaceService

type PolicyVersionsWithNamespaceService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*PolicyVersionsWithNamespaceService) DeletePolicyVersionShort

func (*PolicyVersionsWithNamespaceService) GetAuthSession

func (aaa *PolicyVersionsWithNamespaceService) GetAuthSession() auth.Session

func (*PolicyVersionsWithNamespaceService) PublishPolicyVersion1Short

func (*PolicyVersionsWithNamespaceService) UnpublishPolicyVersionShort

func (*PolicyVersionsWithNamespaceService) UpdateFlightId

func (aaa *PolicyVersionsWithNamespaceService) UpdateFlightId(flightId string)

type UserInfoService

type UserInfoService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*UserInfoService) GetAuthSession

func (aaa *UserInfoService) GetAuthSession() auth.Session

func (*UserInfoService) InvalidateUserInfoCacheShort

func (aaa *UserInfoService) InvalidateUserInfoCacheShort(input *user_info.InvalidateUserInfoCacheParams) error

func (*UserInfoService) SyncUserInfoShort

func (aaa *UserInfoService) SyncUserInfoShort(input *user_info.SyncUserInfoParams) error

func (*UserInfoService) UpdateFlightId

func (aaa *UserInfoService) UpdateFlightId(flightId string)

type UtilityService

type UtilityService struct {
	Client           *legalclient.JusticeLegalService
	ConfigRepository repository.ConfigRepository
	TokenRepository  repository.TokenRepository

	FlightIdRepository *utils.FlightIdContainer
}

func (*UtilityService) CheckReadinessShort

func (*UtilityService) GetAuthSession

func (aaa *UtilityService) GetAuthSession() auth.Session

func (*UtilityService) UpdateFlightId

func (aaa *UtilityService) UpdateFlightId(flightId string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL