Skip to content

Commit 442ef95

Browse files
committed
Fix list accounts app param
1 parent d69606c commit 442ef95

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pipedream/sdk",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"private": false,
55
"repository": "github:PipedreamHQ/pipedream-sdk-typescript",
66
"type": "commonjs",

src/api/resources/accounts/client/Client.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ export class Accounts {
6464
async (
6565
request: Pipedream.AccountsListRequest,
6666
): Promise<core.WithRawResponse<Pipedream.ListAccountsResponse>> => {
67-
const { appId, externalUserId, oauthAppId, after, before, limit, includeCredentials } = request;
67+
const { app, externalUserId, oauthAppId, after, before, limit, includeCredentials } = request;
6868
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
69-
if (appId != null) {
70-
_queryParams["app_id"] = appId;
69+
if (app != null) {
70+
_queryParams["app"] = app;
7171
}
7272
if (externalUserId != null) {
7373
_queryParams["external_user_id"] = externalUserId;
@@ -193,10 +193,10 @@ export class Accounts {
193193
request: Pipedream.CreateAccountOpts,
194194
requestOptions?: Accounts.RequestOptions,
195195
): Promise<core.WithRawResponse<Pipedream.Account>> {
196-
const { appId, externalUserId, oauthAppId, ..._body } = request;
196+
const { app, externalUserId, oauthAppId, ..._body } = request;
197197
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
198-
if (appId != null) {
199-
_queryParams["app_id"] = appId;
198+
if (app != null) {
199+
_queryParams["app"] = app;
200200
}
201201

202202
if (externalUserId != null) {

src/api/resources/accounts/client/requests/AccountsListRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99
export interface AccountsListRequest {
1010
/** The app slug or ID to filter accounts by. */
11-
appId?: string;
11+
app?: string;
1212
externalUserId?: string;
1313
/** The OAuth app ID to filter by, if applicable */
1414
oauthAppId?: string;

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = "2.0.6";
1+
export const SDK_VERSION = "2.0.8";

0 commit comments

Comments
 (0)