Skip to content

Commit 0ff1cc3

Browse files
committed
Update the Proxy files
1 parent 000af23 commit 0ff1cc3

File tree

7 files changed

+247
-228
lines changed

7 files changed

+247
-228
lines changed

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

Lines changed: 209 additions & 124 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* This file was auto-generated by Fern from our API Definition.
3-
*/
1+
// This file was auto-generated by Fern from our API Definition.
42

53
import * as core from "../../../../../core/index.js";
64

@@ -15,24 +13,14 @@ import * as core from "../../../../../core/index.js";
1513
* }
1614
*/
1715
export interface ProxyDeleteRequest {
18-
/**
19-
* Target URL to proxy request to
20-
*/
16+
/** Target URL to proxy request to */
2117
url: string;
22-
/**
23-
* The external user ID for the proxy request
24-
*/
18+
/** The external user ID for the proxy request */
2519
externalUserId: string;
26-
/**
27-
* The account ID to use for authentication
28-
*/
20+
/** The account ID to use for authentication */
2921
accountId: string;
30-
/**
31-
* Query parameters to forward
32-
*/
22+
/** Query parameters to forward */
3323
params?: Record<string, string | string[] | object | object[] | null>;
34-
/**
35-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
36-
*/
24+
/** Additional headers to include (will be prefixed with 'x-pd-proxy-') */
3725
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
3826
}
Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* This file was auto-generated by Fern from our API Definition.
3-
*/
1+
// This file was auto-generated by Fern from our API Definition.
42

53
import * as core from "../../../../../core/index.js";
64

@@ -15,24 +13,14 @@ import * as core from "../../../../../core/index.js";
1513
* }
1614
*/
1715
export interface ProxyGetRequest {
18-
/**
19-
* Target URL to proxy request to
20-
*/
16+
/** Target URL to proxy request to */
2117
url: string;
22-
/**
23-
* The external user ID for the proxy request
24-
*/
18+
/** The external user ID for the proxy request */
2519
externalUserId: string;
26-
/**
27-
* The account ID to use for authentication
28-
*/
20+
/** The account ID to use for authentication */
2921
accountId: string;
30-
/**
31-
* Query parameters to forward
32-
*/
22+
/** Query parameters to forward */
3323
params?: Record<string, string | string[] | object | object[] | null>;
34-
/**
35-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
36-
*/
24+
/** Additional headers to include (will be prefixed with 'x-pd-proxy-') */
3725
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
3826
}
Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* This file was auto-generated by Fern from our API Definition.
3-
*/
1+
// This file was auto-generated by Fern from our API Definition.
42

53
import * as core from "../../../../../core/index.js";
64

@@ -18,28 +16,16 @@ import * as core from "../../../../../core/index.js";
1816
* }
1917
*/
2018
export interface ProxyPatchRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
19+
/** Target URL to proxy request to */
2420
url: string;
25-
/**
26-
* The external user ID for the proxy request
27-
*/
21+
/** The external user ID for the proxy request */
2822
externalUserId: string;
29-
/**
30-
* The account ID to use for authentication
31-
*/
23+
/** The account ID to use for authentication */
3224
accountId: string;
33-
/**
34-
* Request body to forward to the target API
35-
*/
25+
/** Request body to forward to the target API */
3626
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
27+
/** Query parameters to forward */
4028
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
29+
/** Additional headers to include (will be prefixed with 'x-pd-proxy-') */
4430
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4531
}
Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* This file was auto-generated by Fern from our API Definition.
3-
*/
1+
// This file was auto-generated by Fern from our API Definition.
42

53
import * as core from "../../../../../core/index.js";
64

@@ -18,28 +16,16 @@ import * as core from "../../../../../core/index.js";
1816
* }
1917
*/
2018
export interface ProxyPostRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
19+
/** Target URL to proxy request to */
2420
url: string;
25-
/**
26-
* The external user ID for the proxy request
27-
*/
21+
/** The external user ID for the proxy request */
2822
externalUserId: string;
29-
/**
30-
* The account ID to use for authentication
31-
*/
23+
/** The account ID to use for authentication */
3224
accountId: string;
33-
/**
34-
* Request body to forward to the target API
35-
*/
25+
/** Request body to forward to the target API */
3626
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
27+
/** Query parameters to forward */
4028
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
29+
/** Additional headers to include (will be prefixed with 'x-pd-proxy-') */
4430
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4531
}
Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/**
2-
* This file was auto-generated by Fern from our API Definition.
3-
*/
1+
// This file was auto-generated by Fern from our API Definition.
42

53
import * as core from "../../../../../core/index.js";
64

@@ -18,28 +16,16 @@ import * as core from "../../../../../core/index.js";
1816
* }
1917
*/
2018
export interface ProxyPutRequest {
21-
/**
22-
* Target URL to proxy request to
23-
*/
19+
/** Target URL to proxy request to */
2420
url: string;
25-
/**
26-
* The external user ID for the proxy request
27-
*/
21+
/** The external user ID for the proxy request */
2822
externalUserId: string;
29-
/**
30-
* The account ID to use for authentication
31-
*/
23+
/** The account ID to use for authentication */
3224
accountId: string;
33-
/**
34-
* Request body to forward to the target API
35-
*/
25+
/** Request body to forward to the target API */
3626
body: Record<string, unknown>;
37-
/**
38-
* Query parameters to forward
39-
*/
27+
/** Query parameters to forward */
4028
params?: Record<string, string | string[] | object | object[] | null>;
41-
/**
42-
* Additional headers to include (will be prefixed with 'x-pd-proxy-')
43-
*/
29+
/** Additional headers to include (will be prefixed with 'x-pd-proxy-') */
4430
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
4531
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
export { type ProxyGetRequest } from "./ProxyGetRequest.js";
2-
export { type ProxyPostRequest } from "./ProxyPostRequest.js";
3-
export { type ProxyPutRequest } from "./ProxyPutRequest.js";
4-
export { type ProxyDeleteRequest } from "./ProxyDeleteRequest.js";
5-
export { type ProxyPatchRequest } from "./ProxyPatchRequest.js";
1+
export type { ProxyDeleteRequest } from "./ProxyDeleteRequest.js";
2+
export type { ProxyGetRequest } from "./ProxyGetRequest.js";
3+
export type { ProxyPatchRequest } from "./ProxyPatchRequest.js";
4+
export type { ProxyPostRequest } from "./ProxyPostRequest.js";
5+
export type { ProxyPutRequest } from "./ProxyPutRequest.js";

0 commit comments

Comments
 (0)