From c76fe7fc9ab130b874d83afc1f400d8c59f40f60 Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 30 Sep 2025 00:17:29 +0000 Subject: [PATCH] SDK regeneration --- package.json | 43 +----- src/api/resources/accounts/client/Client.ts | 14 +- .../client/requests/AccountsListRequest.ts | 4 +- .../client/requests/CreateAccountOpts.ts | 2 - .../actions/client/requests/RunActionOpts.ts | 3 +- src/api/resources/components/client/Client.ts | 10 +- .../client/requests/ComponentsListRequest.ts | 4 - .../client/requests/UpdateTriggerOpts.ts | 5 +- .../client/requests/DeployTriggerOpts.ts | 5 +- src/api/types/Account.ts | 3 +- src/api/types/AccountId.ts | 8 -- src/api/types/Component.ts | 1 + src/api/types/ComponentType.ts | 12 -- src/api/types/ConfigurableProp.ts | 4 +- .../types/ConfigurablePropAirtableBaseId.ts | 4 +- .../types/ConfigurablePropAirtableFieldId.ts | 4 +- .../types/ConfigurablePropAirtableTableId.ts | 4 +- .../types/ConfigurablePropAirtableViewId.ts | 4 +- src/api/types/ConfigurablePropAlert.ts | 4 +- src/api/types/ConfigurablePropAny.ts | 2 +- src/api/types/ConfigurablePropApp.ts | 4 +- src/api/types/ConfigurablePropApphook.ts | 4 +- src/api/types/ConfigurablePropBoolean.ts | 4 +- src/api/types/ConfigurablePropDb.ts | 2 +- src/api/types/ConfigurablePropDiscord.ts | 2 +- .../types/ConfigurablePropDiscordChannel.ts | 4 +- .../ConfigurablePropDiscordChannelArray.ts | 2 +- src/api/types/ConfigurablePropHttp.ts | 2 +- src/api/types/ConfigurablePropInteger.ts | 2 +- src/api/types/ConfigurablePropIntegerArray.ts | 2 +- src/api/types/ConfigurablePropObject.ts | 2 +- src/api/types/ConfigurablePropSql.ts | 2 +- src/api/types/ConfigurablePropString.ts | 4 +- src/api/types/ConfigurablePropStringArray.ts | 4 +- src/api/types/ConfigurablePropTimer.ts | 2 +- src/api/types/ConfigurablePropType.ts | 53 -------- src/api/types/ConfigurePropOptions.ts | 10 -- src/api/types/ConfigurePropOptionsItem.ts | 7 - src/api/types/ConfigurePropOpts.ts | 5 +- src/api/types/ConfigurePropResponse.ts | 6 +- src/api/types/ConfiguredPropValue.ts | 16 --- src/api/types/ConfiguredPropValueAny.ts | 5 - src/api/types/ConfiguredPropValueApp.ts | 9 -- src/api/types/ConfiguredPropValueBoolean.ts | 5 - src/api/types/ConfiguredPropValueInteger.ts | 5 - src/api/types/ConfiguredPropValueObject.ts | 5 - src/api/types/ConfiguredPropValueSql.ts | 14 -- src/api/types/ConfiguredPropValueString.ts | 5 - .../types/ConfiguredPropValueStringArray.ts | 5 - src/api/types/DeployedComponent.ts | 3 +- src/api/types/Observation.ts | 18 --- src/api/types/ObservationError.ts | 15 --- src/api/types/PropOption.ts | 4 +- src/api/types/PropOptionNested.ts | 12 -- src/api/types/PropOptionValue.ts | 8 -- src/api/types/ReloadPropsOpts.ts | 5 +- src/api/types/ReloadPropsResponse.ts | 3 +- src/api/types/ToolAnnotations.ts | 19 +++ .../client/requests/CreateAccountOpts.ts | 2 +- .../actions/client/requests/RunActionOpts.ts | 9 +- .../client/requests/UpdateTriggerOpts.ts | 9 +- .../client/requests/DeployTriggerOpts.ts | 9 +- src/serialization/types/Account.ts | 5 +- src/serialization/types/AccountId.ts | 14 -- src/serialization/types/Component.ts | 3 + src/serialization/types/ComponentType.ts | 14 -- src/serialization/types/ConfigurableProp.ts | 5 +- .../types/ConfigurablePropAirtableBaseId.ts | 8 +- .../types/ConfigurablePropAirtableFieldId.ts | 8 +- .../types/ConfigurablePropAirtableTableId.ts | 8 +- .../types/ConfigurablePropAirtableViewId.ts | 8 +- .../types/ConfigurablePropAlert.ts | 8 +- .../types/ConfigurablePropAny.ts | 4 +- .../types/ConfigurablePropApp.ts | 8 +- .../types/ConfigurablePropApphook.ts | 8 +- .../types/ConfigurablePropBoolean.ts | 6 +- src/serialization/types/ConfigurablePropDb.ts | 4 +- .../types/ConfigurablePropDiscord.ts | 4 +- .../types/ConfigurablePropDiscordChannel.ts | 8 +- .../ConfigurablePropDiscordChannelArray.ts | 4 +- .../types/ConfigurablePropHttp.ts | 4 +- .../types/ConfigurablePropInteger.ts | 4 +- .../types/ConfigurablePropIntegerArray.ts | 4 +- .../types/ConfigurablePropObject.ts | 4 +- .../types/ConfigurablePropSql.ts | 4 +- .../types/ConfigurablePropString.ts | 6 +- .../types/ConfigurablePropStringArray.ts | 6 +- .../types/ConfigurablePropTimer.ts | 4 +- .../types/ConfigurablePropType.ts | 63 --------- .../types/ConfigurePropOptions.ts | 17 --- .../types/ConfigurePropOptionsItem.ts | 18 --- src/serialization/types/ConfigurePropOpts.ts | 9 +- .../types/ConfigurePropResponse.ts | 12 +- .../types/ConfiguredPropValue.ts | 41 ------ .../types/ConfiguredPropValueAny.ts | 16 --- .../types/ConfiguredPropValueApp.ts | 21 --- .../types/ConfiguredPropValueBoolean.ts | 16 --- .../types/ConfiguredPropValueInteger.ts | 16 --- .../types/ConfiguredPropValueObject.ts | 16 --- .../types/ConfiguredPropValueSql.ts | 26 ---- .../types/ConfiguredPropValueString.ts | 16 --- .../types/ConfiguredPropValueStringArray.ts | 16 --- src/serialization/types/DeployedComponent.ts | 9 +- src/serialization/types/Observation.ts | 25 ---- src/serialization/types/ObservationError.ts | 24 ---- src/serialization/types/PropOption.ts | 5 +- src/serialization/types/PropOptionNested.ts | 21 --- src/serialization/types/PropOptionValue.ts | 18 --- src/serialization/types/ReloadPropsOpts.ts | 9 +- .../types/ReloadPropsResponse.ts | 5 +- src/serialization/types/ToolAnnotations.ts | 28 ++++ src/serialization/types/index.ts | 22 +-- src/version.ts | 2 +- yarn.lock | 125 +++++++++++------- 114 files changed, 297 insertions(+), 910 deletions(-) delete mode 100644 src/api/types/AccountId.ts delete mode 100644 src/api/types/ComponentType.ts delete mode 100644 src/api/types/ConfigurablePropType.ts delete mode 100644 src/api/types/ConfigurePropOptions.ts delete mode 100644 src/api/types/ConfigurePropOptionsItem.ts delete mode 100644 src/api/types/ConfiguredPropValue.ts delete mode 100644 src/api/types/ConfiguredPropValueAny.ts delete mode 100644 src/api/types/ConfiguredPropValueApp.ts delete mode 100644 src/api/types/ConfiguredPropValueBoolean.ts delete mode 100644 src/api/types/ConfiguredPropValueInteger.ts delete mode 100644 src/api/types/ConfiguredPropValueObject.ts delete mode 100644 src/api/types/ConfiguredPropValueSql.ts delete mode 100644 src/api/types/ConfiguredPropValueString.ts delete mode 100644 src/api/types/ConfiguredPropValueStringArray.ts delete mode 100644 src/api/types/Observation.ts delete mode 100644 src/api/types/ObservationError.ts delete mode 100644 src/api/types/PropOptionNested.ts delete mode 100644 src/api/types/PropOptionValue.ts create mode 100644 src/api/types/ToolAnnotations.ts delete mode 100644 src/serialization/types/AccountId.ts delete mode 100644 src/serialization/types/ComponentType.ts delete mode 100644 src/serialization/types/ConfigurablePropType.ts delete mode 100644 src/serialization/types/ConfigurePropOptions.ts delete mode 100644 src/serialization/types/ConfigurePropOptionsItem.ts delete mode 100644 src/serialization/types/ConfiguredPropValue.ts delete mode 100644 src/serialization/types/ConfiguredPropValueAny.ts delete mode 100644 src/serialization/types/ConfiguredPropValueApp.ts delete mode 100644 src/serialization/types/ConfiguredPropValueBoolean.ts delete mode 100644 src/serialization/types/ConfiguredPropValueInteger.ts delete mode 100644 src/serialization/types/ConfiguredPropValueObject.ts delete mode 100644 src/serialization/types/ConfiguredPropValueSql.ts delete mode 100644 src/serialization/types/ConfiguredPropValueString.ts delete mode 100644 src/serialization/types/ConfiguredPropValueStringArray.ts delete mode 100644 src/serialization/types/Observation.ts delete mode 100644 src/serialization/types/ObservationError.ts delete mode 100644 src/serialization/types/PropOptionNested.ts delete mode 100644 src/serialization/types/PropOptionValue.ts create mode 100644 src/serialization/types/ToolAnnotations.ts diff --git a/package.json b/package.json index 36f9224..eb7d010 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/sdk", - "version": "2.0.9", + "version": "2.0.10", "private": false, "repository": "github:PipedreamHQ/pipedream-sdk-typescript", "type": "commonjs", @@ -10,11 +10,6 @@ "exports": { ".": { "types": "./dist/cjs/index.d.ts", - "browser": { - "types": "./dist/esm/browser/index.d.mts", - "import": "./dist/esm/browser/index.mjs", - "default": "./dist/esm/browser/index.mjs" - }, "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" @@ -25,18 +20,6 @@ }, "default": "./dist/cjs/index.js" }, - "./browser": { - "types": "./dist/esm/browser/index.d.mts", - "import": { - "types": "./dist/esm/browser/index.d.mts", - "default": "./dist/esm/browser/index.mjs" - }, - "require": { - "types": "./dist/cjs/browser/index.d.ts", - "default": "./dist/cjs/browser/index.js" - }, - "default": "./dist/esm/browser/index.mjs" - }, "./serialization": { "types": "./dist/cjs/serialization/index.d.ts", "import": { @@ -49,18 +32,6 @@ }, "default": "./dist/cjs/serialization/index.js" }, - "./server": { - "types": "./dist/cjs/index.d.ts", - "import": { - "types": "./dist/esm/index.d.mts", - "default": "./dist/esm/index.mjs" - }, - "require": { - "types": "./dist/cjs/index.d.ts", - "default": "./dist/cjs/index.js" - }, - "default": "./dist/cjs/index.js" - }, "./package.json": "./package.json" }, "files": [ @@ -80,17 +51,17 @@ "test:wire": "jest --selectProjects wire" }, "devDependencies": { + "webpack": "^5.97.1", + "ts-loader": "^9.5.1", + "jest": "^29.7.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", - "@types/node": "^18.19.70", - "jest": "^29.7.0", + "ts-jest": "^29.3.4", "jest-environment-jsdom": "^29.7.0", "msw": "^2.8.4", + "@types/node": "^18.19.70", "prettier": "^3.4.2", - "ts-jest": "^29.3.4", - "ts-loader": "^9.5.1", - "typescript": "~5.7.2", - "webpack": "^5.97.1" + "typescript": "~5.7.2" }, "browser": { "fs": false, diff --git a/src/api/resources/accounts/client/Client.ts b/src/api/resources/accounts/client/Client.ts index 33b346f..01be085 100644 --- a/src/api/resources/accounts/client/Client.ts +++ b/src/api/resources/accounts/client/Client.ts @@ -64,11 +64,8 @@ export class Accounts { async ( request: Pipedream.AccountsListRequest, ): Promise> => { - const { app, externalUserId, oauthAppId, after, before, limit, includeCredentials } = request; + const { externalUserId, oauthAppId, after, before, limit, app, includeCredentials } = request; const _queryParams: Record = {}; - if (app != null) { - _queryParams["app"] = app; - } if (externalUserId != null) { _queryParams["external_user_id"] = externalUserId; } @@ -84,6 +81,9 @@ export class Accounts { if (limit != null) { _queryParams["limit"] = limit.toString(); } + if (app != null) { + _queryParams["app"] = app; + } if (includeCredentials != null) { _queryParams["include_credentials"] = includeCredentials.toString(); } @@ -193,12 +193,8 @@ export class Accounts { request: Pipedream.CreateAccountOpts, requestOptions?: Accounts.RequestOptions, ): Promise> { - const { appId, externalUserId, oauthAppId, ..._body } = request; + const { externalUserId, oauthAppId, ..._body } = request; const _queryParams: Record = {}; - if (appId != null) { - _queryParams["app_id"] = appId; - } - if (externalUserId != null) { _queryParams["external_user_id"] = externalUserId; } diff --git a/src/api/resources/accounts/client/requests/AccountsListRequest.ts b/src/api/resources/accounts/client/requests/AccountsListRequest.ts index 3d6b739..15eec24 100644 --- a/src/api/resources/accounts/client/requests/AccountsListRequest.ts +++ b/src/api/resources/accounts/client/requests/AccountsListRequest.ts @@ -7,8 +7,6 @@ * {} */ export interface AccountsListRequest { - /** The app slug or ID to filter accounts by. */ - app?: string; externalUserId?: string; /** The OAuth app ID to filter by, if applicable */ oauthAppId?: string; @@ -18,6 +16,8 @@ export interface AccountsListRequest { before?: string; /** The maximum number of results to return */ limit?: number; + /** The app slug or ID to filter accounts by. */ + app?: string; /** Whether to retrieve the account's credentials or not */ includeCredentials?: boolean; } diff --git a/src/api/resources/accounts/client/requests/CreateAccountOpts.ts b/src/api/resources/accounts/client/requests/CreateAccountOpts.ts index 1db32a3..f33d7fb 100644 --- a/src/api/resources/accounts/client/requests/CreateAccountOpts.ts +++ b/src/api/resources/accounts/client/requests/CreateAccountOpts.ts @@ -11,8 +11,6 @@ * } */ export interface CreateAccountOpts { - /** The app slug or ID to filter accounts by. */ - appId?: string; externalUserId?: string; /** The OAuth app ID to filter by, if applicable */ oauthAppId?: string; diff --git a/src/api/resources/actions/client/requests/RunActionOpts.ts b/src/api/resources/actions/client/requests/RunActionOpts.ts index 1575d95..65a0256 100644 --- a/src/api/resources/actions/client/requests/RunActionOpts.ts +++ b/src/api/resources/actions/client/requests/RunActionOpts.ts @@ -16,7 +16,8 @@ export interface RunActionOpts { id: string; /** The external user ID */ externalUserId: string; - configuredProps?: Pipedream.ConfiguredProps; + /** The configured properties for the action */ + configuredProps?: Record; /** The ID for dynamic props */ dynamicPropsId?: string; stashId?: Pipedream.RunActionOptsStashId; diff --git a/src/api/resources/components/client/Client.ts b/src/api/resources/components/client/Client.ts index 3c66665..9e2bde8 100644 --- a/src/api/resources/components/client/Client.ts +++ b/src/api/resources/components/client/Client.ts @@ -5,8 +5,8 @@ import * as environments from "../../../../environments.js"; import * as core from "../../../../core/index.js"; import * as Pipedream from "../../../index.js"; -import * as serializers from "../../../../serialization/index.js"; import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.js"; +import * as serializers from "../../../../serialization/index.js"; import * as errors from "../../../../errors/index.js"; export declare namespace Components { @@ -64,7 +64,7 @@ export class Components { async ( request: Pipedream.ComponentsListRequest, ): Promise> => { - const { after, before, limit, q, app, componentType } = request; + const { after, before, limit, q, app } = request; const _queryParams: Record = {}; if (after != null) { _queryParams["after"] = after; @@ -81,12 +81,6 @@ export class Components { if (app != null) { _queryParams["app"] = app; } - if (componentType != null) { - _queryParams["component_type"] = serializers.ComponentType.jsonOrThrow(componentType, { - unrecognizedObjectKeys: "strip", - omitUndefined: true, - }); - } let _headers: core.Fetcher.Args["headers"] = mergeHeaders( this._options?.headers, mergeOnlyDefinedHeaders({ diff --git a/src/api/resources/components/client/requests/ComponentsListRequest.ts b/src/api/resources/components/client/requests/ComponentsListRequest.ts index cc72dc3..75aa511 100644 --- a/src/api/resources/components/client/requests/ComponentsListRequest.ts +++ b/src/api/resources/components/client/requests/ComponentsListRequest.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../../../../index.js"; - /** * @example * {} @@ -19,6 +17,4 @@ export interface ComponentsListRequest { q?: string; /** The ID or name slug of the app to filter the components */ app?: string; - /** The type of the component to filter the components */ - componentType?: Pipedream.ComponentType; } diff --git a/src/api/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts b/src/api/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts index 058dfb4..13f164b 100644 --- a/src/api/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts +++ b/src/api/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../../../../index.js"; - /** * @example * { @@ -15,7 +13,8 @@ export interface UpdateTriggerOpts { externalUserId: string; /** Whether the trigger should be active */ active?: boolean; - configuredProps?: Pipedream.ConfiguredProps; + /** The configured properties for the trigger */ + configuredProps?: Record; /** The name of the trigger */ name?: string; } diff --git a/src/api/resources/triggers/client/requests/DeployTriggerOpts.ts b/src/api/resources/triggers/client/requests/DeployTriggerOpts.ts index 70e5b40..9c53e19 100644 --- a/src/api/resources/triggers/client/requests/DeployTriggerOpts.ts +++ b/src/api/resources/triggers/client/requests/DeployTriggerOpts.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../../../../index.js"; - /** * @example * { @@ -16,7 +14,8 @@ export interface DeployTriggerOpts { id: string; /** The external user ID */ externalUserId: string; - configuredProps?: Pipedream.ConfiguredProps; + /** The configured properties for the trigger */ + configuredProps?: Record; /** The ID for dynamic props */ dynamicPropsId?: string; /** Optional webhook URL to receive trigger events */ diff --git a/src/api/types/Account.ts b/src/api/types/Account.ts index 4ad68ba..8324e7c 100644 --- a/src/api/types/Account.ts +++ b/src/api/types/Account.ts @@ -8,7 +8,8 @@ import * as Pipedream from "../index.js"; * End user account data, returned from the API. */ export interface Account { - id: Pipedream.AccountId; + /** The unique ID of the account. */ + id: string; /** The custom name of the account if set. */ name?: string; /** The external ID associated with the account. */ diff --git a/src/api/types/AccountId.ts b/src/api/types/AccountId.ts deleted file mode 100644 index 60c2f3e..0000000 --- a/src/api/types/AccountId.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The unique ID of the account. - */ -export type AccountId = string; diff --git a/src/api/types/Component.ts b/src/api/types/Component.ts index 9a17048..4cb2dc9 100644 --- a/src/api/types/Component.ts +++ b/src/api/types/Component.ts @@ -17,4 +17,5 @@ export interface Component { /** The type of component (trigger or action) */ componentType?: string; stash?: Pipedream.ComponentStash; + annotations?: Pipedream.ToolAnnotations; } diff --git a/src/api/types/ComponentType.ts b/src/api/types/ComponentType.ts deleted file mode 100644 index 8b24992..0000000 --- a/src/api/types/ComponentType.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The type of component (trigger or action) - */ -export type ComponentType = "trigger" | "action"; -export const ComponentType = { - Trigger: "trigger", - Action: "action", -} as const; diff --git a/src/api/types/ConfigurableProp.ts b/src/api/types/ConfigurableProp.ts index d322741..40a7f1b 100644 --- a/src/api/types/ConfigurableProp.ts +++ b/src/api/types/ConfigurableProp.ts @@ -2,15 +2,13 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../index.js"; - /** * A configuration or input field for a component. */ export interface ConfigurableProp { /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; - type: Pipedream.ConfigurablePropType; + type?: string; /** 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. */ label?: string; /** A description of the prop, shown to the user when configuring the component. */ diff --git a/src/api/types/ConfigurablePropAirtableBaseId.ts b/src/api/types/ConfigurablePropAirtableBaseId.ts index 4192243..f9bd66f 100644 --- a/src/api/types/ConfigurablePropAirtableBaseId.ts +++ b/src/api/types/ConfigurablePropAirtableBaseId.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropAirtableBaseId { - type: "$.airtable.baseId"; + type?: "$.airtable.baseId"; /** The name of the app prop that provides Airtable authentication */ - appProp: string; + appProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropAirtableFieldId.ts b/src/api/types/ConfigurablePropAirtableFieldId.ts index e70df20..ab86424 100644 --- a/src/api/types/ConfigurablePropAirtableFieldId.ts +++ b/src/api/types/ConfigurablePropAirtableFieldId.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropAirtableFieldId { - type: "$.airtable.fieldId"; + type?: "$.airtable.fieldId"; /** The name of the prop that provides the Airtable table ID */ - tableIdProp: string; + tableIdProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropAirtableTableId.ts b/src/api/types/ConfigurablePropAirtableTableId.ts index 5c3241c..5dc6238 100644 --- a/src/api/types/ConfigurablePropAirtableTableId.ts +++ b/src/api/types/ConfigurablePropAirtableTableId.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropAirtableTableId { - type: "$.airtable.tableId"; + type?: "$.airtable.tableId"; /** The name of the prop that provides the Airtable base ID */ - baseIdProp: string; + baseIdProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropAirtableViewId.ts b/src/api/types/ConfigurablePropAirtableViewId.ts index ddc51b3..28241d1 100644 --- a/src/api/types/ConfigurablePropAirtableViewId.ts +++ b/src/api/types/ConfigurablePropAirtableViewId.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropAirtableViewId { - type: "$.airtable.viewId"; + type?: "$.airtable.viewId"; /** The name of the prop that provides the Airtable table ID */ - tableIdProp: string; + tableIdProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropAlert.ts b/src/api/types/ConfigurablePropAlert.ts index c4ac5c2..e267a59 100644 --- a/src/api/types/ConfigurablePropAlert.ts +++ b/src/api/types/ConfigurablePropAlert.ts @@ -5,10 +5,10 @@ import * as Pipedream from "../index.js"; export interface ConfigurablePropAlert { - type: "alert"; + type?: "alert"; alertType?: Pipedream.ConfigurablePropAlertType; /** The content of the alert, which can include HTML or plain text. */ - content: string; + content?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropAny.ts b/src/api/types/ConfigurablePropAny.ts index 50fab72..f4b9883 100644 --- a/src/api/types/ConfigurablePropAny.ts +++ b/src/api/types/ConfigurablePropAny.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropAny { - type: "any"; + type?: "any"; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropApp.ts b/src/api/types/ConfigurablePropApp.ts index fabf4e3..a70fc40 100644 --- a/src/api/types/ConfigurablePropApp.ts +++ b/src/api/types/ConfigurablePropApp.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropApp { - type: "app"; + type?: "app"; /** The name slug of the app, e.g. 'github', 'slack', etc. This is used to identify the app for which the account is being configured. */ - app: string; + app?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropApphook.ts b/src/api/types/ConfigurablePropApphook.ts index f7fe9d1..9bdc3e3 100644 --- a/src/api/types/ConfigurablePropApphook.ts +++ b/src/api/types/ConfigurablePropApphook.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropApphook { - type: "$.interface.apphook"; + type?: "$.interface.apphook"; /** The name of the app prop that this apphook depends on */ - appProp: string; + appProp?: string; /** List of event names to listen for */ eventNames?: string[]; /** Whether this apphook is remote */ diff --git a/src/api/types/ConfigurablePropBoolean.ts b/src/api/types/ConfigurablePropBoolean.ts index 2f87222..78d2985 100644 --- a/src/api/types/ConfigurablePropBoolean.ts +++ b/src/api/types/ConfigurablePropBoolean.ts @@ -3,9 +3,7 @@ */ export interface ConfigurablePropBoolean { - type: "boolean"; - /** The default value for this prop */ - default?: boolean; + type?: "boolean"; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropDb.ts b/src/api/types/ConfigurablePropDb.ts index b47c18d..9fa7244 100644 --- a/src/api/types/ConfigurablePropDb.ts +++ b/src/api/types/ConfigurablePropDb.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropDb { - type: "$.service.db"; + type?: "$.service.db"; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropDiscord.ts b/src/api/types/ConfigurablePropDiscord.ts index 04fc069..d76ab77 100644 --- a/src/api/types/ConfigurablePropDiscord.ts +++ b/src/api/types/ConfigurablePropDiscord.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropDiscord { - type: "$.discord.channel"; + type?: "$.discord.channel"; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropDiscordChannel.ts b/src/api/types/ConfigurablePropDiscordChannel.ts index 8fd2e28..01ce96a 100644 --- a/src/api/types/ConfigurablePropDiscordChannel.ts +++ b/src/api/types/ConfigurablePropDiscordChannel.ts @@ -3,9 +3,9 @@ */ export interface ConfigurablePropDiscordChannel { - type: "$.discord.channel"; + type?: "$.discord.channel"; /** The name of the app prop that provides Discord authentication */ - appProp: string; + appProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropDiscordChannelArray.ts b/src/api/types/ConfigurablePropDiscordChannelArray.ts index 1255b2c..4323822 100644 --- a/src/api/types/ConfigurablePropDiscordChannelArray.ts +++ b/src/api/types/ConfigurablePropDiscordChannelArray.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropDiscordChannelArray { - type: "$.discord.channel[]"; + type?: "$.discord.channel[]"; /** The name of the app prop that provides Discord authentication */ appProp?: string; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ diff --git a/src/api/types/ConfigurablePropHttp.ts b/src/api/types/ConfigurablePropHttp.ts index b28d20a..cef50eb 100644 --- a/src/api/types/ConfigurablePropHttp.ts +++ b/src/api/types/ConfigurablePropHttp.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropHttp { - type: "$.interface.http"; + type?: "$.interface.http"; /** Whether this HTTP interface allows custom responses */ customResponse?: boolean; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ diff --git a/src/api/types/ConfigurablePropInteger.ts b/src/api/types/ConfigurablePropInteger.ts index e64e2d0..4934b5d 100644 --- a/src/api/types/ConfigurablePropInteger.ts +++ b/src/api/types/ConfigurablePropInteger.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropInteger { - type: "integer"; + type?: "integer"; /** The minimum value for this integer prop. */ min?: number; /** The maximum value for this integer prop. */ diff --git a/src/api/types/ConfigurablePropIntegerArray.ts b/src/api/types/ConfigurablePropIntegerArray.ts index ebcfde1..81870a3 100644 --- a/src/api/types/ConfigurablePropIntegerArray.ts +++ b/src/api/types/ConfigurablePropIntegerArray.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropIntegerArray { - type: "integer[]"; + type?: "integer[]"; /** The minimum value for integers in this array */ min?: number; /** The maximum value for integers in this array */ diff --git a/src/api/types/ConfigurablePropObject.ts b/src/api/types/ConfigurablePropObject.ts index 84a0dea..e812e77 100644 --- a/src/api/types/ConfigurablePropObject.ts +++ b/src/api/types/ConfigurablePropObject.ts @@ -3,7 +3,7 @@ */ export interface ConfigurablePropObject { - type: "object"; + type?: "object"; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ name: string; /** 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. */ diff --git a/src/api/types/ConfigurablePropSql.ts b/src/api/types/ConfigurablePropSql.ts index f917401..cb4d2d5 100644 --- a/src/api/types/ConfigurablePropSql.ts +++ b/src/api/types/ConfigurablePropSql.ts @@ -5,7 +5,7 @@ import * as Pipedream from "../index.js"; export interface ConfigurablePropSql { - type: "sql"; + type?: "sql"; auth?: Pipedream.ConfigurablePropSqlAuth; /** Default SQL query */ default?: string; diff --git a/src/api/types/ConfigurablePropString.ts b/src/api/types/ConfigurablePropString.ts index 80eef13..bfb8592 100644 --- a/src/api/types/ConfigurablePropString.ts +++ b/src/api/types/ConfigurablePropString.ts @@ -3,9 +3,7 @@ */ export interface ConfigurablePropString { - type: "string"; - /** The default value for this prop */ - default?: string; + type?: "string"; /** If true, this prop is a secret and should not be displayed in plain text. */ secret?: boolean; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ diff --git a/src/api/types/ConfigurablePropStringArray.ts b/src/api/types/ConfigurablePropStringArray.ts index 7682e1d..12c9039 100644 --- a/src/api/types/ConfigurablePropStringArray.ts +++ b/src/api/types/ConfigurablePropStringArray.ts @@ -3,9 +3,7 @@ */ export interface ConfigurablePropStringArray { - type: "string[]"; - /** The default value for this prop */ - default?: string[]; + type?: "string[]"; /** If true, this prop is a secret and should not be displayed in plain text. */ secret?: boolean; /** When building `configuredProps`, make sure to use this field as the key when setting the prop value */ diff --git a/src/api/types/ConfigurablePropTimer.ts b/src/api/types/ConfigurablePropTimer.ts index 538d9c8..049b934 100644 --- a/src/api/types/ConfigurablePropTimer.ts +++ b/src/api/types/ConfigurablePropTimer.ts @@ -5,7 +5,7 @@ import * as Pipedream from "../index.js"; export interface ConfigurablePropTimer { - type: "$.interface.timer"; + type?: "$.interface.timer"; static?: Pipedream.ConfigurablePropTimerStatic; default?: Pipedream.ConfigurablePropTimerDefault; /** Available timer configuration options */ diff --git a/src/api/types/ConfigurablePropType.ts b/src/api/types/ConfigurablePropType.ts deleted file mode 100644 index 8e5975e..0000000 --- a/src/api/types/ConfigurablePropType.ts +++ /dev/null @@ -1,53 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfigurablePropType = - | "$.airtable.baseId" - | "$.airtable.fieldId" - | "$.airtable.tableId" - | "$.airtable.viewId" - | "$.discord.channel" - | "$.discord.channel[]" - | "$.interface.apphook" - | "$.interface.http" - | "$.interface.timer" - | "$.service.db" - | "alert" - | "any" - | "app" - | "boolean" - | "data_store" - | "dir" - | "http_request" - | "integer" - | "integer[]" - | "object" - | "sql" - | "string" - | "string[]"; -export const ConfigurablePropType = { - AirtableBaseId: "$.airtable.baseId", - AirtableFieldId: "$.airtable.fieldId", - AirtableTableId: "$.airtable.tableId", - AirtableViewId: "$.airtable.viewId", - DiscordChannel: "$.discord.channel", - DiscordChannelArray: "$.discord.channel[]", - InterfaceApphook: "$.interface.apphook", - InterfaceHttp: "$.interface.http", - InterfaceTimer: "$.interface.timer", - ServiceDb: "$.service.db", - Alert: "alert", - Any: "any", - App: "app", - Boolean: "boolean", - DataStore: "data_store", - Dir: "dir", - HttpRequest: "http_request", - Integer: "integer", - IntegerArray: "integer[]", - Object: "object", - Sql: "sql", - String: "string", - StringArray: "string[]", -} as const; diff --git a/src/api/types/ConfigurePropOptions.ts b/src/api/types/ConfigurePropOptions.ts deleted file mode 100644 index aa3e577..0000000 --- a/src/api/types/ConfigurePropOptions.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -/** - * Available options (with labels) for the configured prop - */ -export type ConfigurePropOptions = Pipedream.ConfigurePropOptionsItem[] | undefined; diff --git a/src/api/types/ConfigurePropOptionsItem.ts b/src/api/types/ConfigurePropOptionsItem.ts deleted file mode 100644 index 3883e05..0000000 --- a/src/api/types/ConfigurePropOptionsItem.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -export type ConfigurePropOptionsItem = Pipedream.PropOption | Pipedream.PropOptionNested; diff --git a/src/api/types/ConfigurePropOpts.ts b/src/api/types/ConfigurePropOpts.ts index 4480b84..b94443e 100644 --- a/src/api/types/ConfigurePropOpts.ts +++ b/src/api/types/ConfigurePropOpts.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../index.js"; - /** * Request options for configuring a component's prop */ @@ -16,7 +14,8 @@ export interface ConfigurePropOpts { propName: string; /** Whether this operation should block until completion */ blocking?: boolean; - configuredProps?: Pipedream.ConfiguredProps; + /** The configured properties for the component */ + configuredProps?: Record; /** The ID for dynamic props */ dynamicPropsId?: string; /** Page number for paginated results */ diff --git a/src/api/types/ConfigurePropResponse.ts b/src/api/types/ConfigurePropResponse.ts index 21d7c55..0917e9d 100644 --- a/src/api/types/ConfigurePropResponse.ts +++ b/src/api/types/ConfigurePropResponse.ts @@ -8,10 +8,12 @@ import * as Pipedream from "../index.js"; * Response received after configuring a component's prop */ export interface ConfigurePropResponse { - options?: Pipedream.ConfigurePropOptions | undefined; + /** Available options (with labels) for the configured prop */ + options?: Pipedream.PropOption[]; /** Available options for the configured prop */ stringOptions?: string[]; - observations?: Pipedream.Observation[]; + /** Any logs produced during the configuration of the prop */ + observations?: Record; /** New context after configuring the prop */ context?: Record; /** Any errors that occurred during configuration */ diff --git a/src/api/types/ConfiguredPropValue.ts b/src/api/types/ConfiguredPropValue.ts deleted file mode 100644 index fbba857..0000000 --- a/src/api/types/ConfiguredPropValue.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -export type ConfiguredPropValue = - | Pipedream.ConfiguredPropValueAny - | undefined - | Pipedream.ConfiguredPropValueApp - | Pipedream.ConfiguredPropValueBoolean - | Pipedream.ConfiguredPropValueInteger - | Pipedream.ConfiguredPropValueObject - | Pipedream.ConfiguredPropValueSql - | Pipedream.ConfiguredPropValueString - | Pipedream.ConfiguredPropValueStringArray; diff --git a/src/api/types/ConfiguredPropValueAny.ts b/src/api/types/ConfiguredPropValueAny.ts deleted file mode 100644 index d3f5c77..0000000 --- a/src/api/types/ConfiguredPropValueAny.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueAny = unknown; diff --git a/src/api/types/ConfiguredPropValueApp.ts b/src/api/types/ConfiguredPropValueApp.ts deleted file mode 100644 index 0015ebb..0000000 --- a/src/api/types/ConfiguredPropValueApp.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -export interface ConfiguredPropValueApp { - authProvisionId: Pipedream.AccountId; -} diff --git a/src/api/types/ConfiguredPropValueBoolean.ts b/src/api/types/ConfiguredPropValueBoolean.ts deleted file mode 100644 index c1792b9..0000000 --- a/src/api/types/ConfiguredPropValueBoolean.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueBoolean = boolean; diff --git a/src/api/types/ConfiguredPropValueInteger.ts b/src/api/types/ConfiguredPropValueInteger.ts deleted file mode 100644 index 50b60d5..0000000 --- a/src/api/types/ConfiguredPropValueInteger.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueInteger = number; diff --git a/src/api/types/ConfiguredPropValueObject.ts b/src/api/types/ConfiguredPropValueObject.ts deleted file mode 100644 index d025a7a..0000000 --- a/src/api/types/ConfiguredPropValueObject.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueObject = Record; diff --git a/src/api/types/ConfiguredPropValueSql.ts b/src/api/types/ConfiguredPropValueSql.ts deleted file mode 100644 index cf162b4..0000000 --- a/src/api/types/ConfiguredPropValueSql.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface ConfiguredPropValueSql { - /** The raw SQL query, as provided by the user */ - value: string; - /** The SQL query to execute */ - query: string; - /** The list of parameters for the prepared statement */ - params: string[]; - /** Whether to use prepared statements for the query or not */ - usePreparedStatements: boolean; -} diff --git a/src/api/types/ConfiguredPropValueString.ts b/src/api/types/ConfiguredPropValueString.ts deleted file mode 100644 index 82229e3..0000000 --- a/src/api/types/ConfiguredPropValueString.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueString = string; diff --git a/src/api/types/ConfiguredPropValueStringArray.ts b/src/api/types/ConfiguredPropValueStringArray.ts deleted file mode 100644 index a9c36dd..0000000 --- a/src/api/types/ConfiguredPropValueStringArray.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type ConfiguredPropValueStringArray = string[]; diff --git a/src/api/types/DeployedComponent.ts b/src/api/types/DeployedComponent.ts index ecde554..31589e8 100644 --- a/src/api/types/DeployedComponent.ts +++ b/src/api/types/DeployedComponent.ts @@ -16,7 +16,8 @@ export interface DeployedComponent { componentId: string; /** The configurable properties of the component */ configurableProps: Pipedream.ConfigurableProp[]; - configuredProps: Pipedream.ConfiguredProps; + /** The configured properties of the component */ + configuredProps: Record; /** Whether the deployed component is active */ active: boolean; /** The timestamp when the component was deployed (epoch milliseconds) */ diff --git a/src/api/types/Observation.ts b/src/api/types/Observation.ts deleted file mode 100644 index 8b67be0..0000000 --- a/src/api/types/Observation.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -/** - * Any logs produced during the configuration of the prop - */ -export interface Observation { - err?: Pipedream.ObservationError; - /** The source of the log (e.g. `console.log`) */ - k: string; - /** The log message */ - msg?: string; - /** The time at which the log was produced, as milliseconds since the epoch */ - ts: number; -} diff --git a/src/api/types/ObservationError.ts b/src/api/types/ObservationError.ts deleted file mode 100644 index 12fea69..0000000 --- a/src/api/types/ObservationError.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * Details about an observed error message - */ -export interface ObservationError { - /** The name of the error/exception */ - name?: string; - /** The error message */ - message?: string; - /** The stack trace of the error */ - stack?: string; -} diff --git a/src/api/types/PropOption.ts b/src/api/types/PropOption.ts index de78ba7..7299120 100644 --- a/src/api/types/PropOption.ts +++ b/src/api/types/PropOption.ts @@ -2,13 +2,11 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../index.js"; - /** * A configuration option for a component's prop */ export interface PropOption { /** The human-readable label for the option */ label: string; - value?: Pipedream.PropOptionValue; + value?: unknown; } diff --git a/src/api/types/PropOptionNested.ts b/src/api/types/PropOptionNested.ts deleted file mode 100644 index 8f564b1..0000000 --- a/src/api/types/PropOptionNested.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as Pipedream from "../index.js"; - -/** - * A configuration option for a component's prop (nested under `__lv`) - */ -export interface PropOptionNested { - lv: Pipedream.PropOption; -} diff --git a/src/api/types/PropOptionValue.ts b/src/api/types/PropOptionValue.ts deleted file mode 100644 index a87d67d..0000000 --- a/src/api/types/PropOptionValue.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -/** - * The value of a prop option - */ -export type PropOptionValue = string | number | boolean; diff --git a/src/api/types/ReloadPropsOpts.ts b/src/api/types/ReloadPropsOpts.ts index 9c199c5..894e758 100644 --- a/src/api/types/ReloadPropsOpts.ts +++ b/src/api/types/ReloadPropsOpts.ts @@ -2,8 +2,6 @@ * This file was auto-generated by Fern from our API Definition. */ -import * as Pipedream from "../index.js"; - /** * Request options for reloading a component's props when dealing with dynamic props */ @@ -14,7 +12,8 @@ export interface ReloadPropsOpts { externalUserId: string; /** Whether this operation should block until completion */ blocking?: boolean; - configuredProps?: Pipedream.ConfiguredProps; + /** The configured properties for the component */ + configuredProps?: Record; /** The ID for dynamic props */ dynamicPropsId?: string; } diff --git a/src/api/types/ReloadPropsResponse.ts b/src/api/types/ReloadPropsResponse.ts index e6de448..11aa473 100644 --- a/src/api/types/ReloadPropsResponse.ts +++ b/src/api/types/ReloadPropsResponse.ts @@ -8,7 +8,8 @@ import * as Pipedream from "../index.js"; * Response from reloading component props */ export interface ReloadPropsResponse { - observations?: Pipedream.Observation[]; + /** Any logs produced during the configuration of the prop */ + observations?: Record; /** Any errors that occurred during configuration */ errors?: string[]; dynamicProps?: Pipedream.DynamicProps; diff --git a/src/api/types/ToolAnnotations.ts b/src/api/types/ToolAnnotations.ts new file mode 100644 index 0000000..33b82e8 --- /dev/null +++ b/src/api/types/ToolAnnotations.ts @@ -0,0 +1,19 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +/** + * Optional properties describing component behavior + */ +export interface ToolAnnotations { + /** If true, the component may perform destructive updates to its environment. If false, the component performs only additive updates. */ + destructiveHint?: boolean; + /** If true, calling the component repeatedly with the same arguments will have no additional effect on the its environment. */ + idempotentHint?: boolean; + /** If true, this component may interact with an “open world” of external entities. If false, the component's domain of interaction is closed. For example, the world of a web search component is open, whereas that of a memory component is not. */ + openWorldHint?: boolean; + /** If true, the component does not modify its environment. */ + readOnlyHint?: boolean; + /** A human-readable title for the component. */ + title?: string; +} diff --git a/src/serialization/resources/accounts/client/requests/CreateAccountOpts.ts b/src/serialization/resources/accounts/client/requests/CreateAccountOpts.ts index 7b57e2f..9bede19 100644 --- a/src/serialization/resources/accounts/client/requests/CreateAccountOpts.ts +++ b/src/serialization/resources/accounts/client/requests/CreateAccountOpts.ts @@ -8,7 +8,7 @@ import * as core from "../../../../../core/index.js"; export const CreateAccountOpts: core.serialization.Schema< serializers.CreateAccountOpts.Raw, - Omit + Omit > = core.serialization.object({ appSlug: core.serialization.property("app_slug", core.serialization.string()), cfmapJson: core.serialization.property("cfmap_json", core.serialization.string()), diff --git a/src/serialization/resources/actions/client/requests/RunActionOpts.ts b/src/serialization/resources/actions/client/requests/RunActionOpts.ts index b4ea3a6..e0eca73 100644 --- a/src/serialization/resources/actions/client/requests/RunActionOpts.ts +++ b/src/serialization/resources/actions/client/requests/RunActionOpts.ts @@ -5,15 +5,16 @@ import * as serializers from "../../../../index.js"; import * as Pipedream from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { ConfiguredProps } from "../../../../types/ConfiguredProps.js"; import { RunActionOptsStashId } from "../../../../types/RunActionOptsStashId.js"; -import { ConfiguredPropValue } from "../../../../types/ConfiguredPropValue.js"; export const RunActionOpts: core.serialization.Schema = core.serialization.object({ id: core.serialization.string(), externalUserId: core.serialization.property("external_user_id", core.serialization.string()), - configuredProps: core.serialization.property("configured_props", ConfiguredProps.optional()), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + ), dynamicPropsId: core.serialization.property("dynamic_props_id", core.serialization.string().optional()), stashId: core.serialization.property("stash_id", RunActionOptsStashId.optional()), }); @@ -22,7 +23,7 @@ export declare namespace RunActionOpts { export interface Raw { id: string; external_user_id: string; - configured_props?: ConfiguredProps.Raw | null; + configured_props?: Record | null; dynamic_props_id?: string | null; stash_id?: RunActionOptsStashId.Raw | null; } diff --git a/src/serialization/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts b/src/serialization/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts index ccb6f22..2c827fc 100644 --- a/src/serialization/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts +++ b/src/serialization/resources/deployedTriggers/client/requests/UpdateTriggerOpts.ts @@ -5,22 +5,23 @@ import * as serializers from "../../../../index.js"; import * as Pipedream from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { ConfiguredProps } from "../../../../types/ConfiguredProps.js"; -import { ConfiguredPropValue } from "../../../../types/ConfiguredPropValue.js"; export const UpdateTriggerOpts: core.serialization.Schema< serializers.UpdateTriggerOpts.Raw, Omit > = core.serialization.object({ active: core.serialization.boolean().optional(), - configuredProps: core.serialization.property("configured_props", ConfiguredProps.optional()), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + ), name: core.serialization.string().optional(), }); export declare namespace UpdateTriggerOpts { export interface Raw { active?: boolean | null; - configured_props?: ConfiguredProps.Raw | null; + configured_props?: Record | null; name?: string | null; } } diff --git a/src/serialization/resources/triggers/client/requests/DeployTriggerOpts.ts b/src/serialization/resources/triggers/client/requests/DeployTriggerOpts.ts index 58f6260..b60cd6d 100644 --- a/src/serialization/resources/triggers/client/requests/DeployTriggerOpts.ts +++ b/src/serialization/resources/triggers/client/requests/DeployTriggerOpts.ts @@ -5,8 +5,6 @@ import * as serializers from "../../../../index.js"; import * as Pipedream from "../../../../../api/index.js"; import * as core from "../../../../../core/index.js"; -import { ConfiguredProps } from "../../../../types/ConfiguredProps.js"; -import { ConfiguredPropValue } from "../../../../types/ConfiguredPropValue.js"; export const DeployTriggerOpts: core.serialization.Schema< serializers.DeployTriggerOpts.Raw, @@ -14,7 +12,10 @@ export const DeployTriggerOpts: core.serialization.Schema< > = core.serialization.object({ id: core.serialization.string(), externalUserId: core.serialization.property("external_user_id", core.serialization.string()), - configuredProps: core.serialization.property("configured_props", ConfiguredProps.optional()), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + ), dynamicPropsId: core.serialization.property("dynamic_props_id", core.serialization.string().optional()), webhookUrl: core.serialization.property("webhook_url", core.serialization.string().optional()), }); @@ -23,7 +24,7 @@ export declare namespace DeployTriggerOpts { export interface Raw { id: string; external_user_id: string; - configured_props?: ConfiguredProps.Raw | null; + configured_props?: Record | null; dynamic_props_id?: string | null; webhook_url?: string | null; } diff --git a/src/serialization/types/Account.ts b/src/serialization/types/Account.ts index 01e558e..5f43686 100644 --- a/src/serialization/types/Account.ts +++ b/src/serialization/types/Account.ts @@ -5,12 +5,11 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { AccountId } from "./AccountId.js"; import { App } from "./App.js"; export const Account: core.serialization.ObjectSchema = core.serialization.object({ - id: AccountId, + id: core.serialization.string(), name: core.serialization.string().optional(), externalId: core.serialization.property("external_id", core.serialization.string().optional()), healthy: core.serialization.boolean().optional(), @@ -27,7 +26,7 @@ export const Account: core.serialization.ObjectSchema = - core.serialization.string(); - -export declare namespace AccountId { - export type Raw = string; -} diff --git a/src/serialization/types/Component.ts b/src/serialization/types/Component.ts index 2d287e2..30c8b00 100644 --- a/src/serialization/types/Component.ts +++ b/src/serialization/types/Component.ts @@ -7,6 +7,7 @@ import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; import { ConfigurableProp } from "./ConfigurableProp.js"; import { ComponentStash } from "./ComponentStash.js"; +import { ToolAnnotations } from "./ToolAnnotations.js"; export const Component: core.serialization.ObjectSchema = core.serialization.object({ @@ -17,6 +18,7 @@ export const Component: core.serialization.ObjectSchema = - core.serialization.enum_(["trigger", "action"]); - -export declare namespace ComponentType { - export type Raw = "trigger" | "action"; -} diff --git a/src/serialization/types/ConfigurableProp.ts b/src/serialization/types/ConfigurableProp.ts index c3f8095..2f522d0 100644 --- a/src/serialization/types/ConfigurableProp.ts +++ b/src/serialization/types/ConfigurableProp.ts @@ -5,14 +5,13 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { ConfigurablePropType } from "./ConfigurablePropType.js"; export const ConfigurableProp: core.serialization.ObjectSchema< serializers.ConfigurableProp.Raw, Pipedream.ConfigurableProp > = core.serialization.object({ name: core.serialization.string(), - type: ConfigurablePropType, + type: core.serialization.string().optional(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), optional: core.serialization.boolean().optional(), @@ -27,7 +26,7 @@ export const ConfigurableProp: core.serialization.ObjectSchema< export declare namespace ConfigurableProp { export interface Raw { name: string; - type: ConfigurablePropType.Raw; + type?: string | null; label?: string | null; description?: string | null; optional?: boolean | null; diff --git a/src/serialization/types/ConfigurablePropAirtableBaseId.ts b/src/serialization/types/ConfigurablePropAirtableBaseId.ts index 8db9e6f..34b6fad 100644 --- a/src/serialization/types/ConfigurablePropAirtableBaseId.ts +++ b/src/serialization/types/ConfigurablePropAirtableBaseId.ts @@ -10,8 +10,8 @@ export const ConfigurablePropAirtableBaseId: core.serialization.ObjectSchema< serializers.ConfigurablePropAirtableBaseId.Raw, Pipedream.ConfigurablePropAirtableBaseId > = core.serialization.object({ - type: core.serialization.stringLiteral("$.airtable.baseId"), - appProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.airtable.baseId").optional(), + appProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropAirtableBaseId: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAirtableBaseId { export interface Raw { - type: "$.airtable.baseId"; - appProp: string; + type?: "$.airtable.baseId" | null; + appProp?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropAirtableFieldId.ts b/src/serialization/types/ConfigurablePropAirtableFieldId.ts index 5291761..55b121d 100644 --- a/src/serialization/types/ConfigurablePropAirtableFieldId.ts +++ b/src/serialization/types/ConfigurablePropAirtableFieldId.ts @@ -10,8 +10,8 @@ export const ConfigurablePropAirtableFieldId: core.serialization.ObjectSchema< serializers.ConfigurablePropAirtableFieldId.Raw, Pipedream.ConfigurablePropAirtableFieldId > = core.serialization.object({ - type: core.serialization.stringLiteral("$.airtable.fieldId"), - tableIdProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.airtable.fieldId").optional(), + tableIdProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropAirtableFieldId: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAirtableFieldId { export interface Raw { - type: "$.airtable.fieldId"; - tableIdProp: string; + type?: "$.airtable.fieldId" | null; + tableIdProp?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropAirtableTableId.ts b/src/serialization/types/ConfigurablePropAirtableTableId.ts index dfa0ce2..b6f8d9c 100644 --- a/src/serialization/types/ConfigurablePropAirtableTableId.ts +++ b/src/serialization/types/ConfigurablePropAirtableTableId.ts @@ -10,8 +10,8 @@ export const ConfigurablePropAirtableTableId: core.serialization.ObjectSchema< serializers.ConfigurablePropAirtableTableId.Raw, Pipedream.ConfigurablePropAirtableTableId > = core.serialization.object({ - type: core.serialization.stringLiteral("$.airtable.tableId"), - baseIdProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.airtable.tableId").optional(), + baseIdProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropAirtableTableId: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAirtableTableId { export interface Raw { - type: "$.airtable.tableId"; - baseIdProp: string; + type?: "$.airtable.tableId" | null; + baseIdProp?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropAirtableViewId.ts b/src/serialization/types/ConfigurablePropAirtableViewId.ts index 29ea21c..2afedeb 100644 --- a/src/serialization/types/ConfigurablePropAirtableViewId.ts +++ b/src/serialization/types/ConfigurablePropAirtableViewId.ts @@ -10,8 +10,8 @@ export const ConfigurablePropAirtableViewId: core.serialization.ObjectSchema< serializers.ConfigurablePropAirtableViewId.Raw, Pipedream.ConfigurablePropAirtableViewId > = core.serialization.object({ - type: core.serialization.stringLiteral("$.airtable.viewId"), - tableIdProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.airtable.viewId").optional(), + tableIdProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropAirtableViewId: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAirtableViewId { export interface Raw { - type: "$.airtable.viewId"; - tableIdProp: string; + type?: "$.airtable.viewId" | null; + tableIdProp?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropAlert.ts b/src/serialization/types/ConfigurablePropAlert.ts index ba01a55..a7aa2f5 100644 --- a/src/serialization/types/ConfigurablePropAlert.ts +++ b/src/serialization/types/ConfigurablePropAlert.ts @@ -11,9 +11,9 @@ export const ConfigurablePropAlert: core.serialization.ObjectSchema< serializers.ConfigurablePropAlert.Raw, Pipedream.ConfigurablePropAlert > = core.serialization.object({ - type: core.serialization.stringLiteral("alert"), + type: core.serialization.stringLiteral("alert").optional(), alertType: ConfigurablePropAlertType.optional(), - content: core.serialization.string(), + content: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -28,9 +28,9 @@ export const ConfigurablePropAlert: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAlert { export interface Raw { - type: "alert"; + type?: "alert" | null; alertType?: ConfigurablePropAlertType.Raw | null; - content: string; + content?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropAny.ts b/src/serialization/types/ConfigurablePropAny.ts index ce25f12..a7fb96d 100644 --- a/src/serialization/types/ConfigurablePropAny.ts +++ b/src/serialization/types/ConfigurablePropAny.ts @@ -10,7 +10,7 @@ export const ConfigurablePropAny: core.serialization.ObjectSchema< serializers.ConfigurablePropAny.Raw, Pipedream.ConfigurablePropAny > = core.serialization.object({ - type: core.serialization.stringLiteral("any"), + type: core.serialization.stringLiteral("any").optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -25,7 +25,7 @@ export const ConfigurablePropAny: core.serialization.ObjectSchema< export declare namespace ConfigurablePropAny { export interface Raw { - type: "any"; + type?: "any" | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropApp.ts b/src/serialization/types/ConfigurablePropApp.ts index b4c3d23..c57b2cb 100644 --- a/src/serialization/types/ConfigurablePropApp.ts +++ b/src/serialization/types/ConfigurablePropApp.ts @@ -10,8 +10,8 @@ export const ConfigurablePropApp: core.serialization.ObjectSchema< serializers.ConfigurablePropApp.Raw, Pipedream.ConfigurablePropApp > = core.serialization.object({ - type: core.serialization.stringLiteral("app"), - app: core.serialization.string(), + type: core.serialization.stringLiteral("app").optional(), + app: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropApp: core.serialization.ObjectSchema< export declare namespace ConfigurablePropApp { export interface Raw { - type: "app"; - app: string; + type?: "app" | null; + app?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropApphook.ts b/src/serialization/types/ConfigurablePropApphook.ts index bb97a45..f92ec67 100644 --- a/src/serialization/types/ConfigurablePropApphook.ts +++ b/src/serialization/types/ConfigurablePropApphook.ts @@ -10,8 +10,8 @@ export const ConfigurablePropApphook: core.serialization.ObjectSchema< serializers.ConfigurablePropApphook.Raw, Pipedream.ConfigurablePropApphook > = core.serialization.object({ - type: core.serialization.stringLiteral("$.interface.apphook"), - appProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.interface.apphook").optional(), + appProp: core.serialization.string().optional(), eventNames: core.serialization.list(core.serialization.string()).optional(), remote: core.serialization.boolean().optional(), static: core.serialization.list(core.serialization.unknown()).optional(), @@ -29,8 +29,8 @@ export const ConfigurablePropApphook: core.serialization.ObjectSchema< export declare namespace ConfigurablePropApphook { export interface Raw { - type: "$.interface.apphook"; - appProp: string; + type?: "$.interface.apphook" | null; + appProp?: string | null; eventNames?: string[] | null; remote?: boolean | null; static?: unknown[] | null; diff --git a/src/serialization/types/ConfigurablePropBoolean.ts b/src/serialization/types/ConfigurablePropBoolean.ts index 31c78ae..e1dbbaa 100644 --- a/src/serialization/types/ConfigurablePropBoolean.ts +++ b/src/serialization/types/ConfigurablePropBoolean.ts @@ -10,8 +10,7 @@ export const ConfigurablePropBoolean: core.serialization.ObjectSchema< serializers.ConfigurablePropBoolean.Raw, Pipedream.ConfigurablePropBoolean > = core.serialization.object({ - type: core.serialization.stringLiteral("boolean"), - default: core.serialization.boolean().optional(), + type: core.serialization.stringLiteral("boolean").optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +25,7 @@ export const ConfigurablePropBoolean: core.serialization.ObjectSchema< export declare namespace ConfigurablePropBoolean { export interface Raw { - type: "boolean"; - default?: boolean | null; + type?: "boolean" | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropDb.ts b/src/serialization/types/ConfigurablePropDb.ts index b86492f..296b4a9 100644 --- a/src/serialization/types/ConfigurablePropDb.ts +++ b/src/serialization/types/ConfigurablePropDb.ts @@ -10,7 +10,7 @@ export const ConfigurablePropDb: core.serialization.ObjectSchema< serializers.ConfigurablePropDb.Raw, Pipedream.ConfigurablePropDb > = core.serialization.object({ - type: core.serialization.stringLiteral("$.service.db"), + type: core.serialization.stringLiteral("$.service.db").optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -25,7 +25,7 @@ export const ConfigurablePropDb: core.serialization.ObjectSchema< export declare namespace ConfigurablePropDb { export interface Raw { - type: "$.service.db"; + type?: "$.service.db" | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropDiscord.ts b/src/serialization/types/ConfigurablePropDiscord.ts index e000192..059ee29 100644 --- a/src/serialization/types/ConfigurablePropDiscord.ts +++ b/src/serialization/types/ConfigurablePropDiscord.ts @@ -10,7 +10,7 @@ export const ConfigurablePropDiscord: core.serialization.ObjectSchema< serializers.ConfigurablePropDiscord.Raw, Pipedream.ConfigurablePropDiscord > = core.serialization.object({ - type: core.serialization.stringLiteral("$.discord.channel"), + type: core.serialization.stringLiteral("$.discord.channel").optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -25,7 +25,7 @@ export const ConfigurablePropDiscord: core.serialization.ObjectSchema< export declare namespace ConfigurablePropDiscord { export interface Raw { - type: "$.discord.channel"; + type?: "$.discord.channel" | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropDiscordChannel.ts b/src/serialization/types/ConfigurablePropDiscordChannel.ts index ea48b83..ed020f3 100644 --- a/src/serialization/types/ConfigurablePropDiscordChannel.ts +++ b/src/serialization/types/ConfigurablePropDiscordChannel.ts @@ -10,8 +10,8 @@ export const ConfigurablePropDiscordChannel: core.serialization.ObjectSchema< serializers.ConfigurablePropDiscordChannel.Raw, Pipedream.ConfigurablePropDiscordChannel > = core.serialization.object({ - type: core.serialization.stringLiteral("$.discord.channel"), - appProp: core.serialization.string(), + type: core.serialization.stringLiteral("$.discord.channel").optional(), + appProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -26,8 +26,8 @@ export const ConfigurablePropDiscordChannel: core.serialization.ObjectSchema< export declare namespace ConfigurablePropDiscordChannel { export interface Raw { - type: "$.discord.channel"; - appProp: string; + type?: "$.discord.channel" | null; + appProp?: string | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropDiscordChannelArray.ts b/src/serialization/types/ConfigurablePropDiscordChannelArray.ts index ef95967..a5f1f3e 100644 --- a/src/serialization/types/ConfigurablePropDiscordChannelArray.ts +++ b/src/serialization/types/ConfigurablePropDiscordChannelArray.ts @@ -10,7 +10,7 @@ export const ConfigurablePropDiscordChannelArray: core.serialization.ObjectSchem serializers.ConfigurablePropDiscordChannelArray.Raw, Pipedream.ConfigurablePropDiscordChannelArray > = core.serialization.object({ - type: core.serialization.stringLiteral("$.discord.channel[]"), + type: core.serialization.stringLiteral("$.discord.channel[]").optional(), appProp: core.serialization.string().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), @@ -26,7 +26,7 @@ export const ConfigurablePropDiscordChannelArray: core.serialization.ObjectSchem export declare namespace ConfigurablePropDiscordChannelArray { export interface Raw { - type: "$.discord.channel[]"; + type?: "$.discord.channel[]" | null; appProp?: string | null; name: string; label?: string | null; diff --git a/src/serialization/types/ConfigurablePropHttp.ts b/src/serialization/types/ConfigurablePropHttp.ts index dc93a5a..775e8ba 100644 --- a/src/serialization/types/ConfigurablePropHttp.ts +++ b/src/serialization/types/ConfigurablePropHttp.ts @@ -10,7 +10,7 @@ export const ConfigurablePropHttp: core.serialization.ObjectSchema< serializers.ConfigurablePropHttp.Raw, Pipedream.ConfigurablePropHttp > = core.serialization.object({ - type: core.serialization.stringLiteral("$.interface.http"), + type: core.serialization.stringLiteral("$.interface.http").optional(), customResponse: core.serialization.boolean().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), @@ -26,7 +26,7 @@ export const ConfigurablePropHttp: core.serialization.ObjectSchema< export declare namespace ConfigurablePropHttp { export interface Raw { - type: "$.interface.http"; + type?: "$.interface.http" | null; customResponse?: boolean | null; name: string; label?: string | null; diff --git a/src/serialization/types/ConfigurablePropInteger.ts b/src/serialization/types/ConfigurablePropInteger.ts index f43e2b5..779bd0b 100644 --- a/src/serialization/types/ConfigurablePropInteger.ts +++ b/src/serialization/types/ConfigurablePropInteger.ts @@ -10,7 +10,7 @@ export const ConfigurablePropInteger: core.serialization.ObjectSchema< serializers.ConfigurablePropInteger.Raw, Pipedream.ConfigurablePropInteger > = core.serialization.object({ - type: core.serialization.stringLiteral("integer"), + type: core.serialization.stringLiteral("integer").optional(), min: core.serialization.number().optional(), max: core.serialization.number().optional(), default: core.serialization.number().optional(), @@ -29,7 +29,7 @@ export const ConfigurablePropInteger: core.serialization.ObjectSchema< export declare namespace ConfigurablePropInteger { export interface Raw { - type: "integer"; + type?: "integer" | null; min?: number | null; max?: number | null; default?: number | null; diff --git a/src/serialization/types/ConfigurablePropIntegerArray.ts b/src/serialization/types/ConfigurablePropIntegerArray.ts index 148b0d2..9271e00 100644 --- a/src/serialization/types/ConfigurablePropIntegerArray.ts +++ b/src/serialization/types/ConfigurablePropIntegerArray.ts @@ -10,7 +10,7 @@ export const ConfigurablePropIntegerArray: core.serialization.ObjectSchema< serializers.ConfigurablePropIntegerArray.Raw, Pipedream.ConfigurablePropIntegerArray > = core.serialization.object({ - type: core.serialization.stringLiteral("integer[]"), + type: core.serialization.stringLiteral("integer[]").optional(), min: core.serialization.number().optional(), max: core.serialization.number().optional(), default: core.serialization.list(core.serialization.number()).optional(), @@ -29,7 +29,7 @@ export const ConfigurablePropIntegerArray: core.serialization.ObjectSchema< export declare namespace ConfigurablePropIntegerArray { export interface Raw { - type: "integer[]"; + type?: "integer[]" | null; min?: number | null; max?: number | null; default?: number[] | null; diff --git a/src/serialization/types/ConfigurablePropObject.ts b/src/serialization/types/ConfigurablePropObject.ts index 6abd5d7..3681422 100644 --- a/src/serialization/types/ConfigurablePropObject.ts +++ b/src/serialization/types/ConfigurablePropObject.ts @@ -10,7 +10,7 @@ export const ConfigurablePropObject: core.serialization.ObjectSchema< serializers.ConfigurablePropObject.Raw, Pipedream.ConfigurablePropObject > = core.serialization.object({ - type: core.serialization.stringLiteral("object"), + type: core.serialization.stringLiteral("object").optional(), name: core.serialization.string(), label: core.serialization.string().optional(), description: core.serialization.string().optional(), @@ -25,7 +25,7 @@ export const ConfigurablePropObject: core.serialization.ObjectSchema< export declare namespace ConfigurablePropObject { export interface Raw { - type: "object"; + type?: "object" | null; name: string; label?: string | null; description?: string | null; diff --git a/src/serialization/types/ConfigurablePropSql.ts b/src/serialization/types/ConfigurablePropSql.ts index 4360aa0..5b5956f 100644 --- a/src/serialization/types/ConfigurablePropSql.ts +++ b/src/serialization/types/ConfigurablePropSql.ts @@ -11,7 +11,7 @@ export const ConfigurablePropSql: core.serialization.ObjectSchema< serializers.ConfigurablePropSql.Raw, Pipedream.ConfigurablePropSql > = core.serialization.object({ - type: core.serialization.stringLiteral("sql"), + type: core.serialization.stringLiteral("sql").optional(), auth: ConfigurablePropSqlAuth.optional(), default: core.serialization.string().optional(), name: core.serialization.string(), @@ -28,7 +28,7 @@ export const ConfigurablePropSql: core.serialization.ObjectSchema< export declare namespace ConfigurablePropSql { export interface Raw { - type: "sql"; + type?: "sql" | null; auth?: ConfigurablePropSqlAuth.Raw | null; default?: string | null; name: string; diff --git a/src/serialization/types/ConfigurablePropString.ts b/src/serialization/types/ConfigurablePropString.ts index 17e48f7..ab9ffac 100644 --- a/src/serialization/types/ConfigurablePropString.ts +++ b/src/serialization/types/ConfigurablePropString.ts @@ -10,8 +10,7 @@ export const ConfigurablePropString: core.serialization.ObjectSchema< serializers.ConfigurablePropString.Raw, Pipedream.ConfigurablePropString > = core.serialization.object({ - type: core.serialization.stringLiteral("string"), - default: core.serialization.string().optional(), + type: core.serialization.stringLiteral("string").optional(), secret: core.serialization.boolean().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), @@ -27,8 +26,7 @@ export const ConfigurablePropString: core.serialization.ObjectSchema< export declare namespace ConfigurablePropString { export interface Raw { - type: "string"; - default?: string | null; + type?: "string" | null; secret?: boolean | null; name: string; label?: string | null; diff --git a/src/serialization/types/ConfigurablePropStringArray.ts b/src/serialization/types/ConfigurablePropStringArray.ts index 110d9f5..b49f606 100644 --- a/src/serialization/types/ConfigurablePropStringArray.ts +++ b/src/serialization/types/ConfigurablePropStringArray.ts @@ -10,8 +10,7 @@ export const ConfigurablePropStringArray: core.serialization.ObjectSchema< serializers.ConfigurablePropStringArray.Raw, Pipedream.ConfigurablePropStringArray > = core.serialization.object({ - type: core.serialization.stringLiteral("string[]"), - default: core.serialization.list(core.serialization.string()).optional(), + type: core.serialization.stringLiteral("string[]").optional(), secret: core.serialization.boolean().optional(), name: core.serialization.string(), label: core.serialization.string().optional(), @@ -27,8 +26,7 @@ export const ConfigurablePropStringArray: core.serialization.ObjectSchema< export declare namespace ConfigurablePropStringArray { export interface Raw { - type: "string[]"; - default?: string[] | null; + type?: "string[]" | null; secret?: boolean | null; name: string; label?: string | null; diff --git a/src/serialization/types/ConfigurablePropTimer.ts b/src/serialization/types/ConfigurablePropTimer.ts index f7daafd..5df7e20 100644 --- a/src/serialization/types/ConfigurablePropTimer.ts +++ b/src/serialization/types/ConfigurablePropTimer.ts @@ -13,7 +13,7 @@ export const ConfigurablePropTimer: core.serialization.ObjectSchema< serializers.ConfigurablePropTimer.Raw, Pipedream.ConfigurablePropTimer > = core.serialization.object({ - type: core.serialization.stringLiteral("$.interface.timer"), + type: core.serialization.stringLiteral("$.interface.timer").optional(), static: ConfigurablePropTimerStatic.optional(), default: ConfigurablePropTimerDefault.optional(), options: core.serialization.list(ConfigurablePropTimerOption.optional()).optional(), @@ -31,7 +31,7 @@ export const ConfigurablePropTimer: core.serialization.ObjectSchema< export declare namespace ConfigurablePropTimer { export interface Raw { - type: "$.interface.timer"; + type?: "$.interface.timer" | null; static?: ConfigurablePropTimerStatic.Raw | null; default?: ConfigurablePropTimerDefault.Raw | null; options?: (ConfigurablePropTimerOption.Raw | null | undefined)[] | null; diff --git a/src/serialization/types/ConfigurablePropType.ts b/src/serialization/types/ConfigurablePropType.ts deleted file mode 100644 index 41390c6..0000000 --- a/src/serialization/types/ConfigurablePropType.ts +++ /dev/null @@ -1,63 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfigurablePropType: core.serialization.Schema< - serializers.ConfigurablePropType.Raw, - Pipedream.ConfigurablePropType -> = core.serialization.enum_([ - "$.airtable.baseId", - "$.airtable.fieldId", - "$.airtable.tableId", - "$.airtable.viewId", - "$.discord.channel", - "$.discord.channel[]", - "$.interface.apphook", - "$.interface.http", - "$.interface.timer", - "$.service.db", - "alert", - "any", - "app", - "boolean", - "data_store", - "dir", - "http_request", - "integer", - "integer[]", - "object", - "sql", - "string", - "string[]", -]); - -export declare namespace ConfigurablePropType { - export type Raw = - | "$.airtable.baseId" - | "$.airtable.fieldId" - | "$.airtable.tableId" - | "$.airtable.viewId" - | "$.discord.channel" - | "$.discord.channel[]" - | "$.interface.apphook" - | "$.interface.http" - | "$.interface.timer" - | "$.service.db" - | "alert" - | "any" - | "app" - | "boolean" - | "data_store" - | "dir" - | "http_request" - | "integer" - | "integer[]" - | "object" - | "sql" - | "string" - | "string[]"; -} diff --git a/src/serialization/types/ConfigurePropOptions.ts b/src/serialization/types/ConfigurePropOptions.ts deleted file mode 100644 index a5f0883..0000000 --- a/src/serialization/types/ConfigurePropOptions.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { ConfigurePropOptionsItem } from "./ConfigurePropOptionsItem.js"; - -export const ConfigurePropOptions: core.serialization.Schema< - serializers.ConfigurePropOptions.Raw, - Pipedream.ConfigurePropOptions -> = core.serialization.list(ConfigurePropOptionsItem).optional(); - -export declare namespace ConfigurePropOptions { - export type Raw = ConfigurePropOptionsItem.Raw[] | null | undefined; -} diff --git a/src/serialization/types/ConfigurePropOptionsItem.ts b/src/serialization/types/ConfigurePropOptionsItem.ts deleted file mode 100644 index 7094f63..0000000 --- a/src/serialization/types/ConfigurePropOptionsItem.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { PropOption } from "./PropOption.js"; -import { PropOptionNested } from "./PropOptionNested.js"; - -export const ConfigurePropOptionsItem: core.serialization.Schema< - serializers.ConfigurePropOptionsItem.Raw, - Pipedream.ConfigurePropOptionsItem -> = core.serialization.undiscriminatedUnion([PropOption, PropOptionNested]); - -export declare namespace ConfigurePropOptionsItem { - export type Raw = PropOption.Raw | PropOptionNested.Raw; -} diff --git a/src/serialization/types/ConfigurePropOpts.ts b/src/serialization/types/ConfigurePropOpts.ts index 5b296fe..da840cc 100644 --- a/src/serialization/types/ConfigurePropOpts.ts +++ b/src/serialization/types/ConfigurePropOpts.ts @@ -5,8 +5,6 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { ConfiguredProps } from "./ConfiguredProps.js"; -import { ConfiguredPropValue } from "./ConfiguredPropValue.js"; export const ConfigurePropOpts: core.serialization.ObjectSchema< serializers.ConfigurePropOpts.Raw, @@ -16,7 +14,10 @@ export const ConfigurePropOpts: core.serialization.ObjectSchema< externalUserId: core.serialization.property("external_user_id", core.serialization.string()), propName: core.serialization.property("prop_name", core.serialization.string()), blocking: core.serialization.boolean().optional(), - configuredProps: core.serialization.property("configured_props", ConfiguredProps.optional()), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + ), dynamicPropsId: core.serialization.property("dynamic_props_id", core.serialization.string().optional()), page: core.serialization.number().optional(), prevContext: core.serialization.property( @@ -32,7 +33,7 @@ export declare namespace ConfigurePropOpts { external_user_id: string; prop_name: string; blocking?: boolean | null; - configured_props?: ConfiguredProps.Raw | null; + configured_props?: Record | null; dynamic_props_id?: string | null; page?: number | null; prev_context?: Record | null; diff --git a/src/serialization/types/ConfigurePropResponse.ts b/src/serialization/types/ConfigurePropResponse.ts index 7d4aec5..2b4e058 100644 --- a/src/serialization/types/ConfigurePropResponse.ts +++ b/src/serialization/types/ConfigurePropResponse.ts @@ -5,29 +5,27 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { ConfigurePropOptions } from "./ConfigurePropOptions.js"; -import { Observation } from "./Observation.js"; -import { ConfigurePropOptionsItem } from "./ConfigurePropOptionsItem.js"; +import { PropOption } from "./PropOption.js"; export const ConfigurePropResponse: core.serialization.ObjectSchema< serializers.ConfigurePropResponse.Raw, Pipedream.ConfigurePropResponse > = core.serialization.object({ - options: ConfigurePropOptions.optional(), + options: core.serialization.list(PropOption).optional(), stringOptions: core.serialization.property( "string_options", core.serialization.list(core.serialization.string()).optional(), ), - observations: core.serialization.list(Observation).optional(), + observations: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), context: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), errors: core.serialization.list(core.serialization.string()).optional(), }); export declare namespace ConfigurePropResponse { export interface Raw { - options?: (ConfigurePropOptions.Raw | undefined) | null; + options?: PropOption.Raw[] | null; string_options?: string[] | null; - observations?: Observation.Raw[] | null; + observations?: Record | null; context?: Record | null; errors?: string[] | null; } diff --git a/src/serialization/types/ConfiguredPropValue.ts b/src/serialization/types/ConfiguredPropValue.ts deleted file mode 100644 index 3695fa7..0000000 --- a/src/serialization/types/ConfiguredPropValue.ts +++ /dev/null @@ -1,41 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { ConfiguredPropValueAny } from "./ConfiguredPropValueAny.js"; -import { ConfiguredPropValueApp } from "./ConfiguredPropValueApp.js"; -import { ConfiguredPropValueBoolean } from "./ConfiguredPropValueBoolean.js"; -import { ConfiguredPropValueInteger } from "./ConfiguredPropValueInteger.js"; -import { ConfiguredPropValueObject } from "./ConfiguredPropValueObject.js"; -import { ConfiguredPropValueSql } from "./ConfiguredPropValueSql.js"; -import { ConfiguredPropValueString } from "./ConfiguredPropValueString.js"; -import { ConfiguredPropValueStringArray } from "./ConfiguredPropValueStringArray.js"; - -export const ConfiguredPropValue: core.serialization.Schema< - serializers.ConfiguredPropValue.Raw, - Pipedream.ConfiguredPropValue -> = core.serialization.undiscriminatedUnion([ - ConfiguredPropValueAny, - ConfiguredPropValueApp, - ConfiguredPropValueBoolean, - ConfiguredPropValueInteger, - ConfiguredPropValueObject, - ConfiguredPropValueSql, - ConfiguredPropValueString, - ConfiguredPropValueStringArray, -]); - -export declare namespace ConfiguredPropValue { - export type Raw = - | (ConfiguredPropValueAny.Raw | undefined) - | ConfiguredPropValueApp.Raw - | ConfiguredPropValueBoolean.Raw - | ConfiguredPropValueInteger.Raw - | ConfiguredPropValueObject.Raw - | ConfiguredPropValueSql.Raw - | ConfiguredPropValueString.Raw - | ConfiguredPropValueStringArray.Raw; -} diff --git a/src/serialization/types/ConfiguredPropValueAny.ts b/src/serialization/types/ConfiguredPropValueAny.ts deleted file mode 100644 index 0d2cb42..0000000 --- a/src/serialization/types/ConfiguredPropValueAny.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueAny: core.serialization.Schema< - serializers.ConfiguredPropValueAny.Raw, - Pipedream.ConfiguredPropValueAny -> = core.serialization.unknown(); - -export declare namespace ConfiguredPropValueAny { - export type Raw = unknown; -} diff --git a/src/serialization/types/ConfiguredPropValueApp.ts b/src/serialization/types/ConfiguredPropValueApp.ts deleted file mode 100644 index c188d97..0000000 --- a/src/serialization/types/ConfiguredPropValueApp.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { AccountId } from "./AccountId.js"; - -export const ConfiguredPropValueApp: core.serialization.ObjectSchema< - serializers.ConfiguredPropValueApp.Raw, - Pipedream.ConfiguredPropValueApp -> = core.serialization.object({ - authProvisionId: AccountId, -}); - -export declare namespace ConfiguredPropValueApp { - export interface Raw { - authProvisionId: AccountId.Raw; - } -} diff --git a/src/serialization/types/ConfiguredPropValueBoolean.ts b/src/serialization/types/ConfiguredPropValueBoolean.ts deleted file mode 100644 index 1a4a26a..0000000 --- a/src/serialization/types/ConfiguredPropValueBoolean.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueBoolean: core.serialization.Schema< - serializers.ConfiguredPropValueBoolean.Raw, - Pipedream.ConfiguredPropValueBoolean -> = core.serialization.boolean(); - -export declare namespace ConfiguredPropValueBoolean { - export type Raw = boolean; -} diff --git a/src/serialization/types/ConfiguredPropValueInteger.ts b/src/serialization/types/ConfiguredPropValueInteger.ts deleted file mode 100644 index 54adec8..0000000 --- a/src/serialization/types/ConfiguredPropValueInteger.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueInteger: core.serialization.Schema< - serializers.ConfiguredPropValueInteger.Raw, - Pipedream.ConfiguredPropValueInteger -> = core.serialization.number(); - -export declare namespace ConfiguredPropValueInteger { - export type Raw = number; -} diff --git a/src/serialization/types/ConfiguredPropValueObject.ts b/src/serialization/types/ConfiguredPropValueObject.ts deleted file mode 100644 index 8e5965f..0000000 --- a/src/serialization/types/ConfiguredPropValueObject.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueObject: core.serialization.Schema< - serializers.ConfiguredPropValueObject.Raw, - Pipedream.ConfiguredPropValueObject -> = core.serialization.record(core.serialization.string(), core.serialization.unknown()); - -export declare namespace ConfiguredPropValueObject { - export type Raw = Record; -} diff --git a/src/serialization/types/ConfiguredPropValueSql.ts b/src/serialization/types/ConfiguredPropValueSql.ts deleted file mode 100644 index 44b4191..0000000 --- a/src/serialization/types/ConfiguredPropValueSql.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueSql: core.serialization.ObjectSchema< - serializers.ConfiguredPropValueSql.Raw, - Pipedream.ConfiguredPropValueSql -> = core.serialization.object({ - value: core.serialization.string(), - query: core.serialization.string(), - params: core.serialization.list(core.serialization.string()), - usePreparedStatements: core.serialization.boolean(), -}); - -export declare namespace ConfiguredPropValueSql { - export interface Raw { - value: string; - query: string; - params: string[]; - usePreparedStatements: boolean; - } -} diff --git a/src/serialization/types/ConfiguredPropValueString.ts b/src/serialization/types/ConfiguredPropValueString.ts deleted file mode 100644 index 2872fe2..0000000 --- a/src/serialization/types/ConfiguredPropValueString.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueString: core.serialization.Schema< - serializers.ConfiguredPropValueString.Raw, - Pipedream.ConfiguredPropValueString -> = core.serialization.string(); - -export declare namespace ConfiguredPropValueString { - export type Raw = string; -} diff --git a/src/serialization/types/ConfiguredPropValueStringArray.ts b/src/serialization/types/ConfiguredPropValueStringArray.ts deleted file mode 100644 index cbff8d4..0000000 --- a/src/serialization/types/ConfiguredPropValueStringArray.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ConfiguredPropValueStringArray: core.serialization.Schema< - serializers.ConfiguredPropValueStringArray.Raw, - Pipedream.ConfiguredPropValueStringArray -> = core.serialization.list(core.serialization.string()); - -export declare namespace ConfiguredPropValueStringArray { - export type Raw = string[]; -} diff --git a/src/serialization/types/DeployedComponent.ts b/src/serialization/types/DeployedComponent.ts index 2274918..9fc1b8f 100644 --- a/src/serialization/types/DeployedComponent.ts +++ b/src/serialization/types/DeployedComponent.ts @@ -6,8 +6,6 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; import { ConfigurableProp } from "./ConfigurableProp.js"; -import { ConfiguredProps } from "./ConfiguredProps.js"; -import { ConfiguredPropValue } from "./ConfiguredPropValue.js"; export const DeployedComponent: core.serialization.ObjectSchema< serializers.DeployedComponent.Raw, @@ -17,7 +15,10 @@ export const DeployedComponent: core.serialization.ObjectSchema< ownerId: core.serialization.property("owner_id", core.serialization.string()), componentId: core.serialization.property("component_id", core.serialization.string()), configurableProps: core.serialization.property("configurable_props", core.serialization.list(ConfigurableProp)), - configuredProps: core.serialization.property("configured_props", ConfiguredProps), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()), + ), active: core.serialization.boolean(), createdAt: core.serialization.property("created_at", core.serialization.number()), updatedAt: core.serialization.property("updated_at", core.serialization.number()), @@ -32,7 +33,7 @@ export declare namespace DeployedComponent { owner_id: string; component_id: string; configurable_props: ConfigurableProp.Raw[]; - configured_props: ConfiguredProps.Raw; + configured_props: Record; active: boolean; created_at: number; updated_at: number; diff --git a/src/serialization/types/Observation.ts b/src/serialization/types/Observation.ts deleted file mode 100644 index dfb3c84..0000000 --- a/src/serialization/types/Observation.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { ObservationError } from "./ObservationError.js"; - -export const Observation: core.serialization.ObjectSchema = - core.serialization.object({ - err: ObservationError.optional(), - k: core.serialization.string(), - msg: core.serialization.string().optional(), - ts: core.serialization.number(), - }); - -export declare namespace Observation { - export interface Raw { - err?: ObservationError.Raw | null; - k: string; - msg?: string | null; - ts: number; - } -} diff --git a/src/serialization/types/ObservationError.ts b/src/serialization/types/ObservationError.ts deleted file mode 100644 index c18cee6..0000000 --- a/src/serialization/types/ObservationError.ts +++ /dev/null @@ -1,24 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const ObservationError: core.serialization.ObjectSchema< - serializers.ObservationError.Raw, - Pipedream.ObservationError -> = core.serialization.object({ - name: core.serialization.string().optional(), - message: core.serialization.string().optional(), - stack: core.serialization.string().optional(), -}); - -export declare namespace ObservationError { - export interface Raw { - name?: string | null; - message?: string | null; - stack?: string | null; - } -} diff --git a/src/serialization/types/PropOption.ts b/src/serialization/types/PropOption.ts index 7ad0407..64241d2 100644 --- a/src/serialization/types/PropOption.ts +++ b/src/serialization/types/PropOption.ts @@ -5,17 +5,16 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { PropOptionValue } from "./PropOptionValue.js"; export const PropOption: core.serialization.ObjectSchema = core.serialization.object({ label: core.serialization.string(), - value: PropOptionValue.optional(), + value: core.serialization.unknown(), }); export declare namespace PropOption { export interface Raw { label: string; - value?: PropOptionValue.Raw | null; + value?: unknown; } } diff --git a/src/serialization/types/PropOptionNested.ts b/src/serialization/types/PropOptionNested.ts deleted file mode 100644 index 43ad382..0000000 --- a/src/serialization/types/PropOptionNested.ts +++ /dev/null @@ -1,21 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; -import { PropOption } from "./PropOption.js"; - -export const PropOptionNested: core.serialization.ObjectSchema< - serializers.PropOptionNested.Raw, - Pipedream.PropOptionNested -> = core.serialization.object({ - lv: core.serialization.property("__lv", PropOption), -}); - -export declare namespace PropOptionNested { - export interface Raw { - __lv: PropOption.Raw; - } -} diff --git a/src/serialization/types/PropOptionValue.ts b/src/serialization/types/PropOptionValue.ts deleted file mode 100644 index 69991cf..0000000 --- a/src/serialization/types/PropOptionValue.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index.js"; -import * as Pipedream from "../../api/index.js"; -import * as core from "../../core/index.js"; - -export const PropOptionValue: core.serialization.Schema = - core.serialization.undiscriminatedUnion([ - core.serialization.string(), - core.serialization.number(), - core.serialization.boolean(), - ]); - -export declare namespace PropOptionValue { - export type Raw = string | number | boolean; -} diff --git a/src/serialization/types/ReloadPropsOpts.ts b/src/serialization/types/ReloadPropsOpts.ts index 7c25c13..b6a5fa6 100644 --- a/src/serialization/types/ReloadPropsOpts.ts +++ b/src/serialization/types/ReloadPropsOpts.ts @@ -5,8 +5,6 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { ConfiguredProps } from "./ConfiguredProps.js"; -import { ConfiguredPropValue } from "./ConfiguredPropValue.js"; export const ReloadPropsOpts: core.serialization.ObjectSchema< serializers.ReloadPropsOpts.Raw, @@ -15,7 +13,10 @@ export const ReloadPropsOpts: core.serialization.ObjectSchema< id: core.serialization.string(), externalUserId: core.serialization.property("external_user_id", core.serialization.string()), blocking: core.serialization.boolean().optional(), - configuredProps: core.serialization.property("configured_props", ConfiguredProps.optional()), + configuredProps: core.serialization.property( + "configured_props", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), + ), dynamicPropsId: core.serialization.property("dynamic_props_id", core.serialization.string().optional()), }); @@ -24,7 +25,7 @@ export declare namespace ReloadPropsOpts { id: string; external_user_id: string; blocking?: boolean | null; - configured_props?: ConfiguredProps.Raw | null; + configured_props?: Record | null; dynamic_props_id?: string | null; } } diff --git a/src/serialization/types/ReloadPropsResponse.ts b/src/serialization/types/ReloadPropsResponse.ts index 7c72ed5..146853c 100644 --- a/src/serialization/types/ReloadPropsResponse.ts +++ b/src/serialization/types/ReloadPropsResponse.ts @@ -5,21 +5,20 @@ import * as serializers from "../index.js"; import * as Pipedream from "../../api/index.js"; import * as core from "../../core/index.js"; -import { Observation } from "./Observation.js"; import { DynamicProps } from "./DynamicProps.js"; export const ReloadPropsResponse: core.serialization.ObjectSchema< serializers.ReloadPropsResponse.Raw, Pipedream.ReloadPropsResponse > = core.serialization.object({ - observations: core.serialization.list(Observation).optional(), + observations: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(), errors: core.serialization.list(core.serialization.string()).optional(), dynamicProps: DynamicProps.optional(), }); export declare namespace ReloadPropsResponse { export interface Raw { - observations?: Observation.Raw[] | null; + observations?: Record | null; errors?: string[] | null; dynamicProps?: DynamicProps.Raw | null; } diff --git a/src/serialization/types/ToolAnnotations.ts b/src/serialization/types/ToolAnnotations.ts new file mode 100644 index 0000000..2621a46 --- /dev/null +++ b/src/serialization/types/ToolAnnotations.ts @@ -0,0 +1,28 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../index.js"; +import * as Pipedream from "../../api/index.js"; +import * as core from "../../core/index.js"; + +export const ToolAnnotations: core.serialization.ObjectSchema< + serializers.ToolAnnotations.Raw, + Pipedream.ToolAnnotations +> = core.serialization.object({ + destructiveHint: core.serialization.boolean().optional(), + idempotentHint: core.serialization.boolean().optional(), + openWorldHint: core.serialization.boolean().optional(), + readOnlyHint: core.serialization.boolean().optional(), + title: core.serialization.string().optional(), +}); + +export declare namespace ToolAnnotations { + export interface Raw { + destructiveHint?: boolean | null; + idempotentHint?: boolean | null; + openWorldHint?: boolean | null; + readOnlyHint?: boolean | null; + title?: string | null; + } +} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index 5d6fe59..bee99d0 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -1,5 +1,4 @@ export * from "./TooManyRequestsErrorBody.js"; -export * from "./AccountId.js"; export * from "./Account.js"; export * from "./App.js"; export * from "./AppAuthType.js"; @@ -7,11 +6,10 @@ export * from "./AppCategory.js"; export * from "./BackendClientOpts.js"; export * from "./ClientOpts.js"; export * from "./Component.js"; +export * from "./ToolAnnotations.js"; export * from "./ComponentStash.js"; -export * from "./ComponentType.js"; export * from "./TimerInterval.js"; export * from "./TimerCron.js"; -export * from "./ConfigurablePropType.js"; export * from "./ConfigurableProp.js"; export * from "./ConfigurablePropAlert.js"; export * from "./ConfigurablePropAlertType.js"; @@ -39,27 +37,15 @@ export * from "./ConfigurablePropInteger.js"; export * from "./ConfigurablePropObject.js"; export * from "./ConfigurablePropString.js"; export * from "./ConfigurablePropStringArray.js"; -export * from "./ConfiguredPropValueAny.js"; -export * from "./ConfiguredPropValueApp.js"; -export * from "./ConfiguredPropValueBoolean.js"; -export * from "./ConfiguredPropValueInteger.js"; -export * from "./ConfiguredPropValueObject.js"; -export * from "./ConfiguredPropValueSql.js"; -export * from "./ConfiguredPropValueString.js"; -export * from "./ConfiguredPropValueStringArray.js"; -export * from "./ConfiguredProps.js"; -export * from "./ConfigurePropOptionsItem.js"; -export * from "./ConfigurePropOptions.js"; export * from "./ConfigurePropOpts.js"; export * from "./ConfigurePropResponse.js"; -export * from "./ConfiguredPropValue.js"; export * from "./ConnectToken.js"; export * from "./CreateOAuthTokenResponse.js"; export * from "./CreateTokenResponse.js"; export * from "./DeleteTriggerOpts.js"; export * from "./DeployedComponent.js"; -export * from "./DeployTriggerResponse.js"; export * from "./DeployTriggerResponseData.js"; +export * from "./DeployTriggerResponse.js"; export * from "./DynamicProps.js"; export * from "./EmittedEvent.js"; export * from "./ErrorResponse.js"; @@ -78,15 +64,11 @@ export * from "./HttpInterface.js"; export * from "./ListAccountsResponse.js"; export * from "./ListAppsResponse.js"; export * from "./ListAppCategoriesResponse.js"; -export * from "./Observation.js"; -export * from "./ObservationError.js"; export * from "./PageInfo.js"; export * from "./ProjectEnvironment.js"; export * from "./ProjectInfoResponse.js"; export * from "./ProjectInfoResponseApp.js"; export * from "./PropOption.js"; -export * from "./PropOptionNested.js"; -export * from "./PropOptionValue.js"; export * from "./ProxyResponse.js"; export * from "./ReloadPropsOpts.js"; export * from "./ReloadPropsResponse.js"; diff --git a/src/version.ts b/src/version.ts index 7bef5db..e1e0bf8 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "2.0.9"; +export const SDK_VERSION = "2.0.10"; diff --git a/yarn.lock b/yarn.lock index d8f31ac..6c3d835 100644 --- a/yarn.lock +++ b/yarn.lock @@ -572,9 +572,9 @@ "@jridgewell/sourcemap-codec" "^1.4.14" "@mswjs/interceptors@^0.39.1": - version "0.39.6" - resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.39.6.tgz#44094a578f20da4749d1a0eaf3cdb7973604004b" - integrity sha512-bndDP83naYYkfayr/qhBHMhk0YGwS1iv6vaEGcr0SQbO0IZtbOPqjKjds/WcG+bJA+1T5vCx6kprKOzn5Bg+Vw== + version "0.39.7" + resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.39.7.tgz#a8860285ebe228c3043cde32c1843dd088e5276a" + integrity sha512-sURvQbbKsq5f8INV54YJgJEdk8oxBanqkTiXXd33rKmofFCwZLhLRszPduMZ9TA9b8/1CHc/IJmOlBHJk2Q5AQ== dependencies: "@open-draft/deferred-promise" "^2.2.0" "@open-draft/logger" "^0.3.0" @@ -596,7 +596,7 @@ is-node-process "^1.2.0" outvariant "^1.4.0" -"@open-draft/until@^2.0.0", "@open-draft/until@^2.1.0": +"@open-draft/until@^2.0.0": version "2.1.0" resolved "https://registry.yarnpkg.com/@open-draft/until/-/until-2.1.0.tgz#0acf32f470af2ceaf47f095cdecd40d68666efda" integrity sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg== @@ -733,16 +733,16 @@ integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== "@types/node@*": - version "24.5.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.5.2.tgz#52ceb83f50fe0fcfdfbd2a9fab6db2e9e7ef6446" - integrity sha512-FYxk1I7wPv3K2XBaoyH2cTnocQEu8AOZ60hPbsyukMPLv5/5qr7V1i8PLHdl6Zf87I+xZXFvPCXYjiTFq+YSDQ== + version "24.6.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.6.0.tgz#5dd8d4eca0bba7dd81d853e7fadc96b322ff84f6" + integrity sha512-F1CBxgqwOMc4GKJ7eY22hWhBVQuMYTtqI8L0FcszYcpYX0fzfDGpez22Xau8Mgm7O9fI+zA/TYIdq3tGWfweBA== dependencies: - undici-types "~7.12.0" + undici-types "~7.13.0" "@types/node@^18.19.70": - version "18.19.127" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.127.tgz#7c2e47fa79ad7486134700514d4a975c4607f09d" - integrity sha512-gSjxjrnKXML/yo0BO099uPixMqfpJU0TKYjpfLU7TrtA2WWDki412Np/RSTPRil1saKBhvVVKzVx/p/6p94nVA== + version "18.19.128" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.19.128.tgz#e55ec96fe0b8ae57c374c22238e7844908b2aadc" + integrity sha512-m7wxXGpPpqxp2QDi/rpih5O772APRuBIa/6XiGqLNoM1txkjI8Sz1V4oSXJxQLTz/yP5mgy9z6UXEO6/lP70Gg== dependencies: undici-types "~5.26.4" @@ -1004,6 +1004,16 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +async-function@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/async-function/-/async-function-1.0.0.tgz#509c9fca60eaf85034c6829838188e4e4c8ffb2b" + integrity sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA== + +async-generator-function@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/async-generator-function/-/async-generator-function-1.0.0.tgz#9bcc76d7fd147171e7ead5d2a2cfc3579c99f28e" + integrity sha512-+NAXNqgCrB95ya4Sr66i1CL2hqLVckAk7xwRYWdcm39/ELQ6YNn1aw5r0bdQtqNZgQpEWzc5yc/igXc7aL5SLA== + asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -1078,9 +1088,9 @@ balanced-match@^1.0.0: integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== baseline-browser-mapping@^2.8.3: - version "2.8.6" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.6.tgz#c37dea4291ed8d01682f85661dbe87967028642e" - integrity sha512-wrH5NNqren/QMtKUEEJf7z86YjfqW/2uw3IL3/xpqZUC95SSVIFXYQeeGjL6FT/X68IROu6RMehZQS5foy2BXw== + version "2.8.9" + resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.9.tgz#fd0b8543c4f172595131e94965335536b3101b75" + integrity sha512-hY/u2lxLrbecMEWSB0IpGzGyDyeoMFQhCvZd2jGFSE5I17Fh01sYUBPCJtkWERw7zrac9+cIghxm/ytJa2X8iA== brace-expansion@^1.1.7: version "1.1.12" @@ -1097,7 +1107,7 @@ braces@^3.0.3: dependencies: fill-range "^7.1.1" -browserslist@^4.24.0: +browserslist@^4.24.0, browserslist@^4.24.5: version "4.26.2" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.26.2.tgz#7db3b3577ec97f1140a52db4936654911078cef3" integrity sha512-ECFzp6uFOSB+dcZ5BK/IBaGWssbSYBHvuMeMt3MMFyhI0Z8SqGgEkBLARgpRH3hutIgPVsALcMwbDrJqPxQ65A== @@ -1151,9 +1161,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001741: - version "1.0.30001743" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001743.tgz#50ff91a991220a1ee2df5af00650dd5c308ea7cd" - integrity sha512-e6Ojr7RV14Un7dz6ASD0aZDmQPT/A+eZU+nuTNfjqmRrmkmQlnTNWH0SKmqagx9PeW87UVqapSurtAXifmtdmw== + version "1.0.30001745" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001745.tgz#ab2a36e3b6ed5bfb268adc002c476aab6513f859" + integrity sha512-ywt6i8FzvdgrrrGbr1jZVObnVv6adj+0if2/omv9cmR2oiZs30zL4DIyaptKcbOrBdOIc74QTMoJvSE2QHh5UQ== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1348,9 +1358,9 @@ dunder-proto@^1.0.1: gopd "^1.2.0" electron-to-chromium@^1.5.218: - version "1.5.222" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.222.tgz#965c93783ad989116b74593ae3068b9466fdb237" - integrity sha512-gA7psSwSwQRE60CEoLz6JBCQPIxNeuzB2nL8vE03GK/OHxlvykbLyeiumQy1iH5C2f3YbRAZpGCMT12a/9ih9w== + version "1.5.227" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.227.tgz#c81b6af045b0d6098faed261f0bd611dc282d3a7" + integrity sha512-ITxuoPfJu3lsNWUi2lBM2PaBPYgH3uqmxut5vmBxgYvyI4AlJ6P3Cai1O76mOrkJCBzq0IxWg/NtqOrpu/0gKA== emittery@^0.13.1: version "0.13.1" @@ -1569,6 +1579,11 @@ function-bind@^1.1.2: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== +generator-function@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/generator-function/-/generator-function-2.0.0.tgz#f7d330dccf367a666195948580655946d1a3860a" + integrity sha512-xPypGGincdfyl/AiSGa7GjXLkvld9V7GjZlowup9SHIJnQnHLFiLODCd/DqKOp0PBagbHJ68r1KJI9Mut7m4sA== + gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -1580,15 +1595,18 @@ get-caller-file@^2.0.5: integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== get-intrinsic@^1.2.6: - version "1.3.0" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.0.tgz#743f0e3b6964a93a5491ed1bffaae054d7f98d01" - integrity sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ== + version "1.3.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.3.1.tgz#7f03d6cc8df96ae803c35cf23590510f28357173" + integrity sha512-fk1ZVEeOX9hVZ6QzoBNEC55+Ucqg4sTVwrVuigZhuRPESVFpMyXnd3sbXvPOwp7Y9riVyANiqhEuRF0G1aVSeQ== dependencies: + async-function "^1.0.0" + async-generator-function "^1.0.0" call-bind-apply-helpers "^1.0.2" es-define-property "^1.0.1" es-errors "^1.3.0" es-object-atoms "^1.1.1" function-bind "^1.1.2" + generator-function "^2.0.0" get-proto "^1.0.1" gopd "^1.2.0" has-symbols "^1.1.0" @@ -2410,16 +2428,15 @@ ms@^2.1.3: integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== msw@^2.8.4: - version "2.11.2" - resolved "https://registry.yarnpkg.com/msw/-/msw-2.11.2.tgz#622d83855f456a5f93b1528f6eb6f4c0114623c3" - integrity sha512-MI54hLCsrMwiflkcqlgYYNJJddY5/+S0SnONvhv1owOplvqohKSQyGejpNdUGyCwgs4IH7PqaNbPw/sKOEze9Q== + version "2.11.3" + resolved "https://registry.yarnpkg.com/msw/-/msw-2.11.3.tgz#5a51a7eebd334957fefb375b9d985e3893071ad3" + integrity sha512-878imp8jxIpfzuzxYfX0qqTq1IFQz/1/RBHs/PyirSjzi+xKM/RRfIpIqHSCWjH0GxidrjhgiiXC+DWXNDvT9w== dependencies: "@bundled-es-modules/cookie" "^2.0.1" "@bundled-es-modules/statuses" "^1.0.1" "@inquirer/confirm" "^5.0.0" "@mswjs/interceptors" "^0.39.1" "@open-draft/deferred-promise" "^2.2.0" - "@open-draft/until" "^2.1.0" "@types/cookie" "^0.6.0" "@types/statuses" "^2.0.4" graphql "^16.8.1" @@ -2432,6 +2449,7 @@ msw@^2.8.4: strict-event-emitter "^0.5.1" tough-cookie "^6.0.0" type-fest "^4.26.1" + until-async "^3.0.2" yargs "^17.7.2" mute-stream@^2.0.0: @@ -2874,7 +2892,7 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -tapable@^2.1.1, tapable@^2.2.0: +tapable@^2.2.0, tapable@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.3.tgz#4b67b635b2d97578a06a2713d2f04800c237e99b" integrity sha512-ZL6DDuAlRlLGghwcfmSn9sK3Hr6ArtyudlSAiCqQ6IfE+b+HHbydbYDIG15IfS5do+7XQQBdBiubF/cV2dnDzg== @@ -2909,17 +2927,17 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -tldts-core@^7.0.14: - version "7.0.14" - resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.14.tgz#eb49edf8a39a37a2372ffc22f82d6ac725ace6cd" - integrity sha512-viZGNK6+NdluOJWwTO9olaugx0bkKhscIdriQQ+lNNhwitIKvb+SvhbYgnCz6j9p7dX3cJntt4agQAKMXLjJ5g== +tldts-core@^7.0.16: + version "7.0.16" + resolved "https://registry.yarnpkg.com/tldts-core/-/tldts-core-7.0.16.tgz#f94a42b1f571ee7e4d5c58a4a3486d557b093c14" + integrity sha512-XHhPmHxphLi+LGbH0G/O7dmUH9V65OY20R7vH8gETHsp5AZCjBk9l8sqmRKLaGOxnETU7XNSDUPtewAy/K6jbA== tldts@^7.0.5: - version "7.0.14" - resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.14.tgz#5dc352e087c12978b7d1d36d8a346496e04dca72" - integrity sha512-lMNHE4aSI3LlkMUMicTmAG3tkkitjOQGDTFboPJwAg2kJXKP1ryWEyqujktg5qhrFZOkk5YFzgkxg3jErE+i5w== + version "7.0.16" + resolved "https://registry.yarnpkg.com/tldts/-/tldts-7.0.16.tgz#8eecb4c15608a23e5b360d64d74f937fb9dbe6aa" + integrity sha512-5bdPHSwbKTeHmXrgecID4Ljff8rQjv7g8zKQPkCozRo2HWWni+p310FSn5ImI+9kWw9kK4lzOB5q/a6iv0IJsw== dependencies: - tldts-core "^7.0.14" + tldts-core "^7.0.16" tmpl@1.0.5: version "1.0.5" @@ -2958,9 +2976,9 @@ tr46@^3.0.0: punycode "^2.1.1" ts-jest@^29.3.4: - version "29.4.3" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.3.tgz#23264489bebb5b3e2c7966dbf6788e960f244f7c" - integrity sha512-KTWbK2Wot8VXargsLoxhSoEQ9OyMdzQXQoUDeIulWu2Tf7gghuBHeg+agZqVLdTOHhQHVKAaeuctBDRkhWE7hg== + version "29.4.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.4.tgz#fc6fefe28652ed81b8e1381ef8391901d9f81417" + integrity sha512-ccVcRABct5ZELCT5U0+DZwkXMCcOCLi2doHRrKy1nK/s7J7bch6TzJMsrY09WxgUUIP/ITfmcDS8D2yl63rnXw== dependencies: bs-logger "^0.2.6" fast-json-stable-stringify "^2.1.0" @@ -3013,16 +3031,21 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -undici-types@~7.12.0: - version "7.12.0" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.12.0.tgz#15c5c7475c2a3ba30659529f5cdb4674b622fafb" - integrity sha512-goOacqME2GYyOZZfb5Lgtu+1IDmAlAEu5xnD3+xTzS10hT0vzpf0SPjkXwAw9Jm+4n/mQGDP3LO8CPbYROeBfQ== +undici-types@~7.13.0: + version "7.13.0" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.13.0.tgz#a20ba7c0a2be0c97bd55c308069d29d167466bff" + integrity sha512-Ov2Rr9Sx+fRgagJ5AX0qvItZG/JKKoBRAVITs1zk7IqZGTJUwgUr7qoYBpWwakpWilTZFM98rG/AFRocu10iIQ== universalify@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg== +until-async@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/until-async/-/until-async-3.0.2.tgz#447f1531fdd7bb2b4c7a98869bdb1a4c2a23865f" + integrity sha512-IiSk4HlzAMqTUseHHe3VhIGyuFmN90zMTpD3Z3y8jeQbzLIq500MVM7Jq2vUAnTKAFPJrqwkzr6PoTcPhGcOiw== + update-browserslist-db@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.3.tgz#348377dd245216f9e7060ff50b15a1b740b75420" @@ -3062,7 +3085,7 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" -watchpack@^2.4.1: +watchpack@^2.4.4: version "2.4.4" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.4.tgz#473bda72f0850453da6425081ea46fc0d7602947" integrity sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA== @@ -3081,9 +3104,9 @@ webpack-sources@^3.3.3: integrity sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg== webpack@^5.97.1: - version "5.101.3" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.101.3.tgz#3633b2375bb29ea4b06ffb1902734d977bc44346" - integrity sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A== + version "5.102.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.102.0.tgz#7a2416e6da356c35f1fb35333d2f5cee0133e953" + integrity sha512-hUtqAR3ZLVEYDEABdBioQCIqSoguHbFn1K7WlPPWSuXmx0031BD73PSE35jKyftdSh4YLDoQNgK4pqBt5Q82MA== dependencies: "@types/eslint-scope" "^3.7.7" "@types/estree" "^1.0.8" @@ -3093,7 +3116,7 @@ webpack@^5.97.1: "@webassemblyjs/wasm-parser" "^1.14.1" acorn "^8.15.0" acorn-import-phases "^1.0.3" - browserslist "^4.24.0" + browserslist "^4.24.5" chrome-trace-event "^1.0.2" enhanced-resolve "^5.17.3" es-module-lexer "^1.2.1" @@ -3106,9 +3129,9 @@ webpack@^5.97.1: mime-types "^2.1.27" neo-async "^2.6.2" schema-utils "^4.3.2" - tapable "^2.1.1" + tapable "^2.2.3" terser-webpack-plugin "^5.3.11" - watchpack "^2.4.1" + watchpack "^2.4.4" webpack-sources "^3.3.3" whatwg-encoding@^2.0.0: