def import_transfer_requests(self): filename = target["get_pending_requests"]["filename"] endpoint = target["get_pending_requests"]["endpoint"] request_id = requests_helper.send_get_request( self.client, endpoint, "/TRANSFER REQUESTS", filename)["data"][0]["id"] status = "Executed" filename1 = target["transfer_requests_import"]["filename1"] filename2 = target["transfer_requests_import"]["filename2"] endpoint = target["transfer_requests_import"]["endpoint"] csv_helper.create_new_import_requests_file(filename1, request_id, status) requests_helper.import_csv_file(self.client, endpoint, "/TRANSFER REQUESTS IMPORT 100", filename2)
def export_registration_requests(self): endpoint = target["export_registration_requests"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/REGISTRATION REQUESTS EXPORT")
def export_admin_profiles(self): endpoint = target["export_admin_profiles"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/ADMIN PROFILES EXPORT")
def export_user_profiles(self): endpoint = target["export_user_profiles"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/USER PROFILES EXPORT")
def export_system_overview(self): endpoint = target["export_system_overview"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/SYS OVERVIEW EXPORT")
def export_system_access(self): endpoint = target["export_system_access"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/SYS ACCESS EXPORT")
def export_system_manual_transaction(self): endpoint = target["export_system_manual_transaction"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/SYS MANUAL TRANSACTION EXPORT")
def export_information_log(self): endpoint = target["export_information_log"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/INFORMATION LOG EXPORT")
def export_transactions_log(self): endpoint = target["export_transactions_log"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/TRANSACTIONS LOG EXPORT")
def export_scheduled_transactions(self): endpoint = target["export_scheduled_transactions"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/SHED TRANSACTIONS EXPORT")
def export_cards(self): endpoint = target["export_cards"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/CARDS EXPORT")
def export_accounts(self): endpoint = target["export_accounts"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/ACCOUNTS EXPORT")
def export_transfer_requests(self): endpoint = target["export_transfer_requests"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/TRANSFER REQ EXPORT")
def navigate_to_newsletters(self): filename = target["newsletters"]["filename"] endpoint = target["newsletters"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/NEWSLETTERS", filename)
def navigate_to_incoming_messages(self): filename = target["incoming_messages"]["filename"] endpoint = target["incoming_messages"]["endpoint"] requests_helper.send_get_request(self.client, endpoint, "/INCOMING MESSAGES", filename)