Documentation ¶
Index ¶
- type AgreementService
- func (a *AgreementService) AcceptVersionedPolicy(input *agreement.AcceptVersionedPolicyParams) error
- func (a *AgreementService) BulkAcceptVersionedPolicy(input *agreement.BulkAcceptVersionedPolicyParams) (*legalclientmodels.AcceptAgreementResponse, error)
- func (a *AgreementService) ChangePreferenceConsent(input *agreement.ChangePreferenceConsentParams) error
- func (a *AgreementService) IndirectBulkAcceptVersionedPolicy(input *agreement.IndirectBulkAcceptVersionedPolicyParams) (*legalclientmodels.AcceptAgreementResponse, error)
- func (a *AgreementService) IndirectBulkAcceptVersionedPolicyV2(input *agreement.IndirectBulkAcceptVersionedPolicyV2Params) (*legalclientmodels.AcceptAgreementResponse, error)
- func (a *AgreementService) RetrieveAcceptedAgreements(input *agreement.RetrieveAcceptedAgreementsParams) ([]*legalclientmodels.RetrieveAcceptedAgreementResponse, error)
- func (a *AgreementService) RetrieveAgreementsPublic() ([]*legalclientmodels.RetrieveAcceptedAgreementResponse, error)
- func (a *AgreementService) RetrieveAllUsersByPolicyVersion(input *agreement.RetrieveAllUsersByPolicyVersionParams) ([]*legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse, error)
- type AnonymizationService
- type BaseLegalPoliciesService
- func (b *BaseLegalPoliciesService) CreatePolicy(input *base_legal_policies.CreatePolicyParams) (*legalclientmodels.CreateBasePolicyResponse, error)
- func (b *BaseLegalPoliciesService) PartialUpdatePolicy(input *base_legal_policies.PartialUpdatePolicyParams) (*legalclientmodels.UpdateBasePolicyResponse, error)
- func (b *BaseLegalPoliciesService) RetrieveAllLegalPolicies() ([]*legalclientmodels.RetrieveBasePolicyResponse, error)
- func (b *BaseLegalPoliciesService) RetrieveAllPolicyTypes(input *base_legal_policies.RetrieveAllPolicyTypesParams) ([]*legalclientmodels.RetrievePolicyTypeResponse, error)
- func (b *BaseLegalPoliciesService) RetrievePolicyCountry(input *base_legal_policies.RetrievePolicyCountryParams) (*legalclientmodels.RetrievePolicyResponse, error)
- func (b *BaseLegalPoliciesService) RetrieveSinglePolicy(input *base_legal_policies.RetrieveSinglePolicyParams) (*legalclientmodels.RetrieveBasePolicyResponse, error)
- type EligibilitiesService
- func (e *EligibilitiesService) RetrieveEligibilitiesPublic(input *eligibilities.RetrieveEligibilitiesPublicParams) ([]*legalclientmodels.RetrieveUserEligibilitiesResponse, error)
- func (e *EligibilitiesService) RetrieveEligibilitiesPublicIndirect(input *eligibilities.RetrieveEligibilitiesPublicIndirectParams) (*legalclientmodels.RetrieveUserEligibilitiesIndirectResponse, error)
- type LocalizePolicyVersionsService
- func (l *LocalizePolicyVersionsService) CreateLocalizedPolicyVersion(input *localized_policy_versions.CreateLocalizedPolicyVersionParams) (*legalclientmodels.CreateLocalizedPolicyVersionResponse, error)
- func (l *LocalizePolicyVersionsService) RequestPresignedURL(input *localized_policy_versions.RequestPresignedURLParams) (*legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse, error)
- func (l *LocalizePolicyVersionsService) RetrieveLocalizedPolicyVersions(input *localized_policy_versions.RetrieveLocalizedPolicyVersionsParams) ([]*legalclientmodels.RetrieveLocalizedPolicyVersionResponse, error)
- func (l *LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion(input *localized_policy_versions.RetrieveSingleLocalizedPolicyVersionParams) (*legalclientmodels.UpdateLocalizedPolicyVersionResponse, error)
- func (l *LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion1(input *localized_policy_versions.RetrieveSingleLocalizedPolicyVersion1Params) (*legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse, error)
- func (l *LocalizePolicyVersionsService) SetDefaultPolicy(input *localized_policy_versions.SetDefaultPolicyParams) error
- func (l *LocalizePolicyVersionsService) UpdateLocalizedPolicyVersion(input *localized_policy_versions.UpdateLocalizedPolicyVersionParams) (*legalclientmodels.UpdateLocalizedPolicyVersionResponse, error)
- type PoliciesService
- func (p *PoliciesService) RetrieveLatestPolicies(input *policies.RetrieveLatestPoliciesParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
- func (p *PoliciesService) RetrieveLatestPoliciesByNamespaceAndCountryPublic(input *policies.RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
- func (p *PoliciesService) RetrieveLatestPoliciesPublic(input *policies.RetrieveLatestPoliciesPublicParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
- func (p *PoliciesService) RetrievePolicies(input *policies.RetrievePoliciesParams) ([]*legalclientmodels.RetrievePolicyResponse, error)
- func (p *PoliciesService) SetDefaultPolicy1(input *policies.SetDefaultPolicy1Params) error
- func (p *PoliciesService) UpdatePolicy(input *policies.UpdatePolicyParams) error
- type PolicyVersionsService
- func (p *PolicyVersionsService) CreatePolicyVersion(input *policy_versions.CreatePolicyVersionParams) (*legalclientmodels.CreatePolicyVersionResponse, error)
- func (p *PolicyVersionsService) PublishPolicyVersion(input *policy_versions.PublishPolicyVersionParams) error
- func (p *PolicyVersionsService) RetrievePolicyVersions(input *policy_versions.RetrievePolicyVersionsParams) ([]*legalclientmodels.RetrievePolicyVersionResponse, error)
- func (p *PolicyVersionsService) RetrieveSinglePolicyVersion(input *policy_versions.RetrieveSinglePolicyVersionParams) ([]*legalclientmodels.RetrievePolicyVersionResponse, error)
- func (p *PolicyVersionsService) UpdatePolicyVersion(input *policy_versions.UpdatePolicyVersionParams) (*legalclientmodels.UpdatePolicyVersionResponse, error)
- type UserInfoService
- func (u *UserInfoService) GetUserInfoStatus(input *user_info.GetUserInfoStatusParams) ([]*legalclientmodels.RetrieveUserInfoCacheStatusResponse, error)
- func (u *UserInfoService) InvalidateUserInfoCache(input *user_info.InvalidateUserInfoCacheParams) error
- func (u *UserInfoService) SyncUserInfo(input *user_info.SyncUserInfoParams) error
- type UtilityService
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 ¶
func (a *AgreementService) BulkAcceptVersionedPolicy(input *agreement.BulkAcceptVersionedPolicyParams) (*legalclientmodels.AcceptAgreementResponse, error)
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 ¶
func (a *AgreementService) IndirectBulkAcceptVersionedPolicy(input *agreement.IndirectBulkAcceptVersionedPolicyParams) (*legalclientmodels.AcceptAgreementResponse, error)
IndirectBulkAcceptVersionedPolicy is used to bulk accept policy versions indirect
func (*AgreementService) IndirectBulkAcceptVersionedPolicyV2 ¶
func (a *AgreementService) IndirectBulkAcceptVersionedPolicyV2(input *agreement.IndirectBulkAcceptVersionedPolicyV2Params) (*legalclientmodels.AcceptAgreementResponse, error)
IndirectBulkAcceptVersionedPolicyV2 is used to bulk accept policy versions indirect
func (*AgreementService) RetrieveAcceptedAgreements ¶
func (a *AgreementService) RetrieveAcceptedAgreements(input *agreement.RetrieveAcceptedAgreementsParams) ([]*legalclientmodels.RetrieveAcceptedAgreementResponse, error)
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 ¶
func (a *AgreementService) RetrieveAllUsersByPolicyVersion(input *agreement.RetrieveAllUsersByPolicyVersionParams) ([]*legalclientmodels.PagedRetrieveUserAcceptedAgreementResponse, error)
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 ¶
func (b *BaseLegalPoliciesService) CreatePolicy(input *base_legal_policies.CreatePolicyParams) (*legalclientmodels.CreateBasePolicyResponse, error)
CreatePolicy is used to retrieve all users accepting legal agreements
func (*BaseLegalPoliciesService) PartialUpdatePolicy ¶
func (b *BaseLegalPoliciesService) PartialUpdatePolicy(input *base_legal_policies.PartialUpdatePolicyParams) (*legalclientmodels.UpdateBasePolicyResponse, error)
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 ¶
func (b *BaseLegalPoliciesService) RetrieveAllPolicyTypes(input *base_legal_policies.RetrieveAllPolicyTypesParams) ([]*legalclientmodels.RetrievePolicyTypeResponse, error)
RetrieveAllPolicyTypes is used to retrieve all policy type
func (*BaseLegalPoliciesService) RetrievePolicyCountry ¶
func (b *BaseLegalPoliciesService) RetrievePolicyCountry(input *base_legal_policies.RetrievePolicyCountryParams) (*legalclientmodels.RetrievePolicyResponse, error)
RetrievePolicyCountry is used to retrieve a base legal policy based on a particular country
func (*BaseLegalPoliciesService) RetrieveSinglePolicy ¶
func (b *BaseLegalPoliciesService) RetrieveSinglePolicy(input *base_legal_policies.RetrieveSinglePolicyParams) (*legalclientmodels.RetrieveBasePolicyResponse, error)
RetrieveSinglePolicy is used to retrieve a base legal policy
type EligibilitiesService ¶
type EligibilitiesService struct { Client *legalclient.JusticeLegalService TokenRepository repository.TokenRepository }
func (*EligibilitiesService) RetrieveEligibilitiesPublic ¶
func (e *EligibilitiesService) RetrieveEligibilitiesPublic(input *eligibilities.RetrieveEligibilitiesPublicParams) ([]*legalclientmodels.RetrieveUserEligibilitiesResponse, error)
RetrieveEligibilitiesPublic is used to check user legal eligibility
func (*EligibilitiesService) RetrieveEligibilitiesPublicIndirect ¶
func (e *EligibilitiesService) RetrieveEligibilitiesPublicIndirect(input *eligibilities.RetrieveEligibilitiesPublicIndirectParams) (*legalclientmodels.RetrieveUserEligibilitiesIndirectResponse, error)
RetrieveEligibilitiesPublicIndirect is used to check user legal eligibility
type LocalizePolicyVersionsService ¶
type LocalizePolicyVersionsService struct { Client *legalclient.JusticeLegalService TokenRepository repository.TokenRepository }
func (*LocalizePolicyVersionsService) CreateLocalizedPolicyVersion ¶
func (l *LocalizePolicyVersionsService) CreateLocalizedPolicyVersion(input *localized_policy_versions.CreateLocalizedPolicyVersionParams) (*legalclientmodels.CreateLocalizedPolicyVersionResponse, error)
CreateLocalizedPolicyVersion is used to update base legal policy
func (*LocalizePolicyVersionsService) RequestPresignedURL ¶
func (l *LocalizePolicyVersionsService) RequestPresignedURL(input *localized_policy_versions.RequestPresignedURLParams) (*legalclientmodels.UploadLocalizedPolicyVersionAttachmentResponse, error)
RequestPresignedURL is used to request presigned URL for upload document
func (*LocalizePolicyVersionsService) RetrieveLocalizedPolicyVersions ¶
func (l *LocalizePolicyVersionsService) RetrieveLocalizedPolicyVersions(input *localized_policy_versions.RetrieveLocalizedPolicyVersionsParams) ([]*legalclientmodels.RetrieveLocalizedPolicyVersionResponse, error)
RetrieveLocalizedPolicyVersions is used to retrieve versions from country specific policy
func (*LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion ¶
func (l *LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion(input *localized_policy_versions.RetrieveSingleLocalizedPolicyVersionParams) (*legalclientmodels.UpdateLocalizedPolicyVersionResponse, error)
RetrieveSingleLocalizedPolicyVersion is used to retrieve a localized version from country specific policy
func (*LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion1 ¶
func (l *LocalizePolicyVersionsService) RetrieveSingleLocalizedPolicyVersion1(input *localized_policy_versions.RetrieveSingleLocalizedPolicyVersion1Params) (*legalclientmodels.RetrieveLocalizedPolicyVersionPublicResponse, error)
RetrieveSingleLocalizedPolicyVersion1 is used to retrieve a localized version
func (*LocalizePolicyVersionsService) SetDefaultPolicy ¶
func (l *LocalizePolicyVersionsService) SetDefaultPolicy(input *localized_policy_versions.SetDefaultPolicyParams) error
SetDefaultPolicy is used to set default localized policy
func (*LocalizePolicyVersionsService) UpdateLocalizedPolicyVersion ¶
func (l *LocalizePolicyVersionsService) UpdateLocalizedPolicyVersion(input *localized_policy_versions.UpdateLocalizedPolicyVersionParams) (*legalclientmodels.UpdateLocalizedPolicyVersionResponse, error)
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 ¶
func (p *PoliciesService) RetrieveLatestPolicies(input *policies.RetrieveLatestPoliciesParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
RetrieveLatestPolicies is used to retrieve the latest policies by country
func (*PoliciesService) RetrieveLatestPoliciesByNamespaceAndCountryPublic ¶
func (p *PoliciesService) RetrieveLatestPoliciesByNamespaceAndCountryPublic(input *policies.RetrieveLatestPoliciesByNamespaceAndCountryPublicParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
RetrieveLatestPoliciesByNamespaceAndCountryPublic is used to retrieve the latest policies by namespace and country
func (*PoliciesService) RetrieveLatestPoliciesPublic ¶
func (p *PoliciesService) RetrieveLatestPoliciesPublic(input *policies.RetrieveLatestPoliciesPublicParams) ([]*legalclientmodels.RetrievePolicyPublicResponse, error)
RetrieveLatestPoliciesPublic is used to update a localized version from country specific policy
func (*PoliciesService) RetrievePolicies ¶
func (p *PoliciesService) RetrievePolicies(input *policies.RetrievePoliciesParams) ([]*legalclientmodels.RetrievePolicyResponse, error)
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 ¶
func (p *PolicyVersionsService) CreatePolicyVersion(input *policy_versions.CreatePolicyVersionParams) (*legalclientmodels.CreatePolicyVersionResponse, error)
CreatePolicyVersion is used to create a version from country specific policy
func (*PolicyVersionsService) PublishPolicyVersion ¶
func (p *PolicyVersionsService) PublishPolicyVersion(input *policy_versions.PublishPolicyVersionParams) error
PublishPolicyVersion is used to manually publish a version from country specific policy
func (*PolicyVersionsService) RetrievePolicyVersions ¶
func (p *PolicyVersionsService) RetrievePolicyVersions(input *policy_versions.RetrievePolicyVersionsParams) ([]*legalclientmodels.RetrievePolicyVersionResponse, error)
RetrievePolicyVersions is used to bulk retrieve version of base policy
func (*PolicyVersionsService) RetrieveSinglePolicyVersion ¶
func (p *PolicyVersionsService) RetrieveSinglePolicyVersion(input *policy_versions.RetrieveSinglePolicyVersionParams) ([]*legalclientmodels.RetrievePolicyVersionResponse, error)
RetrieveSinglePolicyVersion is used to retrieve a version from country specific policy
func (*PolicyVersionsService) UpdatePolicyVersion ¶
func (p *PolicyVersionsService) UpdatePolicyVersion(input *policy_versions.UpdatePolicyVersionParams) (*legalclientmodels.UpdatePolicyVersionResponse, error)
UpdatePolicyVersion is used to update a version of policy
type UserInfoService ¶
type UserInfoService struct { Client *legalclient.JusticeLegalService TokenRepository repository.TokenRepository }
func (*UserInfoService) GetUserInfoStatus ¶
func (u *UserInfoService) GetUserInfoStatus(input *user_info.GetUserInfoStatusParams) ([]*legalclientmodels.RetrieveUserInfoCacheStatusResponse, error)
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 ¶
func (u *UtilityService) CheckReadiness() (*legalclientmodels.LegalReadinessStatusResponse, error)
CheckReadiness is used to check legal data readiness