diff --git a/components/algodocs/algodocs.app.mjs b/components/algodocs/algodocs.app.mjs index ffdb177a6c296..0911410d0f8ad 100644 --- a/components/algodocs/algodocs.app.mjs +++ b/components/algodocs/algodocs.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/allocadence/allocadence.app.mjs b/components/allocadence/allocadence.app.mjs index 7a39d8ca1140b..9e728eaa93e37 100644 --- a/components/allocadence/allocadence.app.mjs +++ b/components/allocadence/allocadence.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/ical/ical.app.mjs b/components/ical/ical.app.mjs index c80a617533945..f1c36ebd29958 100644 --- a/components/ical/ical.app.mjs +++ b/components/ical/ical.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/virifi/virifi.app.mjs b/components/virifi/virifi.app.mjs index 2f40b6c2ce6b9..ff6f3e6e342c8 100644 --- a/components/virifi/virifi.app.mjs +++ b/components/virifi/virifi.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/xata/.gitignore b/components/xata/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/xata/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/xata/actions/common/common.mjs b/components/xata/actions/common/common.mjs new file mode 100644 index 0000000000000..ee4e6a430dd27 --- /dev/null +++ b/components/xata/actions/common/common.mjs @@ -0,0 +1,108 @@ +import app from "../../xata.app.mjs"; + +export default { + props: { + app, + endpoint: { + propDefinition: [ + app, + "endpoint", + ], + }, + workspace: { + propDefinition: [ + app, + "workspace", + ], + }, + database: { + propDefinition: [ + app, + "database", + (c) => ({ + workspace: c.workspace, + }), + ], + }, + branch: { + propDefinition: [ + app, + "branch", + (c) => ({ + endpoint: c.endpoint, + database: c.database, + }), + ], + }, + table: { + propDefinition: [ + app, + "table", + (c) => ({ + endpoint: c.endpoint, + database: c.database, + branch: c.branch, + }), + ], + reloadProps: true, + }, + }, + async additionalProps(props) { + const { + endpoint, + database, + branch, + table, + } = this; + + const description = "The keys and values of the data that will be recorded in the database."; + + if (endpoint && database && branch && table) { + const { columns } = await this.app.listColumns({ + endpoint, + database, + branch, + table, + }); + if (columns?.length) { + let descriptionWithColumns = `${description} Available Columns:`; + for (const column of columns) { + descriptionWithColumns += ` \`${column.name}\``; + } + props.recordData.description = descriptionWithColumns; + return {}; + } + } + props.recordData.description = description; + return {}; + }, + methods: { + async formatRecordData() { + const recordData = this.recordData; + const { columns } = await this.app.listColumns({ + endpoint: this.endpoint, + database: this.database, + branch: this.branch, + table: this.table, + }); + if (!columns?.length) { + return this.recordData; + } + for (const column of columns) { + if (!recordData[column.name] || typeof recordData[column.name] !== "string") { + continue; + } + if ((column.type === "int" || column.type === "float")) { + recordData[column.name] = +recordData[column.name]; + } + if (column.type === "bool") { + recordData[column.name] = !(recordData[column.name] === "false" || recordData[column.name === "0"]); + } + if (column.type === "multiple" || column.type === "vector") { + recordData[column.name] = JSON.parse(recordData[column.name]); + } + } + return recordData; + }, + }, +}; diff --git a/components/xata/actions/create-record/create-record.mjs b/components/xata/actions/create-record/create-record.mjs new file mode 100644 index 0000000000000..e56cdbd7bd03b --- /dev/null +++ b/components/xata/actions/create-record/create-record.mjs @@ -0,0 +1,31 @@ +import common from "../common/common.mjs"; + +export default { + ...common, + key: "xata-create-record", + name: "Create Record", + description: "Create a new Record in the specified database. [See the documentation](https://xata.io/docs/api-reference/db/db_branch_name/tables/table_name/data#insert-record)", + version: "0.0.1", + type: "action", + props: { + ...common.props, + recordData: { + propDefinition: [ + common.props.app, + "recordData", + ], + }, + }, + async run({ $ }) { + const response = await this.app.createRecord({ + $, + endpoint: this.endpoint, + database: this.database, + branch: this.branch, + table: this.table, + data: await this.formatRecordData(), + }); + $.export("$summary", `Successfully created Record with ID: '${response.id}'`); + return response; + }, +}; diff --git a/components/xata/actions/list-branches/list-branches.mjs b/components/xata/actions/list-branches/list-branches.mjs new file mode 100644 index 0000000000000..38ff41d7a83ed --- /dev/null +++ b/components/xata/actions/list-branches/list-branches.mjs @@ -0,0 +1,42 @@ +import app from "../../xata.app.mjs"; + +export default { + key: "xata-list-branches", + name: "List Branches", + description: "List branches of the specified database. [See the documentation](https://xata.io/docs/api-reference/dbs/db_name#list-branches)", + version: "0.0.1", + type: "action", + props: { + app, + endpoint: { + propDefinition: [ + app, + "endpoint", + ], + }, + workspace: { + propDefinition: [ + app, + "workspace", + ], + }, + database: { + propDefinition: [ + app, + "database", + (c) => ({ + workspace: c.workspace, + }), + ], + }, + }, + async run({ $ }) { + const response = await this.app.listBranches({ + $, + endpoint: this.endpoint, + database: this.database, + }); + $.export("$summary", `Successfully retrieved '${response.branches.length}' branches`); + return response; + }, +}; diff --git a/components/xata/actions/replace-record/replace-record.mjs b/components/xata/actions/replace-record/replace-record.mjs new file mode 100644 index 0000000000000..2f15fad5a2822 --- /dev/null +++ b/components/xata/actions/replace-record/replace-record.mjs @@ -0,0 +1,44 @@ +import common from "../common/common.mjs"; + +export default { + ...common, + key: "xata-replace-record", + name: "Replace Record", + description: "Replace a record with the specified ID. [See the documentation](https://xata.io/docs/api-reference/db/db_branch_name/tables/table_name/data/record_id#insert-record-with-id)", + version: "0.0.1", + type: "action", + props: { + ...common.props, + recordId: { + propDefinition: [ + common.props.app, + "recordId", + (c) => ({ + endpoint: c.endpoint, + database: c.database, + table: c.table, + branch: c.branch, + }), + ], + }, + recordData: { + propDefinition: [ + common.props.app, + "recordData", + ], + }, + }, + async run({ $ }) { + const response = await this.app.replaceRecord({ + $, + endpoint: this.endpoint, + database: this.database, + branch: this.branch, + table: this.table, + recordId: this.recordId, + data: await this.formatRecordData(), + }); + $.export("$summary", `Successfully replaced Record with ID: '${response.id}'`); + return response; + }, +}; diff --git a/components/xata/actions/update-record/update-record.mjs b/components/xata/actions/update-record/update-record.mjs new file mode 100644 index 0000000000000..cff581a4eded7 --- /dev/null +++ b/components/xata/actions/update-record/update-record.mjs @@ -0,0 +1,44 @@ +import common from "../common/common.mjs"; + +export default { + ...common, + key: "xata-update-record", + name: "Update Record", + description: "Update or create a record with the specified ID. [See the documentation](https://xata.io/docs/api-reference/db/db_branch_name/tables/table_name/data/record_id#upsert-record-with-id)", + version: "0.0.1", + type: "action", + props: { + ...common.props, + recordId: { + propDefinition: [ + common.props.app, + "recordId", + (c) => ({ + endpoint: c.endpoint, + database: c.database, + table: c.table, + branch: c.branch, + }), + ], + }, + recordData: { + propDefinition: [ + common.props.app, + "recordData", + ], + }, + }, + async run({ $ }) { + const response = await this.app.updateRecord({ + $, + endpoint: this.endpoint, + database: this.database, + branch: this.branch, + table: this.table, + recordId: this.recordId, + data: await this.formatRecordData(), + }); + $.export("$summary", `Successfully updated/created Record with ID: '${response.id}'`); + return response; + }, +}; diff --git a/components/xata/app/xata.app.ts b/components/xata/app/xata.app.ts deleted file mode 100644 index a73142b8024ce..0000000000000 --- a/components/xata/app/xata.app.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ - type: "app", - app: "xata", - propDefinitions: {}, - methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); - }, - }, -}); diff --git a/components/xata/package.json b/components/xata/package.json index 4c2a8b50f0adc..0d78426c25eb2 100644 --- a/components/xata/package.json +++ b/components/xata/package.json @@ -1,16 +1,18 @@ { "name": "@pipedream/xata", - "version": "0.0.2", - "description": "Pipedream Xata Components", - "main": "dist/app/xata.app.mjs", + "version": "0.1.0", + "description": "Pipedream xata Components", + "main": "xata.app.mjs", "keywords": [ "pipedream", "xata" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/xata", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.0.2" } } diff --git a/components/xata/xata.app.mjs b/components/xata/xata.app.mjs new file mode 100644 index 0000000000000..0713529ec5226 --- /dev/null +++ b/components/xata/xata.app.mjs @@ -0,0 +1,197 @@ +import { axios } from "@pipedream/platform"; + +export default { + type: "app", + app: "xata", + propDefinitions: { + recordId: { + type: "string", + label: "Record ID", + description: "ID of the record to create or update", + async options({ + endpoint, database, branch, table, + }) { + const response = await this.listRecords({ + endpoint, + database, + branch, + table, + }); + const recordIds = response.records; + return recordIds.map(({ id }) => ({ + value: id, + })); + }, + }, + table: { + type: "string", + label: "Table Name", + description: "Name of the table", + async options({ + endpoint, database, branch, + }) { + const { schema: { tables } } = await this.getBranchSchema({ + endpoint, + database, + branch, + }); + return tables?.map(({ name }) => name ) || []; + }, + }, + endpoint: { + type: "string", + label: "HTTP Endpoint", + description: "The endpoint of your database, i.e.: `https://my-workspace-123456.us-east-1.xata.sh`. You can find your workspace domain by navigating to the Configuration tab in the Xata Web UI", + }, + recordData: { + type: "object", + label: "Record Data", + description: "The keys and values of the data that will be recorded in the database", + }, + workspace: { + type: "string", + label: "Workspace ID", + description: "ID of your workspace", + async options() { + const response = await this.listWorkspaces(); + const workspaceIds = response.workspaces; + return workspaceIds.map(({ + id, name, + }) => ({ + value: id, + label: name, + })); + }, + }, + database: { + type: "string", + label: "Database Name", + description: "Name of the database. Must be **NON POSTGRES ENABLED**.", + async options({ workspace }) { + const response = await this.listDatabases({ + workspace, + }); + const databaseNames = response.databases.filter(({ postgresEnabled }) => !postgresEnabled); + return databaseNames.map(({ name }) => ({ + value: name, + label: name, + })); + }, + }, + branch: { + type: "string", + label: "Branch Name", + description: "Name of the branch", + async options({ + endpoint, database, + }) { + const response = await this.listBranches({ + endpoint, + database, + }); + const branchNames = response.branches; + return branchNames.map(({ name }) => ({ + value: name, + label: name, + })); + }, + }, + }, + methods: { + _baseUrl() { + return "https://api.xata.io"; + }, + async _makeRequest(opts = {}) { + const { + $ = this, + path, + url, + headers, + ...otherOpts + } = opts; + const finalUrl = url || `${this._baseUrl()}${path}`; + return axios($, { + ...otherOpts, + url: finalUrl, + headers: { + ...headers, + Authorization: `Bearer ${this.$auth.api_key}`, + }, + }); + }, + createRecord({ + endpoint, database, branch, table, ...args + }) { + return this._makeRequest({ + method: "post", + url: `${endpoint}/db/${database}:${branch}/tables/${table}/data`, + ...args, + }); + }, + replaceRecord({ + endpoint, database, branch, table, recordId, ...args + }) { + return this._makeRequest({ + method: "put", + url: `${endpoint}/db/${database}:${branch}/tables/${table}/data/${recordId}`, + ...args, + }); + }, + updateRecord({ + endpoint, database, branch, table, recordId, ...args + }) { + return this._makeRequest({ + method: "post", + url: `${endpoint}/db/${database}:${branch}/tables/${table}/data/${recordId}`, + ...args, + }); + }, + listRecords({ + endpoint, database, branch, table, ...args + }) { + return this._makeRequest({ + method: "post", + url: `${endpoint}/db/${database}:${branch}/tables/${table}/query`, + ...args, + }); + }, + listWorkspaces(args = {}) { + return this._makeRequest({ + path: "/workspaces", + ...args, + }); + }, + listDatabases({ + workspace, ...args + }) { + return this._makeRequest({ + path: `/workspaces/${workspace}/dbs`, + ...args, + }); + }, + listBranches({ + endpoint, database, ...args + }) { + return this._makeRequest({ + url: `${endpoint}/dbs/${database}`, + ...args, + }); + }, + listColumns({ + endpoint, database, branch, table, ...args + }) { + return this._makeRequest({ + url: `${endpoint}/db/${database}:${branch}/tables/${table}/columns`, + ...args, + }); + }, + getBranchSchema({ + endpoint, database, branch, ...args + }) { + return this._makeRequest({ + url: `${endpoint}/db/${database}:${branch}`, + ...args, + }); + }, + }, +}; diff --git a/components/zenventory/zenventory.app.mjs b/components/zenventory/zenventory.app.mjs index 11d5f9152bf2b..89694bc52cc9b 100644 --- a/components/zenventory/zenventory.app.mjs +++ b/components/zenventory/zenventory.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 93c26d6d11352..50848b03987cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,7 +60,7 @@ importers: pnpm: 7.33.6 putout: 32.2.0_typescript@5.2.2 renamer: 4.0.0 - ts-jest: 29.1.1_s6pp5jfszqvqftxetajx5tybba + ts-jest: 29.1.1_py5cyg2l76gggsf4xgc65fzuzq tsc-esm-fix: 2.20.17 tsc-watch: 5.0.3_typescript@5.2.2 typescript: 5.2.2 @@ -239,7 +239,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.1 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 components/adobe_pdf_services: specifiers: @@ -322,7 +322,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.2 dependencies: - '@pipedream/platform': 3.0.2 + '@pipedream/platform': 3.0.3 components/agrello: specifiers: @@ -4269,7 +4269,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.1 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 components/groovehq: specifiers: {} @@ -6456,7 +6456,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.1 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 components/nocodb: specifiers: @@ -6778,7 +6778,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.1 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 components/optimoroute: specifiers: {} @@ -8765,7 +8765,7 @@ importers: specifiers: '@pipedream/platform': ^3.0.1 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 components/seventodos: specifiers: @@ -10218,7 +10218,7 @@ importers: lodash-es: ^4.17.21 ms: ^2.1.3 dependencies: - '@pipedream/platform': 3.0.1 + '@pipedream/platform': 3.0.3 crypto: 1.0.1 form-data: 4.0.0 lodash-es: 4.17.21 @@ -11164,7 +11164,10 @@ importers: qs: 6.11.2 components/xata: - specifiers: {} + specifiers: + '@pipedream/platform': ^3.0.2 + dependencies: + '@pipedream/platform': 3.0.2 components/xeggex: specifiers: {} @@ -12882,55 +12885,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso-oidc/3.600.0_tdq3komn4zwyd65w7klbptsu34: - resolution: {integrity: sha512-7+I8RWURGfzvChyNQSyj5/tKrqRbzRl7H+BnTOf/4Vsw1nFOi5ROhlhD4X/Y0QCTacxnaoNcIrqnY7uGGvVRzw==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 5.2.0 - '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sts': 3.600.0 - '@aws-sdk/core': 3.598.0 - '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 - '@aws-sdk/middleware-host-header': 3.598.0 - '@aws-sdk/middleware-logger': 3.598.0 - '@aws-sdk/middleware-recursion-detection': 3.598.0 - '@aws-sdk/middleware-user-agent': 3.598.0 - '@aws-sdk/region-config-resolver': 3.598.0 - '@aws-sdk/types': 3.598.0 - '@aws-sdk/util-endpoints': 3.598.0 - '@aws-sdk/util-user-agent-browser': 3.598.0 - '@aws-sdk/util-user-agent-node': 3.598.0 - '@smithy/config-resolver': 3.0.3 - '@smithy/core': 2.2.3 - '@smithy/fetch-http-handler': 3.2.1 - '@smithy/hash-node': 3.0.2 - '@smithy/invalid-dependency': 3.0.2 - '@smithy/middleware-content-length': 3.0.2 - '@smithy/middleware-endpoint': 3.0.4 - '@smithy/middleware-retry': 3.0.6 - '@smithy/middleware-serde': 3.0.3 - '@smithy/middleware-stack': 3.0.3 - '@smithy/node-config-provider': 3.1.3 - '@smithy/node-http-handler': 3.1.2 - '@smithy/protocol-http': 4.0.3 - '@smithy/smithy-client': 3.1.6 - '@smithy/types': 3.3.0 - '@smithy/url-parser': 3.0.3 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.6 - '@smithy/util-defaults-mode-node': 3.0.6 - '@smithy/util-endpoints': 2.0.3 - '@smithy/util-middleware': 3.0.3 - '@smithy/util-retry': 3.0.2 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.3 - transitivePeerDependencies: - - '@aws-sdk/client-sts' - - aws-crt - dev: false - /@aws-sdk/client-sso/3.423.0: resolution: {integrity: sha512-znIufHkwhCIePgaYciIs3x/+BpzR57CZzbCKHR9+oOvGyufEPPpUT5bFLvbwTgfiVkTjuk6sG/ES3U5Bc+xtrA==} engines: {node: '>=14.0.0'} @@ -13166,7 +13120,7 @@ packages: dependencies: '@aws-crypto/sha256-browser': 5.2.0 '@aws-crypto/sha256-js': 5.2.0 - '@aws-sdk/client-sso-oidc': 3.600.0_tdq3komn4zwyd65w7klbptsu34 + '@aws-sdk/client-sso-oidc': 3.600.0 '@aws-sdk/core': 3.598.0 '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 '@aws-sdk/middleware-host-header': 3.598.0 @@ -13208,6 +13162,55 @@ packages: - aws-crt dev: false + /@aws-sdk/client-sts/3.600.0_dseaa2p5u2yk67qiepewcq3hkq: + resolution: {integrity: sha512-KQG97B7LvTtTiGmjlrG1LRAY8wUvCQzrmZVV5bjrJ/1oXAU7DITYwVbSJeX9NWg6hDuSk0VE3MFwIXS2SvfLIA==} + engines: {node: '>=16.0.0'} + dependencies: + '@aws-crypto/sha256-browser': 5.2.0 + '@aws-crypto/sha256-js': 5.2.0 + '@aws-sdk/client-sso-oidc': 3.600.0 + '@aws-sdk/core': 3.598.0 + '@aws-sdk/credential-provider-node': 3.600.0_f7n47caigsrjd2lr2szmwfuee4 + '@aws-sdk/middleware-host-header': 3.598.0 + '@aws-sdk/middleware-logger': 3.598.0 + '@aws-sdk/middleware-recursion-detection': 3.598.0 + '@aws-sdk/middleware-user-agent': 3.598.0 + '@aws-sdk/region-config-resolver': 3.598.0 + '@aws-sdk/types': 3.598.0 + '@aws-sdk/util-endpoints': 3.598.0 + '@aws-sdk/util-user-agent-browser': 3.598.0 + '@aws-sdk/util-user-agent-node': 3.598.0 + '@smithy/config-resolver': 3.0.3 + '@smithy/core': 2.2.3 + '@smithy/fetch-http-handler': 3.2.1 + '@smithy/hash-node': 3.0.2 + '@smithy/invalid-dependency': 3.0.2 + '@smithy/middleware-content-length': 3.0.2 + '@smithy/middleware-endpoint': 3.0.4 + '@smithy/middleware-retry': 3.0.6 + '@smithy/middleware-serde': 3.0.3 + '@smithy/middleware-stack': 3.0.3 + '@smithy/node-config-provider': 3.1.3 + '@smithy/node-http-handler': 3.1.2 + '@smithy/protocol-http': 4.0.3 + '@smithy/smithy-client': 3.1.6 + '@smithy/types': 3.3.0 + '@smithy/url-parser': 3.0.3 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.6 + '@smithy/util-defaults-mode-node': 3.0.6 + '@smithy/util-endpoints': 2.0.3 + '@smithy/util-middleware': 3.0.3 + '@smithy/util-retry': 3.0.2 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.3 + transitivePeerDependencies: + - '@aws-sdk/client-sso-oidc' + - aws-crt + dev: false + /@aws-sdk/core/3.556.0: resolution: {integrity: sha512-vJaSaHw2kPQlo11j/Rzuz0gk1tEaKdz+2ser0f0qZ5vwFlANjt08m/frU17ctnVKC1s58bxpctO/1P894fHLrA==} engines: {node: '>=14.0.0'} @@ -14457,7 +14460,7 @@ packages: resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} dependencies: - '@babel/highlight': 7.22.20 + '@babel/highlight': 7.24.7 chalk: 2.4.2 /@babel/code-frame/7.24.7: @@ -14467,10 +14470,6 @@ packages: '@babel/highlight': 7.24.7 picocolors: 1.0.1 - /@babel/compat-data/7.22.20: - resolution: {integrity: sha512-BQYjKbpXjoXwFW5jGqiizJQQT/aC7pFm9Ok1OWssonuguICi264lbgMzRp2ZMmRSlfkX6DsWDDcsrctK8Rwfiw==} - engines: {node: '>=6.9.0'} - /@babel/compat-data/7.25.2: resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} engines: {node: '>=6.9.0'} @@ -14570,8 +14569,8 @@ packages: resolution: {integrity: sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw==} engines: {node: '>=6.9.0'} dependencies: - '@babel/compat-data': 7.22.20 - '@babel/helper-validator-option': 7.22.15 + '@babel/compat-data': 7.25.2 + '@babel/helper-validator-option': 7.24.8 browserslist: 4.23.3 lru-cache: 5.1.1 semver: 6.3.1 @@ -14655,12 +14654,6 @@ packages: '@babel/types': 7.25.2 dev: false - /@babel/helper-module-imports/7.22.15: - resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.25.2 - /@babel/helper-module-imports/7.24.7: resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} engines: {node: '>=6.9.0'} @@ -14678,10 +14671,12 @@ packages: dependencies: '@babel/core': 7.23.0 '@babel/helper-environment-visitor': 7.22.20 - '@babel/helper-module-imports': 7.22.15 - '@babel/helper-simple-access': 7.22.5 + '@babel/helper-module-imports': 7.24.7 + '@babel/helper-simple-access': 7.24.7 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-validator-identifier': 7.24.7 + transitivePeerDependencies: + - supports-color /@babel/helper-module-transforms/7.25.2_@babel+core@7.23.0: resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} @@ -14748,12 +14743,6 @@ packages: '@babel/helper-optimise-call-expression': 7.22.5 dev: false - /@babel/helper-simple-access/7.22.5: - resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/types': 7.25.2 - /@babel/helper-simple-access/7.24.7: resolution: {integrity: sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==} engines: {node: '>=6.9.0'} @@ -14776,26 +14765,14 @@ packages: dependencies: '@babel/types': 7.25.2 - /@babel/helper-string-parser/7.22.5: - resolution: {integrity: sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==} - engines: {node: '>=6.9.0'} - /@babel/helper-string-parser/7.24.8: resolution: {integrity: sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==} engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier/7.22.20: - resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} - engines: {node: '>=6.9.0'} - /@babel/helper-validator-identifier/7.24.7: resolution: {integrity: sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==} engines: {node: '>=6.9.0'} - /@babel/helper-validator-option/7.22.15: - resolution: {integrity: sha512-bMn7RmyFjY/mdECUbgn9eoSY4vqvacUnS9i9vGAGttgFWesO6B4CYWA7XlpbWgBt71iv/hfbPlynohStqnu5hA==} - engines: {node: '>=6.9.0'} - /@babel/helper-validator-option/7.24.8: resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} engines: {node: '>=6.9.0'} @@ -14813,8 +14790,8 @@ packages: resolution: {integrity: sha512-chNpneuK18yW5Oxsr+t553UZzzAs3aZnFm4bxhebsNTeshrC95yA7l5yl7GBAG+JG1rF0F7zzD2EixK9mWSDoA==} engines: {node: '>=6.9.0'} dependencies: - '@babel/template': 7.22.15 - '@babel/traverse': 7.23.0 + '@babel/template': 7.25.0 + '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 transitivePeerDependencies: - supports-color @@ -14827,14 +14804,6 @@ packages: '@babel/types': 7.25.2 dev: true - /@babel/highlight/7.22.20: - resolution: {integrity: sha512-dkdMCN3py0+ksCgYmGG8jKeGA/8Tk+gJwSYYlFGxG5lmhfKNoAy004YpLxpS1W2J8m/EK2Ew+yOs9pVRwO89mg==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/helper-validator-identifier': 7.24.7 - chalk: 2.4.2 - js-tokens: 4.0.0 - /@babel/highlight/7.24.7: resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} @@ -15846,7 +15815,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/code-frame': 7.24.7 - '@babel/parser': 7.23.0 + '@babel/parser': 7.25.3 '@babel/types': 7.25.2 /@babel/template/7.25.0: @@ -15867,7 +15836,7 @@ packages: '@babel/helper-function-name': 7.23.0 '@babel/helper-hoist-variables': 7.22.5 '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.0 + '@babel/parser': 7.25.3 '@babel/types': 7.25.2 debug: 4.3.6 globals: 11.12.0 @@ -15892,8 +15861,8 @@ packages: resolution: {integrity: sha512-0oIyUfKoI3mSqMvsxBdclDwxXKXAUA8v/apZbc+iSyARYou1o8ZGDxbUYyLFoW2arqS2jDGqJuZvv1d/io1axg==} engines: {node: '>=6.9.0'} dependencies: - '@babel/helper-string-parser': 7.22.5 - '@babel/helper-validator-identifier': 7.22.20 + '@babel/helper-string-parser': 7.24.8 + '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 /@babel/types/7.25.2: @@ -17534,7 +17503,7 @@ packages: '@aws-sdk/client-sns': 3.423.0 '@aws-sdk/client-sqs': 3.423.0 '@aws-sdk/client-ssm': 3.423.0 - '@aws-sdk/client-sts': 3.600.0 + '@aws-sdk/client-sts': 3.600.0_dseaa2p5u2yk67qiepewcq3hkq '@aws-sdk/s3-request-presigner': 3.609.0 '@pipedream/helper_functions': 0.3.12 '@pipedream/platform': 1.6.6 @@ -17704,7 +17673,7 @@ packages: /@pipedream/platform/3.0.1: resolution: {integrity: sha512-xja1ZHUR/DpOQZZJY39daml8q1ZMzg8wKYwYbyxVPs7MiMqneHM7Bz+Lgj/QrjbNissIKsRSGXmkXbT+Y10L0w==} dependencies: - axios: 1.7.5 + axios: 1.7.7 fp-ts: 2.16.9 io-ts: 2.2.21_fp-ts@2.16.9 querystring: 0.2.1 @@ -17715,7 +17684,7 @@ packages: /@pipedream/platform/3.0.2: resolution: {integrity: sha512-q/BYGJoNXOVaRlNTDWD7Gjgkcu114gbPrxQ5KCOFbuYfqnJu8AeDGMyMvEPaGPbrWUVwgxjvOnxw4EWqce8ZNQ==} dependencies: - axios: 1.7.7 + axios: 1.7.5 fp-ts: 2.16.9 io-ts: 2.2.21_fp-ts@2.16.9 querystring: 0.2.1 @@ -22324,7 +22293,7 @@ packages: /axios/1.7.5: resolution: {integrity: sha512-fZu86yCo+svH3uqJ/yTdQ0QHpQu5oL+/QE+QPSv6BZSkDAoky9vytxp7u5qk83OJFS3kEBcesWni9WTZAv3tSw==} dependencies: - follow-redirects: 1.15.6 + follow-redirects: 1.15.9 form-data: 4.0.0 proxy-from-env: 1.1.0 transitivePeerDependencies: @@ -34500,7 +34469,7 @@ packages: engines: {node: '>=6'} dev: true - /ts-jest/29.1.1_s6pp5jfszqvqftxetajx5tybba: + /ts-jest/29.1.1_py5cyg2l76gggsf4xgc65fzuzq: resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -34521,7 +34490,7 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.25.2 + '@babel/core': 7.23.0 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.7.0_@types+node@20.9.2