Skip to content

Commit c0ada21

Browse files
monu-kumar-visasachshetgaubansa
authored
Oct release (#68)
* Nlog update * api spec changes * added disclaimer in beta api methods and README file. * removed some validation check due to incorrect regex * undo removing validations in Boardingv1registrationsOrganizationInformationBusinessInformationAddress * renaming long filenames * Revert "undo removing validations in Boardingv1registrationsOrganizationInformationBusinessInformationAddress" This reverts commit 19f9d59. * Revert "removed some validation check due to incorrect regex" This reverts commit 4727834. * Revert "added disclaimer in beta api methods and README file." This reverts commit 4268c46. * renaming the filenames after sdk gen * commenting the file which is not present anymore * Revert "Revert "added disclaimer in beta api methods and README file."" This reverts commit 157f9d5. * Revert "Revert "removed some validation check due to incorrect regex"" This reverts commit b23c43d. * Revert "Revert "undo removing validations in Boardingv1registrationsOrganizationInformationBusinessInformationAddress"" This reverts commit 9625ec8. * auth version update * version update client --------- Co-authored-by: Shetty <sachshet@visa.com> Co-authored-by: Gaurav Bansal <gaubansa@visa.com>
1 parent 37d1d17 commit c0ada21

File tree

707 files changed

+86274
-1420
lines changed

Some content is hidden

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

707 files changed

+86274
-1420
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ For a more detailed explanation of these libraries, refer to
1919
## License
2020

2121
This repository is distributed under a proprietary license.
22+
23+
## Disclaimer
24+
25+
Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested (“Beta Product”) solely for the purpose of evaluating the functionality or marketability of the Beta Product (a “Beta Evaluation”). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer’s participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period (“Beta Product Form”). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer’s use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided “AS IS” and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.

cybersource-rest-auth-netstandard/AuthenticationSdk/AuthenticationSdk/AuthenticationSdk.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFramework>netstandard2.1</TargetFramework>
55
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
6-
<Version>0.0.1.11</Version>
6+
<Version>0.0.1.12</Version>
77
<Authors>CyberSource</Authors>
88
<Product>Authentication_SDK</Product>
99
<Description />
@@ -36,7 +36,7 @@
3636

3737
<ItemGroup>
3838
<PackageReference Include="jose-jwt" Version="2.5.0" />
39-
<PackageReference Include="NLog" Version="4.7.4" />
39+
<PackageReference Include="NLog" Version="5.0.0" />
4040
<PackageReference Include="Portable.BouncyCastle" Version="1.9.0" />
4141
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
4242
<PackageReference Include="System.Runtime.Caching" Version="4.7.0" />

cybersource-rest-client-netstandard/cybersource-rest-client-netstandard.Test/Api/BatchesApiTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public void GetBatchReportTest()
7373
// TODO uncomment below to test the method and replace null with proper value
7474
//string batchId = null;
7575
//var response = instance.GetBatchReport(batchId);
76-
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
76+
//Assert.IsInstanceOf<InlineResponse2007> (response, "response is InlineResponse2007");
7777
}
7878

7979
/// <summary>
@@ -85,7 +85,7 @@ public void GetBatchStatusTest()
8585
// TODO uncomment below to test the method and replace null with proper value
8686
//string batchId = null;
8787
//var response = instance.GetBatchStatus(batchId);
88-
//Assert.IsInstanceOf<InlineResponse2003> (response, "response is InlineResponse2003");
88+
//Assert.IsInstanceOf<InlineResponse2006> (response, "response is InlineResponse2006");
8989
}
9090

9191
/// <summary>
@@ -100,7 +100,7 @@ public void GetBatchesListTest()
100100
//string fromDate = null;
101101
//string toDate = null;
102102
//var response = instance.GetBatchesList(offset, limit, fromDate, toDate);
103-
//Assert.IsInstanceOf<InlineResponse2002> (response, "response is InlineResponse2002");
103+
//Assert.IsInstanceOf<InlineResponse2005> (response, "response is InlineResponse2005");
104104
}
105105

