Skip to content

Commit c87f8f1

Browse files
committed
Merge tag '1.14.18' into develop
Release 1.14.18
2 parents 0dc3123 + 3005c18 commit c87f8f1

File tree

5 files changed

+44
-89
lines changed

5 files changed

+44
-89
lines changed

BunqSdk/BunqSdk.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<PackageId>Bunq.Sdk</PackageId>
99
</PropertyGroup>
1010
<PropertyGroup>
11-
<VersionPrefix>1.14.1</VersionPrefix>
11+
<VersionPrefix>1.14.18</VersionPrefix>
1212
</PropertyGroup>
1313
<PropertyGroup>
1414
<RootNamespace>Bunq.Sdk</RootNamespace>

BunqSdk/Http/ApiClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class ApiClient
6363
/// Values for the default headers
6464
/// </summary>
6565
private const string CACHE_CONTROL_NONE = "no-cache";
66-
private const string USER_AGENT_BUNQ = "bunq-sdk-csharp/1.14.1";
66+
private const string USER_AGENT_BUNQ = "bunq-sdk-csharp/1.14.18";
6767
private const string LANGUAGE_EN_US = "en_US";
6868
private const string REGION_NL_NL = "nl_NL";
6969
private const string GEOLOCATION_ZERO = "0 0 0 0 NL";

BunqSdk/Model/Generated/Endpoint/Company.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class Company : BunqModel
3131
public const string FIELD_UBO = "ubo";
3232
public const string FIELD_CHAMBER_OF_COMMERCE_NUMBER = "chamber_of_commerce_number";
3333
public const string FIELD_LEGAL_FORM = "legal_form";
34+
public const string FIELD_SUBSCRIPTION_TYPE = "subscription_type";
3435
public const string FIELD_AVATAR_UUID = "avatar_uuid";
3536

3637
/// <summary>
@@ -80,6 +81,12 @@ public class Company : BunqModel
8081
[JsonProperty(PropertyName = "legal_form")]
8182
public string LegalForm { get; set; }
8283

