Skip to content

Commit 116ab1f

Browse files
authored
Merge pull request #120 from CyberSource/July-24-release
July 24 release
2 parents 336eb12 + e8ddfdb commit 116ab1f

400 files changed

Lines changed: 1797 additions & 5678 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CyberSource/__init__.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -597,22 +597,11 @@
597597
from .models.pts_v2_payouts_post201_response_recipient_information import PtsV2PayoutsPost201ResponseRecipientInformation
598598
from .models.pts_v2_payouts_post201_response_recipient_information_card import PtsV2PayoutsPost201ResponseRecipientInformationCard
599599
from .models.pts_v2_payouts_post400_response import PtsV2PayoutsPost400Response
600-
from .models.ptsv1pushfundstransfer_aggregator_information import Ptsv1pushfundstransferAggregatorInformation
601-
from .models.ptsv1pushfundstransfer_aggregator_information_sub_merchant import Ptsv1pushfundstransferAggregatorInformationSubMerchant
602600
from .models.ptsv1pushfundstransfer_client_reference_information import Ptsv1pushfundstransferClientReferenceInformation
603-
from .models.ptsv1pushfundstransfer_merchant_defined_information import Ptsv1pushfundstransferMerchantDefinedInformation
604-
from .models.ptsv1pushfundstransfer_merchant_information import Ptsv1pushfundstransferMerchantInformation
605-
from .models.ptsv1pushfundstransfer_merchant_information_merchant_descriptor import Ptsv1pushfundstransferMerchantInformationMerchantDescriptor
606601
from .models.ptsv1pushfundstransfer_order_information import Ptsv1pushfundstransferOrderInformation
607602
from .models.ptsv1pushfundstransfer_order_information_amount_details import Ptsv1pushfundstransferOrderInformationAmountDetails
608-
from .models.ptsv1pushfundstransfer_order_information_surcharge import Ptsv1pushfundstransferOrderInformationSurcharge
609-
from .models.ptsv1pushfundstransfer_point_of_service_information import Ptsv1pushfundstransferPointOfServiceInformation
610603
from .models.ptsv1pushfundstransfer_processing_information import Ptsv1pushfundstransferProcessingInformation
611604
from .models.ptsv1pushfundstransfer_processing_information_payouts_options import Ptsv1pushfundstransferProcessingInformationPayoutsOptions
612-
from .models.ptsv1pushfundstransfer_processing_information_recurring_options import Ptsv1pushfundstransferProcessingInformationRecurringOptions
613-
from .models.ptsv1pushfundstransfer_processing_options import Ptsv1pushfundstransferProcessingOptions
614-
from .models.ptsv1pushfundstransfer_processing_options_funding_options import Ptsv1pushfundstransferProcessingOptionsFundingOptions
615-
from .models.ptsv1pushfundstransfer_processing_options_funding_options_initiator import Ptsv1pushfundstransferProcessingOptionsFundingOptionsInitiator
616605
from .models.ptsv1pushfundstransfer_recipient_information import Ptsv1pushfundstransferRecipientInformation
617606
from .models.ptsv1pushfundstransfer_recipient_information_payment_information import Ptsv1pushfundstransferRecipientInformationPaymentInformation
618607
from .models.ptsv1pushfundstransfer_recipient_information_payment_information_card import Ptsv1pushfundstransferRecipientInformationPaymentInformationCard
@@ -770,6 +759,7 @@
770759
from .models.ptsv2payments_token_information import Ptsv2paymentsTokenInformation
771760
from .models.ptsv2payments_token_information_payment_instrument import Ptsv2paymentsTokenInformationPaymentInstrument
772761
from .models.ptsv2payments_token_information_shipping_address import Ptsv2paymentsTokenInformationShippingAddress
762+
from .models.ptsv2payments_token_information_token_provisioning_information import Ptsv2paymentsTokenInformationTokenProvisioningInformation
773763
from .models.ptsv2payments_travel_information import Ptsv2paymentsTravelInformation
774764
from .models.ptsv2payments_travel_information_agency import Ptsv2paymentsTravelInformationAgency
775765
from .models.ptsv2payments_travel_information_auto_rental import Ptsv2paymentsTravelInformationAutoRental
@@ -1114,7 +1104,6 @@
11141104
from .models.tms_embedded_instrument_identifier_links_self import TmsEmbeddedInstrumentIdentifierLinksSelf
11151105
from .models.tms_embedded_instrument_identifier_metadata import TmsEmbeddedInstrumentIdentifierMetadata
11161106
from .models.tms_embedded_instrument_identifier_processing_information import TmsEmbeddedInstrumentIdentifierProcessingInformation
1117-
from .models.tms_embedded_instrument_identifier_token_provisioning_information import TmsEmbeddedInstrumentIdentifierTokenProvisioningInformation
11181107
from .models.tms_embedded_instrument_identifier_tokenized_card import TmsEmbeddedInstrumentIdentifierTokenizedCard
11191108
from .models.tms_embedded_instrument_identifier_tokenized_card_card import TmsEmbeddedInstrumentIdentifierTokenizedCardCard
11201109
from .models.tms_payment_instrument_processing_info import TmsPaymentInstrumentProcessingInfo

