-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from fabra-io/speakeasy-sdk-regen-1677035781
chore: speakeasy SDK regeneration
- Loading branch information
Showing
58 changed files
with
3,291 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
# @fabra/sdk | ||
|
||
<!-- Start SDK Installation --> | ||
## SDK Installation | ||
|
||
### NPM | ||
|
||
```bash | ||
npm add @fabra/sdk | ||
``` | ||
|
||
### Yarn | ||
|
||
```bash | ||
yarn add @fabra/sdk | ||
``` | ||
<!-- End SDK Installation --> | ||
|
||
## SDK Example Usage | ||
<!-- Start SDK Example Usage --> | ||
```typescript | ||
import { Fabra, withSecurity} from "@fabra/sdk"; | ||
import { GetNamespacesRequest, GetNamespacesResponse } from "@fabra/sdk/src/sdk/models/operations"; | ||
import { AxiosError } from "axios"; | ||
|
||
const sdk = new Fabra(withSecurity( | ||
security: { | ||
apiKeyAuth: { | ||
apiKey: "YOUR_API_KEY_HERE", | ||
}, | ||
} | ||
)); | ||
|
||
const req: GetNamespacesRequest = { | ||
queryParams: { | ||
connectionID: 548814, | ||
}, | ||
}; | ||
|
||
sdk.connection.getNamespaces(req).then((res: GetNamespacesResponse | AxiosError) => { | ||
// handle response | ||
}); | ||
``` | ||
<!-- End SDK Example Usage --> | ||
|
||
<!-- Start SDK Available Operations --> | ||
## SDK Available Operations | ||
|
||
|
||
### connection | ||
|
||
* `getNamespaces` - Get all namespaces | ||
* `getSchema` - Get schema for table | ||
* `getTables` - Get all tables | ||
|
||
### destination | ||
|
||
* `createDestination` - Create a new destination | ||
* `getDestinations` - Get all destinations | ||
|
||
### object | ||
|
||
* `createObject` - Create a new object | ||
* `getObjects` - Get all objects | ||
|
||
### source | ||
|
||
* `createSource` - Create a new source | ||
* `getSources` - Get all sources | ||
|
||
### sync | ||
|
||
* `createSync` - Create a new sync | ||
* `getSyncs` - Get all syncs | ||
<!-- End SDK Available Operations --> | ||
|
||
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
|
||
## Version 0.1.0 | ||
### Changes | ||
Based on: | ||
- OpenAPI Doc 0.1.0 ./openapi.yaml | ||
- Speakeasy CLI 1.4.5 https://github.com/speakeasy-api/speakeasy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!-- Start SDK Example Usage --> | ||
```typescript | ||
import { Fabra, withSecurity} from "@fabra/sdk"; | ||
import { GetNamespacesRequest, GetNamespacesResponse } from "@fabra/sdk/src/sdk/models/operations"; | ||
import { AxiosError } from "axios"; | ||
|
||
const sdk = new Fabra(withSecurity( | ||
security: { | ||
apiKeyAuth: { | ||
apiKey: "YOUR_API_KEY_HERE", | ||
}, | ||
} | ||
)); | ||
|
||
const req: GetNamespacesRequest = { | ||
queryParams: { | ||
connectionID: 548814, | ||
}, | ||
}; | ||
|
||
sdk.connection.getNamespaces(req).then((res: GetNamespacesResponse | AxiosError) => { | ||
// handle response | ||
}); | ||
``` | ||
<!-- End SDK Example Usage --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
src/sdk/connection.ts | ||
src/sdk/destination.ts | ||
src/sdk/object.ts | ||
src/sdk/source.ts | ||
src/sdk/sync.ts | ||
src/sdk/sdk.ts | ||
package-lock.json | ||
package.json | ||
src/index.ts | ||
src/internal/utils/contenttype.ts | ||
src/internal/utils/headers.ts | ||
src/internal/utils/index.ts | ||
src/internal/utils/pathparams.ts | ||
src/internal/utils/queryparams.ts | ||
src/internal/utils/requestbody.ts | ||
src/internal/utils/retries.ts | ||
src/internal/utils/security.ts | ||
src/internal/utils/utils.ts | ||
src/sdk/index.ts | ||
tsconfig.json | ||
src/sdk/models/operations/getnamespaces.ts | ||
src/sdk/models/operations/getschema.ts | ||
src/sdk/models/operations/gettables.ts | ||
src/sdk/models/operations/createdestination.ts | ||
src/sdk/models/operations/getdestinations.ts | ||
src/sdk/models/operations/createobject.ts | ||
src/sdk/models/operations/getobjects.ts | ||
src/sdk/models/operations/createsource.ts | ||
src/sdk/models/operations/getsources.ts | ||
src/sdk/models/operations/createsync.ts | ||
src/sdk/models/operations/getsyncs.ts | ||
src/sdk/models/operations/index.ts | ||
src/sdk/models/shared/columnschema.ts | ||
src/sdk/models/shared/fieldtypeenum.ts | ||
src/sdk/models/shared/destination.ts | ||
src/sdk/models/shared/connection.ts | ||
src/sdk/models/shared/connectiontypeenum.ts | ||
src/sdk/models/shared/destinationinput.ts | ||
src/sdk/models/shared/snowflakeconfig.ts | ||
src/sdk/models/shared/redshiftconfig.ts | ||
src/sdk/models/shared/mongodbconfig.ts | ||
src/sdk/models/shared/bigqueryconfig.ts | ||
src/sdk/models/shared/object.ts | ||
src/sdk/models/shared/objectfield.ts | ||
src/sdk/models/shared/objectinput.ts | ||
src/sdk/models/shared/source.ts | ||
src/sdk/models/shared/sourceinput.ts | ||
src/sdk/models/shared/sync.ts | ||
src/sdk/models/shared/frequencyunitsenum.ts | ||
src/sdk/models/shared/fieldmapping.ts | ||
src/sdk/models/shared/syncinput.ts | ||
src/sdk/models/shared/security.ts | ||
src/sdk/models/shared/index.ts | ||
USAGE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
management: | ||
openapi-checksum: 5bdbad96d6d347d81789110337cf504a | ||
openapi-version: 0.1.0 | ||
speakeasy-version: 1.4.5 | ||
typescript: | ||
version: 0.0.0 | ||
version: 0.1.0 | ||
packagename: '@fabra/sdk' | ||
author: fabra | ||
sdkclassname: fabra |
Oops, something went wrong.