Skip to content

Commit 509145c

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.448.2
1 parent dbd6843 commit 509145c

32 files changed

+135
-126
lines changed

.speakeasy/gen.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 24fc7546-e445-46cb-91d2-49cbb44a86ac
33
management:
4-
docChecksum: 256e7d68eaf807fc9ef86f8311e8a13f
4+
docChecksum: a6c512b6d11850750009f70a734d6247
55
docVersion: "2018-02-08"
6-
speakeasyVersion: 1.447.0
7-
generationVersion: 2.463.0
8-
releaseVersion: 5.0.0-beta.9
9-
configChecksum: 3671fecd164d670575a5fadc76984fa8
6+
speakeasyVersion: 1.448.2
7+
generationVersion: 2.467.4
8+
releaseVersion: 5.0.0-beta.10
9+
configChecksum: 7dc9f9bcc95976d1774705d3cd4ae64a
1010
repoURL: https://github.com/goshippo/shippo-csharp-sdk.git
1111
published: true
1212
features:

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
csharp:
16-
version: 5.0.0-beta.9
16+
version: 5.0.0-beta.10
1717
additionalDependencies: []
1818
author: Shippo
1919
clientServerStatusCodesAsErrors: true

.speakeasy/workflow.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.447.0
1+
speakeasyVersion: 1.448.2
22
sources:
33
openapi:
44
sourceNamespace: openapi
5-
sourceRevisionDigest: sha256:33370e133d3ed110a28d8f54ab74952099de562bdc22dc5386cb760f0fe01b2d
6-
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
5+
sourceRevisionDigest: sha256:62e56290e1f401e251a593ed2bcfb6a899baea2b0ddd3883fe971e8f3203b1ec
6+
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1732636811
9+
- speakeasy-sdk-regen-1733098817
1010
- "2018-02-08"
1111
targets:
1212
csharp:
1313
source: openapi
1414
sourceNamespace: openapi
15-
sourceRevisionDigest: sha256:33370e133d3ed110a28d8f54ab74952099de562bdc22dc5386cb760f0fe01b2d
16-
sourceBlobDigest: sha256:8c66d55b10c00886e8fd1f2b6ea6b233bccf17f622fed046dcf302d5da3f91f5
17-
codeSamplesNamespace: openapi-code-samples
18-
codeSamplesRevisionDigest: sha256:647654e9271aa56042482d39883ea26ee4daadfc87152727f13dfbf47db42237
15+
sourceRevisionDigest: sha256:62e56290e1f401e251a593ed2bcfb6a899baea2b0ddd3883fe971e8f3203b1ec
16+
sourceBlobDigest: sha256:422c969f0c8ded72f1dc9d756407a9d51740270b9d16fd9c4f4a9d50f4e714ba
17+
codeSamplesNamespace: openapi-csharp-code-samples
18+
codeSamplesRevisionDigest: sha256:97959d1318d0562a0a16338f612a7455605d2d250c7d9178aeff5df760562e0a
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest
@@ -34,5 +34,5 @@ workflow:
3434
apiKey: $nuget_api_key
3535
codeSamples:
3636
registry:
37-
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
37+
location: registry.speakeasyapi.dev/shippo/shippo/openapi-csharp-code-samples
3838
blocking: false

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ targets:
1515
apiKey: $nuget_api_key
1616
codeSamples:
1717
registry:
18-
location: registry.speakeasyapi.dev/shippo/shippo/openapi-code-samples
18+
location: registry.speakeasyapi.dev/shippo/shippo/openapi-csharp-code-samples
1919
blocking: false

