|
17 | 17 | using CyberSource.Model; |
18 | 18 | using NLog; |
19 | 19 | using AuthenticationSdk.util; |
| 20 | +using CyberSource.Utilities.Tracking; |
20 | 21 |
|
21 | 22 | namespace CyberSource.Api |
22 | 23 | { |
@@ -399,6 +400,8 @@ public ApiResponse< KmsV2KeysAsymPost201Response > CreateP12KeysWithHttpInfo (Cr |
399 | 400 |
|
400 | 401 | if (createP12KeysRequest != null && createP12KeysRequest.GetType() != typeof(byte[])) |
401 | 402 | { |
| 403 | + SdkTracker sdkTracker = new SdkTracker(); |
| 404 | + createP12KeysRequest = (CreateP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(createP12KeysRequest, createP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
402 | 405 | localVarPostBody = Configuration.ApiClient.Serialize(createP12KeysRequest); // http body (model) parameter |
403 | 406 | } |
404 | 407 | else |
@@ -498,6 +501,8 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysAsymPost201Respons |
498 | 501 |
|
499 | 502 | if (createP12KeysRequest != null && createP12KeysRequest.GetType() != typeof(byte[])) |
500 | 503 | { |
| 504 | + SdkTracker sdkTracker = new SdkTracker(); |
| 505 | + createP12KeysRequest = (CreateP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(createP12KeysRequest, createP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
501 | 506 | localVarPostBody = Configuration.ApiClient.Serialize(createP12KeysRequest); // http body (model) parameter |
502 | 507 | } |
503 | 508 | else |
@@ -595,6 +600,8 @@ public ApiResponse< KmsV2KeysAsymDeletesPost200Response > DeleteBulkP12KeysWithH |
595 | 600 |
|
596 | 601 | if (deleteBulkP12KeysRequest != null && deleteBulkP12KeysRequest.GetType() != typeof(byte[])) |
597 | 602 | { |
| 603 | + SdkTracker sdkTracker = new SdkTracker(); |
| 604 | + deleteBulkP12KeysRequest = (DeleteBulkP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(deleteBulkP12KeysRequest, deleteBulkP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
598 | 605 | localVarPostBody = Configuration.ApiClient.Serialize(deleteBulkP12KeysRequest); // http body (model) parameter |
599 | 606 | } |
600 | 607 | else |
@@ -694,6 +701,8 @@ public async System.Threading.Tasks.Task<ApiResponse<KmsV2KeysAsymDeletesPost200 |
694 | 701 |
|
695 | 702 | if (deleteBulkP12KeysRequest != null && deleteBulkP12KeysRequest.GetType() != typeof(byte[])) |
696 | 703 | { |
| 704 | + SdkTracker sdkTracker = new SdkTracker(); |
| 705 | + deleteBulkP12KeysRequest = (DeleteBulkP12KeysRequest)sdkTracker.InsertDeveloperIdTracker(deleteBulkP12KeysRequest, deleteBulkP12KeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
697 | 706 | localVarPostBody = Configuration.ApiClient.Serialize(deleteBulkP12KeysRequest); // http body (model) parameter |
698 | 707 | } |
699 | 708 | else |
@@ -992,6 +1001,8 @@ public ApiResponse< Object > UpdateAsymKeyWithHttpInfo (string keyId, UpdateAsym |
992 | 1001 | logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); |
993 | 1002 | if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[])) |
994 | 1003 | { |
| 1004 | + SdkTracker sdkTracker = new SdkTracker(); |
| 1005 | + updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
995 | 1006 | localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter |
996 | 1007 | } |
997 | 1008 | else |
@@ -1104,6 +1115,8 @@ public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateAsymKeyAsync |
1104 | 1115 | logger.Debug($"HTTP Request Body :\n{logUtility.ConvertDictionaryToString(localVarPathParams)}"); |
1105 | 1116 | if (updateAsymKeysRequest != null && updateAsymKeysRequest.GetType() != typeof(byte[])) |
1106 | 1117 | { |
| 1118 | + SdkTracker sdkTracker = new SdkTracker(); |
| 1119 | + updateAsymKeysRequest = (UpdateAsymKeysRequest)sdkTracker.InsertDeveloperIdTracker(updateAsymKeysRequest, updateAsymKeysRequest.GetType().Name, Configuration.ApiClient.Configuration.MerchantConfigDictionaryObj["runEnvironment"]); |
1107 | 1120 | localVarPostBody = Configuration.ApiClient.Serialize(updateAsymKeysRequest); // http body (model) parameter |
1108 | 1121 | } |
1109 | 1122 | else |
|
0 commit comments