Skip to content

Commit be26239

Browse files
Merge pull request #106 from CyberSource/oct-2023-release
Oct 2023 release
2 parents d008817 + 17826fd commit be26239

755 files changed

Lines changed: 76538 additions & 1538 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: 213 additions & 13 deletions
Large diffs are not rendered by default.

CyberSource/api/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from .chargeback_details_api import ChargebackDetailsApi
88
from .chargeback_summaries_api import ChargebackSummariesApi
99
from .conversion_details_api import ConversionDetailsApi
10+
from .create_new_webhooks_api import CreateNewWebhooksApi
1011
from .customer_api import CustomerApi
1112
from .customer_payment_instrument_api import CustomerPaymentInstrumentApi
1213
from .customer_shipping_address_api import CustomerShippingAddressApi
@@ -16,6 +17,8 @@
1617
from .emv_tag_details_api import EMVTagDetailsApi
1718
from .instrument_identifier_api import InstrumentIdentifierApi
1819
from .interchange_clearing_level_details_api import InterchangeClearingLevelDetailsApi
20+
from .manage_webhooks_api import ManageWebhooksApi
21+
from .merchant_boarding_api import MerchantBoardingApi
1922
from .microform_integration_api import MicroformIntegrationApi
2023
from .net_fundings_api import NetFundingsApi
2124
from .notification_of_changes_api import NotificationOfChangesApi

CyberSource/api/asymmetric_key_management_api.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class AsymmetricKeyManagementApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.
@@ -131,6 +131,9 @@ def create_p12_keys_with_http_info(self, create_p12_keys_request, **kwargs):
131131
body_params = None
132132
if 'create_p12_keys_request' in params:
133133
body_params = params['create_p12_keys_request']
134+
135+
sdkTracker = SdkTracker()
136+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_p12_keys_request', self.api_client.mconfig.run_environment)
134137
# HTTP header `Accept`
135138
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
136139

@@ -241,6 +244,9 @@ def delete_bulk_p12_keys_with_http_info(self, delete_bulk_p12_keys_request, **kw
241244
body_params = None
242245
if 'delete_bulk_p12_keys_request' in params:
243246
body_params = params['delete_bulk_p12_keys_request']
247+
248+
sdkTracker = SdkTracker()
249+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'delete_bulk_p12_keys_request', self.api_client.mconfig.run_environment)
244250
# HTTP header `Accept`
245251
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
246252

@@ -474,6 +480,9 @@ def update_asym_key_with_http_info(self, key_id, update_asym_keys_request, **kwa
474480
body_params = None
475481
if 'update_asym_keys_request' in params:
476482
body_params = params['update_asym_keys_request']
483+
484+
sdkTracker = SdkTracker()
485+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'update_asym_keys_request', self.api_client.mconfig.run_environment)
477486
# HTTP header `Accept`
478487
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
479488

CyberSource/api/batches_api.py

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class BatchesApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.
@@ -60,7 +60,7 @@ def get_batch_report(self, batch_id, **kwargs):
6060
:param callback function: The callback function
6161
for asynchronous request. (optional)
6262
:param str batch_id: Unique identification number assigned to the submitted request. (required)
63-
:return: InlineResponse2004
63+
:return: InlineResponse2007
6464
If the method is called asynchronously,
6565
returns the request thread.
6666
"""
@@ -90,7 +90,7 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs):
9090
:param callback function: The callback function
9191
for asynchronous request. (optional)
9292
:param str batch_id: Unique identification number assigned to the submitted request. (required)
93-
:return: InlineResponse2004
93+
:return: InlineResponse2007
9494
If the method is called asynchronously,
9595
returns the request thread.
9696
"""
@@ -116,14 +116,14 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs):
116116
self.logger.error("InvalidArgumentException : Missing the required parameter `batch_id` when calling `get_batch_report`")
117117
raise ValueError("Missing the required parameter `batch_id` when calling `get_batch_report`")
118118

