Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.343.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 18, 2024
1 parent 5b3b6c9 commit 7620f43
Show file tree
Hide file tree
Showing 82 changed files with 299 additions and 1,156 deletions.
91 changes: 40 additions & 51 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
lockVersion: 2.0.0
id: 6be0ff6b-aa40-4b34-a3eb-72d091b3c545
management:
docChecksum: 8134778d948a05652350ab91383aff9c
docVersion: 3.1.0
speakeasyVersion: 1.335.0
generationVersion: 2.370.2
releaseVersion: 0.0.3
configChecksum: d41c4dd5448f6b31d422386248d2a5b0
docChecksum: 8c2776c2cbcdc065c8bb4d1442f50ef5
docVersion: 3.2.0
speakeasyVersion: 1.343.0
generationVersion: 2.376.0
releaseVersion: 0.1.0
configChecksum: 27191b201ea859cbe26f76a3507b6d48
repoURL: https://github.com/BoltApp/Bolt-CSharp-SDK.git
features:
csharp:
additionalDependencies: 0.1.0
core: 3.9.9
core: 3.9.10
errorUnions: 0.1.0
flattening: 2.81.2
globalSecurity: 2.83.4
Expand All @@ -28,11 +28,11 @@ features:
unions: 0.1.1
generatedFiles:
- Boltpay/SDK/Account.cs
- Boltpay/SDK/Guest.cs
- Boltpay/SDK/LoggedIn.cs
- Boltpay/SDK/Guest.cs
- Boltpay/SDK/Payments.cs
- Boltpay/SDK/OAuth.cs
- Boltpay/SDK/Orders.cs
- Boltpay/SDK/OAuth.cs
- Boltpay/SDK/Testing.cs
- Boltpay/SDK/BoltSDK.cs
- global.json
Expand Down Expand Up @@ -68,26 +68,21 @@ generatedFiles:
- Boltpay/SDK/Models/Requests/AccountAddPaymentMethodResponse.cs
- Boltpay/SDK/Models/Requests/AccountPaymentMethodDeleteRequest.cs
- Boltpay/SDK/Models/Requests/AccountPaymentMethodDeleteResponse.cs
- Boltpay/SDK/Models/Requests/PaymentsInitializeRequest.cs
- Boltpay/SDK/Models/Requests/PaymentsInitializeResponse.cs
- Boltpay/SDK/Models/Requests/PaymentsActionRequest.cs
- Boltpay/SDK/Models/Requests/PaymentsActionResponse.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsInitializeSecurity.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsInitializeRequest.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsInitializeResponse.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsUpdateSecurity.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsUpdateRequest.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsUpdateResponse.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsActionSecurity.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsActionRequest.cs
- Boltpay/SDK/Models/Requests/GuestPaymentsActionResponse.cs
- Boltpay/SDK/Models/Requests/PaymentsInitializeRequest.cs
- Boltpay/SDK/Models/Requests/PaymentsInitializeResponse.cs
- Boltpay/SDK/Models/Requests/PaymentsUpdateRequest.cs
- Boltpay/SDK/Models/Requests/PaymentsUpdateResponse.cs
- Boltpay/SDK/Models/Requests/PaymentsActionRequest.cs
- Boltpay/SDK/Models/Requests/PaymentsActionResponse.cs
- Boltpay/SDK/Models/Requests/OauthGetTokenRequest.cs
- Boltpay/SDK/Models/Requests/OauthGetTokenResponse.cs
- Boltpay/SDK/Models/Requests/OrdersCreateSecurity.cs
- Boltpay/SDK/Models/Requests/OrdersCreateRequest.cs
- Boltpay/SDK/Models/Requests/OrdersCreateResponse.cs
- Boltpay/SDK/Models/Requests/OauthGetTokenRequest.cs
- Boltpay/SDK/Models/Requests/OauthGetTokenResponse.cs
- Boltpay/SDK/Models/Requests/TestingAccountCreateSecurity.cs
- Boltpay/SDK/Models/Requests/TestingAccountCreateRequest.cs
- Boltpay/SDK/Models/Requests/TestingAccountCreateResponse.cs
Expand Down Expand Up @@ -144,21 +139,22 @@ generatedFiles:
- Boltpay/SDK/Models/Components/PaymentResponsePendingStatus.cs
- Boltpay/SDK/Models/Components/Action.cs
- Boltpay/SDK/Models/Components/PaymentResponsePending.cs
- Boltpay/SDK/Models/Components/GuestPaymentInitializeRequest.cs
- Boltpay/SDK/Models/Components/PaymentInitializeRequest.cs
- Boltpay/SDK/Models/Components/PaymentMethodExtended.cs
- Boltpay/SDK/Models/Components/PaymentMethodReferenceTag.cs
- Boltpay/SDK/Models/Components/PaymentMethodReference.cs
- Boltpay/SDK/Models/Components/Cart.cs
- Boltpay/SDK/Models/Components/Currency.cs
- Boltpay/SDK/Models/Components/Amount.cs
- Boltpay/SDK/Models/Components/CartItem.cs
- Boltpay/SDK/Models/Components/CartDiscount.cs
- Boltpay/SDK/Models/Components/CartShipment.cs
- Boltpay/SDK/Models/Components/ProfileCreationData.cs
- Boltpay/SDK/Models/Components/PaymentUpdateRequest.cs
- Boltpay/SDK/Models/Components/PaymentActionRequestTag.cs
- Boltpay/SDK/Models/Components/PaymentActionRequest.cs
- Boltpay/SDK/Models/Components/PaymentInitializeRequest.cs
- Boltpay/SDK/Models/Components/PaymentMethodExtended.cs
- Boltpay/SDK/Models/Components/PaymentMethodReferenceTag.cs
- Boltpay/SDK/Models/Components/PaymentMethodReference.cs
- Boltpay/SDK/Models/Components/GuestPaymentInitializeRequest.cs
- Boltpay/SDK/Models/Components/ProfileCreationData.cs
- Boltpay/SDK/Models/Components/OrderResponse.cs
- Boltpay/SDK/Models/Components/Order.cs
- Boltpay/SDK/Models/Components/GetAccessTokenResponse.cs
- Boltpay/SDK/Models/Components/TokenRequest.cs
- Boltpay/SDK/Models/Components/GrantType.cs
Expand All @@ -167,8 +163,6 @@ generatedFiles:
- Boltpay/SDK/Models/Components/RefreshTokenRequestGrantType.cs
- Boltpay/SDK/Models/Components/RefreshTokenRequestScope.cs
- Boltpay/SDK/Models/Components/RefreshTokenRequest.cs
- Boltpay/SDK/Models/Components/OrderResponse.cs
- Boltpay/SDK/Models/Components/Order.cs
- Boltpay/SDK/Models/Components/EmailState.cs
- Boltpay/SDK/Models/Components/PhoneState.cs
- Boltpay/SDK/Models/Components/AccountTestCreationDataOutput.cs
Expand Down Expand Up @@ -200,26 +194,21 @@ generatedFiles:
- docs/Models/Requests/AccountAddPaymentMethodResponse.md
- docs/Models/Requests/AccountPaymentMethodDeleteRequest.md
- docs/Models/Requests/AccountPaymentMethodDeleteResponse.md
- docs/Models/Requests/PaymentsInitializeRequest.md
- docs/Models/Requests/PaymentsInitializeResponse.md
- docs/Models/Requests/PaymentsActionRequest.md
- docs/Models/Requests/PaymentsActionResponse.md
- docs/Models/Requests/GuestPaymentsInitializeSecurity.md
- docs/Models/Requests/GuestPaymentsInitializeRequest.md
- docs/Models/Requests/GuestPaymentsInitializeResponse.md
- docs/Models/Requests/GuestPaymentsUpdateSecurity.md
- docs/Models/Requests/GuestPaymentsUpdateRequest.md
- docs/Models/Requests/GuestPaymentsUpdateResponse.md
- docs/Models/Requests/GuestPaymentsActionSecurity.md
- docs/Models/Requests/GuestPaymentsActionRequest.md
- docs/Models/Requests/GuestPaymentsActionResponse.md
- docs/Models/Requests/PaymentsInitializeRequest.md
- docs/Models/Requests/PaymentsInitializeResponse.md
- docs/Models/Requests/PaymentsUpdateRequest.md
- docs/Models/Requests/PaymentsUpdateResponse.md
- docs/Models/Requests/PaymentsActionRequest.md
- docs/Models/Requests/PaymentsActionResponse.md
- docs/Models/Requests/OauthGetTokenRequest.md
- docs/Models/Requests/OauthGetTokenResponse.md
- docs/Models/Requests/OrdersCreateSecurity.md
- docs/Models/Requests/OrdersCreateRequest.md
- docs/Models/Requests/OrdersCreateResponse.md
- docs/Models/Requests/OauthGetTokenRequest.md
- docs/Models/Requests/OauthGetTokenResponse.md
- docs/Models/Requests/TestingAccountCreateSecurity.md
- docs/Models/Requests/TestingAccountCreateRequest.md
- docs/Models/Requests/TestingAccountCreateResponse.md
Expand Down Expand Up @@ -276,21 +265,22 @@ generatedFiles:
- docs/Models/Components/PaymentResponsePendingStatus.md
- docs/Models/Components/Action.md
- docs/Models/Components/PaymentResponsePending.md
- docs/Models/Components/GuestPaymentInitializeRequest.md
- docs/Models/Components/PaymentInitializeRequest.md
- docs/Models/Components/PaymentMethodExtended.md
- docs/Models/Components/PaymentMethodReferenceTag.md
- docs/Models/Components/PaymentMethodReference.md
- docs/Models/Components/Cart.md
- docs/Models/Components/Currency.md
- docs/Models/Components/Amount.md
- docs/Models/Components/CartItem.md
- docs/Models/Components/CartDiscount.md
- docs/Models/Components/CartShipment.md
- docs/Models/Components/ProfileCreationData.md
- docs/Models/Components/PaymentUpdateRequest.md
- docs/Models/Components/PaymentActionRequestTag.md
- docs/Models/Components/PaymentActionRequest.md
- docs/Models/Components/PaymentInitializeRequest.md
- docs/Models/Components/PaymentMethodExtended.md
- docs/Models/Components/PaymentMethodReferenceTag.md
- docs/Models/Components/PaymentMethodReference.md
- docs/Models/Components/GuestPaymentInitializeRequest.md
- docs/Models/Components/ProfileCreationData.md
- docs/Models/Components/OrderResponse.md
- docs/Models/Components/Order.md
- docs/Models/Components/GetAccessTokenResponse.md
- docs/Models/Components/TokenRequest.md
- docs/Models/Components/GrantType.md
Expand All @@ -299,8 +289,6 @@ generatedFiles:
- docs/Models/Components/RefreshTokenRequestGrantType.md
- docs/Models/Components/RefreshTokenRequestScope.md
- docs/Models/Components/RefreshTokenRequest.md
- docs/Models/Components/OrderResponse.md
- docs/Models/Components/Order.md
- docs/Models/Components/EmailState.md
- docs/Models/Components/PhoneState.md
- docs/Models/Components/AccountTestCreationDataOutput.md
Expand All @@ -323,12 +311,13 @@ generatedFiles:
- docs/sdks/boltsdk/README.md
- docs/sdks/account/README.md
- docs/sdks/payments/README.md
- docs/sdks/guest/README.md
- docs/sdks/loggedin/README.md
- docs/sdks/oauth/README.md
- docs/sdks/guest/README.md
- docs/sdks/orders/README.md
- docs/sdks/oauth/README.md
- docs/sdks/testing/README.md
- USAGE.md
- .gitattributes
- Boltpay/SDK/Hooks/SDKHooks.cs
- Boltpay/SDK/Hooks/HookTypes.cs
- CONTRIBUTING.md
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
csharp:
version: 0.0.3
version: 0.1.0
additionalDependencies: []
author: Speakeasy
clientServerStatusCodesAsErrors: true
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.335.0
speakeasyVersion: 1.343.0
sources:
bolt-csharp-api:
sourceNamespace: bolt-csharp-api
sourceRevisionDigest: sha256:c3a777d13cc74ca1c3bd6939c6dfbc029e49bc1339736b7f234289036e8c1735
sourceBlobDigest: sha256:a77794aed1632fc0b912bb540d7fd20c2bfa147dc0c9b31b217d34f8e9b1af69
sourceRevisionDigest: sha256:db3b4aa375e37ee2decce246cc3da3d423d1ff70f91fb07587fcc7691be35b5f
sourceBlobDigest: sha256:7a91be379d22da373358989e5d3966989afcc5b13c5d65e50a3c91acea2e0a17
tags:
- latest
- master
targets:
bolt-sdk:
source: bolt-csharp-api
sourceNamespace: bolt-csharp-api
sourceRevisionDigest: sha256:c3a777d13cc74ca1c3bd6939c6dfbc029e49bc1339736b7f234289036e8c1735
sourceBlobDigest: sha256:a77794aed1632fc0b912bb540d7fd20c2bfa147dc0c9b31b217d34f8e9b1af69
sourceRevisionDigest: sha256:db3b4aa375e37ee2decce246cc3da3d423d1ff70f91fb07587fcc7691be35b5f
sourceBlobDigest: sha256:7a91be379d22da373358989e5d3966989afcc5b13c5d65e50a3c91acea2e0a17
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
43 changes: 11 additions & 32 deletions Boltpay/SDK/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@ namespace Boltpay.SDK
using System;