CyberSource/api/batches_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -115,10 +115,6 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs):
115115
self.logger.error("InvalidArgumentException : Missing the required parameter `batch_id` when calling `get_batch_report`")
116116
raise ValueError("Missing the required parameter `batch_id` when calling `get_batch_report`")
117117

118-
if 'batch_id' in params and not re.search('^[0-9]*$', params['batch_id']):
119-
if self.api_client.mconfig.log_config.enable_log:
120-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_report`, must conform to the pattern `/^[0-9]*$/`")
121-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_report`, must conform to the pattern `/^[0-9]*$/`")
122118

123119
collection_formats = {}
124120

@@ -232,10 +228,6 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs):
232228
self.logger.error("InvalidArgumentException : Missing the required parameter `batch_id` when calling `get_batch_status`")
233229
raise ValueError("Missing the required parameter `batch_id` when calling `get_batch_status`")
234230

235-
if 'batch_id' in params and not re.search('^[0-9]*$', params['batch_id']):
236-
if self.api_client.mconfig.log_config.enable_log:
237-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_status`, must conform to the pattern `/^[0-9]*$/`")
238-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_status`, must conform to the pattern `/^[0-9]*$/`")
239231

240232
collection_formats = {}
241233

CyberSource/api/chargeback_details_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ def get_chargeback_details_with_http_info(self, start_time, end_time, **kwargs):
124124
self.logger.error("InvalidArgumentException : Missing the required parameter `end_time` when calling `get_chargeback_details`")
125125
raise ValueError("Missing the required parameter `end_time` when calling `get_chargeback_details`")
126126