119-
if 'batch_id' in params and params['batch_id'] > 32:
120-
if self.api_client.mconfig.log_config.enable_log:
121-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value less than or equal to `32`")
122-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value less than or equal to `32`")
123-
if 'batch_id' in params and params['batch_id'] < 16:
124-
if self.api_client.mconfig.log_config.enable_log:
125-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value greater than or equal to `16`")
126-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value greater than or equal to `16`")
119+
# if 'batch_id' in params and params['batch_id'] > 32:
120+
# if self.api_client.mconfig.log_config.enable_log:
121+
# self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value less than or equal to `32`")
122+
# raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value less than or equal to `32`")
123+
# if 'batch_id' in params and params['batch_id'] < 16:
124+
# if self.api_client.mconfig.log_config.enable_log:
125+
# self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value greater than or equal to `16`")
126+
# raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_report`, must be a value greater than or equal to `16`")
127127

128128
collection_formats = {}
129129

@@ -158,7 +158,7 @@ def get_batch_report_with_http_info(self, batch_id, **kwargs):
158158
body=body_params,
159159
post_params=form_params,
160160
files=local_var_files,
161-
response_type='InlineResponse2004',
161+
response_type='InlineResponse2007',
162162
auth_settings=auth_settings,
163163
callback=params.get('callback'),
164164
_return_http_data_only=params.get('_return_http_data_only'),
@@ -181,7 +181,7 @@ def get_batch_status(self, batch_id, **kwargs):
181181
:param callback function: The callback function
182182
for asynchronous request. (optional)
183183
:param str batch_id: Unique identification number assigned to the submitted request. (required)
184-
:return: InlineResponse2003
184+
:return: InlineResponse2006
185185
If the method is called asynchronously,
186186
returns the request thread.
187187
"""
@@ -211,7 +211,7 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs):
211211
:param callback function: The callback function
212212
for asynchronous request. (optional)
213213
:param str batch_id: Unique identification number assigned to the submitted request. (required)
214-
:return: InlineResponse2003
214+
:return: InlineResponse2006
215215
If the method is called asynchronously,
216216
returns the request thread.
217217
"""
@@ -237,14 +237,14 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs):
237237
self.logger.error("InvalidArgumentException : Missing the required parameter `batch_id` when calling `get_batch_status`")
238238
raise ValueError("Missing the required parameter `batch_id` when calling `get_batch_status`")
239239

240-
if 'batch_id' in params and params['batch_id'] > 32:
241-
if self.api_client.mconfig.log_config.enable_log:
242-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value less than or equal to `32`")
243-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value less than or equal to `32`")
244-
if 'batch_id' in params and params['batch_id'] < 16:
245-
if self.api_client.mconfig.log_config.enable_log:
246-
self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value greater than or equal to `16`")
247-
raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value greater than or equal to `16`")
240+
# if 'batch_id' in params and params['batch_id'] > 32:
241+
# if self.api_client.mconfig.log_config.enable_log:
242+
# self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value less than or equal to `32`")
243+
# raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value less than or equal to `32`")
244+
# if 'batch_id' in params and params['batch_id'] < 16:
245+
# if self.api_client.mconfig.log_config.enable_log:
246+
# self.logger.error("InvalidArgumentException : Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value greater than or equal to `16`")
247+
# raise ValueError("Invalid value for parameter `batch_id` when calling `get_batch_status`, must be a value greater than or equal to `16`")
248248

249249
collection_formats = {}
250250

