@@ -17,31 +17,33 @@ powershell -Command "(Get-Content ..\src\CyberSource\Api\SecureFileShareApi.cs)
1717
1818
1919rem For Converting the datetime values to string while appending them to the localVarPath and commenting out the values being set in query params obj
20- powershell -Command " (Get-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs) | ForEach-Object { $_ -replace '/pts/v1/transaction-batches', '/pts/v1/transaction-batches?startTime={startTime.Value.ToString(\ " yyyy-MM-ddTHH:mm:ssZ\ " )}&endTime={endTime.Value.ToString(\ " yyyy-MM-ddTHH:mm:ssZ\ " )}' } | Set-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs"
20+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\TransactionBatchesApi.cs) ; $fileContents[257] = $fileContents[257] -replace '/pts/v1/transaction-batches', '/pts/v1/transaction-batches?startTime={startTime.Value.ToString( " yyyy-MM-ddTHH:mm:ssZ " )}&endTime={endTime.Value.ToString( " yyyy-MM-ddTHH:mm:ssZ " )}' ; $fileContents[331] = $fileContents[331] -replace '/pts/v1/transaction-batches', '/pts/v1/transaction-batches?startTime={startTime.Value.ToString(" yyyy-MM-ddTHH:mm:ssZ" )}&endTime={endTime.Value.ToString(" yyyy-MM-ddTHH:mm:ssZ" )}' ; $fileContents| Set-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs"
2121
2222powershell -Command " (Get-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs) | ForEach-Object { $_ -replace 'if \(startTime != null\)', '//if (startTime ! = null)' } | Set-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs"
2323
2424powershell -Command " (Get-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs) | ForEach-Object { $_ -replace 'if \(endTime != null\)', '//if (endTime ! = null)' } | Set-Content ..\src\CyberSource\Api\TransactionBatchesApi.cs"
2525
26- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[660] = ' '; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
26+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[660] = $fileContents[660] -replace 'Configuration.ApiClient.SelectHeaderContentType\(localVarHttpContentTypes\)', '\ " \ " '; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
2727
28- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[661 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
28+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[670 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
2929
30- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[662 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
30+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[671 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
3131
32- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[663 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
32+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[672 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
3333
34- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[664 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
34+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[673 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
3535
36- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[665 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
36+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[674 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
3737
38- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[666 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
38+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[675 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
3939
40- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[667 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
40+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[676 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
4141
42- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[668 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
42+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[677 ] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
4343
44- powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[638] = (get-content ReportsApiLocalVarPath.txt); $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
44+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[678] = ''; $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
45+
46+ powershell -Command " $fileContents = (get-content ..\src\CyberSource\Api\ReportsApi.cs) ; $fileContents[648] = (get-content ReportsApiLocalVarPath.txt); $fileContents|Set-Content ..\src\CyberSource\Api\ReportsApi.cs"
4547
4648
4749rem For Removing the length check for a property which is currently giving compile time error
@@ -100,7 +102,7 @@ REM powershell -Command "$fileContents = (get-content ..\src\CyberSource\Model\R
100102
101103rem For changing nuspec filename in csproj file
102104
103- powershell -Command " (Get-Content ..\src\CyberSource\CyberSource.csproj) | ForEach-Object { $_ -replace '<None Include=" CyberSource.nuspec" />', '<None Include=" cybersource-rest-client-dotnet.nuspec" />' } | Set-Content ..\src\CyberSource\CyberSource.csproj"
105+ powershell -Command " (Get-Content ..\src\CyberSource\CyberSource.csproj) | ForEach-Object { $_ -replace '<None Include=\ " CyberSource.nuspec\ " />', '<None Include=\ " cybersource-rest-client-dotnet.nuspec\ " />' } | Set-Content ..\src\CyberSource\CyberSource.csproj"
104106
105107rem For Renaming the .csproj file Name from Cybersource to cybersource-rest-client-dotnet
106108powershell Rename-Item ..\src\CyberSource\CyberSource.csproj cybersource-rest-client-dotnet.csproj
@@ -114,10 +116,10 @@ del ..\cybersource-rest-client-dotnet.sln
114116
115117powershell Rename-Item ..\CyberSource.sln cybersource-rest-client-dotnet.sln
116118
117- xcopy ..\src\CyberSource ..\ /s /e /y /Exclude:excludeList .txt
119+ xcopy ..\src\cybersource ..\ /s /e /y /exclude:excludelist .txt
118120git checkout ..\README.md
119121md ..\test
120- xcopy ..\src\CyberSource.Test ..\test /s /e /y
122+ xcopy ..\src\cybersource.test ..\test /s /e /y
121123
122124rd /s /q ..\src
123125
0 commit comments