Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.330.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jul 9, 2024
1 parent e229359 commit 84534bb
Show file tree
Hide file tree
Showing 257 changed files with 13,148 additions and 1,358 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This allows generated code to be indexed correctly
*.ts linguist-generated=false
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/esm
/dist
/.tshy
/.tshy-*
/hooks
/models
/models/errors
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 79fa0df9-852a-493c-b998-1d82654b5f18
management:
docChecksum: 52a4491de6268327ef41bf826024fc20
docVersion: 3.0.3
speakeasyVersion: 1.314.2
generationVersion: 2.349.6
releaseVersion: 0.15.3
configChecksum: f3ab74b99f04430cedd172ce90d3be64
speakeasyVersion: 1.330.0
generationVersion: 2.361.10
releaseVersion: 0.16.0
configChecksum: 06c0913f66052b2f0f95ae4af72aa941
repoURL: https://github.com/BoltApp/Bolt-Typescript-SDK.git
repoSubDirectory: .
installationURL: https://github.com/BoltApp/Bolt-Typescript-SDK
published: true
features:
typescript:
additionalDependencies: 0.1.0
core: 3.10.2
core: 3.11.5
errorUnions: 0.1.0
flattening: 2.81.1
globalSecurity: 2.82.9
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.314.2
speakeasyVersion: 1.330.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:16f8a3c61d757139d63113eefcf4a5559040b90d317afcbde424cf1a692dc6e1
sourceBlobDigest: sha256:3dc03591ee3cbebcea332ff09b11d973b6eb878f41a9a91e8124793f12e7dcaa
sourceRevisionDigest: sha256:47b71ad6d2f84986e469471e8aa56f969d33fdd4372ee12711f9f63f74ee82b1
sourceBlobDigest: sha256:96a31f5276e75178c60aeb427b2c17db7da9eab137d4cbd6623bee5a38d00dd6
tags:
- latest
- main
targets:
bolt-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:16f8a3c61d757139d63113eefcf4a5559040b90d317afcbde424cf1a692dc6e1
sourceBlobDigest: sha256:3dc03591ee3cbebcea332ff09b11d973b6eb878f41a9a91e8124793f12e7dcaa
sourceRevisionDigest: sha256:47b71ad6d2f84986e469471e8aa56f969d33fdd4372ee12711f9f63f74ee82b1
sourceBlobDigest: sha256:96a31f5276e75178c60aeb427b2c17db7da9eab137d4cbd6623bee5a38d00dd6
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -498,4 +498,14 @@ Based on:
### Generated
- [typescript v0.15.3] .
### Releases
- [NPM v0.15.3] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.15.3 - .
- [NPM v0.15.3] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.15.3 - .

## 2024-07-09 00:18:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.330.0 (2.361.10) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.16.0] .
### Releases
- [NPM v0.16.0] https://www.npmjs.com/package/@boltpay/bolt-typescript-sdk/v/0.16.0 - .
2 changes: 1 addition & 1 deletion RUNTIMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This SDK is intended to be used in JavaScript runtimes that support the following features:

* [Web Fetch API][web-fetch]
* [Web Streams API](web-streams) and in particular `ReadableStream`
* [Web Streams API][web-streams] and in particular `ReadableStream`
* [Async iterables][async-iter] using `Symbol.asyncIterator`

