UpdateUserProfileWithAccountEdit models
DataSet models for UpdateUserProfileWithAccountEdit.
These typed dataclass models represent the tables and columns within the DataSet parameters for the UpdateUserProfileWithAccountEdit HQ operation.
IMPORTANT: Update operations require a GET first to populate the original_record field. HQ uses the unchanged row for optimistic concurrency checking.
Usage:
from q2_sdk.hq.hq_api.backoffice import UpdateUserProfileWithAccountEdit
q2_phone_number = UpdateUserProfileWithAccountEdit.Q2PhoneNumber(
country_id=1,
city_or_area_code="...",
local_number="...",
phone_type=1,
)
q2_email = UpdateUserProfileWithAccountEdit.Q2Email(
email_address="...",
user_id=1,
)
q2_user_logon = UpdateUserProfileWithAccountEdit.Q2UserLogon(
user_id=1,
login_name="...",
user_password="...",
ui_source_id=1,
status=1,
create_date="...",
auto_generated=True,
password_change_required=True,
password_has_never_changed=True,
)
q2_user_account = UpdateUserProfileWithAccountEdit.Q2UserAccount(
user_id=1,
customer_account_id=1,
access=1,
)
q2_access_code_target = UpdateUserProfileWithAccountEdit.Q2AccessCodeTarget(
user_id=1,
notification_type_id=1,
target_address="...",
access_code_target_type_id=1,
)
q2_auth_token = UpdateUserProfileWithAccountEdit.Q2AuthToken(
user_id=1,
create_date="...",
serial="...",
)
q2_user = UpdateUserProfileWithAccountEdit.Q2User(
customer_id=1,
create_date="...",
auto_generated=True,
use_customer_accounts=True,
user_status_id=1,
)
q2_address = UpdateUserProfileWithAccountEdit.Q2Address(
street_address1="...",
city="...",
address_type=1,
country_id=1,
is_international=True,
)
transaction_rights = UpdateUserProfileWithAccountEdit.TransactionRights(
transaction_type_id=1,
transaction_type="...",
description="...",
enabled=True,
authorize=True,
cancel=True,
create=True,
create_restricted=True,
update=True,
view=1,
limit_per_transaction=1.0,
limit_per_day=1.0,
limit_per_month=1.0,
limit_per_acct_per_day=1.0,
count_per_acct_per_day=1,
count_per_day=1,
count_per_month=1,
dual_approval_limit=1.0,
token_required_limit=1.0,
bit_flags=1,
)
user_rights = UpdateUserProfileWithAccountEdit.UserRights(
rights_short_name="...",
rights_long_name="...",
has_rights=True,
)
user_monetary_rights = UpdateUserProfileWithAccountEdit.UserMonetaryRights(
rights_short_name="...",
rights_long_name="...",
amount=1.0,
)
q2_customer_account_view = UpdateUserProfileWithAccountEdit.Q2CustomerAccountView(
customer_account_id=1,
customer_id=1,
host_account_id=1,
account_number_internal="...",
product_name="...",
is_external_account=True,
product_id=1,
product_type_id=1,
user_access=1,
current_access_flag=1,
)
q2_acct_edit_customer_account = UpdateUserProfileWithAccountEdit.Q2AcctEditCustomerAccount(
customer_account_id=1,
customer_id=1,
access=1,
primary_only=True,
)
q2_acct_edit_user_account = UpdateUserProfileWithAccountEdit.Q2AcctEditUserAccount(
user_account_id=1,
user_id=1,
customer_account_id=1,
access=1,
)
q2_acct_edit_host_account = UpdateUserProfileWithAccountEdit.Q2AcctEditHostAccount(
customer_account_id=1,
customer_id=1,
access=1,
host_account_id=1,
account_number_internal="...",
is_external_account=True,
)
q2_acct_edit_host_user_account = UpdateUserProfileWithAccountEdit.Q2AcctEditHostUserAccount(
user_account_id=1,
user_id=1,
customer_account_id=1,
access=1,
customer_access=1,
valid_system_access_flag=1,
host_account_id=1,
account_number_internal="...",
is_external_account=True,
status_description="...",
host_product_code="...",
product_name="...",
hydra_product_code="...",
product_type_name="...",
hydra_product_type_code="...",
)
q2_acct_edit_host_user_role_account = UpdateUserProfileWithAccountEdit.Q2AcctEditHostUserRoleAccount(
user_role_account_id=1,
user_role_id=1,
customer_account_id=1,
access=1,
customer_access=1,
valid_system_access_flag=1,
host_account_id=1,
account_number_internal="...",
is_external_account=True,
status_description="...",
host_product_code="...",
product_name="...",
hydra_product_code="...",
product_type_name="...",
hydra_product_type_code="...",
)
q2_acct_edit_user_role_account = UpdateUserProfileWithAccountEdit.Q2AcctEditUserRoleAccount(
user_role_account_id=1,
user_role_id=1,
customer_account_id=1,
access=1,
)
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2PhoneNumber(phone_id=-1, country_id=0, city_or_area_code='', local_number='', extension=None, phone_type=0, user_id=None, customer_id=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_PhoneNumber table.
- original_record: Q2PhoneNumber | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2Email(email_id=-1, email_address='', user_id=0, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_Email table.
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2UserLogon(user_logon_id=-1, user_id=0, login_name='', user_password='', ui_source_id=0, last_change=None, last_logon=None, status=0, status_reason=None, last_failed=None, create_date='', num_invalid_attempts=None, auto_generated=False, deleted_date=None, sync_pwd_user_logon_id=None, csr_assist_policy_id=None, csr_assist_admin_user_id=None, mla_challenge_code=None, password_change_required=False, password_has_never_changed=False, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_UserLogon table.
- original_record: Q2UserLogon | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2UserAccount(user_account_id=-1, user_id=0, customer_account_id=0, access=0, host_account_id=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_UserAccount table.
- original_record: Q2UserAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AccessCodeTarget(target_id=-1, user_id=0, notification_type_id=0, target_address='', access_code_target_type_id=0, country_id=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AccessCodeTarget table.
- original_record: Q2AccessCodeTarget | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AuthToken(auth_token_id=-1, user_id=0, create_date='', deleted_date=None, serial='', first_use=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AuthToken table.
- original_record: Q2AuthToken | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2User(user_id=-1, customer_id=0, first_name=None, middle_name=None, last_name=None, salutation=None, suffix=None, ssn=None, create_date='', deleted_date=None, default_email_id=None, default_address_id=None, auto_generated=False, host_user=None, host_pwd=None, user_info=None, profile_updated=None, mobile_auth_code=None, use_customer_accounts=False, primary_cif=None, last_user_profile_update=None, user_role_id=None, policy_id=None, user_status_id=0, status_change_date=None, dob=None, is_primary_contact=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_User table.
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2Address(address_id=-1, street_address1='', street_address2=None, city='', state=None, postal_code=None, customer_id=None, address_type=0, user_id=None, country_id=0, is_international=False, province=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_Address table.
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.TransactionRights(transaction_type_id=0, transaction_type='', description='', enabled=False, authorize=False, cancel=False, create=False, create_restricted=False, update=False, view=0, limit_per_transaction=0.0, limit_per_day=0.0, limit_per_month=0.0, limit_per_acct_per_day=0.0, count_per_acct_per_day=0, count_per_day=0, count_per_month=0, dual_approval_limit=0.0, token_required_limit=0.0, bit_flags=0, original_record=None)[source]
Bases:
objectRepresents a row in the TransactionRights table.
- original_record: TransactionRights | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.UserRights(rights_short_name='', rights_long_name='', has_rights=False, original_record=None)[source]
Bases:
objectRepresents a row in the UserRights table.
- original_record: UserRights | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.UserMonetaryRights(rights_short_name='', rights_long_name='', amount=0.0, original_record=None)[source]
Bases:
objectRepresents a row in the UserMonetaryRights table.
- original_record: UserMonetaryRights | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2CustomerAccountView(customer_account_id=0, customer_id=0, is_cif_rel=None, host_account_id=0, account_number_internal='', product_name='', is_user_enabled=None, is_external_account=False, product_id=0, product_type_id=0, user_access=0, current_access_flag=0, valid_customer_access_flag=None, valid_system_access_flag=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_CustomerAccountView table.
- original_record: Q2CustomerAccountView | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditCustomerAccount(customer_account_id=0, customer_id=0, host_internal_cif=None, host_account_id=None, access=0, primary_only=False, is_external_account=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditCustomerAccount table.
- original_record: Q2AcctEditCustomerAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditUserAccount(user_account_id=0, user_id=0, customer_account_id=0, access=0, host_account_id=None, is_external_account=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditUserAccount table.
- original_record: Q2AcctEditUserAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditHostAccount(customer_account_id=0, customer_id=0, access=0, valid_system_access_flag=None, host_account_id=0, account_number_internal='', account_number_external=None, account_desc=None, cif_internal=None, cif_external=None, is_external_account=False, status_description=None, host_product_code=None, product_name=None, product_nick_name=None, hydra_product_code=None, product_type_name=None, hydra_product_type_code=None, host_product_type_code=None, host_branch=None, branch_name=None, aba=None, end_user_masked_account=None, relationship_cif=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditHostAccount table.
- original_record: Q2AcctEditHostAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditHostUserAccount(user_account_id=0, user_id=0, customer_account_id=0, access=0, customer_access=0, valid_system_access_flag=0, user_relation_id=None, customer_relation_id=None, host_account_id=0, account_number_internal='', account_number_external=None, account_desc=None, cif_internal=None, cif_external=None, is_external_account=False, aba=None, status_description='', host_product_code='', product_name='', product_nick_name=None, hydra_product_code='', product_type_name='', hydra_product_type_code='', host_product_type_code=None, host_branch=None, branch_name=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditHostUserAccount table.
- original_record: Q2AcctEditHostUserAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditHostUserRoleAccount(user_role_account_id=0, user_role_id=0, customer_account_id=0, access=0, customer_access=0, valid_system_access_flag=0, user_relation_id=None, customer_relation_id=None, host_account_id=0, account_number_internal='', account_number_external=None, account_desc=None, cif_internal=None, cif_external=None, is_external_account=False, aba=None, status_description='', host_product_code='', product_name='', product_nick_name=None, hydra_product_code='', product_type_name='', hydra_product_type_code='', host_product_type_code=None, host_branch=None, branch_name=None, end_user_masked_account=None, relationship_cif=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditHostUserRoleAccount table.
- original_record: Q2AcctEditHostUserRoleAccount | None = None
- class q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.Q2AcctEditUserRoleAccount(user_role_account_id=0, user_role_id=0, customer_account_id=0, access=0, host_account_id=None, is_external_account=None, original_record=None)[source]
Bases:
objectRepresents a row in the Q2_AcctEditUserRoleAccount table.
- original_record: Q2AcctEditUserRoleAccount | None = None
- q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.build_dup_dataset(q2_phone_number=None, q2_email=None, q2_user_logon=None, q2_user_account=None, q2_access_code_target=None, q2_auth_token=None, q2_user=None, q2_address=None)[source]
Build the dup DataSet parameter for UpdateUserProfileWithAccountEdit.
For update operations, each model instance should have its original_record set to the pre-modification state (from a prior GET call).
For add operations, set auto-increment ID fields to negative values.
- Return type:
- Returns:
DataSetBuilder ready to pass as the ‘dup’ parameter
- q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.build_user_rights_dataset(transaction_rights=None, user_rights=None, user_monetary_rights=None, q2_customer_account_view=None)[source]
Build the user_rights DataSet parameter for UpdateUserProfileWithAccountEdit.
For update operations, each model instance should have its original_record set to the pre-modification state (from a prior GET call).
For add operations, set auto-increment ID fields to negative values.
- Return type:
- Returns:
DataSetBuilder ready to pass as the ‘user_rights’ parameter
- q2_sdk.hq.hq_api.backoffice.UpdateUserProfileWithAccountEdit_models.build_account_edit_dataset(q2_acct_edit_customer_account=None, q2_acct_edit_user_account=None, q2_acct_edit_host_account=None, q2_acct_edit_host_user_account=None, q2_acct_edit_host_user_role_account=None, q2_acct_edit_user_role_account=None)[source]
Build the account_edit DataSet parameter for UpdateUserProfileWithAccountEdit.
For update operations, each model instance should have its original_record set to the pre-modification state (from a prior GET call).
For add operations, set auto-increment ID fields to negative values.
- Return type:
- Returns:
DataSetBuilder ready to pass as the ‘account_edit’ parameter