Skip to content

Commit 51e76ef

Browse files
committed
SDK regeneration
1 parent d69606c commit 51e76ef

File tree

106 files changed

+183
-860
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+183
-860
lines changed

package.json

Lines changed: 7 additions & 36 deletions
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",
@@ -10,11 +10,6 @@
1010
"exports": {
1111
".": {
1212
"types": "./dist/cjs/index.d.ts",
13-
"browser": {
14-
"types": "./dist/esm/browser/index.d.mts",
15-
"import": "./dist/esm/browser/index.mjs",
16-
"default": "./dist/esm/browser/index.mjs"
17-
},
1813
"import": {
1914
"types": "./dist/esm/index.d.mts",
2015
"default": "./dist/esm/index.mjs"
@@ -25,18 +20,6 @@
2520
},
2621
"default": "./dist/cjs/index.js"
2722
},
28-
"./browser": {
29-
"types": "./dist/esm/browser/index.d.mts",
30-
"import": {
31-
"types": "./dist/esm/browser/index.d.mts",
32-
"default": "./dist/esm/browser/index.mjs"
33-
},
34-
"require": {
35-
"types": "./dist/cjs/browser/index.d.ts",
36-
"default": "./dist/cjs/browser/index.js"
37-
},
38-
"default": "./dist/esm/browser/index.mjs"
39-
},
4023
"./serialization": {
4124
"types": "./dist/cjs/serialization/index.d.ts",
4225
"import": {
@@ -49,18 +32,6 @@
4932
},
5033
"default": "./dist/cjs/serialization/index.js"
5134
},
52-
"./server": {
53-
"types": "./dist/cjs/index.d.ts",
54-
"import": {
55-
"types": "./dist/esm/index.d.mts",
56-
"default": "./dist/esm/index.mjs"
57-
},
58-
"require": {
59-
"types": "./dist/cjs/index.d.ts",
60-
"default": "./dist/cjs/index.js"
61-
},
62-
"default": "./dist/cjs/index.js"
63-
},
6435
"./package.json": "./package.json"
6536
},
6637
"files": [
@@ -80,17 +51,17 @@
8051
"test:wire": "jest --selectProjects wire"
8152
},
8253
"devDependencies": {
54+
"webpack": "^5.97.1",
55+
"ts-loader": "^9.5.1",
56+
"jest": "^29.7.0",
8357
"@jest/globals": "^29.7.0",
8458
"@types/jest": "^29.5.14",
85-
"@types/node": "^18.19.70",
86-
"jest": "^29.7.0",
59+
"ts-jest": "^29.3.4",
8760
"jest-environment-jsdom": "^29.7.0",
8861
"msw": "^2.8.4",
62+
"@types/node": "^18.19.70",
8963
"prettier": "^3.4.2",
90-
"ts-jest": "^29.3.4",
91-
"ts-loader": "^9.5.1",
92-
"typescript": "~5.7.2",
93-
"webpack": "^5.97.1"
64+
"typescript": "~5.7.2"
9465
},
9566
"browser": {
9667
"fs": false,

src/api/resources/actions/client/requests/RunActionOpts.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export interface RunActionOpts {
1616
id: string;
1717
/** The external user ID */
1818
externalUserId: string;
19-
configuredProps?: Pipedream.ConfiguredProps;
19+
/** The configured properties for the action */
20+
configuredProps?: Record<string, unknown>;
2021
/** The ID for dynamic props */
2122
dynamicPropsId?: string;
2223
stashId?: Pipedream.RunActionOptsStashId;

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import * as environments from "../../../../environments.js";
66
import * as core from "../../../../core/index.js";
77
import * as Pipedream from "../../../index.js";
8-
import * as serializers from "../../../../serialization/index.js";
98
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js";
9+
import * as serializers from "../../../../serialization/index.js";
1010
import * as errors from "../../../../errors/index.js";
1111

1212
export declare namespace Components {
@@ -64,7 +64,7 @@ export class Components {
6464
async (
6565
request: Pipedream.ComponentsListRequest,
6666
): Promise<core.WithRawResponse<Pipedream.GetComponentsResponse>> => {
67-
const { after, before, limit, q, app, componentType } = request;
67+
const { after, before, limit, q, app } = request;
6868
const _queryParams: Record<string, string | string[] | object | object[] | null> = {};
6969
if (after != null) {
7070
_queryParams["after"] = after;
@@ -81,12 +81,6 @@ export class Components {
8181
if (app != null) {
8282
_queryParams["app"] = app;
8383
}
84-
if (componentType != null) {
85-
_queryParams["component_type"] = serializers.ComponentType.jsonOrThrow(componentType, {
86-
unrecognizedObjectKeys: "strip",
87-
omitUndefined: true,
88-
});
89-
}
9084
let _headers: core.Fetcher.Args["headers"] = mergeHeaders(
9185
this._options?.headers,
9286
mergeOnlyDefinedHeaders({

src/api/resources/components/client/requests/ComponentsListRequest.ts

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

5-
import * as Pipedream from "../../../../index.js";
6-
75
/**
86
* @example
97
* {}
@@ -19,6 +17,4 @@ export interface ComponentsListRequest {
1917
q?: string;
2018
/** The ID or name slug of the app to filter the components */
2119
app?: string;
22-
/** The type of the component to filter the components */
23-
componentType?: Pipedream.ComponentType;
2420
}

src/api/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as Pipedream from "../../../../index.js";
6-
75
/**
86
* @example
97
* {
@@ -15,7 +13,8 @@ export interface UpdateTriggerOpts {
1513
externalUserId: string;
1614
/** Whether the trigger should be active */
1715
active?: boolean;
18-
configuredProps?: Pipedream.ConfiguredProps;
16+
/** The configured properties for the trigger */
17+
configuredProps?: Record<string, unknown>;
1918
/** The name of the trigger */
2019
name?: string;
2120
}

src/api/resources/triggers/client/requests/DeployTriggerOpts.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
* This file was auto-generated by Fern from our API Definition.
33
*/
44

5-
import * as Pipedream from "../../../../index.js";
6-
75
/**
86
* @example
97
* {
@@ -16,7 +14,8 @@ export interface DeployTriggerOpts {
1614
id: string;
1715
/** The external user ID */
1816
externalUserId: string;
19-
configuredProps?: Pipedream.ConfiguredProps;
17+
/** The configured properties for the trigger */
18+
configuredProps?: Record<string, unknown>;
2019
/** The ID for dynamic props */
2120
dynamicPropsId?: string;
2221
/** Optional webhook URL to receive trigger events */

src/api/types/Account.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ import * as Pipedream from "../index.js";
88
* End user account data, returned from the API.
99
*/
1010
export interface Account {
11-
id: Pipedream.AccountId;
11+
/** The unique ID of the account. */
12+
id: string;
1213
/** The custom name of the account if set. */
1314
name?: string;
1415
/** The external ID associated with the account. */

src/api/types/AccountId.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/api/types/ComponentType.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/api/types/ConfigurableProp.ts

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

5-
import * as Pipedream from "../index.js";
6-
75
/**
86
* A configuration or input field for a component.
97
*/
108
export interface ConfigurableProp {
119
/** When building `configuredProps`, make sure to use this field as the key when setting the prop value */
1210
name: string;
13-
type: Pipedream.ConfigurablePropType;
11+
type?: string;
1412
/** Value to use as an input label. In cases where `type` is "app", should load the app via `getApp`, etc. and show `app.name` instead. */
1513
label?: string;
1614
/** A description of the prop, shown to the user when configuring the component. */

0 commit comments

Comments
 (0)