Skip to content

Commit e411e29

Browse files
committed
SDK regeneration
1 parent acc9221 commit e411e29

File tree

5 files changed

+56
-65
lines changed

5 files changed

+56
-65
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 }) -> Record<string, unknown></code></summary>
1830+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">get</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</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 }) -> Record<string, unknown></code></summary>
1889+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">post</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</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 }) -> Record<string, unknown></code></summary>
1951+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">put</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</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 }) -> Record<string, unknown></code></summary>
2013+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">delete</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</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 }) -> Record<string, unknown></code></summary>
2072+
<details><summary><code>client.proxy.<a href="/src/api/resources/proxy/client/Client.ts">patch</a>(url64, { ...params }) -> Pipedream.ProxyResponse | undefined</code></summary>
20732073
<dl>
20742074
<dd>
20752075

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

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,15 @@ export class Proxy {
5757
url64: string,
5858
request: Pipedream.ProxyGetRequest,
5959
requestOptions?: Proxy.RequestOptions,
60-
): core.HttpResponsePromise<Record<string, unknown>> {
60+
): core.HttpResponsePromise<Pipedream.ProxyResponse | undefined> {
6161
return core.HttpResponsePromise.fromPromise(this.__get(url64, request, requestOptions));
6262
}
6363

6464
private async __get(
6565
url64: string,
6666
request: Pipedream.ProxyGetRequest,
6767
requestOptions?: Proxy.RequestOptions,
68-
): Promise<core.WithRawResponse<Record<string, unknown>>> {
68+
): Promise<core.WithRawResponse<Pipedream.ProxyResponse | undefined>> {
6969
const { external_user_id: externalUserId, account_id: accountId } = request;
7070
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
7171
_queryParams["external_user_id"] = externalUserId;
@@ -92,7 +92,7 @@ export class Proxy {
9292
abortSignal: requestOptions?.abortSignal,
9393
});
9494
if (_response.ok) {
95-
return { data: _response.body as Record<string, unknown>, rawResponse: _response.rawResponse };
95+
return { data: _response.body as Pipedream.ProxyResponse | undefined, rawResponse: _response.rawResponse };
9696
}
9797