106106
/// <summary>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing CreateNewWebhooksApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class CreateNewWebhooksApiTests
35+
{
36+
private CreateNewWebhooksApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new CreateNewWebhooksApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of CreateNewWebhooksApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' CreateNewWebhooksApi
63+
//Assert.IsInstanceOfType(typeof(CreateNewWebhooksApi), instance, "instance is a CreateNewWebhooksApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test CreateWebhook
69+
/// </summary>
70+
[Test]
71+
public void CreateWebhookTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//CreateWebhook createWebhook = null;
75+
//var response = instance.CreateWebhook(createWebhook);
76+
//Assert.IsInstanceOf<InlineResponse2013> (response, "response is InlineResponse2013");
77+
}
78+
79+
/// <summary>
80+
/// Test FindProductToSubscribe
81+
/// </summary>
82+
[Test]
83+
public void FindProductToSubscribeTest()
84+
{
85+
// TODO uncomment below to test the method and replace null with proper value
86+
//string organizationId = null;
87+
//var response = instance.FindProductToSubscribe(organizationId);
88+
//Assert.IsInstanceOf<List<InlineResponse2003>> (response, "response is List<InlineResponse2003>");
89+
}
90+
91+
/// <summary>
92+
/// Test SaveSymEgressKey
93+
/// </summary>
94+
[Test]
95+
public void SaveSymEgressKeyTest()
96+
{
97+
// TODO uncomment below to test the method and replace null with proper value
98+
//string vCSenderOrganizationId = null;
99+
//string vCPermissions = null;
100+
//string vCCorrelationId = null;
101+
//SaveSymEgressKey saveSymEgressKey = null;
102+
//var response = instance.SaveSymEgressKey(vCSenderOrganizationId, vCPermissions, vCCorrelationId, saveSymEgressKey);
103+
//Assert.IsInstanceOf<InlineResponse2012> (response, "response is InlineResponse2012");
104+
}
105+
106+
}
107+
108+
}
Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
/*
2+
* CyberSource Merged Spec
3+
*
4+
* All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
5+
*
6+
* OpenAPI spec version: 0.0.1
7+
*
8+
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9+
*/
10+
11+
using System;
12+
using System.IO;
13+
using System.Collections.Generic;
14+
using System.Collections.ObjectModel;
15+
using System.Linq;
16+
using System.Reflection;
17+
using RestSharp;
18+
using NUnit.Framework;
19+
20+
using CyberSource.Client;
21+
using CyberSource.Api;
22+
using CyberSource.Model;
23+
24+
namespace CyberSource.Test
25+
{
26+
/// <summary>
27+
/// Class for testing ManageWebhooksApi
28+
/// </summary>
29+
/// <remarks>
30+
/// This file is automatically generated by Swagger Codegen.
31+
/// Please update the test case below to test the API endpoint.
32+
/// </remarks>
33+
[TestFixture]
34+
public class ManageWebhooksApiTests
35+
{
36+
private ManageWebhooksApi instance;
37+
38+
/// <summary>
39+
/// Setup before each unit test
40+
/// </summary>
41+
[SetUp]
42+
public void Init()
43+
{
44+
instance = new ManageWebhooksApi();
45+
}
46+
47+
/// <summary>
48+
/// Clean up after each unit test
49+
/// </summary>
50+
[TearDown]
51+
public void Cleanup()
52+
{
53+
54+
}
55+
56+
/// <summary>
57+
/// Test an instance of ManageWebhooksApi
58+
/// </summary>
59+
[Test]
60+
public void InstanceTest()
61+
{
62+
// TODO uncomment below to test 'IsInstanceOfType' ManageWebhooksApi
63+
//Assert.IsInstanceOfType(typeof(ManageWebhooksApi), instance, "instance is a ManageWebhooksApi");
64+
}
65+
66+
67+
/// <summary>
68+
/// Test DeleteWebhookSubscription
69+
/// </summary>
70+
[Test]
71+
public void DeleteWebhookSubscriptionTest()
72+
{
73+
// TODO uncomment below to test the method and replace null with proper value
74+
//string webhookId = null;
75+
//instance.DeleteWebhookSubscription(webhookId);
76+
77+
}
78+
79+
/// <summary>
80+
/// Test GetAllWebhooks
81+
/// </summary>
82+
[Test]
83+
public void GetAllWebhooksTest()
84+
{
85+
// TODO uncomment below to test the method and replace null with proper value
86+
//string organizationId = null;
87+
//string productId = null;
88+
//string eventType = null;
89+
//var response = instance.GetAllWebhooks(organizationId, productId, eventType);
90+
//Assert.IsInstanceOf<List<InlineResponse2004>> (response, "response is List<InlineResponse2004>");
91+
}
92+
93+
/// <summary>
94+
/// Test GetWebhookDetails
95+
/// </summary>
96+
[Test]
97+
public void GetWebhookDetailsTest()
98+
{
99+
// TODO uncomment below to test the method and replace null with proper value
100+
//string webhookId = null;
101+
//var response = instance.GetWebhookDetails(webhookId);
102+
//Assert.IsInstanceOf<InlineResponse2004> (response, "response is InlineResponse2004");
103+
}
104+
105+
/// <summary>
106+
/// Test ReplayPreviousWebhook
107+
/// </summary>
108+
[Test]
109+
public void ReplayPreviousWebhookTest()
110+
{
111+
// TODO uncomment below to test the method and replace null with proper value
112+
//string webhookId = null;
113+
//ReplayWebhooks replayWebhooks = null;
114+
//instance.ReplayPreviousWebhook(webhookId, replayWebhooks);
115+
116+
}
117+
118+
/// <summary>
119+
/// Test SaveAsymEgressKey
120+
/// </summary>
121+
[Test]
122+
public void SaveAsymEgressKeyTest()
123+
{
124+
// TODO uncomment below to test the method and replace null with proper value
125+
//string vCSenderOrganizationId = null;
126+
//string vCPermissions = null;
127+
//SaveAsymEgressKey saveAsymEgressKey = null;
128+
//string vCCorrelationId = null;
129+
//var response = instance.SaveAsymEgressKey(vCSenderOrganizationId, vCPermissions, saveAsymEgressKey, vCCorrelationId);
130+
//Assert.IsInstanceOf<InlineResponse2014> (response, "response is InlineResponse2014");
131+
}
132+
133+
/// <summary>
134+
/// Test UpdateWebhookSubscription
135+
/// </summary>
136+
[Test]
137+
public void UpdateWebhookSubscriptionTest()
138+
{
139+
// TODO uncomment below to test the method and replace null with proper value
140+
//string webhookId = null;
141+
//UpdateWebhook updateWebhook = null;
142+
//instance.UpdateWebhookSubscription(webhookId, updateWebhook);
143+
144+
}
145+
146+
}
147+
148+
}

0 commit comments

Comments
 (0)