Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 3.0.1, Speakeasy CLI 1.126.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 12, 2023
1 parent 274f02f commit fbd1340
Show file tree
Hide file tree
Showing 25 changed files with 198 additions and 178 deletions.
21 changes: 8 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ import { AccountGetRequest } from "@boltpay/bolt-typescript-sdk/dist/models/oper
async function run() {
const sdk = new BoltTypescriptSDK({
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand All @@ -67,8 +66,8 @@ run();

* [getDetails](docs/sdks/account/README.md#getdetails) - Retrieve account details
* [addAddress](docs/sdks/account/README.md#addaddress) - Add an address
* [deleteAddress](docs/sdks/account/README.md#deleteaddress) - Delete an existing address
* [updateAddress](docs/sdks/account/README.md#updateaddress) - Edit an existing address
* [deleteAddress](docs/sdks/account/README.md#deleteaddress) - Delete an existing address
* [detect](docs/sdks/account/README.md#detect) - Determine the existence of a Bolt account
* [addPaymentMethod](docs/sdks/account/README.md#addpaymentmethod) - Add a payment method to a shopper's Bolt account Wallet.
* [deletePaymentMethod](docs/sdks/account/README.md#deletepaymentmethod) - Delete an existing payment method
Expand Down Expand Up @@ -115,8 +114,7 @@ import { AccountGetRequest } from "@boltpay/bolt-typescript-sdk/dist/models/oper
async function run() {
const sdk = new BoltTypescriptSDK({
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand Down Expand Up @@ -165,8 +163,7 @@ async function run() {
const sdk = new BoltTypescriptSDK({
serverIdx: 0,
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand Down Expand Up @@ -198,8 +195,7 @@ async function run() {
const sdk = new BoltTypescriptSDK({
serverURL: "https://{environment}.bolt.com/v3",
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand Down Expand Up @@ -244,8 +240,8 @@ This SDK supports the following security schemes globally:

| Name | Type | Scheme |
| ------------ | ------------ | ------------ |
| `apiKey` | apiKey | API key |
| `oauth` | oauth2 | OAuth2 token |
| `apiKey` | apiKey | API key |

You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
```typescript
Expand All @@ -255,8 +251,7 @@ import { AccountGetRequest } from "@boltpay/bolt-typescript-sdk/dist/models/oper
async function run() {
const sdk = new BoltTypescriptSDK({
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand Down Expand Up @@ -352,7 +347,7 @@ async function run() {
},
paymentMethod: "string",
};
const operationSecurity: GuestPaymentsInitializeSecurity = "";
const operationSecurity: GuestPaymentsInitializeSecurity = "<YOUR_API_KEY_HERE>";

const res = await sdk.payments.guest.initialize(
operationSecurity,
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,14 @@ Based on:
### Generated
- [typescript v0.2.4] .
### Releases
- [NPM v0.2.4] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.2.4 - .
- [NPM v0.2.4] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.2.4 - .

## 2023-12-12 00:17:10
### Changes
Based on:
- OpenAPI Doc 3.0.1
- Speakeasy CLI 1.126.0 (2.213.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.3.0] .
### Releases
- [NPM v0.3.0] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.3.0 - .
3 changes: 1 addition & 2 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { AccountGetRequest } from "@boltpay/bolt-typescript-sdk/dist/models/oper
async function run() {
const sdk = new BoltTypescriptSDK({
security: {
apiKey: "",
oauth: "",
oauth: "Bearer <YOUR_ACCESS_TOKEN_HERE>",
},
});
const xPublishableKey: string = "string";
Expand Down
8 changes: 4 additions & 4 deletions docs/models/components/security.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| `oauth` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `oauth` | *string* | :heavy_minus_sign: | N/A |
| `apiKey` | *string* | :heavy_minus_sign: | N/A |
6 changes: 3 additions & 3 deletions docs/models/operations/guestpaymentsactionsecurity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A |
6 changes: 3 additions & 3 deletions docs/models/operations/guestpaymentsinitializesecurity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A |
6 changes: 3 additions & 3 deletions docs/models/operations/guestpaymentsupdatesecurity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A |
6 changes: 3 additions & 3 deletions docs/models/operations/testingaccountcreatesecurity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A |
6 changes: 3 additions & 3 deletions docs/models/operations/testingcreditcardgetsecurity.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

## Fields

| Field | Type | Required | Description | Example |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A | |
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `apiKey` | *string* | :heavy_check_mark: | N/A |
Loading

0 comments on commit fbd1340

Please sign in to comment.