OSI

Core

class q2_cores.OSI.core.UseCode[source]

Bases: object

Enum for determining what AccessNumber means

SocialSecurityNumber = 1
AccountNumber = 2
CardNumber = 3
MemberNumber = 4
class q2_cores.OSI.core.Core(logger, core_user, hq_credentials=None, **kwargs)[source]

Bases: BaseCore

All cores will inherit from this common base class. This contains a self.configured_user property, which is an instance of q2_sdk.models.cores.models.core_user.CoreUser.

CONFIG_FILE_NAME = 'OSI_Core'
REQUIRED_CONFIGURATIONS = {'USE_CODE': 1}
async build_demographic_info()[source]

Returns a DemographicInfoMapper ready to execute

Return type:

DemographicInfoMapper

async build_update_demographic_info(demographic_info)[source]

Returns a UpdateDemographicInfoMapper ready to execute

Return type:

UpdateDemographicInfoMapper

async build_email_info()[source]
Return type:

GetEmailsMapper

async build_update_email_info(email, email_type)[source]
Return type:

UpdateEmailInfoMapper

async build_address_update_info(address, address_type)[source]
Return type:

UpdateDemographicInfoMapper

async build_phone_update_info(phone, phone_type)[source]
Return type:

UpdateDemographicInfoMapper