Skip to content

Check IS MLE Flag #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions CyberSource/api/batches_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_batch_report,get_batch_report_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_batch_report,get_batch_report_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -272,8 +272,8 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_batch_status,get_batch_status_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_batch_status,get_batch_status_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -401,8 +401,8 @@ def get_batches_list_with_http_info(self, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_batches_list,get_batches_list_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_batches_list,get_batches_list_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -520,8 +520,8 @@ def post_batch_with_http_info(self, body, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'body', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "post_batch,post_batch_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_batch,post_batch_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
12 changes: 6 additions & 6 deletions CyberSource/api/billing_agreements_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def billing_agreements_de_registration_with_http_info(self, modify_billing_agree
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'modify_billing_agreement', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = True
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "billing_agreements_de_registration,billing_agreements_de_registration_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "billing_agreements_de_registration,billing_agreements_de_registration_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -284,8 +284,8 @@ def billing_agreements_intimation_with_http_info(self, intimate_billing_agreemen
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'intimate_billing_agreement', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = True
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "billing_agreements_intimation,billing_agreements_intimation_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "billing_agreements_intimation,billing_agreements_intimation_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -403,8 +403,8 @@ def billing_agreements_registration_with_http_info(self, create_billing_agreemen
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_billing_agreement', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = True
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "billing_agreements_registration,billing_agreements_registration_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "billing_agreements_registration,billing_agreements_registration_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/bin_lookup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ def get_account_info_with_http_info(self, create_bin_lookup_request, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_bin_lookup_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_account_info,get_account_info_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_account_info,get_account_info_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/capture_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ def capture_payment_with_http_info(self, capture_payment_request, id, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'capture_payment_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = True
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "capture_payment,capture_payment_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "capture_payment,capture_payment_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/chargeback_details_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def get_chargeback_details_with_http_info(self, start_time, end_time, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_chargeback_details,get_chargeback_details_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_chargeback_details,get_chargeback_details_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/chargeback_summaries_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def get_chargeback_summaries_with_http_info(self, start_time, end_time, **kwargs
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_chargeback_summaries,get_chargeback_summaries_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_chargeback_summaries,get_chargeback_summaries_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/conversion_details_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def get_conversion_detail_with_http_info(self, start_time, end_time, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_conversion_detail,get_conversion_detail_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_conversion_detail,get_conversion_detail_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
12 changes: 6 additions & 6 deletions CyberSource/api/create_new_webhooks_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ def find_products_to_subscribe_with_http_info(self, organization_id, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "find_products_to_subscribe,find_products_to_subscribe_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "find_products_to_subscribe,find_products_to_subscribe_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -263,8 +263,8 @@ def notification_subscriptions_v2_webhooks_post_with_http_info(self, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_webhook', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "notification_subscriptions_v2_webhooks_post,notification_subscriptions_v2_webhooks_post_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "notification_subscriptions_v2_webhooks_post,notification_subscriptions_v2_webhooks_post_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -399,8 +399,8 @@ def save_sym_egress_key_with_http_info(self, v_c_sender_organization_id, v_c_per
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'save_sym_egress_key', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "save_sym_egress_key,save_sym_egress_key_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "save_sym_egress_key,save_sym_egress_key_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
4 changes: 2 additions & 2 deletions CyberSource/api/credit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def create_credit_with_http_info(self, create_credit_request, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_credit_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = True
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "create_credit,create_credit_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "create_credit,create_credit_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
16 changes: 8 additions & 8 deletions CyberSource/api/customer_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ def delete_customer_with_http_info(self, customer_id, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "delete_customer,delete_customer_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "delete_customer,delete_customer_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -280,8 +280,8 @@ def get_customer_with_http_info(self, customer_id, **kwargs):
body_params = file_post_body_and_delimiter[0]
header_params['Content-Type'] = f"multipart/form-data; boundary={file_post_body_and_delimiter[1]}"

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "get_customer,get_customer_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "get_customer,get_customer_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -417,8 +417,8 @@ def patch_customer_with_http_info(self, customer_id, patch_customer_request, **k
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'patch_customer_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "patch_customer,patch_customer_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "patch_customer,patch_customer_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down Expand Up @@ -540,8 +540,8 @@ def post_customer_with_http_info(self, post_customer_request, **kwargs):
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'post_customer_request', self.api_client.mconfig.run_environment, self.api_client.mconfig.defaultDeveloperId)
body_params = process_body(body_params)

is_mle_supported_by_cybs_for_api = False
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, is_mle_supported_by_cybs_for_api, "post_customer,post_customer_with_http_info"):
inbound_mle_status = "false"
if MLEUtility.check_is_mle_for_api(self.api_client.mconfig, inbound_mle_status, "post_customer,post_customer_with_http_info"):
body_params = MLEUtility.encrypt_request_payload(self.api_client.mconfig, body_params)

# Authentication setting
Expand Down
Loading