Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Jul 2, 2024
0 parents commit 83001d7
Show file tree
Hide file tree
Showing 173 changed files with 26,207 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/sdk_generation_accounting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Generate ACCOUNTING
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
set_version:
description: optionally set a specific SDK version
type: string
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
set_version: ${{ github.event.inputs.set_version }}
speakeasy_version: latest
target: accounting
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
31 changes: 31 additions & 0 deletions .github/workflows/sdk_generation_finance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Generate FINANCE
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
set_version:
description: optionally set a specific SDK version
type: string
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
set_version: ${{ github.event.inputs.set_version }}
speakeasy_version: latest
target: finance
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
31 changes: 31 additions & 0 deletions .github/workflows/sdk_generation_lending.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Generate LENDING
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
workflow_dispatch:
inputs:
force:
description: Force generation of SDKs
type: boolean
default: false
set_version:
description: optionally set a specific SDK version
type: string
schedule:
- cron: 0 0 * * *
jobs:
generate:
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
with:
force: ${{ github.event.inputs.force }}
mode: pr
set_version: ${{ github.event.inputs.set_version }}
speakeasy_version: latest
target: lending
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19 changes: 19 additions & 0 deletions .github/workflows/sdk_publish_accounting.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish ACCOUNTING
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
push:
branches:
- main
paths:
- accounting/RELEASES.md
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19 changes: 19 additions & 0 deletions .github/workflows/sdk_publish_finance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish FINANCE
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
push:
branches:
- main
paths:
- finance/RELEASES.md
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
19 changes: 19 additions & 0 deletions .github/workflows/sdk_publish_lending.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish LENDING
permissions:
checks: write
contents: write
pull-requests: write
statuses: write
"on":
push:
branches:
- main
paths:
- lending/RELEASES.md
jobs:
publish:
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@v15
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
npm_token: ${{ secrets.NPM_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
48 changes: 48 additions & 0 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
speakeasyVersion: 1.326.0
sources:
source1:
sourceNamespace: source-1
sourceRevisionDigest: sha256:2bfffa2fd38a20929d4b2071f818a41a714d970fe55940f5f7cef5dbac56b568
sourceBlobDigest: sha256:9d00ce8818847d31f07d18c89f59b21b5f28344502415f0faace4bcdd28966dd
tags:
- latest
targets:
accounting:
source: source1
sourceNamespace: source-1
sourceRevisionDigest: sha256:43d9d3d838fac17eddc84d2acb5dcb0b499fd6e5bff338951c547b24d496da97
sourceBlobDigest: sha256:5ac74c70fd06c09876fd12094a844951d898b9c3aead02a8d50b3db56ed4f135
outLocation: accounting
finance:
source: source1
sourceNamespace: source-1
sourceRevisionDigest: sha256:f100eaafb92633051e63bee357af1e82546949737cc9d68ac9b8c575f67bb966
sourceBlobDigest: sha256:c62ec65f07cb916b2c155f9eda284c560104f8f2033d997e9711db3b15361517
outLocation: finance
lending:
source: source1
sourceNamespace: source-1
sourceRevisionDigest: sha256:2bfffa2fd38a20929d4b2071f818a41a714d970fe55940f5f7cef5dbac56b568
sourceBlobDigest: sha256:9d00ce8818847d31f07d18c89f59b21b5f28344502415f0faace4bcdd28966dd
outLocation: lending
workflow:
workflowVersion: 1.0.0
sources:
source1:
inputs:
- location: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/source-1
targets:
accounting:
target: typescript
source: source1
output: accounting
finance:
target: typescript
source: source1
output: finance
lending:
target: typescript
source: source1
output: lending
29 changes: 29 additions & 0 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
workflowVersion: 1.0.0
sources:
source1:
inputs:
- location: https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml
registry:
location: registry.speakeasyapi.dev/ryan-local/ryan-telemetry/source-1
targets:
accounting:
target: typescript
source: source1
output: accounting
publish:
npm:
token: $npm_token
finance:
target: typescript
source: source1
output: finance
publish:
npm:
token: $npm_token
lending:
target: typescript
source: source1
output: lending
publish:
npm:
token: $npm_token
28 changes: 28 additions & 0 deletions accounting/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/* eslint-env node */
module.exports = {
root: true,
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
settings: {
"import/resolver": {
typescript: true,
node: true,
},
},
rules: {
// Handled by typescript compiler
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/no-named-as-default-member": "off",

"import/no-default-export": "error",
},
};
2 changes: 2 additions & 0 deletions accounting/.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
14 changes: 14 additions & 0 deletions accounting/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/models
/models/errors
/types
/node_modules
/lib
/sdk
/hooks
/index.*
/cjs
/esm
/dist
/.tsbuildinfo
/.tshy
/.tshy-*
9 changes: 9 additions & 0 deletions accounting/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
**/*
!/**/*.ts
!/**/*.js
!/**/*.map

/.eslintrc.js
/cjs
/.tshy
/.tshy-*
67 changes: 67 additions & 0 deletions accounting/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
lockVersion: 2.0.0
id: de44aa14-d51e-4f37-b22e-356d78ca0ebc
management:
docChecksum: 1bdb7a6f8bf3995d4b40475228403253
docVersion: 1.0.0
speakeasyVersion: 1.326.0
generationVersion: 2.359.0
releaseVersion: 0.0.1
configChecksum: a855a32d4cdc76e6341a97559e3b249f
features:
typescript:
additionalDependencies: 0.1.0
core: 3.11.0
globalSecurityCallbacks: 0.1.0
globalServerURLs: 2.82.4
responseFormat: 0.2.3
sdkHooks: 0.1.0
generatedFiles:
- src/sdk/pets.ts
- src/sdk/sdk.ts
- .eslintrc.cjs
- .npmignore
- RUNTIMES.md
- jsr.json
- package.json
- src/index.ts
- src/lib/base64.ts
- src/lib/config.ts
- src/lib/encodings.ts
- src/lib/http.ts
- src/lib/is-plain-object.ts
- src/lib/primitives.ts
- src/lib/retries.ts
- src/lib/schemas.ts
- src/lib/sdks.ts
- src/lib/security.ts
- src/lib/url.ts
- src/sdk/index.ts
- src/models/errors/sdkerror.ts
- src/models/errors/sdkvalidationerror.ts
- src/types/blobs.ts
- src/types/enums.ts
- src/types/index.ts
- src/types/operations.ts
- src/types/rfcdate.ts
- tsconfig.json
- src/models/operations/listpets.ts
- src/models/operations/showpetbyid.ts
- src/models/components/pet.ts
- src/models/components/error.ts
- src/models/errors/index.ts
- src/models/operations/index.ts
- src/models/components/index.ts
- docs/models/operations/listpetsrequest.md
- docs/models/operations/listpetsresponseresult.md
- docs/models/operations/listpetsresponse.md
- docs/models/operations/showpetbyidrequest.md
- docs/models/operations/showpetbyidresponse.md
- docs/models/components/pet.md
- docs/models/components/errort.md
- docs/sdks/accountingsdk/README.md
- docs/sdks/pets/README.md
- USAGE.md
- .gitattributes
- src/hooks/hooks.ts
- src/hooks/types.ts
- src/hooks/index.ts
Loading

0 comments on commit 83001d7

Please sign in to comment.