Skip to content

🌿 Fern Regeneration -- July 15, 2025 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,4 @@ jobs:
uses: actions/setup-node@v3

- name: Compile
run: yarn && yarn test

publish:
needs:
- compile
- test
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Set up node
uses: actions/setup-node@v3
- name: Install dependencies
run: yarn install --frozen-lockfile --non-interactive

- name: Build
run: yarn build
- name: Publish
run: yarn publish --access public --no-git-tag-version --tag latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn && yarn test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import { PipedreamClient } from "@pipedream/sdk";
const client = new PipedreamClient({
clientId: "YOUR_CLIENT_ID",
clientSecret: "YOUR_CLIENT_SECRET",
accessToken: "YOUR_ACCESS_TOKEN",
xPdEnvironment: "YOUR_X_PD_ENVIRONMENT",
});
await client.accounts.create({
Expand Down Expand Up @@ -77,6 +78,7 @@ import { PipedreamClient } from "@pipedream/sdk";
const client = new PipedreamClient({
clientId: "YOUR_CLIENT_ID",
clientSecret: "YOUR_CLIENT_SECRET",
accessToken: "YOUR_ACCESS_TOKEN",
xPdEnvironment: "YOUR_X_PD_ENVIRONMENT",
});
const response = await client.apps.list();
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/sdk",
"version": "2.0.0",
"version": "1.7.1",
"private": false,
"repository": "github:PipedreamHQ/pipedream-sdk-typescript",
"type": "commonjs",
Expand Down Expand Up @@ -39,17 +39,17 @@
"test:wire": "jest --selectProjects wire"
},
"devDependencies": {
"webpack": "^5.97.1",
"ts-loader": "^9.5.1",
"jest": "^29.7.0",
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.14",
"@types/node": "^18.19.70",
"jest": "^29.7.0",
"ts-jest": "^29.3.4",
"jest-environment-jsdom": "^29.7.0",
"msw": "^2.8.4",
"@types/node": "^18.19.70",
"prettier": "^3.4.2",
"ts-jest": "^29.3.4",
"ts-loader": "^9.5.1",
"typescript": "~5.7.2",
"webpack": "^5.97.1"
"typescript": "~5.7.2"
},
"browser": {
"fs": false,
Expand Down
1 change: 1 addition & 0 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
clientId?: core.Supplier<string>;
clientSecret?: core.Supplier<string>;
projectId: string;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down Expand Up @@ -106,70 +107,70 @@
public get appCategories(): AppCategories {
return (this._appCategories ??= new AppCategories({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 110 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get apps(): Apps {
return (this._apps ??= new Apps({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 117 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get accounts(): Accounts {
return (this._accounts ??= new Accounts({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 124 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get users(): Users {
return (this._users ??= new Users({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 131 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get components(): Components {
return (this._components ??= new Components({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 138 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get actions(): Actions {
return (this._actions ??= new Actions({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 145 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get triggers(): Triggers {
return (this._triggers ??= new Triggers({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 152 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get deployedTriggers(): DeployedTriggers {
return (this._deployedTriggers ??= new DeployedTriggers({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 159 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get projects(): Projects {
return (this._projects ??= new Projects({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 166 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

public get proxy(): Proxy {
return (this._proxy ??= new Proxy({
...this._options,
token: async () => await this._oauthTokenProvider.getToken(),

Check failure on line 173 in src/Client.ts

View workflow job for this annotation

GitHub Actions / compile

Object literal may only specify known properties, and 'token' does not exist in type 'Options'.
}));
}

Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/accounts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Accounts {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/actions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Actions {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/appCategories/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace AppCategories {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/apps/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Apps {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/components/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Components {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/deployedTriggers/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace DeployedTriggers {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/oauthTokens/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace OauthTokens {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/projects/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Projects {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/proxy/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Proxy {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/tokens/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Tokens {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/triggers/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare namespace Triggers {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
2 changes: 1 addition & 1 deletion src/api/resources/users/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export declare namespace Users {
/** Specify a custom URL to connect the client to. */
baseUrl?: core.Supplier<string>;
projectId: string;
token?: core.Supplier<core.BearerToken | undefined>;
accessToken?: core.Supplier<core.BearerToken | undefined>;
/** Override the x-pd-environment header */
xPdEnvironment?: core.Supplier<string | undefined>;
/** Additional headers to include in requests. */
Expand Down
30 changes: 15 additions & 15 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@
debug "^4.3.1"

"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.27.1", "@babel/types@^7.27.6", "@babel/types@^7.28.0", "@babel/types@^7.3.3":
version "7.28.0"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.0.tgz#2fd0159a6dc7353933920c43136335a9b264d950"
integrity sha512-jYnje+JyZG5YThjHiF28oT4SIZLnYOcSBb6+SDaFIyzDVSkXQmQQYclJ2R+YxcdmK0AX6x1E5OQNtuh3jHDrUg==
version "7.28.1"
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.1.tgz#2aaf3c10b31ba03a77ac84f52b3912a0edef4cf9"
integrity sha512-x0LvFTekgSX+83TI28Y9wYPUfzrnl2aT5+5QLnO6v7mSJYtEEevuDRN0F0uSHRk1G1IWZC43o00Y0xDDrpBGPQ==
dependencies:
"@babel/helper-string-parser" "^7.27.1"
"@babel/helper-validator-identifier" "^7.27.1"
Expand Down Expand Up @@ -921,9 +921,9 @@ acorn-globals@^7.0.0:
acorn-walk "^8.0.2"

acorn-import-phases@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/acorn-import-phases/-/acorn-import-phases-1.0.3.tgz#30394a1dccee5f380aecb8205b8c69b4f7ae688e"
integrity sha512-jtKLnfoOzm28PazuQ4dVBcE9Jeo6ha1GAJvq3N0LlNOszmTfx+wSycBehn+FN0RnyeR77IBxN/qVYMw0Rlj0Xw==
version "1.0.4"
resolved "https://registry.yarnpkg.com/acorn-import-phases/-/acorn-import-phases-1.0.4.tgz#16eb850ba99a056cb7cbfe872ffb8972e18c8bd7"
integrity sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==

acorn-walk@^8.0.2:
version "8.3.4"
Expand Down Expand Up @@ -1364,9 +1364,9 @@ ejs@^3.1.10:
jake "^10.8.5"

electron-to-chromium@^1.5.173:
version "1.5.182"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.182.tgz#4ab73104f893938acb3ab9c28d7bec170c116b3e"
integrity sha512-Lv65Btwv9W4J9pyODI6EWpdnhfvrve/us5h1WspW8B2Fb0366REPtY3hX7ounk1CkV/TBjWCEvCBBbYbmV0qCA==
version "1.5.183"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.183.tgz#38c2e16910569b6c595bd16d1d39d1218bf0ffb6"
integrity sha512-vCrDBYjQCAEefWGjlK3EpoSKfKbT10pR4XXPdn65q7snuNOZnthoVpBfZPykmDapOKfoD+MMIPG8ZjKyyc9oHA==

emittery@^0.13.1:
version "0.13.1"
Expand Down Expand Up @@ -2433,9 +2433,9 @@ ms@^2.1.3:
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==

msw@^2.8.4:
version "2.10.3"
resolved "https://registry.yarnpkg.com/msw/-/msw-2.10.3.tgz#accd0925d2852e9aaa2c86d4fdd724288fee5f35"
integrity sha512-rpqW4wIqISJlgDfu3tiqzuWC/d6jofSuMUsBu1rwepzSwX21aQoagsd+fjahJ8sewa6FwlYhu4no+jfGVQm2IA==
version "2.10.4"
resolved "https://registry.yarnpkg.com/msw/-/msw-2.10.4.tgz#a39dad96468aecfd752e5b7df4bbc86f1d73dec4"
integrity sha512-6R1or/qyele7q3RyPwNuvc0IxO8L8/Aim6Sz5ncXEgcWUNxSKE+udriTOWHtpMwmfkLYlacA2y7TIx4cL5lgHA==
dependencies:
"@bundled-es-modules/cookie" "^2.0.1"
"@bundled-es-modules/statuses" "^1.0.1"
Expand Down Expand Up @@ -3074,9 +3074,9 @@ webpack-sources@^3.3.3:
integrity sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==

webpack@^5.97.1:
version "5.100.0"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.100.0.tgz#fa3ef235b38969bd0ded53297a2c44a5f092f8f4"
integrity sha512-H8yBSBTk+BqxrINJnnRzaxU94SVP2bjd7WmA+PfCphoIdDpeQMJ77pq9/4I7xjLq38cB1bNKfzYPZu8pB3zKtg==
version "5.100.1"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.100.1.tgz#d8a7e7761d253b961248ed9ed7661c51698593de"
integrity sha512-YJB/ESPUe2Locd0NKXmw72Dx8fZQk1gTzI6rc9TAT4+Sypbnhl8jd8RywB1bDsDF9Dy1RUR7gn3q/ZJTd0OZZg==
dependencies:
"@types/eslint-scope" "^3.7.7"
"@types/estree" "^1.0.8"
Expand Down