legal

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgreementService

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

func (*AgreementService) AcceptVersionedPolicy

func (a *AgreementService) AcceptVersionedPolicy(input *agreement.AcceptVersionedPolicyParams) error

AcceptVersionedPolicy is used to accept a policy version

func (*AgreementService) BulkAcceptVersionedPolicy

BulkAcceptVersionedPolicy is used to bulk accept policy versions

func (*AgreementService) ChangePreferenceConsent

func (a *AgreementService) ChangePreferenceConsent(input *agreement.ChangePreferenceConsentParams) error

ChangePreferenceConsent is used to accept revoke marketing preference consent

func (*AgreementService) IndirectBulkAcceptVersionedPolicy

IndirectBulkAcceptVersionedPolicy is used to bulk accept policy versions indirect

func (*AgreementService) IndirectBulkAcceptVersionedPolicyV2

IndirectBulkAcceptVersionedPolicyV2 is used to bulk accept policy versions indirect

func (*AgreementService) RetrieveAcceptedAgreements

RetrieveAcceptedAgreements is used to retrieve accepted legal agreements

func (*AgreementService) RetrieveAgreementsPublic

func (a *AgreementService) RetrieveAgreementsPublic() ([]*legalclientmodels.RetrieveAcceptedAgreementResponse, error)

RetrieveAgreementsPublic is used to retrieve the accepted legal agreements

func (*AgreementService) RetrieveAllUsersByPolicyVersion

RetrieveAllUsersByPolicyVersion is used to retrieve all users accepting legal agreements

type AnonymizationService

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

func (*AnonymizationService) AnonymizeUserAgreement

func (a *AnonymizationService) AnonymizeUserAgreement(input *anonymization.AnonymizeUserAgreementParams) error

AnonymizeUserAgreement is used to anonymize user s agreement record

type BaseLegalPoliciesService

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

func (*BaseLegalPoliciesService) CreatePolicy

CreatePolicy is used to retrieve all users accepting legal agreements

func (*BaseLegalPoliciesService) PartialUpdatePolicy

PartialUpdatePolicy is used to update base legal policy

func (*BaseLegalPoliciesService) RetrieveAllLegalPolicies

func (b *BaseLegalPoliciesService) RetrieveAllLegalPolicies() ([]*legalclientmodels.RetrieveBasePolicyResponse, error)

RetrieveAllLegalPolicies is used to retrieve all base legal policy

func (*BaseLegalPoliciesService) RetrieveAllPolicyTypes

RetrieveAllPolicyTypes is used to retrieve all policy type

func (*BaseLegalPoliciesService) RetrievePolicyCountry

RetrievePolicyCountry is used to retrieve a base legal policy based on a particular country

func (*BaseLegalPoliciesService) RetrieveSinglePolicy

RetrieveSinglePolicy is used to retrieve a base legal policy

type EligibilitiesService

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

func (*EligibilitiesService) RetrieveEligibilitiesPublic

RetrieveEligibilitiesPublic is used to check user legal eligibility

func (*EligibilitiesService) RetrieveEligibilitiesPublicIndirect

RetrieveEligibilitiesPublicIndirect is used to check user legal eligibility

type LocalizePolicyVersionsService

type LocalizePolicyVersionsService struct {
	Client          *legalclient.JusticeLegalService
	TokenRepository repository.TokenRepository
}

func (*LocalizePolicyVersionsService) CreateLocalizedPolicyVersion

CreateLocalizedPolicyVersion is used to update base legal policy

func (*LocalizePolicyVersionsService) RequestPresignedURL

RequestPresignedURL is used to request presigned URL for upload document

func (*LocalizePolicyVersionsService) RetrieveLocalizedPolicyVersions

RetrieveLocalizedPolicyVersions is used to retrieve versions from country specific policy

func (*LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion

RetrieveSingleLocalizedPolicyVersion is used to retrieve a localized version from country specific policy

func (*LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion1

RetrieveSingleLocalizedPolicyVersion1 is used to retrieve a localized version

func (*LocalizePolicyVersionsService) SetDefaultPolicy

SetDefaultPolicy is used to set default localized policy

func (*LocalizePolicyVersionsService) UpdateLocalizedPolicyVersion

UpdateLocalizedPolicyVersion is used to update a localized version from country specific policy

type PoliciesService

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

func (*PoliciesService) RetrieveLatestPolicies

RetrieveLatestPolicies is used to retrieve the latest policies by country

func (*PoliciesService) RetrieveLatestPoliciesByNamespaceAndCountryPublic

RetrieveLatestPoliciesByNamespaceAndCountryPublic is used to retrieve the latest policies by namespace and country

func (*PoliciesService) RetrieveLatestPoliciesPublic

RetrieveLatestPoliciesPublic is used to update a localized version from country specific policy

func (*PoliciesService) RetrievePolicies

RetrievePolicies is used to retrieve policies by country

func (*PoliciesService) SetDefaultPolicy1

func (p *PoliciesService) SetDefaultPolicy1(input *policies.SetDefaultPolicy1Params) error

SetDefaultPolicy1 is used to set default policy

func (*PoliciesService) UpdatePolicy

func (p *PoliciesService) UpdatePolicy(input *policies.UpdatePolicyParams) error

UpdatePolicy is used to update country specific policy

type PolicyVersionsService

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

func (*PolicyVersionsService) CreatePolicyVersion

CreatePolicyVersion is used to create a version from country specific policy

func (*PolicyVersionsService) PublishPolicyVersion

PublishPolicyVersion is used to manually publish a version from country specific policy

func (*PolicyVersionsService) RetrievePolicyVersions

RetrievePolicyVersions is used to bulk retrieve version of base policy

func (*PolicyVersionsService) RetrieveSinglePolicyVersion

RetrieveSinglePolicyVersion is used to retrieve a version from country specific policy

func (*PolicyVersionsService) UpdatePolicyVersion

UpdatePolicyVersion is used to update a version of policy

type UserInfoService

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

func (*UserInfoService) GetUserInfoStatus

GetUserInfoStatus is used to get user info cache status

func (*UserInfoService) InvalidateUserInfoCache

func (u *UserInfoService) InvalidateUserInfoCache(input *user_info.InvalidateUserInfoCacheParams) error

InvalidateUserInfoCache is used to invalidate user info cache

func (*UserInfoService) SyncUserInfo

func (u *UserInfoService) SyncUserInfo(input *user_info.SyncUserInfoParams) error

SyncUserInfo is used to invalidate user info cache

type UtilityService

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

func (*UtilityService) CheckReadiness

CheckReadiness is used to check legal data readiness

Jump to

Keyboard shortcuts

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