/// <summary>
/// Account endpoints allow you to view and manage shoppers&apos; accounts. For example,<br/>
///
/// <remarks>
/// you can add or remove addresses and payment information.<br/>
///
/// </remarks>
/// Use the Accounts API to access shoppers&apos; accounts to empower your checkout and facilitate shoppers&apos; choices.
/// </summary>
public interface IAccount
{
Expand All @@ -55,10 +50,7 @@ public interface IAccount
/// Edit an existing address
///
/// <remarks>
/// Edit an existing address on the shopper&apos;s account. This does not edit addresses<br/>
/// that are already associated with other resources, such as transactions or<br/>
/// shipments.<br/>
///
/// Edit an existing address on the shopper&apos;s account. This does not edit addresses that are already associated with other resources, such as transactions or shipments.
/// </remarks>
/// </summary>
Task<AccountAddressEditResponse> UpdateAddressAsync(string xPublishableKey, string xMerchantClientId, string id, AddressListingInput addressListing);
Expand All @@ -67,22 +59,16 @@ public interface IAccount
/// Delete an existing address
///
/// <remarks>
/// Delete an existing address. Deleting an address does not invalidate transactions or<br/>
/// shipments that are associated with it.<br/>
///
/// Delete an existing address. Deleting an address does not invalidate or remove the address from transactions or shipments that are associated with it.
/// </remarks>
/// </summary>
Task<AccountAddressDeleteResponse> DeleteAddressAsync(string xPublishableKey, string xMerchantClientId, string id);

/// <summary>
/// Add a payment method to a shopper&apos;s Bolt account Wallet.
/// Add a payment method
///
/// <remarks>
/// Add a payment method to a shopper&apos;s Bolt account Wallet. For security purposes, this request must come from<br/>
/// your backend because authentication requires the use of your private key.&lt;br /&gt;<br/>
/// **Note**: Before using this API, the credit card details must be tokenized using Bolt&apos;s JavaScript library function,<br/>
/// which is documented in <a href="https://help.bolt.com/developers/references/bolt-tokenizer">Install the Bolt Tokenizer</a>.<br/>
///
/// Add a payment method to a shopper&apos;s Bolt Account Wallet. For security purposes, this request must come from your backend. &lt;br/&gt; **Note**: Before using this API, the credit card details must be tokenized by Bolt&apos;s credit card tokenization service. Please review our <a href="https://help.bolt.com/products/ignite/api-implementation/#enhance-payments">Bolt Payment Field Component</a> or <a href="https://help.bolt.com/developers/references/bolt-tokenizer">Install the Bolt Tokenizer</a> documentation.
/// </remarks>
/// </summary>
Task<AccountAddPaymentMethodResponse> AddPaymentMethodAsync(string xPublishableKey, string xMerchantClientId, PaymentMethodInput paymentMethod);
Expand All @@ -91,30 +77,23 @@ public interface IAccount
/// Delete an existing payment method
///
/// <remarks>
/// Delete an existing payment method. Deleting a payment method does not invalidate transactions or<br/>
/// orders that are associated with it.<br/>
///
/// Delete an existing payment method. Deleting a payment method does not invalidate or remove it from transactions or orders that are associated with it.
/// </remarks>
/// </summary>
Task<AccountPaymentMethodDeleteResponse> DeletePaymentMethodAsync(string xPublishableKey, string xMerchantClientId, string id);
}

/// <summary>
/// Account endpoints allow you to view and manage shoppers&apos; accounts. For example,<br/>
///
/// <remarks>
/// you can add or remove addresses and payment information.<br/>
///
/// </remarks>
/// Use the Accounts API to access shoppers&apos; accounts to empower your checkout and facilitate shoppers&apos; choices.
/// </summary>
public class Account: IAccount
{
public SDKConfig SDKConfiguration { get; private set; }
private const string _language = "csharp";
private const string _sdkVersion = "0.0.3";
private const string _sdkGenVersion = "2.370.2";
private const string _openapiDocVersion = "3.1.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.0.3 2.370.2 3.1.0 Boltpay.SDK";
private const string _sdkVersion = "0.1.0";
private const string _sdkGenVersion = "2.376.0";
private const string _openapiDocVersion = "3.2.0";
private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.376.0 3.2.0 Boltpay.SDK";
private string _serverUrl = "";
private ISpeakeasyHttpClient _client;
private Func<Security>? _securitySource;
Expand Down
Loading

0 comments on commit 7620f43

Please sign in to comment.