@@ -279,7 +279,7 @@ def get_batch_status_with_http_info(self, batch_id, **kwargs):
279279
body=body_params,
280280
post_params=form_params,
281281
files=local_var_files,
282-
response_type='InlineResponse2003',
282+
response_type='InlineResponse2006',
283283
auth_settings=auth_settings,
284284
callback=params.get('callback'),
285285
_return_http_data_only=params.get('_return_http_data_only'),
@@ -305,7 +305,7 @@ def get_batches_list(self, **kwargs):
305305
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset.
306306
:param str from_date: ISO-8601 format: yyyyMMddTHHmmssZ
307307
:param str to_date: ISO-8601 format: yyyyMMddTHHmmssZ
308-
:return: InlineResponse2002
308+
:return: InlineResponse2005
309309
If the method is called asynchronously,
310310
returns the request thread.
311311
"""
@@ -338,7 +338,7 @@ def get_batches_list_with_http_info(self, **kwargs):
338338
:param int limit: The maximum number that can be returned in the array starting from the offset record in zero-based dataset.
339339
:param str from_date: ISO-8601 format: yyyyMMddTHHmmssZ
340340
:param str to_date: ISO-8601 format: yyyyMMddTHHmmssZ
341-
:return: InlineResponse2002
341+
:return: InlineResponse2005
342342
If the method is called asynchronously,
343343
returns the request thread.
344344
"""
@@ -410,7 +410,7 @@ def get_batches_list_with_http_info(self, **kwargs):
410410
body=body_params,
411411
post_params=form_params,
412412
files=local_var_files,
413-
response_type='InlineResponse2002',
413+
response_type='InlineResponse2005',
414414
auth_settings=auth_settings,
415415
callback=params.get('callback'),
416416
_return_http_data_only=params.get('_return_http_data_only'),
@@ -504,6 +504,9 @@ def post_batch_with_http_info(self, body, **kwargs):
504504
body_params = None
505505
if 'body' in params:
506506
body_params = params['body']
507+
508+
sdkTracker = SdkTracker()
509+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'body', self.api_client.mconfig.run_environment)
507510
# HTTP header `Accept`
508511
header_params['Accept'] = self.api_client.select_header_accept(['application/json;charset=utf-8'])
509512

CyberSource/api/billing_agreements_api.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class BillingAgreementsApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.
@@ -141,6 +141,9 @@ def billing_agreements_de_registration_with_http_info(self, modify_billing_agree
141141
body_params = None
142142
if 'modify_billing_agreement' in params:
143143
body_params = params['modify_billing_agreement']
144+
145+
sdkTracker = SdkTracker()
146+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'modify_billing_agreement', self.api_client.mconfig.run_environment)
144147
# HTTP header `Accept`
145148
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
146149

@@ -261,6 +264,9 @@ def billing_agreements_intimation_with_http_info(self, intimate_billing_agreemen
261264
body_params = None
262265
if 'intimate_billing_agreement' in params:
263266
body_params = params['intimate_billing_agreement']
267+
268+
sdkTracker = SdkTracker()
269+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'intimate_billing_agreement', self.api_client.mconfig.run_environment)
264270
# HTTP header `Accept`
265271
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
266272

@@ -371,6 +377,9 @@ def billing_agreements_registration_with_http_info(self, create_billing_agreemen
371377
body_params = None
372378
if 'create_billing_agreement' in params:
373379
body_params = params['create_billing_agreement']
380+
381+
sdkTracker = SdkTracker()
382+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'create_billing_agreement', self.api_client.mconfig.run_environment)
374383
# HTTP header `Accept`
375384
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
376385

CyberSource/api/capture_api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class CaptureApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.
@@ -141,6 +141,9 @@ def capture_payment_with_http_info(self, capture_payment_request, id, **kwargs):
141141
body_params = None
142142
if 'capture_payment_request' in params:
143143
body_params = params['capture_payment_request']
144+
145+
sdkTracker = SdkTracker()
146+
body_params = sdkTracker.insert_developer_id_tracker(body_params, 'capture_payment_request', self.api_client.mconfig.run_environment)
144147
# HTTP header `Accept`
145148
header_params['Accept'] = self.api_client.select_header_accept(['application/hal+json;charset=utf-8'])
146149

CyberSource/api/chargeback_details_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class ChargebackDetailsApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.

CyberSource/api/chargeback_summaries_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class ChargebackSummariesApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.

CyberSource/api/conversion_details_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
from ..api_client import ApiClient
2525
import CyberSource.logging.log_factory as LogFactory
2626

27-
27+
from ..utilities.tracking.sdk_tracker import SdkTracker
2828
class ConversionDetailsApi(object):
2929
"""
3030
NOTE: This class is auto generated by the swagger code generator program.

0 commit comments

Comments
 (0)