Skip to content

Commit 21a36fc

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.421.2
1 parent 6a2c7f2 commit 21a36fc

38 files changed

+1225
-537
lines changed

.speakeasy/gen.lock

+753-243
Large diffs are not rendered by default.

.speakeasy/gen.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
auth:
1313
oAuth2ClientCredentialsEnabled: false
1414
csharp:
15-
version: 0.2.1
15+
version: 0.3.0
1616
additionalDependencies: []
1717
author: Speakeasy
1818
clientServerStatusCodesAsErrors: true
@@ -35,3 +35,4 @@ csharp:
3535
packageName: Boltpay.SDK
3636
packageTags: ""
3737
responseFormat: envelope-http
38+
sourceDirectory: ""

.speakeasy/workflow.lock

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
1-
speakeasyVersion: 1.390.7
1+
speakeasyVersion: 1.421.2
22
sources:
33
bolt-csharp-api:
44
sourceNamespace: bolt-csharp-api
5-
sourceRevisionDigest: sha256:7cf2f95e80bcf55bcfda06d7c45988074ae88241aa57404a3bd6ee6a8ce11525
6-
sourceBlobDigest: sha256:27d07c65383b445e0fd3a098783adeabae528de8fda49d2e814fb07322139a63
5+
sourceRevisionDigest: sha256:e6d1652183b280c58d60fd08b6c61af949eedae16c2132d08f6c24654f2e12d0
6+
sourceBlobDigest: sha256:27ef8260eccf290aa1e165a587971b1472681ad89653dbbf18fcaf785d2f22b2
77
tags:
88
- latest
99
- master
1010
targets:
1111
bolt-sdk:
1212
source: bolt-csharp-api
1313
sourceNamespace: bolt-csharp-api
14-
sourceRevisionDigest: sha256:7cf2f95e80bcf55bcfda06d7c45988074ae88241aa57404a3bd6ee6a8ce11525
15-
sourceBlobDigest: sha256:27d07c65383b445e0fd3a098783adeabae528de8fda49d2e814fb07322139a63
16-
outLocation: /github/workspace/repo
14+
sourceRevisionDigest: sha256:e6d1652183b280c58d60fd08b6c61af949eedae16c2132d08f6c24654f2e12d0
15+
sourceBlobDigest: sha256:27ef8260eccf290aa1e165a587971b1472681ad89653dbbf18fcaf785d2f22b2
1716
workflow:
1817
workflowVersion: 1.0.0
1918
speakeasyVersion: latest

Boltpay/SDK/Account.cs