[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Expand Down
21 changes: 21 additions & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- Start SDK Example Usage [usage] -->
```typescript
import { BoltTypescriptSDK } from "@boltpay/bolt-typescript-sdk";

const boltTypescriptSDK = new BoltTypescriptSDK({
security: {
oauth: "<YOUR_OAUTH_HERE>",
},
});

async function run() {
const result = await boltTypescriptSDK.account.getDetails("<value>");

// Handle the result
console.log(result);
}

run();

```
<!-- End SDK Example Usage [usage] -->
10 changes: 10 additions & 0 deletions docs/models/components/account.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Account


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
| `addresses` | [components.AddressListing](../../models/components/addresslisting.md)[] | :heavy_check_mark: | A list of addresses associated with this account. |
| `paymentMethods` | *components.PaymentMethod*[] | :heavy_check_mark: | A list of payment methods associated with this account. |
| `profile` | [components.Profile](../../models/components/profile.md) | :heavy_minus_sign: | N/A |
12 changes: 12 additions & 0 deletions docs/models/components/accounttestcreationdata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AccountTestCreationData


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `emailState` | [components.EmailState](../../models/components/emailstate.md) | :heavy_check_mark: | N/A | unverified |
| `phoneState` | [components.PhoneState](../../models/components/phonestate.md) | :heavy_check_mark: | N/A | verified |
| `isMigrated` | *boolean* | :heavy_minus_sign: | N/A | true |
| `hasAddress` | *boolean* | :heavy_minus_sign: | N/A | true |
| `hasCreditCard` | *boolean* | :heavy_minus_sign: | N/A | true |
13 changes: 13 additions & 0 deletions docs/models/components/accounttestcreationdataoutput.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# AccountTestCreationDataOutput


## Fields

| Field | Type | Required | Description | Example |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `email` | *string* | :heavy_check_mark: | N/A | [email protected] |
| `emailState` | [components.EmailState](../../models/components/emailstate.md) | :heavy_check_mark: | N/A | unverified |
| `phone` | *string* | :heavy_check_mark: | N/A | +14155550199 |
| `phoneState` | [components.PhoneState](../../models/components/phonestate.md) | :heavy_check_mark: | N/A | verified |
| `otpCode` | *string* | :heavy_check_mark: | N/A | 123456 |
| `oauthCode` | *string* | :heavy_check_mark: | N/A | 7GSjMRSHs6Ak7C_zvVW6P2IhZOHxMK7HZKW1fMX85ms |
8 changes: 8 additions & 0 deletions docs/models/components/accounttestphonedata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# AccountTestPhoneData


## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
| `phone` | *string* | :heavy_check_mark: | A random, fictitious, unassigned phone number. | +14155550199 |
8 changes: 8 additions & 0 deletions docs/models/components/action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Action


## Values

| Name | Value |
| ---------- | ---------- |
| `Redirect` | redirect |
22 changes: 22 additions & 0 deletions docs/models/components/addresslisting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# AddressListing

An address saved on an account, i.e. a physical address plus any additional account-specific metadata.


## Fields

| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `id` | *string* | :heavy_minus_sign: | The address's unique identifier. | D4g3h5tBuVYK9 |
| `firstName` | *string* | :heavy_check_mark: | The first name of the person associated with this address. | Alice |
| `lastName` | *string* | :heavy_check_mark: | The last name of the person associated with this address. | Baker |
| `company` | *string* | :heavy_minus_sign: | The company associated with this address. | ACME Corporation |
| `streetAddress1` | *string* | :heavy_check_mark: | The street address associated with this address. | 535 Mission St, Ste 1401 |
| `streetAddress2` | *string* | :heavy_minus_sign: | Any additional, optional, street address information associated with this address. | c/o Shipping Department |
| `locality` | *string* | :heavy_check_mark: | The locality (e.g. city, town, etc...) associated with this address. | San Francisco |
| `postalCode` | *string* | :heavy_check_mark: | The postal code associated with this address. | 94105 |
| `region` | *string* | :heavy_minus_sign: | The region or administrative area (e.g. state, province, county, etc...) associated with this address. | CA |
| `countryCode` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_check_mark: | The country (in its ISO 3166 alpha-2 format) associated with this address. | US |
| `email` | *string* | :heavy_minus_sign: | The email address associated with this address. | [email protected] |
| `phone` | *string* | :heavy_minus_sign: | The phone number associated with this address. | +14155550199 |
| `isDefault` | *boolean* | :heavy_minus_sign: | Whether or not this is the default address saved. | true |
Loading

0 comments on commit 84534bb

Please sign in to comment.