84+
/// <summary>
85+
/// The subscription type for the company.
86+
/// </summary>
87+
[JsonProperty(PropertyName = "subscription_type")]
88+
public string SubscriptionType { get; set; }
89+
8390
/// <summary>
8491
/// The public UUID of the company's avatar.
8592
/// </summary>
@@ -101,10 +108,11 @@ public class Company : BunqModel
101108
/// <param name="legalForm">The company's legal form.</param>
102109
/// <param name="ubo">The names and birth dates of the company's ultimate beneficiary owners. Minimum zero, maximum four.</param>
103110
/// <param name="chamberOfCommerceNumber">The company's chamber of commerce number.</param>
111+
/// <param name="subscriptionType">The subscription type for the company.</param>
104112
/// <param name="avatarUuid">The public UUID of the company's avatar.</param>
105113
public static BunqResponse<int> Create(string name, Address addressMain, Address addressPostal, string country,
106-
string legalForm, List<Ubo> ubo = null, string chamberOfCommerceNumber = null, string avatarUuid = null,
107-
IDictionary<string, string> customHeaders = null)
114+
string legalForm, List<Ubo> ubo = null, string chamberOfCommerceNumber = null,
115+
string subscriptionType = null, string avatarUuid = null, IDictionary<string, string> customHeaders = null)
108116
{
109117
if (customHeaders == null) customHeaders = new Dictionary<string, string>();
110118

@@ -119,6 +127,7 @@ public static BunqResponse<int> Create(string name, Address addressMain, Address
119127
{FIELD_UBO, ubo},
120128
{FIELD_CHAMBER_OF_COMMERCE_NUMBER, chamberOfCommerceNumber},
121129
{FIELD_LEGAL_FORM, legalForm},
130+
{FIELD_SUBSCRIPTION_TYPE, subscriptionType},
122131
{FIELD_AVATAR_UUID, avatarUuid},
123132
};
124133

BunqSdk/Model/Generated/Endpoint/SandboxUser.cs

Lines changed: 0 additions & 69 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,26 @@
22

33
## [Unreleased](https://github.com/bunq/sdk_csharp/tree/HEAD)
44

5-
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/1.14.0...HEAD)
5+
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/1.14.1...HEAD)
6+
7+
**Implemented enhancements:**
8+
9+
- Replace /sandbox-user with /sandbox-user-person and /sandbox-user-company [\#146](https://github.com/bunq/sdk_csharp/issues/146)
10+
11+
**Fixed bugs:**
12+
13+
- Remove getUserObject call immediately after UserContext creation \(reduce rate-limit hits\) [\#144](https://github.com/bunq/sdk_csharp/issues/144)
14+
- feature/sdk\_csharp\#144 Do not call getUser after UserContext creation [\#145](https://github.com/bunq/sdk_csharp/pull/145) ([angelomelonas](https://github.com/angelomelonas))
15+
16+
**Merged pull requests:**
17+
18+
- feature/sdk\_csharp\#144 Fixed saving/restoring of the APIContext [\#148](https://github.com/bunq/sdk_csharp/pull/148) ([angelomelonas](https://github.com/angelomelonas))
19+
- feature/sdk\_csharp\#146 Deprecated and removed usages of SandboxUser [\#147](https://github.com/bunq/sdk_csharp/pull/147) ([angelomelonas](https://github.com/angelomelonas))
20+
- Added custom object deserializer for BunqMeTabResultInquiry [\#130](https://github.com/bunq/sdk_csharp/pull/130) ([NickvandeGroes](https://github.com/NickvandeGroes))
21+
22+
## [1.14.1](https://github.com/bunq/sdk_csharp/tree/1.14.1) (2020-08-19)
23+
24+
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/1.14.0...1.14.1)
625

726
**Implemented enhancements:**
827

@@ -18,6 +37,7 @@
1837
- Session-server bad request 400 [\#139](https://github.com/bunq/sdk_csharp/issues/139)
1938
- DirectorAlias model has changed in production from a single object to array of objects [\#137](https://github.com/bunq/sdk_csharp/issues/137)
2039
- JsonSerializationException when logging in \(ApiContext.Create\) [\#135](https://github.com/bunq/sdk_csharp/issues/135)
40+
- Can not construct a BunqMeTabEntry to create a BunqMeTab [\#85](https://github.com/bunq/sdk_csharp/issues/85)
2141

2242
**Merged pull requests:**
2343

@@ -35,10 +55,6 @@
3555

3656
- BunqMeTab result\_inquiries empty [\#129](https://github.com/bunq/sdk_csharp/issues/129)
3757

38-
**Merged pull requests:**
39-
40-
- Added custom object deserializer for BunqMeTabResultInquiry [\#130](https://github.com/bunq/sdk_csharp/pull/130) ([NickvandeGroes](https://github.com/NickvandeGroes))
41-
4258
## [1.12.0](https://github.com/bunq/sdk_csharp/tree/1.12.0) (2019-09-10)
4359

4460
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/1.10.16...1.12.0)
@@ -94,12 +110,12 @@
94110

95111
**Fixed bugs:**
96112

113+
- NullReferenceException when calling CustomerStatementExport.List [\#96](https://github.com/bunq/sdk_csharp/issues/96)
97114
- Provided client public key has an incorrect modulus length. Modulus length must be "2048", got "1024" [\#92](https://github.com/bunq/sdk_csharp/issues/92)
98115

99116
**Closed issues:**
100117

101118
- Unable to Authenticate with Bunq [\#114](https://github.com/bunq/sdk_csharp/issues/114)
102-
- Can not construct a BunqMeTabEntry to create a BunqMeTab [\#85](https://github.com/bunq/sdk_csharp/issues/85)
103119

104120
**Merged pull requests:**
105121

@@ -111,45 +127,44 @@
111127

112128
**Implemented enhancements:**
113129

114-
- Monetary account joint cannot be retrieved. [\#50](https://github.com/bunq/sdk_csharp/issues/50)
115130
- \[csharp\] Update examples in readme [\#91](https://github.com/bunq/sdk_csharp/issues/91)
116131
- Add test CI [\#90](https://github.com/bunq/sdk_csharp/issues/90)
117132
- It is not possible to refresh userContext data [\#89](https://github.com/bunq/sdk_csharp/issues/89)
118133
- Optimise test framework. [\#87](https://github.com/bunq/sdk_csharp/issues/87)
119134
- Add more example scripts [\#77](https://github.com/bunq/sdk_csharp/issues/77)
120135
- Auto save the session after automatic session reset has been executed  [\#72](https://github.com/bunq/sdk_csharp/issues/72)
136+
- Monetary account joint cannot be retrieved. [\#50](https://github.com/bunq/sdk_csharp/issues/50)
121137
- Added support for netstandard15. \(bunq/sdk\_csharp\#26\) [\#88](https://github.com/bunq/sdk_csharp/pull/88) ([OGKevin](https://github.com/OGKevin))
122138

123-
**Fixed bugs:**
124-
125-
- NullReferenceException when calling CustomerStatementExport.List [\#96](https://github.com/bunq/sdk_csharp/issues/96)
126-
127139
**Closed issues:**
128140

129-
- Singleton ApiContext with multi-thread code [\#103](https://github.com/bunq/sdk_csharp/issues/103)
130141
- Add oauth support. [\#112](https://github.com/bunq/sdk_csharp/issues/112)
142+
- Singleton ApiContext with multi-thread code [\#103](https://github.com/bunq/sdk_csharp/issues/103)
131143
- Update Sandbox API key procedure [\#101](https://github.com/bunq/sdk_csharp/issues/101)
132-
- Move to new sandbox. [\#99](https://github.com/bunq/sdk_csharp/issues/99)
133-
- BunqSdk.Tests mention Java instead of C\# [\#97](https://github.com/bunq/sdk_csharp/issues/97)
134144
- .net standard 2.0 support [\#93](https://github.com/bunq/sdk_csharp/issues/93)
135145

136146
**Merged pull requests:**
137147

138-
- Added travis config. \(bunq/sdk\_csharp\#90\) [\#110](https://github.com/bunq/sdk_csharp/pull/110) ([OGKevin](https://github.com/OGKevin))
139-
- Change Java to Csharp in readme. \(bunq/sdk\_csharp\#97\) [\#98](https://github.com/bunq/sdk_csharp/pull/98) ([robinvanpoppel](https://github.com/robinvanpoppel))
140148
- Oauth bunq/sdk\_csharp\#112 [\#113](https://github.com/bunq/sdk_csharp/pull/113) ([OGKevin](https://github.com/OGKevin))
141149
- Auto reload context bunq/sdk\_csharp\#72 [\#111](https://github.com/bunq/sdk_csharp/pull/111) ([OGKevin](https://github.com/OGKevin))
150+
- Added travis config. \(bunq/sdk\_csharp\#90\) [\#110](https://github.com/bunq/sdk_csharp/pull/110) ([OGKevin](https://github.com/OGKevin))
142151
- Updated the examples on readme. \(bunq/sdk\_csharp\#91\) [\#109](https://github.com/bunq/sdk_csharp/pull/109) ([OGKevin](https://github.com/OGKevin))
143152
- Use tinker as examples bunq/sdk\_csharp\#77 [\#108](https://github.com/bunq/sdk_csharp/pull/108) ([OGKevin](https://github.com/OGKevin))
144153
- Optimise test framework bunq/sdk\_csharp\#87 [\#107](https://github.com/bunq/sdk_csharp/pull/107) ([OGKevin](https://github.com/OGKevin))
145154
- Added net standard 2 support. \(bunq/sdk\_csharp\#93\) [\#105](https://github.com/bunq/sdk_csharp/pull/105) ([nduijvelshoff](https://github.com/nduijvelshoff))
146155
- Update Sandbox API key procedure \(bunq/sdk\_csharp\#101\) [\#102](https://github.com/bunq/sdk_csharp/pull/102) ([sandervdo](https://github.com/sandervdo))
147156
- Changed sandbox url to the new one. \(bunq/sdk\_csharp\#99\) [\#100](https://github.com/bunq/sdk_csharp/pull/100) ([OGKevin](https://github.com/OGKevin))
157+
- Change Java to Csharp in readme. \(bunq/sdk\_csharp\#97\) [\#98](https://github.com/bunq/sdk_csharp/pull/98) ([robinvanpoppel](https://github.com/robinvanpoppel))
148158

149159
## [0.13.1](https://github.com/bunq/sdk_csharp/tree/0.13.1) (2018-05-30)
150160

151161
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/0.13.0...0.13.1)
152162

163+
**Closed issues:**
164+
165+
- Move to new sandbox. [\#99](https://github.com/bunq/sdk_csharp/issues/99)
166+
- BunqSdk.Tests mention Java instead of C\# [\#97](https://github.com/bunq/sdk_csharp/issues/97)
167+
153168
## [0.13.0](https://github.com/bunq/sdk_csharp/tree/0.13.0) (2018-03-20)
154169

155170
[Full Changelog](https://github.com/bunq/sdk_csharp/compare/0.12.4...0.13.0)

0 commit comments

Comments
 (0)