@@ -29,9 +29,17 @@ powershell -Command "(Get-Content ..\lib\cybersource_rest_client\api\search_tran
2929 REM to change accept type header
3030powershell -Command " (Get-Content ..\lib\cybersource_rest_client\api\secure_file_share_api.rb) | ForEach-Object { $_ -replace 'select_header_content_type\(\[''application/json;charset=utf-8', 'select_header_content_type([''*/*' } | Set-Content ..\lib\cybersource_rest_client\api\secure_file_share_api.rb"
3131
32+ REM to rename long file name
33+
34+ del ..\lib\cybersource_rest_client\models\ptsv2payments_merchant_initiated_transaction.rb
35+ del ..\lib\cybersource_rest_client\models\tmsv1instrumentidentifiers_merchant_initiated_transaction.rb
36+ del ..\docs\Ptsv2paymentsMerchantInitiatedTransaction.md
37+ del ..\docs\Tmsv1instrumentidentifiersMerchantInitiatedTransaction.md
38+ del ..\spec\models\ptsv2payments_merchant_initiated_transaction_spec.rb
39+ del ..\spec\models\tmsv1instrumentidentifiers_merchant_initiated_transaction_spec.rb
40+
3241powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\ptsv2payments_processing_information_authorization_options_initiator_merchant_initiated_transaction.rb -newname ptsv2payments_merchant_initiated_transaction.rb"
3342
34- REM to rename long file name
3543powershell -Command " rename-item -Path ..\lib\cybersource_rest_client\models\tmsv1instrumentidentifiers_processing_information_authorization_options_initiator_merchant_initiated_transaction.rb -newname tmsv1instrumentidentifiers_merchant_initiated_transaction.rb"
3644
3745powershell -Command " rename-item -Path ..\docs\Ptsv2paymentsProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md -newname Ptsv2paymentsMerchantInitiatedTransaction.md"
@@ -50,5 +58,9 @@ powershell -Command "(Get-Content ..\lib\cybersource_rest_client.rb) | ForEach-O
5058cd ..\lib\cybersource_rest_client\api
5159powershell -Command " &{$configFiles = Get-ChildItem . *.rb -rec; foreach ($file in $configFiles){ (Get-Content $file.PSPath) | Foreach-Object { $_ -replace 'local_var_path = ''/', 'local_var_path = '''} | Set-Content $file.PSPath }}"
5260
61+ cd %~dp0 \..
62+
63+ git checkout README.md
64+ git checkout cybersource_rest_client.gemspec
5365
5466pause
0 commit comments