Skip to content

Commit 385d366

Browse files
committed
SDK regeneration
1 parent 9c50a8a commit 385d366

File tree

8 files changed

+21
-97
lines changed

8 files changed

+21
-97
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.0",
3+
"version": "1.7.1",
44
"private": false,
55
"repository": "github:PipedreamHQ/pipedream-sdk-typescript",
66
"type": "commonjs",

reference.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ await client.projects.retrieveInfo();
18271827

18281828
## Proxy
18291829

1830-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">get</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
1830+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">get</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
18311831
<dl>
18321832
<dd>
18331833

@@ -1886,7 +1886,7 @@ await client.proxy.get("url_64", {
18861886
</dl>
18871887
</details>
18881888

1889-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">post</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
1889+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">post</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
18901890
<dl>
18911891
<dd>
18921892

@@ -1948,7 +1948,7 @@ await client.proxy.post("url_64", {
19481948
</dl>
19491949
</details>
19501950

1951-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">put</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
1951+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">put</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
19521952
<dl>
19531953
<dd>
19541954

@@ -2010,7 +2010,7 @@ await client.proxy.put("url_64", {
20102010
</dl>
20112011
</details>
20122012

2013-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">delete</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
2013+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">delete</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
20142014
<dl>
20152015
<dd>
20162016

@@ -2069,7 +2069,7 @@ await client.proxy.delete("url_64", {
20692069
</dl>
20702070
</details>
20712071

2072-
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">patch</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
2072+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">patch</a>(url64, { ...params }) -> Record<string, unknown></code></summary>
20732073
<dl>
20742074
<dd>
20752075

src/api/resources/proxy/client/requests/ProxyDeleteRequest.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,14 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as core from "../../../../../core/index.js";
6-
75
/**
86
* @example
97
* {
10-
* url: "https://api.example.com/endpoint",
118
* external_user_id: "external_user_id",
12-
* account_id: "account_id",
13-
* params: { page: "1", limit: "10" },
14-
* headers: { "X-Custom-Header": "value" }
9+
* account_id: "account_id"
1510
* }
1611
*/
1712
export interface ProxyDeleteRequest {
18-
/**
19-
* Target URL to proxy request to
20-
*/
21-
url: string;
2213
/**
2314
* The external user ID for the proxy request
2415
*/
@@ -27,12 +18,4 @@ export interface ProxyDeleteRequest {
2718
* The account ID to use for authentication
2819
*/
2920
account_id: string;
30-
/**
31-
* Query parameters to forward
32-
*/
33-
params?: Record<string, string | string[] | object | object[] | null>;
34-
/**
35-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
36-
*/
37-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
3821
}

src/api/resources/proxy/client/requests/ProxyGetRequest.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,14 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as core from "../../../../../core/index.js";
6-
75
/**
86
* @example
97
* {
10-
* url: "https://api.example.com/endpoint",
118
* external_user_id: "external_user_id",
12-
* account_id: "account_id",
13-
* params: { page: "1", limit: "10" },
14-
* headers: { "X-Custom-Header": "value" }
9+
* account_id: "account_id"
1510
* }
1611
*/
1712
export interface ProxyGetRequest {
18-
/**
19-
* Target URL to proxy request to
20-
*/
21-
url: string;
2213
/**
2314
* The external user ID for the proxy request
2415
*/
@@ -27,12 +18,4 @@ export interface ProxyGetRequest {
2718
* The account ID to use for authentication
2819
*/
2920
account_id: string;
30-
/**
31-
* Query parameters to forward
32-
*/
33-
params?: Record<string, string | string[] | object | object[] | null>;
34-
/**
35-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
36-
*/
37-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
3821
}

src/api/resources/proxy/client/requests/ProxyPatchRequest.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,17 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as core from "../../../../../core/index.js";
6-
75
/**
86
* @example
97
* {
10-
* url: "https://api.example.com/endpoint",
118
* external_user_id: "external_user_id",
129
* account_id: "account_id",
1310
* body: {
1411
* "key": "value"
15-
* },
16-
* params: { page: "1", limit: "10" },
17-
* headers: { "X-Custom-Header": "value" }
12+
* }
1813
* }
1914
*/
2015
export interface ProxyPatchRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
24-
url: string;
2516
/**
2617
* The external user ID for the proxy request
2718
*/
@@ -34,12 +25,4 @@ export interface ProxyPatchRequest {
3425
* Request body to forward to the target API
3526
*/
3627
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
40-
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
44-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4528
}

src/api/resources/proxy/client/requests/ProxyPostRequest.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,17 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as core from "../../../../../core/index.js";
6-
75
/**
86
* @example
97
* {
10-
* url: "https://api.example.com/endpoint",
118
* external_user_id: "external_user_id",
129
* account_id: "account_id",
1310
* body: {
1411
* "key": "value"
15-
* },
16-
* params: { page: "1", limit: "10" },
17-
* headers: { "X-Custom-Header": "value" }
12+
* }
1813
* }
1914
*/
2015
export interface ProxyPostRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
24-
url: string;
2516
/**
2617
* The external user ID for the proxy request
2718
*/
@@ -34,12 +25,4 @@ export interface ProxyPostRequest {
3425
* Request body to forward to the target API
3526
*/
3627
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
40-
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
44-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4528
}

src/api/resources/proxy/client/requests/ProxyPutRequest.ts

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,17 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as core from "../../../../../core/index.js";
6-
75
/**
86
* @example
97
* {
10-
* url: "https://api.example.com/endpoint",
118
* external_user_id: "external_user_id",
129
* account_id: "account_id",
1310
* body: {
1411
* "key": "value"
15-
* },
16-
* params: { page: "1", limit: "10" },
17-
* headers: { "X-Custom-Header": "value" }
12+
* }
1813
* }
1914
*/
2015
export interface ProxyPutRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
24-
url: string;
2516
/**
2617
* The external user ID for the proxy request
2718
*/
@@ -34,12 +25,4 @@ export interface ProxyPutRequest {
3425
* Request body to forward to the target API
3526
*/
3627
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
40-
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
44-
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4528
}

src/api/types/ProxyResponse.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,13 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
export type ProxyResponse = unknown;
5+
/**
6+
* The parsed response body from a proxied API request
7+
*/
8+
export interface ProxyResponse {
9+
/** HTTP status code */
10+
status?: number;
11+
/** Response headers */
12+
headers?: Record<string, unknown>;
13+
body?: unknown;
14+
}

0 commit comments

Comments
 (0)