9898
if (_response.error.reason === "status-code") {
@@ -140,15 +140,15 @@ export class Proxy {
140140
url64: string,
141141
request: Pipedream.ProxyPostRequest,
142142
requestOptions?: Proxy.RequestOptions,
143-
): core.HttpResponsePromise<Record<string, unknown>> {
143+
): core.HttpResponsePromise<Pipedream.ProxyResponse | undefined> {
144144
return core.HttpResponsePromise.fromPromise(this.__post(url64, request, requestOptions));
145145
}
146146

147147
private async __post(
148148
url64: string,
149149
request: Pipedream.ProxyPostRequest,
150150
requestOptions?: Proxy.RequestOptions,
151-
): Promise<core.WithRawResponse<Record<string, unknown>>> {
151+
): Promise<core.WithRawResponse<Pipedream.ProxyResponse | undefined>> {
152152
const { external_user_id: externalUserId, account_id: accountId, body: _body } = request;
153153
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
154154
_queryParams["external_user_id"] = externalUserId;
@@ -178,7 +178,7 @@ export class Proxy {
178178
abortSignal: requestOptions?.abortSignal,
179179
});
180180
if (_response.ok) {
181-
return { data: _response.body as Record<string, unknown>, rawResponse: _response.rawResponse };
181+
return { data: _response.body as Pipedream.ProxyResponse | undefined, rawResponse: _response.rawResponse };
182182
}
183183

184184
if (_response.error.reason === "status-code") {
@@ -226,15 +226,15 @@ export class Proxy {
226226
url64: string,
227227
request: Pipedream.ProxyPutRequest,
228228
requestOptions?: Proxy.RequestOptions,
229-
): core.HttpResponsePromise<Record<string, unknown>> {
229+
): core.HttpResponsePromise<Pipedream.ProxyResponse | undefined> {
230230
return core.HttpResponsePromise.fromPromise(this.__put(url64, request, requestOptions));
231231
}
232232

233233
private async __put(
234234
url64: string,
235235
request: Pipedream.ProxyPutRequest,
236236
requestOptions?: Proxy.RequestOptions,
237-
): Promise<core.WithRawResponse<Record<string, unknown>>> {
237+
): Promise<core.WithRawResponse<Pipedream.ProxyResponse | undefined>> {
238238
const { external_user_id: externalUserId, account_id: accountId, body: _body } = request;
239239
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
240240
_queryParams["external_user_id"] = externalUserId;
@@ -264,7 +264,7 @@ export class Proxy {
264264
abortSignal: requestOptions?.abortSignal,
265265
});
266266
if (_response.ok) {
267-
return { data: _response.body as Record<string, unknown>, rawResponse: _response.rawResponse };
267+
return { data: _response.body as Pipedream.ProxyResponse | undefined, rawResponse: _response.rawResponse };
268268
}
269269

270270
if (_response.error.reason === "status-code") {
@@ -309,15 +309,15 @@ export class Proxy {
309309
url64: string,
310310
request: Pipedream.ProxyDeleteRequest,
311311
requestOptions?: Proxy.RequestOptions,
312-
): core.HttpResponsePromise<Record<string, unknown>> {
312+
): core.HttpResponsePromise<Pipedream.ProxyResponse | undefined> {
313313
return core.HttpResponsePromise.fromPromise(this.__delete(url64, request, requestOptions));
314314
}
315315

316316
private async __delete(
317317
url64: string,
318318
request: Pipedream.ProxyDeleteRequest,
319319
requestOptions?: Proxy.RequestOptions,
320-
): Promise<core.WithRawResponse<Record<string, unknown>>> {
320+
): Promise<core.WithRawResponse<Pipedream.ProxyResponse | undefined>> {
321321
const { external_user_id: externalUserId, account_id: accountId } = request;
322322
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
323323
_queryParams["external_user_id"] = externalUserId;
@@ -344,7 +344,7 @@ export class Proxy {
344344
abortSignal: requestOptions?.abortSignal,
345345
});
346346
if (_response.ok) {
347-
return { data: _response.body as Record<string, unknown>, rawResponse: _response.rawResponse };
347+
return { data: _response.body as Pipedream.ProxyResponse | undefined, rawResponse: _response.rawResponse };
348348
}
349349

350350
if (_response.error.reason === "status-code") {
@@ -392,15 +392,15 @@ export class Proxy {
392392
url64: string,
393393
request: Pipedream.ProxyPatchRequest,
394394
requestOptions?: Proxy.RequestOptions,
395-
): core.HttpResponsePromise<Record<string, unknown>> {
395+
): core.HttpResponsePromise<Pipedream.ProxyResponse | undefined> {
396396
return core.HttpResponsePromise.fromPromise(this.__patch(url64, request, requestOptions));
397397
}
398398

399399
private async __patch(
400400
url64: string,
401401
request: Pipedream.ProxyPatchRequest,
402402
requestOptions?: Proxy.RequestOptions,
403-
): Promise<core.WithRawResponse<Record<string, unknown>>> {
403+
): Promise<core.WithRawResponse<Pipedream.ProxyResponse | undefined>> {
404404
const { external_user_id: externalUserId, account_id: accountId, body: _body } = request;
405405
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
406406
_queryParams["external_user_id"] = externalUserId;
@@ -430,7 +430,7 @@ export class Proxy {
430430
abortSignal: requestOptions?.abortSignal,
431431
});
432432
if (_response.ok) {
433-
return { data: _response.body as Record<string, unknown>, rawResponse: _response.rawResponse };
433+
return { data: _response.body as Pipedream.ProxyResponse | undefined, rawResponse: _response.rawResponse };
434434
}
435435

436436
if (_response.error.reason === "status-code") {

src/api/types/ProxyResponse.ts

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

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-
}
5+
export type ProxyResponse = unknown;

yarn.lock

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -301,36 +301,36 @@
301301
tough-cookie "^4.1.4"
302302

303303
"@inquirer/confirm@^5.0.0":
304-
version "5.1.13"
305-
resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.13.tgz#4931515edc63e25d833c9a40ccf1855e8e822dbc"
306-
integrity sha512-EkCtvp67ICIVVzjsquUiVSd+V5HRGOGQfsqA4E4vMWhYnB7InUL0pa0TIWt1i+OfP16Gkds8CdIu6yGZwOM1Yw==
304+
version "5.1.14"
305+
resolved "https://registry.yarnpkg.com/@inquirer/confirm/-/confirm-5.1.14.tgz#e6321edf51a3a5f54dc548b80ef6ba89891351ad"
306+
integrity sha512-5yR4IBfe0kXe59r1YCTG8WXkUbl7Z35HK87Sw+WUyGD8wNUx7JvY7laahzeytyE1oLn74bQnL7hstctQxisQ8Q==
307307
dependencies:
308-
"@inquirer/core" "^10.1.14"
309-
"@inquirer/type" "^3.0.7"
308+
"@inquirer/core" "^10.1.15"
309+
"@inquirer/type" "^3.0.8"
310310

311-
"@inquirer/core@^10.1.14":
312-
version "10.1.14"
313-
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.1.14.tgz#7678b2daaecf32fa2f6e02a03dc235f9620e197f"
314-
integrity sha512-Ma+ZpOJPewtIYl6HZHZckeX1STvDnHTCB2GVINNUlSEn2Am6LddWwfPkIGY0IUFVjUUrr/93XlBwTK6mfLjf0A==
311+
"@inquirer/core@^10.1.15":
312+
version "10.1.15"
313+
resolved "https://registry.yarnpkg.com/@inquirer/core/-/core-10.1.15.tgz#8feb69fd536786181a2b6bfb84d8674faa9d2e59"
314+
integrity sha512-8xrp836RZvKkpNbVvgWUlxjT4CraKk2q+I3Ksy+seI2zkcE+y6wNs1BVhgcv8VyImFecUhdQrYLdW32pAjwBdA==
315315
dependencies:
316-
"@inquirer/figures" "^1.0.12"
317-
"@inquirer/type" "^3.0.7"
316+
"@inquirer/figures" "^1.0.13"
317+
"@inquirer/type" "^3.0.8"
318318
ansi-escapes "^4.3.2"
319319
cli-width "^4.1.0"
320320
mute-stream "^2.0.0"
321321
signal-exit "^4.1.0"
322322
wrap-ansi "^6.2.0"
323323
yoctocolors-cjs "^2.1.2"
324324

325-
"@inquirer/figures@^1.0.12":
326-
version "1.0.12"
327-
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.12.tgz#667d6254cc7ba3b0c010a323d78024a1d30c6053"
328-
integrity sha512-MJttijd8rMFcKJC8NYmprWr6hD3r9Gd9qUC0XwPNwoEPWSMVJwA2MlXxF+nhZZNMY+HXsWa+o7KY2emWYIn0jQ==
325+
"@inquirer/figures@^1.0.13":
326+
version "1.0.13"
327+
resolved "https://registry.yarnpkg.com/@inquirer/figures/-/figures-1.0.13.tgz#ad0afd62baab1c23175115a9b62f511b6a751e45"
328+
integrity sha512-lGPVU3yO9ZNqA7vTYz26jny41lE7yoQansmqdMLBEfqaGsmdg7V3W9mK9Pvb5IL4EVZ9GnSDGMO/cJXud5dMaw==
329329

330-
"@inquirer/type@^3.0.7":
331-
version "3.0.7"
332-
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.7.tgz#b46bcf377b3172dbc768fdbd053e6492ad801a09"
333-
integrity sha512-PfunHQcjwnju84L+ycmcMKB/pTPIngjUJvfnRhKY6FKPuYXlM4aQCb/nIdTFR6BEhMjFvngzvng/vBAJMZpLSA==
330+
"@inquirer/type@^3.0.8":
331+
version "3.0.8"
332+
resolved "https://registry.yarnpkg.com/@inquirer/type/-/type-3.0.8.tgz#efc293ba0ed91e90e6267f1aacc1c70d20b8b4e8"
333+
integrity sha512-lg9Whz8onIHRthWaN1Q9EGLa/0LFJjyM8mEUbL1eTi6yMGvBf8gvyDLtxSXztQsxMvhxxNpJYrwa1YHdq+w4Jw==
334334

335335
"@istanbuljs/load-nyc-config@^1.0.0":
336336
version "1.1.0"
@@ -575,9 +575,9 @@
575575
"@jridgewell/sourcemap-codec" "^1.4.14"
576576

577577
"@mswjs/interceptors@^0.39.1":
578-
version "0.39.2"
579-
resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.39.2.tgz#de9de0ab23f99d387c7904df7219a92157d1d666"
580-
integrity sha512-RuzCup9Ct91Y7V79xwCb146RaBRHZ7NBbrIUySumd1rpKqHL5OonaqrGIbug5hNwP/fRyxFMA6ISgw4FTtYFYg==
578+
version "0.39.3"
579+
resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.39.3.tgz#d27886db295c9a7dbc41aa229a644bc7bbb04723"
580+
integrity sha512-9bw/wBL7pblsnOCIqvn1788S9o4h+cC5HWXg0Xhh0dOzsZ53IyfmBM+FYqpDDPbm0xjCqEqvCITloF3Dm4TXRQ==
581581
dependencies:
582582
"@open-draft/deferred-promise" "^2.2.0"
583583
"@open-draft/logger" "^0.3.0"
@@ -736,16 +736,16 @@
736736
integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==
737737

738738
"@types/node@*":
739-
version "24.0.14"
740-
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.0.14.tgz#6e3d4fb6d858c48c69707394e1a0e08ce1ecc1bc"
741-
integrity sha512-4zXMWD91vBLGRtHK3YbIoFMia+1nqEz72coM42C5ETjnNCa/heoj7NT1G67iAfOqMmcfhuCZ4uNpyz8EjlAejw==
739+
version "24.1.0"
740+
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.1.0.tgz#0993f7dc31ab5cc402d112315b463e383d68a49c"
741+
integrity sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==
742742
dependencies:
743743
undici-types "~7.8.0"
744744

745745
"@types/node@^18.19.70":
746-
version "18.19.119"
747-
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.119.tgz#e7c2098b8c0243af0005503a6d5da92e0d989c84"
748-
integrity sha512-d0F6m9itIPaKnrvEMlzE48UjwZaAnFW7Jwibacw9MNdqadjKNpUm9tfJYDwmShJmgqcoqYUX3EMKO1+RWiuuNg==
746+
version "18.19.120"
747+
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.120.tgz#07b3bd73875956d5281fa27e6d77a66415f7d455"
748+
integrity sha512-WtCGHFXnVI8WHLxDAt5TbnCM4eSE+nI0QN2NJtwzcgMhht2eNz6V9evJrk+lwC8bCY8OWV5Ym8Jz7ZEyGnKnMA==
749749
dependencies:
750750
undici-types "~5.26.4"
751751

@@ -1364,9 +1364,9 @@ ejs@^3.1.10:
13641364
jake "^10.8.5"
13651365

13661366
electron-to-chromium@^1.5.173:
1367-
version "1.5.185"
1368-
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.185.tgz#b4f9189c4ef652ddf9f1bb37529e2b79f865e912"
1369-
integrity sha512-dYOZfUk57hSMPePoIQ1fZWl1Fkj+OshhEVuPacNKWzC1efe56OsHY3l/jCfiAgIICOU3VgOIdoq7ahg7r7n6MQ==
1367+
version "1.5.190"
1368+
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.190.tgz#f0ac8be182291a45e8154dbb12f18d2b2318e4ac"
1369+
integrity sha512-k4McmnB2091YIsdCgkS0fMVMPOJgxl93ltFzaryXqwip1AaxeDqKCGLxkXODDA5Ab/D+tV5EL5+aTx76RvLRxw==
13701370

13711371
emittery@^0.13.1:
13721372
version "0.13.1"
@@ -1567,9 +1567,9 @@ find-up@^4.0.0, find-up@^4.1.0:
15671567
path-exists "^4.0.0"
15681568

15691569
form-data@^4.0.0:
1570-
version "4.0.3"
1571-
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.3.tgz#608b1b3f3e28be0fccf5901fc85fb3641e5cf0ae"
1572-
integrity sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==
1570+
version "4.0.4"
1571+
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
1572+
integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
15731573
dependencies:
15741574
asynckit "^0.4.0"
15751575
combined-stream "^1.0.8"

0 commit comments

Comments
 (0)