127-
if 'organization_id' in params and not re.search('[a-zA-Z0-9-_]+', params['organization_id']):
128-
if self.api_client.mconfig.log_config.enable_log:
129-
self.logger.error("InvalidArgumentException : Invalid value for parameter `organization_id` when calling `get_chargeback_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
130-
raise ValueError("Invalid value for parameter `organization_id` when calling `get_chargeback_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
131127

132128
collection_formats = {}
133129

CyberSource/api/chargeback_summaries_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ def get_chargeback_summaries_with_http_info(self, start_time, end_time, **kwargs
124124
self.logger.error("InvalidArgumentException : Missing the required parameter `end_time` when calling `get_chargeback_summaries`")
125125
raise ValueError("Missing the required parameter `end_time` when calling `get_chargeback_summaries`")
126126

127-
if 'organization_id' in params and not re.search('[a-zA-Z0-9-_]+', params['organization_id']):
128-
if self.api_client.mconfig.log_config.enable_log:
129-
self.logger.error("InvalidArgumentException : Invalid value for parameter `organization_id` when calling `get_chargeback_summaries`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
130-
raise ValueError("Invalid value for parameter `organization_id` when calling `get_chargeback_summaries`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
131127

132128
collection_formats = {}
133129

CyberSource/api/conversion_details_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ def get_conversion_detail_with_http_info(self, start_time, end_time, **kwargs):
124124
self.logger.error("InvalidArgumentException : Missing the required parameter `end_time` when calling `get_conversion_detail`")
125125
raise ValueError("Missing the required parameter `end_time` when calling `get_conversion_detail`")
126126

127-
if 'organization_id' in params and not re.search('[a-zA-Z0-9-_]+', params['organization_id']):
128-
if self.api_client.mconfig.log_config.enable_log:
129-
self.logger.error("InvalidArgumentException : Invalid value for parameter `organization_id` when calling `get_conversion_detail`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
130-
raise ValueError("Invalid value for parameter `organization_id` when calling `get_conversion_detail`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
131127

132128
collection_formats = {}
133129

CyberSource/api/create_new_webhooks_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -356,14 +356,6 @@ def save_sym_egress_key_with_http_info(self, v_c_sender_organization_id, v_c_per
356356
self.logger.error("InvalidArgumentException : Missing the required parameter `v_c_permissions` when calling `save_sym_egress_key`")
357357
raise ValueError("Missing the required parameter `v_c_permissions` when calling `save_sym_egress_key`")
358358

359-
if 'v_c_sender_organization_id' in params and not re.search('^[A-Za-z0-9\\-_]+$', params['v_c_sender_organization_id']):
360-
if self.api_client.mconfig.log_config.enable_log:
361-
self.logger.error("InvalidArgumentException : Invalid value for parameter `v_c_sender_organization_id` when calling `save_sym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\-_]+$/`")
362-
raise ValueError("Invalid value for parameter `v_c_sender_organization_id` when calling `save_sym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\-_]+$/`")
363-
if 'v_c_correlation_id' in params and not re.search('^[A-Za-z0-9\\.\\-_:]+$', params['v_c_correlation_id']):
364-
if self.api_client.mconfig.log_config.enable_log:
365-
self.logger.error("InvalidArgumentException : Invalid value for parameter `v_c_correlation_id` when calling `save_sym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\.\\-_:]+$/`")
366-
raise ValueError("Invalid value for parameter `v_c_correlation_id` when calling `save_sym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\.\\-_:]+$/`")
367359

368360
collection_formats = {}
369361

CyberSource/api/interchange_clearing_level_details_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ def get_interchange_clearing_level_details_with_http_info(self, start_time, end_
124124
self.logger.error("InvalidArgumentException : Missing the required parameter `end_time` when calling `get_interchange_clearing_level_details`")
125125
raise ValueError("Missing the required parameter `end_time` when calling `get_interchange_clearing_level_details`")
126126

127-
if 'organization_id' in params and not re.search('[a-zA-Z0-9-_]+', params['organization_id']):
128-
if self.api_client.mconfig.log_config.enable_log:
129-
self.logger.error("InvalidArgumentException : Invalid value for parameter `organization_id` when calling `get_interchange_clearing_level_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
130-
raise ValueError("Invalid value for parameter `organization_id` when calling `get_interchange_clearing_level_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
131127

132128
collection_formats = {}
133129

CyberSource/api/key_management_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,6 @@ def search_keys_with_http_info(self, **kwargs):
124124
params[key] = val
125125
del params['kwargs']
126126

127-
if 'expiration_start_date' in params and not re.search('yyyy-mm-dd', params['expiration_start_date']):
128-
if self.api_client.mconfig.log_config.enable_log:
129-
self.logger.error("InvalidArgumentException : Invalid value for parameter `expiration_start_date` when calling `search_keys`, must conform to the pattern `/yyyy-mm-dd/`")
130-
raise ValueError("Invalid value for parameter `expiration_start_date` when calling `search_keys`, must conform to the pattern `/yyyy-mm-dd/`")
131-
if 'expiration_end_date' in params and not re.search('yyyy-mm-dd', params['expiration_end_date']):
132-
if self.api_client.mconfig.log_config.enable_log:
133-
self.logger.error("InvalidArgumentException : Invalid value for parameter `expiration_end_date` when calling `search_keys`, must conform to the pattern `/yyyy-mm-dd/`")
134-
raise ValueError("Invalid value for parameter `expiration_end_date` when calling `search_keys`, must conform to the pattern `/yyyy-mm-dd/`")
135127

136128
collection_formats = {}
137129

CyberSource/api/manage_webhooks_api.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -499,14 +499,6 @@ def save_asym_egress_key_with_http_info(self, v_c_sender_organization_id, v_c_pe
499499
self.logger.error("InvalidArgumentException : Missing the required parameter `save_asym_egress_key` when calling `save_asym_egress_key`")
500500
raise ValueError("Missing the required parameter `save_asym_egress_key` when calling `save_asym_egress_key`")
501501

502-
if 'v_c_sender_organization_id' in params and not re.search('^[A-Za-z0-9\\-_]+$', params['v_c_sender_organization_id']):
503-
if self.api_client.mconfig.log_config.enable_log:
504-
self.logger.error("InvalidArgumentException : Invalid value for parameter `v_c_sender_organization_id` when calling `save_asym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\-_]+$/`")
505-
raise ValueError("Invalid value for parameter `v_c_sender_organization_id` when calling `save_asym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\-_]+$/`")
506-
if 'v_c_correlation_id' in params and not re.search('^[A-Za-z0-9\\.\\-_:]+$', params['v_c_correlation_id']):
507-
if self.api_client.mconfig.log_config.enable_log:
508-
self.logger.error("InvalidArgumentException : Invalid value for parameter `v_c_correlation_id` when calling `save_asym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\.\\-_:]+$/`")
509-
raise ValueError("Invalid value for parameter `v_c_correlation_id` when calling `save_asym_egress_key`, must conform to the pattern `/^[A-Za-z0-9\\.\\-_:]+$/`")
510502

511503
collection_formats = {}
512504

CyberSource/api/net_fundings_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ def get_net_funding_details_with_http_info(self, start_time, end_time, **kwargs)
126126
self.logger.error("InvalidArgumentException : Missing the required parameter `end_time` when calling `get_net_funding_details`")
127127
raise ValueError("Missing the required parameter `end_time` when calling `get_net_funding_details`")
128128

129-
if 'organization_id' in params and not re.search('[a-zA-Z0-9-_]+', params['organization_id']):
130-
if self.api_client.mconfig.log_config.enable_log:
131-
self.logger.error("InvalidArgumentException : Invalid value for parameter `organization_id` when calling `get_net_funding_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
132-
raise ValueError("Invalid value for parameter `organization_id` when calling `get_net_funding_details`, must conform to the pattern `/[a-zA-Z0-9-_]+/`")
133129

134130
collection_formats = {}
135131

0 commit comments

Comments
 (0)