+31-51
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface IAccount
3232
/// Retrieve account details
3333
///
3434
/// <remarks>
35-
/// Retrieve a shopper&apos;s account details, such as addresses and payment information
35+
/// Retrieve a shopper&apos;s account details, such as addresses and payment information. The account&apos;s details are filtered to be relevant to your merchant account, and some fields may be missing for some accounts. See the schema for details.
3636
/// </remarks>
3737
/// </summary>
3838
Task<AccountGetResponse> GetDetailsAsync(string xPublishableKey, string xMerchantClientId);
@@ -90,10 +90,10 @@ public class Account: IAccount
9090
{
9191
public SDKConfig SDKConfiguration { get; private set; }
9292
private const string _language = "csharp";
93-
private const string _sdkVersion = "0.2.1";
94-
private const string _sdkGenVersion = "2.409.8";
95-
private const string _openapiDocVersion = "3.2.1";
96-
private const string _userAgent = "speakeasy-sdk/csharp 0.2.1 2.409.8 3.2.1 Boltpay.SDK";
93+
private const string _sdkVersion = "0.3.0";
94+
private const string _sdkGenVersion = "2.438.15";
95+
private const string _openapiDocVersion = "3.2.3";
96+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.438.15 3.2.3 Boltpay.SDK";
9797
private string _serverUrl = "";
9898
private ISpeakeasyHttpClient _client;
9999
private Func<Boltpay.SDK.Models.Components.Security>? _securitySource;
@@ -178,10 +178,8 @@ public async Task<AccountGetResponse> GetDetailsAsync(string xPublishableKey, st
178178
response.Account = obj;
179179
return response;
180180
}
181-
else
182-
{
183-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
184-
}
181+
182+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
185183
}
186184
else if(responseStatusCode >= 400 && responseStatusCode < 500)
187185
{
@@ -197,14 +195,12 @@ public async Task<AccountGetResponse> GetDetailsAsync(string xPublishableKey, st
197195
throw new InvalidOperationException("Unknown error type.");
198196
};
199197
}
200-
else
201-
{
202-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
203-
}
198+
199+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
204200
}
205201
else if(responseStatusCode >= 500 && responseStatusCode < 600)
206202
{
207-
throw new SDKException("API error occurred", httpRequest, httpResponse);
203+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
208204
}
209205
else
210206
{
@@ -298,10 +294,8 @@ public async Task<AccountAddressCreateResponse> AddAddressAsync(string xPublisha
298294
response.AddressListing = obj;
299295
return response;
300296
}
301-
else
302-
{
303-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
304-
}
297+
298+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
305299
}
306300
else if(responseStatusCode >= 400 && responseStatusCode < 500)
307301
{
@@ -317,14 +311,12 @@ public async Task<AccountAddressCreateResponse> AddAddressAsync(string xPublisha
317311
throw new InvalidOperationException("Unknown error type.");
318312
};
319313
}
320-
else
321-
{
322-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
323-
}
314+
315+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
324316
}
325317
else if(responseStatusCode >= 500 && responseStatusCode < 600)
326318
{
327-
throw new SDKException("API error occurred", httpRequest, httpResponse);
319+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
328320
}
329321
else
330322
{
@@ -418,10 +410,8 @@ public async Task<AccountAddressEditResponse> UpdateAddressAsync(string xPublish
418410
response.AddressListing = obj;
419411
return response;
420412
}
421-
else
422-
{
423-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
424-
}
413+
414+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
425415
}
426416
else if(responseStatusCode >= 400 && responseStatusCode < 500)
427417
{
@@ -437,14 +427,12 @@ public async Task<AccountAddressEditResponse> UpdateAddressAsync(string xPublish
437427
throw new InvalidOperationException("Unknown error type.");
438428
};
439429
}
440-
else
441-
{
442-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
443-
}
430+
431+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
444432
}
445433
else if(responseStatusCode >= 500 && responseStatusCode < 600)
446434
{
447-
throw new SDKException("API error occurred", httpRequest, httpResponse);
435+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
448436
}
449437
else
450438
{
@@ -529,14 +517,12 @@ public async Task<AccountAddressDeleteResponse> DeleteAddressAsync(string xPubli
529517
throw new InvalidOperationException("Unknown error type.");
530518
};
531519
}
532-
else
533-
{
534-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
535-
}
520+
521+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
536522
}
537523
else if(responseStatusCode >= 500 && responseStatusCode < 600)
538524
{
539-
throw new SDKException("API error occurred", httpRequest, httpResponse);
525+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
540526
}
541527
else
542528
{
@@ -630,10 +616,8 @@ public async Task<AccountAddPaymentMethodResponse> AddPaymentMethodAsync(string
630616
response.PaymentMethod = obj;
631617
return response;
632618
}
633-
else
634-
{
635-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
636-
}
619+
620+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
637621
}
638622
else if(responseStatusCode >= 400 && responseStatusCode < 500)
639623
{
@@ -651,14 +635,12 @@ public async Task<AccountAddPaymentMethodResponse> AddPaymentMethodAsync(string
651635
throw new InvalidOperationException("Unknown error type.");
652636
};
653637
}
654-
else
655-
{
656-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
657-
}
638+
639+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
658640
}
659641
else if(responseStatusCode >= 500 && responseStatusCode < 600)
660642
{
661-
throw new SDKException("API error occurred", httpRequest, httpResponse);
643+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
662644
}
663645
else
664646
{
@@ -743,14 +725,12 @@ public async Task<AccountPaymentMethodDeleteResponse> DeletePaymentMethodAsync(s
743725
throw new InvalidOperationException("Unknown error type.");
744726
};
745727
}
746-
else
747-
{
748-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
749-
}
728+
729+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
750730
}
751731
else if(responseStatusCode >= 500 && responseStatusCode < 600)
752732
{
753-
throw new SDKException("API error occurred", httpRequest, httpResponse);
733+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
754734
}
755735
else
756736
{

Boltpay/SDK/BoltSDK.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ public class BoltSDK: IBoltSDK
136136
public SDKConfig SDKConfiguration { get; private set; }
137137

138138
private const string _language = "csharp";
139-
private const string _sdkVersion = "0.2.1";
140-
private const string _sdkGenVersion = "2.409.8";
141-
private const string _openapiDocVersion = "3.2.1";
142-
private const string _userAgent = "speakeasy-sdk/csharp 0.2.1 2.409.8 3.2.1 Boltpay.SDK";
139+
private const string _sdkVersion = "0.3.0";
140+
private const string _sdkGenVersion = "2.438.15";
141+
private const string _openapiDocVersion = "3.2.3";
142+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.438.15 3.2.3 Boltpay.SDK";
143143
private string _serverUrl = "";
144144
private int _serverIndex = 0;
145145
private ISpeakeasyHttpClient _client;

Boltpay/SDK/Boltpay.SDK.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<IsPackable>true</IsPackable>
55
<PackageId>Boltpay.SDK</PackageId>
6-
<Version>0.2.1</Version>
6+
<Version>0.3.0</Version>
77
<TargetFramework>net8.0</TargetFramework>
88
<Authors>Speakeasy</Authors>
99
<Copyright>Copyright (c) Speakeasy 2024</Copyright>

Boltpay/SDK/Guest.cs

+14-22
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ public class Guest: IGuest
4848
{
4949
public SDKConfig SDKConfiguration { get; private set; }
5050
private const string _language = "csharp";
51-
private const string _sdkVersion = "0.2.1";
52-
private const string _sdkGenVersion = "2.409.8";
53-
private const string _openapiDocVersion = "3.2.1";
54-
private const string _userAgent = "speakeasy-sdk/csharp 0.2.1 2.409.8 3.2.1 Boltpay.SDK";
51+
private const string _sdkVersion = "0.3.0";
52+
private const string _sdkGenVersion = "2.438.15";
53+
private const string _openapiDocVersion = "3.2.3";
54+
private const string _userAgent = "speakeasy-sdk/csharp 0.3.0 2.438.15 3.2.3 Boltpay.SDK";
5555
private string _serverUrl = "";
5656
private ISpeakeasyHttpClient _client;
5757
private Func<Boltpay.SDK.Models.Components.Security>? _securitySource;
@@ -145,10 +145,8 @@ public async Task<GuestPaymentsInitializeResponse> InitializeAsync(GuestPayments
145145
response.PaymentResponse = obj;
146146
return response;
147147
}
148-
else
149-
{
150-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
151-
}
148+
149+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
152150
}
153151
else if(responseStatusCode >= 400 && responseStatusCode < 500)
154152
{
@@ -168,14 +166,12 @@ public async Task<GuestPaymentsInitializeResponse> InitializeAsync(GuestPayments
168166
throw new InvalidOperationException("Unknown error type.");
169167
};
170168
}
171-
else
172-
{
173-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
174-
}
169+
170+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
175171
}
176172
else if(responseStatusCode >= 500 && responseStatusCode < 600)
177173
{
178-
throw new SDKException("API error occurred", httpRequest, httpResponse);
174+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
179175
}
180176
else
181177
{
@@ -271,10 +267,8 @@ public async Task<GuestPaymentsActionResponse> PerformActionAsync(GuestPaymentsA
271267
response.PaymentResponse = obj;
272268
return response;
273269
}
274-
else
275-
{
276-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
277-
}
270+
271+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
278272
}
279273
else if(responseStatusCode >= 400 && responseStatusCode < 500)
280274
{
@@ -290,14 +284,12 @@ public async Task<GuestPaymentsActionResponse> PerformActionAsync(GuestPaymentsA
290284
throw new InvalidOperationException("Unknown error type.");
291285
};
292286
}
293-
else
294-
{
295-
throw new SDKException("Unknown content type received", httpRequest, httpResponse);
296-
}
287+
288+
throw new Models.Errors.SDKException("Unknown content type received", httpRequest, httpResponse);
297289
}
298290
else if(responseStatusCode >= 500 && responseStatusCode < 600)
299291
{
300-
throw new SDKException("API error occurred", httpRequest, httpResponse);
292+
throw new Models.Errors.SDKException("API error occurred", httpRequest, httpResponse);
301293
}
302294
else
303295
{

0 commit comments

Comments
 (0)