From c5fa52ec429a3e415e71aa21513506a481f75258 Mon Sep 17 00:00:00 2001 From: "shippo-sdks[bot]" <171860645+shippo-sdks[bot]@users.noreply.github.com> Date: Fri, 7 Jun 2024 11:34:14 -0500 Subject: [PATCH] ci: regenerated with OpenAPI Doc (#2) Co-authored-by: speakeasybot --- .speakeasy/gen.lock | 13 +++++++------ .speakeasy/workflow.lock | 15 ++++++++++----- README.md | 2 +- RELEASES.md | 11 +++++++++++ Shippo/Addresses.cs | 6 +++--- Shippo/Batches.cs | 6 +++--- Shippo/CarrierAccounts.cs | 6 +++--- Shippo/CarrierParcelTemplates.cs | 6 +++--- Shippo/CustomsDeclarations.cs | 6 +++--- Shippo/CustomsItems.cs | 6 +++--- Shippo/Manifests.cs | 6 +++--- Shippo/Orders.cs | 6 +++--- Shippo/Parcels.cs | 6 +++--- Shippo/Pickups.cs | 6 +++--- Shippo/Rates.cs | 6 +++--- Shippo/RatesAtCheckout.cs | 6 +++--- Shippo/Refunds.cs | 6 +++--- Shippo/ServiceGroups.cs | 6 +++--- Shippo/Shipments.cs | 6 +++--- Shippo/Shippo.csproj | 3 ++- Shippo/ShippoAccounts.cs | 6 +++--- Shippo/ShippoSDK.cs | 6 +++--- Shippo/TrackingStatus.cs | 6 +++--- Shippo/Transactions.cs | 6 +++--- Shippo/UserParcelTemplates.cs | 6 +++--- 25 files changed, 91 insertions(+), 73 deletions(-) create mode 100644 RELEASES.md diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index fd72478..f19af8e 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,15 +3,17 @@ id: 24fc7546-e445-46cb-91d2-49cbb44a86ac management: docChecksum: 609002aee5b1500e5e73ec2eb80f268d docVersion: "2018-02-08" - speakeasyVersion: 1.299.6 - generationVersion: 2.338.12 - releaseVersion: 0.1.0 - configChecksum: 91adf49a35c43ef494d5bbd5490e4862 + speakeasyVersion: 1.300.1 + generationVersion: 2.339.1 + releaseVersion: 4.0.0-beta.1 + configChecksum: 1e4a3090b0d97be2b9310aeaa879efc5 + repoURL: https://github.com/goshippo/shippo-csharp-sdk.git + published: true features: csharp: additionalDependencies: 0.1.0 constsAndDefaults: 0.0.1 - core: 3.9.3 + core: 3.9.4 flattening: 2.81.2 globalSecurity: 2.83.4 globalSecurityCallbacks: 0.1.0 @@ -46,7 +48,6 @@ generatedFiles: - Shippo/ShippoAccounts.cs - Shippo/ShippoSDK.cs - global.json - - Shippo.sln - Shippo/Utils/AnyDeserializer.cs - Shippo/Utils/BigIntStrConverter.cs - Shippo/Utils/DecimalStrConverter.cs diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 1401a77..8c20e55 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,17 +1,19 @@ -speakeasyVersion: 1.299.6 +speakeasyVersion: 1.300.1 sources: openapi: sourceNamespace: openapi - sourceRevisionDigest: sha256:4dfaf65fb7bd151cd888f9b929beebf0b1b82ffd54310141a0dc71cc51184e0b - sourceBlobDigest: sha256:d5bab9648473be21eb7d2d79b5495a7646d759666fa4556aeb4ca885c7b41afb + sourceRevisionDigest: sha256:a19458bdacecbc87b9fc93fd4e96fdabae818f55ef6e139eb8b372136ac9f23c + sourceBlobDigest: sha256:00cb1d872a2518a672dbb129cd4a5f01c80aae57bf7db6af34594af4aef4f8b6 tags: - latest + - main targets: csharp: source: openapi sourceNamespace: openapi - sourceRevisionDigest: sha256:4dfaf65fb7bd151cd888f9b929beebf0b1b82ffd54310141a0dc71cc51184e0b - sourceBlobDigest: sha256:d5bab9648473be21eb7d2d79b5495a7646d759666fa4556aeb4ca885c7b41afb + sourceRevisionDigest: sha256:a19458bdacecbc87b9fc93fd4e96fdabae818f55ef6e139eb8b372136ac9f23c + sourceBlobDigest: sha256:00cb1d872a2518a672dbb129cd4a5f01c80aae57bf7db6af34594af4aef4f8b6 + outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -25,3 +27,6 @@ workflow: csharp: target: csharp source: openapi + publish: + nuget: + apiKey: $nuget_api_key diff --git a/README.md b/README.md index 1287b5b..c7d2895 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ### Nuget ```bash -dotnet add reference path/to/Shippo.csproj +dotnet add package Shippo ``` diff --git a/RELEASES.md b/RELEASES.md new file mode 100644 index 0000000..087495a --- /dev/null +++ b/RELEASES.md @@ -0,0 +1,11 @@ + + +## 2024-06-07 16:27:42 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.300.1 (2.339.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [csharp v4.0.0-beta.1] . +### Releases +- [NuGet v4.0.0-beta.1] https://www.nuget.org/packages/Shippo/4.0.0-beta.1 - . \ No newline at end of file diff --git a/Shippo/Addresses.cs b/Shippo/Addresses.cs index b6237ba..4991123 100644 --- a/Shippo/Addresses.cs +++ b/Shippo/Addresses.cs @@ -80,10 +80,10 @@ public class Addresses: IAddresses { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Batches.cs b/Shippo/Batches.cs index 3705a89..b5ba284 100644 --- a/Shippo/Batches.cs +++ b/Shippo/Batches.cs @@ -111,10 +111,10 @@ public class Batches: IBatches { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/CarrierAccounts.cs b/Shippo/CarrierAccounts.cs index 656ca09..6f60e6f 100644 --- a/Shippo/CarrierAccounts.cs +++ b/Shippo/CarrierAccounts.cs @@ -113,10 +113,10 @@ public class CarrierAccounts: ICarrierAccounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/CarrierParcelTemplates.cs b/Shippo/CarrierParcelTemplates.cs index 0f494fd..82632ae 100644 --- a/Shippo/CarrierParcelTemplates.cs +++ b/Shippo/CarrierParcelTemplates.cs @@ -64,10 +64,10 @@ public class CarrierParcelTemplates: ICarrierParcelTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/CustomsDeclarations.cs b/Shippo/CustomsDeclarations.cs index 2762122..e21b99f 100644 --- a/Shippo/CustomsDeclarations.cs +++ b/Shippo/CustomsDeclarations.cs @@ -73,10 +73,10 @@ public class CustomsDeclarations: ICustomsDeclarations { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/CustomsItems.cs b/Shippo/CustomsItems.cs index 90fc74d..54fecc5 100644 --- a/Shippo/CustomsItems.cs +++ b/Shippo/CustomsItems.cs @@ -71,10 +71,10 @@ public class CustomsItems: ICustomsItems { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Manifests.cs b/Shippo/Manifests.cs index 71db4cd..c780952 100644 --- a/Shippo/Manifests.cs +++ b/Shippo/Manifests.cs @@ -83,10 +83,10 @@ public class Manifests: IManifests { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Orders.cs b/Shippo/Orders.cs index 0aee13d..476b1ef 100644 --- a/Shippo/Orders.cs +++ b/Shippo/Orders.cs @@ -93,10 +93,10 @@ public class Orders: IOrders { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Parcels.cs b/Shippo/Parcels.cs index f4dad8d..3d1e698 100644 --- a/Shippo/Parcels.cs +++ b/Shippo/Parcels.cs @@ -79,10 +79,10 @@ public class Parcels: IParcels { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Pickups.cs b/Shippo/Pickups.cs index 28d80b4..9be98fa 100644 --- a/Shippo/Pickups.cs +++ b/Shippo/Pickups.cs @@ -55,10 +55,10 @@ public class Pickups: IPickups { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Rates.cs b/Shippo/Rates.cs index 9744e84..890af07 100644 --- a/Shippo/Rates.cs +++ b/Shippo/Rates.cs @@ -77,10 +77,10 @@ public class Rates: IRates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/RatesAtCheckout.cs b/Shippo/RatesAtCheckout.cs index 6460a4e..ac8f574 100644 --- a/Shippo/RatesAtCheckout.cs +++ b/Shippo/RatesAtCheckout.cs @@ -97,10 +97,10 @@ public class RatesAtCheckout: IRatesAtCheckout { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Refunds.cs b/Shippo/Refunds.cs index 6f12e06..8700099 100644 --- a/Shippo/Refunds.cs +++ b/Shippo/Refunds.cs @@ -71,10 +71,10 @@ public class Refunds: IRefunds { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/ServiceGroups.cs b/Shippo/ServiceGroups.cs index ec4ad76..f3d435a 100644 --- a/Shippo/ServiceGroups.cs +++ b/Shippo/ServiceGroups.cs @@ -82,10 +82,10 @@ public class ServiceGroups: IServiceGroups { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Shipments.cs b/Shippo/Shipments.cs index 9c69ba5..7431f5f 100644 --- a/Shippo/Shipments.cs +++ b/Shippo/Shipments.cs @@ -96,10 +96,10 @@ public class Shipments: IShipments { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Shippo.csproj b/Shippo/Shippo.csproj index 1605b82..f3e290e 100644 --- a/Shippo/Shippo.csproj +++ b/Shippo/Shippo.csproj @@ -2,13 +2,14 @@ true Shippo - 0.1.0 + 4.0.0-beta.1 Shippo net6.0 enable README.md true 1591 + https://github.com/goshippo/shippo-csharp-sdk diff --git a/Shippo/ShippoAccounts.cs b/Shippo/ShippoAccounts.cs index 5844f88..83078ea 100644 --- a/Shippo/ShippoAccounts.cs +++ b/Shippo/ShippoAccounts.cs @@ -84,10 +84,10 @@ public class ShippoAccounts: IShippoAccounts { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/ShippoSDK.cs b/Shippo/ShippoSDK.cs index c2ccba3..af259df 100644 --- a/Shippo/ShippoSDK.cs +++ b/Shippo/ShippoSDK.cs @@ -303,10 +303,10 @@ public class ShippoSDK: IShippoSDK public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private int _serverIndex = 0; private ISpeakeasyHttpClient _client; diff --git a/Shippo/TrackingStatus.cs b/Shippo/TrackingStatus.cs index c7038f2..63f7df8 100644 --- a/Shippo/TrackingStatus.cs +++ b/Shippo/TrackingStatus.cs @@ -80,10 +80,10 @@ public class TrackingStatus: ITrackingStatus { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/Transactions.cs b/Shippo/Transactions.cs index ba80174..2e01f2d 100644 --- a/Shippo/Transactions.cs +++ b/Shippo/Transactions.cs @@ -71,10 +71,10 @@ public class Transactions: ITransactions { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource; diff --git a/Shippo/UserParcelTemplates.cs b/Shippo/UserParcelTemplates.cs index d16efed..c75637e 100644 --- a/Shippo/UserParcelTemplates.cs +++ b/Shippo/UserParcelTemplates.cs @@ -106,10 +106,10 @@ public class UserParcelTemplates: IUserParcelTemplates { public SDKConfig SDKConfiguration { get; private set; } private const string _language = "csharp"; - private const string _sdkVersion = "0.1.0"; - private const string _sdkGenVersion = "2.338.12"; + private const string _sdkVersion = "4.0.0-beta.1"; + private const string _sdkGenVersion = "2.339.1"; private const string _openapiDocVersion = "2018-02-08"; - private const string _userAgent = "speakeasy-sdk/csharp 0.1.0 2.338.12 2018-02-08 Shippo"; + private const string _userAgent = "speakeasy-sdk/csharp 4.0.0-beta.1 2.339.1 2018-02-08 Shippo"; private string _serverUrl = ""; private ISpeakeasyHttpClient _client; private Func? _securitySource;