diff --git a/components/agentql/agentql.app.mjs b/components/agentql/agentql.app.mjs index 7c6e3264d4665..8c86501dfb242 100644 --- a/components/agentql/agentql.app.mjs +++ b/components/agentql/agentql.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/api_labz/api_labz.app.mjs b/components/api_labz/api_labz.app.mjs index 7c8322c02ec45..57b64c29c97d9 100644 --- a/components/api_labz/api_labz.app.mjs +++ b/components/api_labz/api_labz.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/appsflyer/appsflyer.app.mjs b/components/appsflyer/appsflyer.app.mjs index e61e956626312..f924687fabf73 100644 --- a/components/appsflyer/appsflyer.app.mjs +++ b/components/appsflyer/appsflyer.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/autotask_psa/autotask_psa.app.mjs b/components/autotask_psa/autotask_psa.app.mjs index a872d4fb84ce7..26c640e1f5e03 100644 --- a/components/autotask_psa/autotask_psa.app.mjs +++ b/components/autotask_psa/autotask_psa.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/botx/botx.app.mjs b/components/botx/botx.app.mjs index f6150a3a07623..7e155e23ffe12 100644 --- a/components/botx/botx.app.mjs +++ b/components/botx/botx.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/classmarker/classmarker.app.mjs b/components/classmarker/classmarker.app.mjs index f14662a598545..c937bd6d563e1 100644 --- a/components/classmarker/classmarker.app.mjs +++ b/components/classmarker/classmarker.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/cloudflare_browser_rendering/cloudflare_browser_rendering.app.mjs b/components/cloudflare_browser_rendering/cloudflare_browser_rendering.app.mjs index bfe2dd3e38e7e..76c84ac8f46bd 100644 --- a/components/cloudflare_browser_rendering/cloudflare_browser_rendering.app.mjs +++ b/components/cloudflare_browser_rendering/cloudflare_browser_rendering.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/currents_api/currents_api.app.mjs b/components/currents_api/currents_api.app.mjs index 8edebfef1e28e..068b060bc6089 100644 --- a/components/currents_api/currents_api.app.mjs +++ b/components/currents_api/currents_api.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/daktela/actions/create-account/create-account.mjs b/components/daktela/actions/create-account/create-account.mjs new file mode 100644 index 0000000000000..76f44964e557d --- /dev/null +++ b/components/daktela/actions/create-account/create-account.mjs @@ -0,0 +1,70 @@ +import daktela from "../../daktela.app.mjs"; + +export default { + key: "daktela-create-account", + name: "Create Account", + description: "Creates a new account on Daktela. [See the documentation](https://customer.daktela.com/apihelp/v6/global/general-information)", + version: "0.0.{{ts}}", + type: "action", + props: { + daktela, + user: { + propDefinition: [ + daktela, + "user", + ], + optional: true, + }, + sla: { + propDefinition: [ + daktela, + "sla", + ], + optional: true, + }, + survey: { + propDefinition: [ + daktela, + "survey", + ], + optional: true, + }, + name: { + propDefinition: [ + daktela, + "name", + ], + optional: true, + }, + title: { + propDefinition: [ + daktela, + "title", + ], + optional: true, + }, + description: { + propDefinition: [ + daktela, + "description", + ], + optional: true, + }, + }, + async run({ $ }) { + const response = await this.daktela.createAccount({ + $, + data: { + user: this.user, + sla: this.sla, + survey: this.survey, + name: this.name, + title: this.title, + description: this.description, + }, + }); + + $.export("$summary", `Successfully created account: ${response.title}`); + return response; + }, +}; diff --git a/components/daktela/actions/make-call/make-call.mjs b/components/daktela/actions/make-call/make-call.mjs new file mode 100644 index 0000000000000..63adef09c442b --- /dev/null +++ b/components/daktela/actions/make-call/make-call.mjs @@ -0,0 +1,44 @@ +import daktela from "../../daktela.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "daktela-make-call", + name: "Initiate Phone Call", + description: "Initiates a phone call via Daktela. [See the documentation](https://customer.daktela.com/apihelp/v6/working-with/call-activities)", + version: "0.0.{{ts}}", + type: "action", + props: { + daktela, + phoneNumber: { + propDefinition: [ + daktela, + "phoneNumber", + ], + }, + callerNumber: { + propDefinition: [ + daktela, + "callerNumber", + ], + optional: true, + }, + callingTime: { + propDefinition: [ + daktela, + "callingTime", + ], + optional: true, + }, + }, + async run({ $ }) { + const params = { + phoneNumber: this.phoneNumber, + callerNumber: this.callerNumber, + callingTime: this.callingTime, + }; + + const response = await this.daktela.initiateCall(params); + $.export("$summary", `Successfully initiated call to ${this.phoneNumber}`); + return response; + }, +}; diff --git a/components/daktela/actions/send-sms/send-sms.mjs b/components/daktela/actions/send-sms/send-sms.mjs new file mode 100644 index 0000000000000..70a0bd242cd6a --- /dev/null +++ b/components/daktela/actions/send-sms/send-sms.mjs @@ -0,0 +1,44 @@ +import daktela from "../../daktela.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "daktela-send-sms", + name: "Send SMS", + description: "Sends an SMS from the Daktela platform. [See the documentation](https://customer.daktela.com/apihelp/v6/working-with/sms-chat-activities)", + version: "0.0.1", + type: "action", + props: { + daktela, + receiverNumber: { + propDefinition: [ + daktela, + "receiverNumber", + ], + }, + textContent: { + propDefinition: [ + daktela, + "textContent", + ], + }, + senderName: { + propDefinition: [ + daktela, + "senderName", + ], + optional: true, + }, + }, + async run({ $ }) { + const params = { + to: this.receiverNumber, + text: this.textContent, + from: this.senderName, + }; + + const response = await this.daktela.sendSms(params); + + $.export("$summary", `Successfully sent SMS to ${this.receiverNumber}`); + return response; + }, +}; diff --git a/components/daktela/common/constants.mjs b/components/daktela/common/constants.mjs new file mode 100644 index 0000000000000..ea830c15a04cb --- /dev/null +++ b/components/daktela/common/constants.mjs @@ -0,0 +1 @@ +export const LIMIT = 100; diff --git a/components/daktela/daktela.app.mjs b/components/daktela/daktela.app.mjs index 210e26efe7add..d5a5dfb2f47ec 100644 --- a/components/daktela/daktela.app.mjs +++ b/components/daktela/daktela.app.mjs @@ -1,11 +1,163 @@ +import { axios } from "@pipedream/platform"; +import { LIMIT } from "./common/constants.mjs"; + export default { type: "app", app: "daktela", - propDefinitions: {}, + propDefinitions: { + user: { + type: "string", + label: "User", + description: "The user associated with the account", + async options({ page }) { + const users = await this.getUsers({ + params: { + take: LIMIT, + skip: LIMIT * page, + }, + }); + return users.map((user) => ({ + label: user.name, + value: user.id, + })); + }, + }, + sla: { + type: "integer", + label: "SLA", + description: "The SLA ID for the account", + }, + survey: { + type: "boolean", + label: "Survey", + description: "Indicate if a survey should be sent", + }, + name: { + type: "string", + label: "Name", + description: "Unique identification for the account", + }, + title: { + type: "string", + label: "Title", + description: "Display name for the account", + }, + description: { + type: "string", + label: "Description", + description: "Optional description for the account", + }, + receiverNumber: { + type: "string", + label: "Receiver's Number", + description: "The phone number to send the SMS to", + }, + textContent: { + type: "string", + label: "Text Content", + description: "The content of the SMS", + }, + senderName: { + type: "string", + label: "Sender's Name", + description: "Optional sender's name for the SMS", + }, + phoneNumber: { + type: "string", + label: "Phone Number to Call", + description: "The phone number to initiate the call", + }, + callerNumber: { + type: "string", + label: "Caller's Number", + description: "The number being used to make the call", + }, + callingTime: { + type: "string", + label: "Calling Time", + description: "Time to initiate the call", + }, + }, methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); + _baseUrl(version = "v5.0") { + return `${this.$auth.instance_url}/api/${version}`; + }, + _params(params = {}) { + return { + ...params, + "Authorization": `Bearer ${this.$auth.access_token}`, + }; + }, + _makeRequest({ + $ = this, path, version, params, ...opts + }) { + const config = { + url: this._baseUrl(version) + path, + params: this._params(params), + ...opts, + }; + console.log("config: ", config); + return axios($, config); + }, + createAccount(opts = {}) { + return this._makeRequest({ + method: "POST", + path: "/accounts.json", + ...opts, + }); + }, + sendSms(opts = {}) { + return this._makeRequest({ + method: "POST", + path: "/sms_activities", + ...opts, + }); + }, + initiateCall(opts = {}) { + return this._makeRequest({ + method: "POST", + path: "/call_activities", + ...opts, + }); + }, + getUsers(opts = {}) { + return this._makeRequest({ + path: "/users.json", + ...opts, + }); + }, + async emitNewAccountCreated() { + const accounts = await this._makeRequest({ + path: "/accounts", + }); + accounts.forEach((account) => { + this.$emit(account, { + summary: `New account created: ${account.title}`, + id: account.account, + }); + }); + }, + async emitTicketUpdated() { + const tickets = await this._makeRequest({ + path: "/tickets", + }); + tickets.forEach((ticket) => { + this.$emit(ticket, { + summary: `Ticket updated: ${ticket.title}`, + id: ticket.ticket, + }); + }); + }, + async emitNewContactAdded() { + const contacts = await this._makeRequest({ + path: "/contacts", + }); + contacts.forEach((contact) => { + this.$emit(contact, { + summary: `New contact added: ${contact.firstname} ${contact.lastname}`, + id: contact.contact, + }); + }); }, }, -}; \ No newline at end of file +}; diff --git a/components/daktela/package.json b/components/daktela/package.json index fb7d8a484827e..11c6a3430448c 100644 --- a/components/daktela/package.json +++ b/components/daktela/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/daktela", - "version": "0.0.1", + "version": "0.1.0", "description": "Pipedream Daktela Components", "main": "daktela.app.mjs", "keywords": [ @@ -11,5 +11,8 @@ "author": "Pipedream (https://pipedream.com/)", "publishConfig": { "access": "public" + }, + "dependencies": { + "@pipedream/platform": "^3.0.3" } } diff --git a/components/daktela/sources/new-account/new-account.mjs b/components/daktela/sources/new-account/new-account.mjs new file mode 100644 index 0000000000000..b4f5e0a42ac8a --- /dev/null +++ b/components/daktela/sources/new-account/new-account.mjs @@ -0,0 +1,63 @@ +import daktela from "../../daktela.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "daktela-new-account", + name: "New Account Created", + description: "Emit a new event when a new account is created. [See the documentation](https://customer.daktela.com/apihelp/v6/global/general-information)", + version: "0.0.{{ts}}", + type: "source", + dedupe: "unique", + props: { + daktela, + db: "$.service.db", + timer: { + type: "$.interface.timer", + default: { + intervalSeconds: 60 * 15, // 15 minutes + }, + }, + }, + hooks: { + async deploy() { + const accounts = await this.daktela._makeRequest({ + path: "/accounts", + }); + + accounts.slice(-50).forEach((account) => { + this.$emit(account, { + id: account.account, + summary: `New account created: ${account.title}`, + ts: new Date().getTime(), + }); + }); + + if (accounts.length) { + const maxId = Math.max(...accounts.map((account) => account.account)); + await this.db.set("lastMaxAccountId", maxId); + } + }, + }, + async run() { + const lastMaxAccountId = (await this.db.get("lastMaxAccountId")) || 0; + + const accounts = await this.daktela._makeRequest({ + path: "/accounts", + }); + + const newAccounts = accounts.filter((account) => account.account > lastMaxAccountId); + + newAccounts.forEach((account) => { + this.$emit(account, { + id: account.account, + summary: `New account created: ${account.title}`, + ts: new Date().getTime(), + }); + }); + + if (newAccounts.length) { + const newMaxId = Math.max(...newAccounts.map((account) => account.account)); + await this.db.set("lastMaxAccountId", newMaxId); + } + }, +}; diff --git a/components/daktela/sources/new-contact/new-contact.mjs b/components/daktela/sources/new-contact/new-contact.mjs new file mode 100644 index 0000000000000..4c35e673b2acd --- /dev/null +++ b/components/daktela/sources/new-contact/new-contact.mjs @@ -0,0 +1,65 @@ +import daktela from "../../daktela.app.mjs"; + +export default { + key: "daktela-new-contact", + name: "New Contact Added", + description: "Emit a new event when a new contact is added to the system. [See the documentation](https://customer.daktela.com/apihelp/v6/global/general-information)", + version: "0.0.{{ts}}", + type: "source", + dedupe: "unique", + props: { + daktela, + db: "$.service.db", + timer: { + type: "$.interface.timer", + default: { + intervalSeconds: 900, // every 15 minutes + }, + }, + }, + methods: { + _getLastContactId() { + return this.db.get("lastContactId") || 0; + }, + _setLastContactId(id) { + this.db.set("lastContactId", id); + }, + }, + hooks: { + async deploy() { + const contacts = await this.daktela._makeRequest({ + path: "/contacts", + }); + + contacts.slice(-50).forEach((contact) => { + this.$emit(contact, { + id: contact.contact, + summary: `New contact added: ${contact.firstname} ${contact.lastname}`, + }); + }); + + if (contacts.length > 0) { + this._setLastContactId(contacts[contacts.length - 1].contact); + } + }, + }, + async run() { + const lastContactId = this._getLastContactId(); + const contacts = await this.daktela._makeRequest({ + path: "/contacts", + }); + + contacts.forEach((contact) => { + if (contact.contact > lastContactId) { + this.$emit(contact, { + id: contact.contact, + summary: `New contact added: ${contact.firstname} ${contact.lastname}`, + }); + } + }); + + if (contacts.length > 0) { + this._setLastContactId(contacts[contacts.length - 1].contact); + } + }, +}; diff --git a/components/daktela/sources/updated-ticket/updated-ticket.mjs b/components/daktela/sources/updated-ticket/updated-ticket.mjs new file mode 100644 index 0000000000000..4d8c6a69952e1 --- /dev/null +++ b/components/daktela/sources/updated-ticket/updated-ticket.mjs @@ -0,0 +1,69 @@ +import daktela from "../../daktela.app.mjs"; +import { axios } from "@pipedream/platform"; + +export default { + key: "daktela-updated-ticket", + name: "Updated Ticket", + description: "Emit new event when an existing ticket is updated. [See the documentation](https://customer.daktela.com/apihelp/v6/global/general-information)", + version: "0.0.{{ts}}", + type: "source", + dedupe: "unique", + props: { + daktela, + db: "$.service.db", + timer: { + type: "$.interface.timer", + default: { + intervalSeconds: 60 * 15, // Polling every 15 minutes + }, + }, + }, + methods: { + _getLastCheckedTime() { + return this.db.get("lastCheckedTime") || 0; + }, + _setLastCheckedTime(time) { + this.db.set("lastCheckedTime", time); + }, + async _getUpdatedTickets() { + const currentTime = Date.now(); + const lastCheckedTime = this._getLastCheckedTime(); + const tickets = await this.daktela._makeRequest({ + path: "/tickets", + }); + + // Filter tickets updated since the last checked time + const updatedTickets = tickets.filter((ticket) => { + const updatedTime = Date.parse(ticket.updated); + return updatedTime > lastCheckedTime; + }); + + // Update last checked time to current time + this._setLastCheckedTime(currentTime); + + return updatedTickets; + }, + }, + hooks: { + async deploy() { + const updatedTickets = await this._getUpdatedTickets(); + for (const ticket of updatedTickets.slice(-50)) { + this.$emit(ticket, { + id: ticket.ticket, + summary: `Updated ticket: ${ticket.title}`, + ts: Date.parse(ticket.updated), + }); + } + }, + }, + async run() { + const updatedTickets = await this._getUpdatedTickets(); + for (const ticket of updatedTickets) { + this.$emit(ticket, { + id: ticket.ticket, + summary: `Updated ticket: ${ticket.title}`, + ts: Date.parse(ticket.updated), + }); + } + }, +}; diff --git a/components/docker_engine/docker_engine.app.mjs b/components/docker_engine/docker_engine.app.mjs index d7b1b1d979f14..a19a7ef9ddc5d 100644 --- a/components/docker_engine/docker_engine.app.mjs +++ b/components/docker_engine/docker_engine.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/dungeon_fighter_online/dungeon_fighter_online.app.mjs b/components/dungeon_fighter_online/dungeon_fighter_online.app.mjs index be8dd600aa1b4..d6c592a71a57d 100644 --- a/components/dungeon_fighter_online/dungeon_fighter_online.app.mjs +++ b/components/dungeon_fighter_online/dungeon_fighter_online.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/enginemailer/enginemailer.app.mjs b/components/enginemailer/enginemailer.app.mjs index ae7f9461ea35e..62e2ea5f1fb89 100644 --- a/components/enginemailer/enginemailer.app.mjs +++ b/components/enginemailer/enginemailer.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/extracta_ai/extracta_ai.app.mjs b/components/extracta_ai/extracta_ai.app.mjs index a8f13ab79a3b8..fc44a53aef2c7 100644 --- a/components/extracta_ai/extracta_ai.app.mjs +++ b/components/extracta_ai/extracta_ai.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/formatting/formatting.app.mjs b/components/formatting/formatting.app.mjs index 2686dd33b36cc..5f8369d97d73f 100644 --- a/components/formatting/formatting.app.mjs +++ b/components/formatting/formatting.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/getty_images/getty_images.app.mjs b/components/getty_images/getty_images.app.mjs index 8d21342140951..f67cb63ae9e0c 100644 --- a/components/getty_images/getty_images.app.mjs +++ b/components/getty_images/getty_images.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/google_marketplace/google_marketplace.app.mjs b/components/google_marketplace/google_marketplace.app.mjs index 15b4c1cb6536d..fcf6c22775482 100644 --- a/components/google_marketplace/google_marketplace.app.mjs +++ b/components/google_marketplace/google_marketplace.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/greenhouse_job_board_api/greenhouse_job_board_api.app.mjs b/components/greenhouse_job_board_api/greenhouse_job_board_api.app.mjs index c5fed482a2148..3f63eba80c5a5 100644 --- a/components/greenhouse_job_board_api/greenhouse_job_board_api.app.mjs +++ b/components/greenhouse_job_board_api/greenhouse_job_board_api.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/kraken_io/kraken_io.app.mjs b/components/kraken_io/kraken_io.app.mjs index cf89340420b82..98bfa910d850a 100644 --- a/components/kraken_io/kraken_io.app.mjs +++ b/components/kraken_io/kraken_io.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/kustomer/kustomer.app.mjs b/components/kustomer/kustomer.app.mjs index 80387a512a261..1dd503d0c24ab 100644 --- a/components/kustomer/kustomer.app.mjs +++ b/components/kustomer/kustomer.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/leverly/leverly.app.mjs b/components/leverly/leverly.app.mjs index 3844ecdb13f72..0fc5a2cd73720 100644 --- a/components/leverly/leverly.app.mjs +++ b/components/leverly/leverly.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/livespace/livespace.app.mjs b/components/livespace/livespace.app.mjs index 63947067be26b..f2de3faf2b37e 100644 --- a/components/livespace/livespace.app.mjs +++ b/components/livespace/livespace.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/mailsoftly/mailsoftly.app.mjs b/components/mailsoftly/mailsoftly.app.mjs index 4a46b0375b988..113647612616f 100644 --- a/components/mailsoftly/mailsoftly.app.mjs +++ b/components/mailsoftly/mailsoftly.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/microsoft_dataverse/microsoft_dataverse.app.mjs b/components/microsoft_dataverse/microsoft_dataverse.app.mjs index 1866058d2a900..4919d2db2a745 100644 --- a/components/microsoft_dataverse/microsoft_dataverse.app.mjs +++ b/components/microsoft_dataverse/microsoft_dataverse.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/microsoft_teams_events/microsoft_teams_events.app.mjs b/components/microsoft_teams_events/microsoft_teams_events.app.mjs index 127120d06835f..ef875fe5740b1 100644 --- a/components/microsoft_teams_events/microsoft_teams_events.app.mjs +++ b/components/microsoft_teams_events/microsoft_teams_events.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/mindstudio/mindstudio.app.mjs b/components/mindstudio/mindstudio.app.mjs index 6b53a172d4805..756feb2798e13 100644 --- a/components/mindstudio/mindstudio.app.mjs +++ b/components/mindstudio/mindstudio.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/minerstat/minerstat.app.mjs b/components/minerstat/minerstat.app.mjs index b6e5cfd6f50e4..80d5962c3213f 100644 --- a/components/minerstat/minerstat.app.mjs +++ b/components/minerstat/minerstat.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/miyn/miyn.app.mjs b/components/miyn/miyn.app.mjs index 9be2da977d89b..672136a542d53 100644 --- a/components/miyn/miyn.app.mjs +++ b/components/miyn/miyn.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/mollie/mollie.app.mjs b/components/mollie/mollie.app.mjs index 1360aa48c77d4..7c15b42fb0cec 100644 --- a/components/mollie/mollie.app.mjs +++ b/components/mollie/mollie.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/netcore/netcore.app.mjs b/components/netcore/netcore.app.mjs index 27c59418168bd..9be9aed387163 100644 --- a/components/netcore/netcore.app.mjs +++ b/components/netcore/netcore.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/nutrient_document_web_services_api/nutrient_document_web_services_api.app.mjs b/components/nutrient_document_web_services_api/nutrient_document_web_services_api.app.mjs index 464201bc6638a..994ac5c9f412e 100644 --- a/components/nutrient_document_web_services_api/nutrient_document_web_services_api.app.mjs +++ b/components/nutrient_document_web_services_api/nutrient_document_web_services_api.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/outline/outline.app.mjs b/components/outline/outline.app.mjs index b8cfb9d189c9a..7c1fb1d0c675d 100644 --- a/components/outline/outline.app.mjs +++ b/components/outline/outline.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/persanaai/persanaai.app.mjs b/components/persanaai/persanaai.app.mjs index 86dd4c98f80da..849b6ed05e66b 100644 --- a/components/persanaai/persanaai.app.mjs +++ b/components/persanaai/persanaai.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/planday/planday.app.mjs b/components/planday/planday.app.mjs index bc4b76ce0e48e..92c6edbed899f 100644 --- a/components/planday/planday.app.mjs +++ b/components/planday/planday.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/runsignup/runsignup.app.mjs b/components/runsignup/runsignup.app.mjs index d8fa2d880df08..43901dffae792 100644 --- a/components/runsignup/runsignup.app.mjs +++ b/components/runsignup/runsignup.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/splunk_http_event_collector/splunk_http_event_collector.app.mjs b/components/splunk_http_event_collector/splunk_http_event_collector.app.mjs index 4f24a925ecbc5..56e3037d7e9bc 100644 --- a/components/splunk_http_event_collector/splunk_http_event_collector.app.mjs +++ b/components/splunk_http_event_collector/splunk_http_event_collector.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/systeme_io/systeme_io.app.mjs b/components/systeme_io/systeme_io.app.mjs index 8f1bc6252ac7b..85117e7da39f9 100644 --- a/components/systeme_io/systeme_io.app.mjs +++ b/components/systeme_io/systeme_io.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/tailscale/tailscale.app.mjs b/components/tailscale/tailscale.app.mjs index a96637d6f8788..6bae89a708b0c 100644 --- a/components/tailscale/tailscale.app.mjs +++ b/components/tailscale/tailscale.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/test_apps_for_switching_appslug_009/test_apps_for_switching_appslug_009.app.mjs b/components/test_apps_for_switching_appslug_009/test_apps_for_switching_appslug_009.app.mjs index 06b4262318b77..ad43c7878e2af 100644 --- a/components/test_apps_for_switching_appslug_009/test_apps_for_switching_appslug_009.app.mjs +++ b/components/test_apps_for_switching_appslug_009/test_apps_for_switching_appslug_009.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/tuya/tuya.app.mjs b/components/tuya/tuya.app.mjs index 7cf9ecd689e92..9f0d6779bcfa6 100644 --- a/components/tuya/tuya.app.mjs +++ b/components/tuya/tuya.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/wafrow/wafrow.app.mjs b/components/wafrow/wafrow.app.mjs index 160f980b7c7df..e2047b3521f5e 100644 --- a/components/wafrow/wafrow.app.mjs +++ b/components/wafrow/wafrow.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/woodelivery/woodelivery.app.mjs b/components/woodelivery/woodelivery.app.mjs index c4d2186f020d7..633c661351002 100644 --- a/components/woodelivery/woodelivery.app.mjs +++ b/components/woodelivery/woodelivery.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 637e1ddfd0500..8f449a9c95f27 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -3090,7 +3090,11 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/daktela: {} + components/daktela: + dependencies: + '@pipedream/platform': + specifier: ^3.0.3 + version: 3.0.3 components/damstra_forms: {} @@ -34346,6 +34350,8 @@ snapshots: '@putout/operator-filesystem': 5.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3)) '@putout/operator-json': 2.2.0 putout: 36.13.1(eslint@8.57.1)(typescript@5.6.3) + transitivePeerDependencies: + - supports-color '@putout/operator-regexp@1.0.0(putout@36.13.1(eslint@8.57.1)(typescript@5.6.3))': dependencies: @@ -41048,7 +41054,7 @@ snapshots: https-proxy-agent@5.0.1: dependencies: agent-base: 6.0.2 - debug: 4.3.7(supports-color@9.4.0) + debug: 4.4.0 transitivePeerDependencies: - supports-color