NUGET.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,38 @@ var res = await sdk.Addresses.ListAsync(
2626
```
2727
<!-- End SDK Example Usage [usage] -->
2828

29+
<!-- Start Authentication [security] -->
30+
## Authentication
31+
32+
### Per-Client Security Schemes
33+
34+
This SDK supports the following security scheme globally:
35+
36+
| Name | Type | Scheme |
37+
| -------------- | ------ | ------- |
38+
| `APIKeyHeader` | apiKey | API key |
39+
40+
To authenticate with the API the `APIKeyHeader` parameter must be set when initializing the SDK client instance. For example:
41+
```csharp
42+
using Shippo;
43+
using Shippo.Models.Requests;
44+
using Shippo.Models.Components;
45+
46+
var sdk = new ShippoSDK(
47+
apiKeyHeader: "<YOUR_API_KEY_HERE>",
48+
shippoApiVersion: "2018-02-08"
49+
);
50+
51+
var res = await sdk.Addresses.ListAsync(
52+
page: 1,
53+
results: 5,
54+
shippoApiVersion: "2018-02-08"
55+
);
56+
57+
// handle response
58+
```
59+
<!-- End Authentication [security] -->
60+
2961
<!-- Start Error Handling [errors] -->
3062
## Error Handling
3163

@@ -127,36 +159,4 @@ var res = await sdk.Addresses.ListAsync(
127159
```
128160
<!-- End Server Selection [server] -->
129161

130-
<!-- Start Authentication [security] -->
131-
## Authentication
132-
133-
### Per-Client Security Schemes
134-
135-
This SDK supports the following security scheme globally:
136-
137-
| Name | Type | Scheme |
138-
| -------------- | ------ | ------- |
139-
| `APIKeyHeader` | apiKey | API key |
140-
141-
To authenticate with the API the `APIKeyHeader` parameter must be set when initializing the SDK client instance. For example:
142-
```csharp
143-
using Shippo;
144-
using Shippo.Models.Requests;
145-
using Shippo.Models.Components;
146-
147-
var sdk = new ShippoSDK(
148-
apiKeyHeader: "<YOUR_API_KEY_HERE>",
149-
shippoApiVersion: "2018-02-08"
150-
);
151-
152-
var res = await sdk.Addresses.ListAsync(
153-
page: 1,
154-
results: 5,
155-
shippoApiVersion: "2018-02-08"
156-
);
157-
158-
// handle response
159-
```
160-
<!-- End Authentication [security] -->
161-
162162
<!-- Placeholder for Future Speakeasy SDK Sections -->

README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,17 @@ Shippo external API.: Use this API to integrate with the Shippo service
2121

2222
<!-- Start Table of Contents [toc] -->
2323
## Table of Contents
24+
<!-- $toc-max-depth=2 -->
25+
* [<img src="https://docs.goshippo.com/images/Logo.png" width="30" alt="Shippo logo"> Shippo C# SDK](#img-srchttpsdocsgoshippocomimageslogopng-width30-altshippo-logo-shippo-c-sdk)
26+
* [SDK Installation](#sdk-installation)
27+
* [SDK Example Usage](#sdk-example-usage)
28+
* [Custom HTTP Client](#custom-http-client)
29+
* [Documentation](#documentation)
30+
* [Available Resources and Operations](#available-resources-and-operations)
31+
* [Development](#development)
32+
* [Contributions](#contributions)
33+
* [About Shippo](#about-shippo)
2434

25-
* [SDK Installation](#sdk-installation)
26-
* [SDK Example Usage](#sdk-example-usage)
27-
* [Available Resources and Operations](#available-resources-and-operations)
28-
* [Error Handling](#error-handling)
29-
* [Server Selection](#server-selection)
30-
* [Authentication](#authentication)
3135
<!-- End Table of Contents [toc] -->
3236

3337
<!-- Start SDK Installation [installation] -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,14 @@ Based on:
108108
### Generated
109109
- [csharp v5.0.0-beta.9] .
110110
### Releases
111-
- [NuGet v5.0.0-beta.9] https://www.nuget.org/packages/Shippo/5.0.0-beta.9 - .
111+
- [NuGet v5.0.0-beta.9] https://www.nuget.org/packages/Shippo/5.0.0-beta.9 - .
112+
113+
## 2024-12-02 00:20:13
114+
### Changes
115+
Based on:
116+
- OpenAPI Doc
117+
- Speakeasy CLI 1.448.2 (2.467.4) https://github.com/speakeasy-api/speakeasy
118+
### Generated
119+
- [csharp v5.0.0-beta.10] .
120+
### Releases
121+
- [NuGet v5.0.0-beta.10] https://www.nuget.org/packages/Shippo/5.0.0-beta.10 - .

Shippo/Addresses.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public class Addresses: IAddresses
8080
{
8181
public SDKConfig SDKConfiguration { get; private set; }
8282
private const string _language = "csharp";
83-
private const string _sdkVersion = "5.0.0-beta.9";
84-
private const string _sdkGenVersion = "2.463.0";
83+
private const string _sdkVersion = "5.0.0-beta.10";
84+
private const string _sdkGenVersion = "2.467.4";
8585
private const string _openapiDocVersion = "2018-02-08";
86-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
86+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
8787
private string _serverUrl = "";
8888
private ISpeakeasyHttpClient _client;
8989
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Batches.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ public class Batches: IBatches
111111
{
112112
public SDKConfig SDKConfiguration { get; private set; }
113113
private const string _language = "csharp";
114-
private const string _sdkVersion = "5.0.0-beta.9";
115-
private const string _sdkGenVersion = "2.463.0";
114+
private const string _sdkVersion = "5.0.0-beta.10";
115+
private const string _sdkGenVersion = "2.467.4";
116116
private const string _openapiDocVersion = "2018-02-08";
117-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
117+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
118118
private string _serverUrl = "";
119119
private ISpeakeasyHttpClient _client;
120120
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/CarrierAccounts.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ public class CarrierAccounts: ICarrierAccounts
113113
{
114114
public SDKConfig SDKConfiguration { get; private set; }
115115
private const string _language = "csharp";
116-
private const string _sdkVersion = "5.0.0-beta.9";
117-
private const string _sdkGenVersion = "2.463.0";
116+
private const string _sdkVersion = "5.0.0-beta.10";
117+
private const string _sdkGenVersion = "2.467.4";
118118
private const string _openapiDocVersion = "2018-02-08";
119-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
119+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
120120
private string _serverUrl = "";
121121
private ISpeakeasyHttpClient _client;
122122
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/CarrierParcelTemplates.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ public class CarrierParcelTemplates: ICarrierParcelTemplates
7070
{
7171
public SDKConfig SDKConfiguration { get; private set; }
7272
private const string _language = "csharp";
73-
private const string _sdkVersion = "5.0.0-beta.9";
74-
private const string _sdkGenVersion = "2.463.0";
73+
private const string _sdkVersion = "5.0.0-beta.10";
74+
private const string _sdkGenVersion = "2.467.4";
7575
private const string _openapiDocVersion = "2018-02-08";
76-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
76+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
7777
private string _serverUrl = "";
7878
private ISpeakeasyHttpClient _client;
7979
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/CustomsDeclarations.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ public class CustomsDeclarations: ICustomsDeclarations
7373
{
7474
public SDKConfig SDKConfiguration { get; private set; }
7575
private const string _language = "csharp";
76-
private const string _sdkVersion = "5.0.0-beta.9";
77-
private const string _sdkGenVersion = "2.463.0";
76+
private const string _sdkVersion = "5.0.0-beta.10";
77+
private const string _sdkGenVersion = "2.467.4";
7878
private const string _openapiDocVersion = "2018-02-08";
79-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
79+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
8080
private string _serverUrl = "";
8181
private ISpeakeasyHttpClient _client;
8282
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/CustomsItems.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public class CustomsItems: ICustomsItems
7171
{
7272
public SDKConfig SDKConfiguration { get; private set; }
7373
private const string _language = "csharp";
74-
private const string _sdkVersion = "5.0.0-beta.9";
75-
private const string _sdkGenVersion = "2.463.0";
74+
private const string _sdkVersion = "5.0.0-beta.10";
75+
private const string _sdkGenVersion = "2.467.4";
7676
private const string _openapiDocVersion = "2018-02-08";
77-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
77+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
7878
private string _serverUrl = "";
7979
private ISpeakeasyHttpClient _client;
8080
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Manifests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ public class Manifests: IManifests
8383
{
8484
public SDKConfig SDKConfiguration { get; private set; }
8585
private const string _language = "csharp";
86-
private const string _sdkVersion = "5.0.0-beta.9";
87-
private const string _sdkGenVersion = "2.463.0";
86+
private const string _sdkVersion = "5.0.0-beta.10";
87+
private const string _sdkGenVersion = "2.467.4";
8888
private const string _openapiDocVersion = "2018-02-08";
89-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
89+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
9090
private string _serverUrl = "";
9191
private ISpeakeasyHttpClient _client;
9292
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Models/Components/CarriersEnum.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ namespace Shippo.Models.Components
6161
/// | new_zealand_post | New Zealand Post (also used for Pace and CourierPost)|<br/>
6262
/// | nippon_express | Nippon Express|<br/>
6363
/// | ontrac | OnTrac|<br/>
64-
/// | orangeds | OrangeDS|<br/>
6564
/// | parcelforce | Parcelforce|<br/>
6665
/// | passport | Passport|<br/>
6766
/// | pcf | PCF|<br/>
@@ -170,8 +169,6 @@ public enum CarriersEnum
170169
NipponExpress,
171170
[JsonProperty("ontrac")]
172171
Ontrac,
173-
[JsonProperty("orangeds")]
174-
Orangeds,
175172
[JsonProperty("parcelforce")]
176173
Parcelforce,
177174
[JsonProperty("passport")]

Shippo/Orders.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ public class Orders: IOrders
9393
{
9494
public SDKConfig SDKConfiguration { get; private set; }
9595
private const string _language = "csharp";
96-
private const string _sdkVersion = "5.0.0-beta.9";
97-
private const string _sdkGenVersion = "2.463.0";
96+
private const string _sdkVersion = "5.0.0-beta.10";
97+
private const string _sdkGenVersion = "2.467.4";
9898
private const string _openapiDocVersion = "2018-02-08";
99-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
99+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
100100
private string _serverUrl = "";
101101
private ISpeakeasyHttpClient _client;
102102
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Parcels.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ public class Parcels: IParcels
7979
{
8080
public SDKConfig SDKConfiguration { get; private set; }
8181
private const string _language = "csharp";
82-
private const string _sdkVersion = "5.0.0-beta.9";
83-
private const string _sdkGenVersion = "2.463.0";
82+
private const string _sdkVersion = "5.0.0-beta.10";
83+
private const string _sdkGenVersion = "2.467.4";
8484
private const string _openapiDocVersion = "2018-02-08";
85-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
85+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
8686
private string _serverUrl = "";
8787
private ISpeakeasyHttpClient _client;
8888
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Pickups.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ public class Pickups: IPickups
5555
{
5656
public SDKConfig SDKConfiguration { get; private set; }
5757
private const string _language = "csharp";
58-
private const string _sdkVersion = "5.0.0-beta.9";
59-
private const string _sdkGenVersion = "2.463.0";
58+
private const string _sdkVersion = "5.0.0-beta.10";
59+
private const string _sdkGenVersion = "2.467.4";
6060
private const string _openapiDocVersion = "2018-02-08";
61-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
61+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
6262
private string _serverUrl = "";
6363
private ISpeakeasyHttpClient _client;
6464
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Rates.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ public class Rates: IRates
7777
{
7878
public SDKConfig SDKConfiguration { get; private set; }
7979
private const string _language = "csharp";
80-
private const string _sdkVersion = "5.0.0-beta.9";
81-
private const string _sdkGenVersion = "2.463.0";
80+
private const string _sdkVersion = "5.0.0-beta.10";
81+
private const string _sdkGenVersion = "2.467.4";
8282
private const string _openapiDocVersion = "2018-02-08";
83-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
83+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
8484
private string _serverUrl = "";
8585
private ISpeakeasyHttpClient _client;
8686
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/RatesAtCheckout.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,10 @@ public class RatesAtCheckout: IRatesAtCheckout
9797
{
9898
public SDKConfig SDKConfiguration { get; private set; }
9999
private const string _language = "csharp";
100-
private const string _sdkVersion = "5.0.0-beta.9";
101-
private const string _sdkGenVersion = "2.463.0";
100+
private const string _sdkVersion = "5.0.0-beta.10";
101+
private const string _sdkGenVersion = "2.467.4";
102102
private const string _openapiDocVersion = "2018-02-08";
103-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
103+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
104104
private string _serverUrl = "";
105105
private ISpeakeasyHttpClient _client;
106106
private Func<Shippo.Models.Components.Security>? _securitySource;

Shippo/Refunds.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ public class Refunds: IRefunds
7171
{
7272
public SDKConfig SDKConfiguration { get; private set; }
7373
private const string _language = "csharp";
74-
private const string _sdkVersion = "5.0.0-beta.9";
75-
private const string _sdkGenVersion = "2.463.0";
74+
private const string _sdkVersion = "5.0.0-beta.10";
75+
private const string _sdkGenVersion = "2.467.4";
7676
private const string _openapiDocVersion = "2018-02-08";
77-
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.9 2.463.0 2018-02-08 Shippo";
77+
private const string _userAgent = "speakeasy-sdk/csharp 5.0.0-beta.10 2.467.4 2018-02-08 Shippo";
7878
private string _serverUrl = "";
7979
private ISpeakeasyHttpClient _client;
8080
private Func<Shippo.Models.Components.Security>? _securitySource;

0 commit comments

Comments
 (0)