From 0305836730f265ec5a74529a6cda814368da1d40 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 14:26:05 -0300 Subject: [PATCH 1/6] Converting 4th batch of apps --- components/selectpdf/.gitignore | 3 - components/selectpdf/package.json | 5 +- .../selectpdf.app.ts => selectpdf.app.mjs} | 6 +- components/selectpdf/tsconfig.json | 3 - components/sellix/.gitignore | 3 - components/sellix/package.json | 7 +- .../{app/sellix.app.ts => sellix.app.mjs} | 6 +- components/sellix/tsconfig.json | 3 - components/sendblue/.gitignore | 3 - components/sendblue/package.json | 5 +- .../{app/sendblue.app.ts => sendblue.app.mjs} | 6 +- components/sendblue/tsconfig.json | 3 - components/sender/.gitignore | 3 - components/sender/package.json | 7 +- .../{app/sender.app.ts => sender.app.mjs} | 6 +- components/sender/tsconfig.json | 3 - components/sendlane/.gitignore | 3 - components/sendlane/package.json | 5 +- .../{app/sendlane.app.ts => sendlane.app.mjs} | 6 +- components/sendlane/tsconfig.json | 3 - components/sendle/.gitignore | 3 - components/sendle/package.json | 7 +- .../{app/sendle.app.ts => sendle.app.mjs} | 6 +- components/sendle/tsconfig.json | 3 - components/serveravatar/.gitignore | 3 - .../serveravatar/app/serveravatar.app.ts | 87 --- components/serveravatar/package.json | 7 +- components/serveravatar/serveravatar.app.mjs | 11 + components/serveravatar/tsconfig.json | 3 - components/serwersms_pl/.gitignore | 3 - components/serwersms_pl/package.json | 5 +- ...rwersms_pl.app.ts => serwersms_pl.app.mjs} | 6 +- components/serwersms_pl/tsconfig.json | 3 - components/shippotoken/.gitignore | 3 - components/shippotoken/package.json | 7 +- ...shippotoken.app.ts => shippotoken.app.mjs} | 6 +- components/shippotoken/tsconfig.json | 3 - components/showpad/.gitignore | 3 - components/showpad/package.json | 7 +- .../{app/showpad.app.ts => showpad.app.mjs} | 6 +- components/showpad/tsconfig.json | 3 - components/sierra_interactive/.gitignore | 3 - components/sierra_interactive/package.json | 5 +- ...tive.app.ts => sierra_interactive.app.mjs} | 6 +- components/sierra_interactive/tsconfig.json | 3 - components/signrequest/.gitignore | 3 - components/signrequest/package.json | 5 +- ...signrequest.app.ts => signrequest.app.mjs} | 6 +- components/signrequest/tsconfig.json | 3 - components/signwell/.gitignore | 3 - components/signwell/package.json | 7 +- .../{app/signwell.app.ts => signwell.app.mjs} | 6 +- components/signwell/tsconfig.json | 3 - components/simple_analytics/.gitignore | 3 - components/simple_analytics/package.json | 5 +- ...lytics.app.ts => simple_analytics.app.mjs} | 6 +- components/simple_analytics/tsconfig.json | 3 - components/simplehash/.gitignore | 3 - components/simplehash/package.json | 5 +- .../simplehash.app.ts => simplehash.app.mjs} | 6 +- components/simplehash/tsconfig.json | 3 - components/simplekpi/.gitignore | 3 - components/simplekpi/package.json | 5 +- .../simplekpi.app.ts => simplekpi.app.mjs} | 6 +- components/simplekpi/tsconfig.json | 3 - components/simpletexting/.gitignore | 3 - components/simpletexting/package.json | 5 +- ...letexting.app.ts => simpletexting.app.mjs} | 6 +- components/simpletexting/tsconfig.json | 3 - components/slack_demo_app/.gitignore | 3 - components/slack_demo_app/package.json | 5 +- ...demo_app.app.ts => slack_demo_app.app.mjs} | 6 +- components/slack_demo_app/tsconfig.json | 3 - components/slack_demo_app_1/.gitignore | 3 - components/slack_demo_app_1/package.json | 5 +- ..._app_1.app.ts => slack_demo_app_1.app.mjs} | 6 +- components/slack_demo_app_1/tsconfig.json | 3 - components/smartreach/.gitignore | 3 - components/smartreach/package.json | 5 +- .../smartreach.app.ts => smartreach.app.mjs} | 6 +- components/smartreach/tsconfig.json | 3 - components/smartrmail/.gitignore | 3 - components/smartrmail/package.json | 5 +- .../smartrmail.app.ts => smartrmail.app.mjs} | 6 +- components/smartrmail/tsconfig.json | 3 - components/smarty/.gitignore | 3 - components/smarty/package.json | 5 +- .../{app/smarty.app.ts => smarty.app.mjs} | 6 +- components/smarty/tsconfig.json | 3 - components/sms_it/.gitignore | 3 - components/sms_it/package.json | 5 +- .../{app/sms_it.app.ts => sms_it.app.mjs} | 6 +- components/sms_it/tsconfig.json | 3 - components/sms_magic/.gitignore | 3 - components/sms_magic/package.json | 5 +- .../sms_magic.app.ts => sms_magic.app.mjs} | 6 +- components/sms_magic/tsconfig.json | 3 - components/snapchat_marketing/.gitignore | 3 - components/snapchat_marketing/package.json | 7 +- ...ting.app.ts => snapchat_marketing.app.mjs} | 6 +- components/snapchat_marketing/tsconfig.json | 3 - components/snapdocs/.gitignore | 3 - components/snapdocs/package.json | 5 +- .../{app/snapdocs.app.ts => snapdocs.app.mjs} | 6 +- components/snapdocs/tsconfig.json | 3 - components/snyk/.gitignore | 3 - components/snyk/package.json | 5 +- .../snyk/{app/snyk.app.ts => snyk.app.mjs} | 6 +- components/snyk/tsconfig.json | 3 - components/softledger/.gitignore | 3 - components/softledger/package.json | 5 +- .../softledger.app.ts => softledger.app.mjs} | 6 +- components/softledger/tsconfig.json | 3 - components/solarwinds_service_desk/.gitignore | 3 - .../solarwinds_service_desk/package.json | 5 +- ...app.ts => solarwinds_service_desk.app.mjs} | 6 +- .../solarwinds_service_desk/tsconfig.json | 3 - components/sportsdata/.gitignore | 3 - components/sportsdata/package.json | 5 +- .../sportsdata.app.ts => sportsdata.app.mjs} | 6 +- components/sportsdata/tsconfig.json | 3 - components/starton/.gitignore | 3 - components/starton/package.json | 5 +- .../{app/starton.app.ts => starton.app.mjs} | 6 +- components/starton/tsconfig.json | 3 - components/stealthseminar/.gitignore | 3 - components/stealthseminar/package.json | 5 +- ...hseminar.app.ts => stealthseminar.app.mjs} | 6 +- components/stealthseminar/tsconfig.json | 3 - components/stormglass_io/.gitignore | 3 - components/stormglass_io/package.json | 7 +- ...mglass_io.app.ts => stormglass_io.app.mjs} | 6 +- components/stormglass_io/tsconfig.json | 3 - components/studio_by_ai21_labs/.gitignore | 3 - components/studio_by_ai21_labs/package.json | 5 +- ...abs.app.ts => studio_by_ai21_labs.app.mjs} | 6 +- components/studio_by_ai21_labs/tsconfig.json | 3 - components/successeve/.gitignore | 3 - components/successeve/package.json | 5 +- .../successeve.app.ts => successeve.app.mjs} | 6 +- components/successeve/tsconfig.json | 3 - components/sugarcrm_/.gitignore | 3 - components/sugarcrm_/package.json | 5 +- .../sugarcrm_.app.ts => sugarcrm_.app.mjs} | 6 +- components/sugarcrm_/tsconfig.json | 3 - components/survey2connect/.gitignore | 3 - components/survey2connect/package.json | 5 +- ...2connect.app.ts => survey2connect.app.mjs} | 6 +- components/survey2connect/tsconfig.json | 3 - components/survicate/.gitignore | 3 - components/survicate/package.json | 5 +- .../survicate.app.ts => survicate.app.mjs} | 6 +- components/survicate/tsconfig.json | 3 - components/swiftype/.gitignore | 3 - components/swiftype/package.json | 5 +- .../{app/swiftype.app.ts => swiftype.app.mjs} | 6 +- components/swiftype/tsconfig.json | 3 - components/switchboard/.gitignore | 3 - components/switchboard/package.json | 7 +- ...switchboard.app.ts => switchboard.app.mjs} | 6 +- components/switchboard/tsconfig.json | 3 - components/syncro/.gitignore | 3 - components/syncro/package.json | 7 +- .../{app/syncro.app.ts => syncro.app.mjs} | 6 +- components/syncro/tsconfig.json | 3 - components/t2m_url_shortener/.gitignore | 3 - components/t2m_url_shortener/package.json | 5 +- ...tener.app.ts => t2m_url_shortener.app.mjs} | 6 +- components/t2m_url_shortener/tsconfig.json | 3 - components/talenox/.gitignore | 3 - components/talenox/package.json | 5 +- .../{app/talenox.app.ts => talenox.app.mjs} | 6 +- components/talenox/tsconfig.json | 3 - components/talentlms/.gitignore | 3 - components/talentlms/package.json | 5 +- .../talentlms.app.ts => talentlms.app.mjs} | 6 +- components/talentlms/tsconfig.json | 3 - components/talkspirit/.gitignore | 3 - components/talkspirit/package.json | 5 +- .../talkspirit.app.ts => talkspirit.app.mjs} | 6 +- components/talkspirit/tsconfig.json | 3 - components/tapfiliate/.gitignore | 3 - components/tapfiliate/package.json | 5 +- .../tapfiliate.app.ts => tapfiliate.app.mjs} | 6 +- components/tapfiliate/tsconfig.json | 3 - components/td_ameritrade/.gitignore | 3 - components/td_ameritrade/package.json | 5 +- ...meritrade.app.ts => td_ameritrade.app.mjs} | 6 +- components/td_ameritrade/tsconfig.json | 3 - components/teamdeck/.gitignore | 3 - components/teamdeck/package.json | 7 +- .../{app/teamdeck.app.ts => teamdeck.app.mjs} | 6 +- components/teamdeck/tsconfig.json | 3 - components/teamwave/.gitignore | 3 - components/teamwave/package.json | 5 +- .../{app/teamwave.app.ts => teamwave.app.mjs} | 6 +- components/teamwave/tsconfig.json | 3 - components/telesign/.gitignore | 3 - components/telesign/package.json | 5 +- .../{app/telesign.app.ts => telesign.app.mjs} | 6 +- components/telesign/tsconfig.json | 3 - components/terminus_app/.gitignore | 3 - components/terminus_app/package.json | 5 +- ...rminus_app.app.ts => terminus_app.app.mjs} | 6 +- components/terminus_app/tsconfig.json | 3 - components/textgain/.gitignore | 3 - components/textgain/package.json | 5 +- .../{app/textgain.app.ts => textgain.app.mjs} | 6 +- components/textgain/tsconfig.json | 3 - components/textmagic/.gitignore | 3 - components/textmagic/package.json | 5 +- .../textmagic.app.ts => textmagic.app.mjs} | 6 +- components/textmagic/tsconfig.json | 3 - components/thankster/.gitignore | 3 - components/thankster/package.json | 5 +- .../thankster.app.ts => thankster.app.mjs} | 6 +- components/thankster/tsconfig.json | 3 - components/threescribe/.gitignore | 3 - components/threescribe/package.json | 7 +- ...threescribe.app.ts => threescribe.app.mjs} | 6 +- components/threescribe/tsconfig.json | 3 - .../time_tracker_by_ebillity/.gitignore | 3 - .../time_tracker_by_ebillity/package.json | 5 +- ...pp.ts => time_tracker_by_ebillity.app.mjs} | 6 +- .../time_tracker_by_ebillity/tsconfig.json | 3 - components/tmetric/.gitignore | 3 - components/tmetric/package.json | 7 +- .../{app/tmetric.app.ts => tmetric.app.mjs} | 6 +- components/tmetric/tsconfig.json | 3 - components/tolstoy/.gitignore | 3 - components/tolstoy/app/tolstoy.app.ts | 40 -- components/tolstoy/package.json | 7 +- components/tolstoy/tolstoy.app.mjs | 11 + components/tolstoy/tsconfig.json | 3 - components/tomba/.gitignore | 3 - components/tomba/package.json | 7 +- .../tomba/{app/tomba.app.ts => tomba.app.mjs} | 6 +- components/tomba/tsconfig.json | 3 - components/trainual/.gitignore | 3 - components/trainual/package.json | 5 +- .../{app/trainual.app.ts => trainual.app.mjs} | 6 +- components/trainual/tsconfig.json | 3 - components/trint/.gitignore | 3 - components/trint/package.json | 5 +- .../trint/{app/trint.app.ts => trint.app.mjs} | 6 +- components/trint/tsconfig.json | 3 - components/trustpilot/package.json | 2 +- components/trustpilot/trustpilot.app.mjs | 582 +----------------- components/turbohire/.gitignore | 3 - components/turbohire/package.json | 7 +- components/turbohire/tsconfig.json | 3 - .../turbohire.app.ts => turbohire.app.mjs} | 6 +- components/tutor_lms/.gitignore | 3 - components/tutor_lms/package.json | 5 +- components/tutor_lms/tsconfig.json | 3 - .../tutor_lms.app.ts => tutor_lms.app.mjs} | 6 +- components/twelve_data/.gitignore | 3 - components/twelve_data/package.json | 5 +- components/twelve_data/tsconfig.json | 3 - ...twelve_data.app.ts => twelve_data.app.mjs} | 6 +- components/typless/.gitignore | 3 - components/typless/package.json | 7 +- components/typless/tsconfig.json | 3 - .../{app/typless.app.ts => typless.app.mjs} | 6 +- components/uchat/.gitignore | 3 - components/uchat/package.json | 7 +- components/uchat/tsconfig.json | 3 - .../uchat/{app/uchat.app.ts => uchat.app.mjs} | 6 +- .../uk_gov_vehecle_enquiry_api/.gitignore | 3 - .../uk_gov_vehecle_enquiry_api/package.json | 5 +- .../uk_gov_vehecle_enquiry_api/tsconfig.json | 3 - ....ts => uk_gov_vehecle_enquiry_api.app.mjs} | 6 +- components/user_com/.gitignore | 3 - components/user_com/package.json | 7 +- components/user_com/tsconfig.json | 3 - .../{app/user_com.app.ts => user_com.app.mjs} | 6 +- components/utradea/.gitignore | 3 - components/utradea/package.json | 5 +- components/utradea/tsconfig.json | 3 - .../{app/utradea.app.ts => utradea.app.mjs} | 6 +- components/vectera/.gitignore | 3 - components/vectera/package.json | 7 +- components/vectera/tsconfig.json | 3 - .../{app/vectera.app.ts => vectera.app.mjs} | 6 +- components/verifybee/.gitignore | 3 - components/verifybee/package.json | 7 +- components/verifybee/tsconfig.json | 3 - .../verifybee.app.ts => verifybee.app.mjs} | 6 +- components/virustotal/.gitignore | 3 - components/virustotal/package.json | 7 +- components/virustotal/tsconfig.json | 3 - .../virustotal.app.ts => virustotal.app.mjs} | 6 +- components/vivifyscrum/.gitignore | 3 - components/vivifyscrum/package.json | 7 +- components/vivifyscrum/tsconfig.json | 3 - ...vivifyscrum.app.ts => vivifyscrum.app.mjs} | 6 +- components/vk/.gitignore | 3 - components/vk/package.json | 7 +- components/vk/tsconfig.json | 3 - components/vk/{app/vk.app.ts => vk.app.mjs} | 6 +- components/voice/.gitignore | 3 - components/voice/app/voice.app.ts | 13 - components/voice/package.json | 7 +- components/voice/tsconfig.json | 3 - components/voice/voice.app.mjs | 2 +- components/vosfactures/.gitignore | 3 - components/vosfactures/package.json | 7 +- components/vosfactures/tsconfig.json | 3 - ...vosfactures.app.ts => vosfactures.app.mjs} | 6 +- components/warpcast/.gitignore | 3 - components/warpcast/package.json | 5 +- components/warpcast/tsconfig.json | 3 - .../{app/warpcast.app.ts => warpcast.app.mjs} | 6 +- components/watchsignals/.gitignore | 3 - components/watchsignals/package.json | 5 +- components/watchsignals/tsconfig.json | 3 - ...tchsignals.app.ts => watchsignals.app.mjs} | 6 +- components/whosonlocation/.gitignore | 3 - components/whosonlocation/package.json | 5 +- components/whosonlocation/tsconfig.json | 3 - ...location.app.ts => whosonlocation.app.mjs} | 6 +- components/wicked_reports/.gitignore | 3 - components/wicked_reports/package.json | 5 +- components/wicked_reports/tsconfig.json | 3 - ..._reports.app.ts => wicked_reports.app.mjs} | 6 +- components/wire2air/.gitignore | 3 - components/wire2air/package.json | 5 +- components/wire2air/tsconfig.json | 3 - .../{app/wire2air.app.ts => wire2air.app.mjs} | 6 +- components/wishpond/.gitignore | 3 - components/wishpond/package.json | 5 +- components/wishpond/tsconfig.json | 3 - .../{app/wishpond.app.ts => wishpond.app.mjs} | 6 +- components/wix/.gitignore | 3 - components/wix/package.json | 5 +- components/wix/tsconfig.json | 3 - .../wix/{app/wix.app.ts => wix.app.mjs} | 6 +- components/woopra/.gitignore | 3 - components/woopra/package.json | 5 +- components/woopra/tsconfig.json | 3 - .../{app/woopra.app.ts => woopra.app.mjs} | 6 +- components/workiom/.gitignore | 3 - components/workiom/package.json | 7 +- components/workiom/tsconfig.json | 3 - .../{app/workiom.app.ts => workiom.app.mjs} | 6 +- components/worksnaps/.gitignore | 3 - components/worksnaps/package.json | 7 +- components/worksnaps/tsconfig.json | 3 - .../worksnaps.app.ts => worksnaps.app.mjs} | 6 +- components/writesonic/.gitignore | 3 - components/writesonic/package.json | 5 +- components/writesonic/tsconfig.json | 3 - .../writesonic.app.ts => writesonic.app.mjs} | 6 +- components/xperiencify/.gitignore | 3 - components/xperiencify/app/xperiencify.app.ts | 134 ---- components/xperiencify/package.json | 7 +- components/xperiencify/tsconfig.json | 3 - components/xperiencify/xperiencify.app.mjs | 11 + components/yoast_seo/.gitignore | 3 - components/yoast_seo/package.json | 5 +- components/yoast_seo/tsconfig.json | 3 - .../yoast_seo.app.ts => yoast_seo.app.mjs} | 6 +- components/you_can_book_me/.gitignore | 3 - components/you_can_book_me/package.json | 5 +- components/you_can_book_me/tsconfig.json | 3 - ...book_me.app.ts => you_can_book_me.app.mjs} | 6 +- components/yr/.gitignore | 3 - components/yr/package.json | 7 +- components/yr/tsconfig.json | 3 - components/yr/{app/yr.app.ts => yr.app.mjs} | 6 +- components/yumpu/.gitignore | 3 - components/yumpu/package.json | 5 +- components/yumpu/tsconfig.json | 3 - .../yumpu/{app/yumpu.app.ts => yumpu.app.mjs} | 6 +- components/zuora/.gitignore | 3 - components/zuora/package.json | 5 +- components/zuora/tsconfig.json | 3 - .../zuora/{app/zuora.app.ts => zuora.app.mjs} | 6 +- pnpm-lock.yaml | 18 +- 379 files changed, 411 insertions(+), 2119 deletions(-) delete mode 100644 components/selectpdf/.gitignore rename components/selectpdf/{app/selectpdf.app.ts => selectpdf.app.mjs} (71%) delete mode 100644 components/selectpdf/tsconfig.json delete mode 100644 components/sellix/.gitignore rename components/sellix/{app/sellix.app.ts => sellix.app.mjs} (71%) delete mode 100644 components/sellix/tsconfig.json delete mode 100644 components/sendblue/.gitignore rename components/sendblue/{app/sendblue.app.ts => sendblue.app.mjs} (71%) delete mode 100644 components/sendblue/tsconfig.json delete mode 100644 components/sender/.gitignore rename components/sender/{app/sender.app.ts => sender.app.mjs} (71%) delete mode 100644 components/sender/tsconfig.json delete mode 100644 components/sendlane/.gitignore rename components/sendlane/{app/sendlane.app.ts => sendlane.app.mjs} (71%) delete mode 100644 components/sendlane/tsconfig.json delete mode 100644 components/sendle/.gitignore rename components/sendle/{app/sendle.app.ts => sendle.app.mjs} (71%) delete mode 100644 components/sendle/tsconfig.json delete mode 100644 components/serveravatar/.gitignore delete mode 100644 components/serveravatar/app/serveravatar.app.ts create mode 100644 components/serveravatar/serveravatar.app.mjs delete mode 100644 components/serveravatar/tsconfig.json delete mode 100644 components/serwersms_pl/.gitignore rename components/serwersms_pl/{app/serwersms_pl.app.ts => serwersms_pl.app.mjs} (71%) delete mode 100644 components/serwersms_pl/tsconfig.json delete mode 100644 components/shippotoken/.gitignore rename components/shippotoken/{app/shippotoken.app.ts => shippotoken.app.mjs} (71%) delete mode 100644 components/shippotoken/tsconfig.json delete mode 100644 components/showpad/.gitignore rename components/showpad/{app/showpad.app.ts => showpad.app.mjs} (71%) delete mode 100644 components/showpad/tsconfig.json delete mode 100644 components/sierra_interactive/.gitignore rename components/sierra_interactive/{app/sierra_interactive.app.ts => sierra_interactive.app.mjs} (72%) delete mode 100644 components/sierra_interactive/tsconfig.json delete mode 100644 components/signrequest/.gitignore rename components/signrequest/{app/signrequest.app.ts => signrequest.app.mjs} (71%) delete mode 100644 components/signrequest/tsconfig.json delete mode 100644 components/signwell/.gitignore rename components/signwell/{app/signwell.app.ts => signwell.app.mjs} (71%) delete mode 100644 components/signwell/tsconfig.json delete mode 100644 components/simple_analytics/.gitignore rename components/simple_analytics/{app/simple_analytics.app.ts => simple_analytics.app.mjs} (72%) delete mode 100644 components/simple_analytics/tsconfig.json delete mode 100644 components/simplehash/.gitignore rename components/simplehash/{app/simplehash.app.ts => simplehash.app.mjs} (71%) delete mode 100644 components/simplehash/tsconfig.json delete mode 100644 components/simplekpi/.gitignore rename components/simplekpi/{app/simplekpi.app.ts => simplekpi.app.mjs} (71%) delete mode 100644 components/simplekpi/tsconfig.json delete mode 100644 components/simpletexting/.gitignore rename components/simpletexting/{app/simpletexting.app.ts => simpletexting.app.mjs} (71%) delete mode 100644 components/simpletexting/tsconfig.json delete mode 100644 components/slack_demo_app/.gitignore rename components/slack_demo_app/{app/slack_demo_app.app.ts => slack_demo_app.app.mjs} (72%) delete mode 100644 components/slack_demo_app/tsconfig.json delete mode 100644 components/slack_demo_app_1/.gitignore rename components/slack_demo_app_1/{app/slack_demo_app_1.app.ts => slack_demo_app_1.app.mjs} (72%) delete mode 100644 components/slack_demo_app_1/tsconfig.json delete mode 100644 components/smartreach/.gitignore rename components/smartreach/{app/smartreach.app.ts => smartreach.app.mjs} (71%) delete mode 100644 components/smartreach/tsconfig.json delete mode 100644 components/smartrmail/.gitignore rename components/smartrmail/{app/smartrmail.app.ts => smartrmail.app.mjs} (71%) delete mode 100644 components/smartrmail/tsconfig.json delete mode 100644 components/smarty/.gitignore rename components/smarty/{app/smarty.app.ts => smarty.app.mjs} (71%) delete mode 100644 components/smarty/tsconfig.json delete mode 100644 components/sms_it/.gitignore rename components/sms_it/{app/sms_it.app.ts => sms_it.app.mjs} (71%) delete mode 100644 components/sms_it/tsconfig.json delete mode 100644 components/sms_magic/.gitignore rename components/sms_magic/{app/sms_magic.app.ts => sms_magic.app.mjs} (71%) delete mode 100644 components/sms_magic/tsconfig.json delete mode 100644 components/snapchat_marketing/.gitignore rename components/snapchat_marketing/{app/snapchat_marketing.app.ts => snapchat_marketing.app.mjs} (72%) delete mode 100644 components/snapchat_marketing/tsconfig.json delete mode 100644 components/snapdocs/.gitignore rename components/snapdocs/{app/snapdocs.app.ts => snapdocs.app.mjs} (71%) delete mode 100644 components/snapdocs/tsconfig.json delete mode 100644 components/snyk/.gitignore rename components/snyk/{app/snyk.app.ts => snyk.app.mjs} (70%) delete mode 100644 components/snyk/tsconfig.json delete mode 100644 components/softledger/.gitignore rename components/softledger/{app/softledger.app.ts => softledger.app.mjs} (71%) delete mode 100644 components/softledger/tsconfig.json delete mode 100644 components/solarwinds_service_desk/.gitignore rename components/solarwinds_service_desk/{app/solarwinds_service_desk.app.ts => solarwinds_service_desk.app.mjs} (72%) delete mode 100644 components/solarwinds_service_desk/tsconfig.json delete mode 100644 components/sportsdata/.gitignore rename components/sportsdata/{app/sportsdata.app.ts => sportsdata.app.mjs} (71%) delete mode 100644 components/sportsdata/tsconfig.json delete mode 100644 components/starton/.gitignore rename components/starton/{app/starton.app.ts => starton.app.mjs} (71%) delete mode 100644 components/starton/tsconfig.json delete mode 100644 components/stealthseminar/.gitignore rename components/stealthseminar/{app/stealthseminar.app.ts => stealthseminar.app.mjs} (72%) delete mode 100644 components/stealthseminar/tsconfig.json delete mode 100644 components/stormglass_io/.gitignore rename components/stormglass_io/{app/stormglass_io.app.ts => stormglass_io.app.mjs} (71%) delete mode 100644 components/stormglass_io/tsconfig.json delete mode 100644 components/studio_by_ai21_labs/.gitignore rename components/studio_by_ai21_labs/{app/studio_by_ai21_labs.app.ts => studio_by_ai21_labs.app.mjs} (72%) delete mode 100644 components/studio_by_ai21_labs/tsconfig.json delete mode 100644 components/successeve/.gitignore rename components/successeve/{app/successeve.app.ts => successeve.app.mjs} (71%) delete mode 100644 components/successeve/tsconfig.json delete mode 100644 components/sugarcrm_/.gitignore rename components/sugarcrm_/{app/sugarcrm_.app.ts => sugarcrm_.app.mjs} (71%) delete mode 100644 components/sugarcrm_/tsconfig.json delete mode 100644 components/survey2connect/.gitignore rename components/survey2connect/{app/survey2connect.app.ts => survey2connect.app.mjs} (72%) delete mode 100644 components/survey2connect/tsconfig.json delete mode 100644 components/survicate/.gitignore rename components/survicate/{app/survicate.app.ts => survicate.app.mjs} (71%) delete mode 100644 components/survicate/tsconfig.json delete mode 100644 components/swiftype/.gitignore rename components/swiftype/{app/swiftype.app.ts => swiftype.app.mjs} (71%) delete mode 100644 components/swiftype/tsconfig.json delete mode 100644 components/switchboard/.gitignore rename components/switchboard/{app/switchboard.app.ts => switchboard.app.mjs} (71%) delete mode 100644 components/switchboard/tsconfig.json delete mode 100644 components/syncro/.gitignore rename components/syncro/{app/syncro.app.ts => syncro.app.mjs} (71%) delete mode 100644 components/syncro/tsconfig.json delete mode 100644 components/t2m_url_shortener/.gitignore rename components/t2m_url_shortener/{app/t2m_url_shortener.app.ts => t2m_url_shortener.app.mjs} (72%) delete mode 100644 components/t2m_url_shortener/tsconfig.json delete mode 100644 components/talenox/.gitignore rename components/talenox/{app/talenox.app.ts => talenox.app.mjs} (71%) delete mode 100644 components/talenox/tsconfig.json delete mode 100644 components/talentlms/.gitignore rename components/talentlms/{app/talentlms.app.ts => talentlms.app.mjs} (71%) delete mode 100644 components/talentlms/tsconfig.json delete mode 100644 components/talkspirit/.gitignore rename components/talkspirit/{app/talkspirit.app.ts => talkspirit.app.mjs} (71%) delete mode 100644 components/talkspirit/tsconfig.json delete mode 100644 components/tapfiliate/.gitignore rename components/tapfiliate/{app/tapfiliate.app.ts => tapfiliate.app.mjs} (71%) delete mode 100644 components/tapfiliate/tsconfig.json delete mode 100644 components/td_ameritrade/.gitignore rename components/td_ameritrade/{app/td_ameritrade.app.ts => td_ameritrade.app.mjs} (71%) delete mode 100644 components/td_ameritrade/tsconfig.json delete mode 100644 components/teamdeck/.gitignore rename components/teamdeck/{app/teamdeck.app.ts => teamdeck.app.mjs} (71%) delete mode 100644 components/teamdeck/tsconfig.json delete mode 100644 components/teamwave/.gitignore rename components/teamwave/{app/teamwave.app.ts => teamwave.app.mjs} (71%) delete mode 100644 components/teamwave/tsconfig.json delete mode 100644 components/telesign/.gitignore rename components/telesign/{app/telesign.app.ts => telesign.app.mjs} (71%) delete mode 100644 components/telesign/tsconfig.json delete mode 100644 components/terminus_app/.gitignore rename components/terminus_app/{app/terminus_app.app.ts => terminus_app.app.mjs} (71%) delete mode 100644 components/terminus_app/tsconfig.json delete mode 100644 components/textgain/.gitignore rename components/textgain/{app/textgain.app.ts => textgain.app.mjs} (71%) delete mode 100644 components/textgain/tsconfig.json delete mode 100644 components/textmagic/.gitignore rename components/textmagic/{app/textmagic.app.ts => textmagic.app.mjs} (71%) delete mode 100644 components/textmagic/tsconfig.json delete mode 100644 components/thankster/.gitignore rename components/thankster/{app/thankster.app.ts => thankster.app.mjs} (71%) delete mode 100644 components/thankster/tsconfig.json delete mode 100644 components/threescribe/.gitignore rename components/threescribe/{app/threescribe.app.ts => threescribe.app.mjs} (71%) delete mode 100644 components/threescribe/tsconfig.json delete mode 100644 components/time_tracker_by_ebillity/.gitignore rename components/time_tracker_by_ebillity/{app/time_tracker_by_ebillity.app.ts => time_tracker_by_ebillity.app.mjs} (73%) delete mode 100644 components/time_tracker_by_ebillity/tsconfig.json delete mode 100644 components/tmetric/.gitignore rename components/tmetric/{app/tmetric.app.ts => tmetric.app.mjs} (71%) delete mode 100644 components/tmetric/tsconfig.json delete mode 100644 components/tolstoy/.gitignore delete mode 100644 components/tolstoy/app/tolstoy.app.ts create mode 100644 components/tolstoy/tolstoy.app.mjs delete mode 100644 components/tolstoy/tsconfig.json delete mode 100644 components/tomba/.gitignore rename components/tomba/{app/tomba.app.ts => tomba.app.mjs} (70%) delete mode 100644 components/tomba/tsconfig.json delete mode 100644 components/trainual/.gitignore rename components/trainual/{app/trainual.app.ts => trainual.app.mjs} (71%) delete mode 100644 components/trainual/tsconfig.json delete mode 100644 components/trint/.gitignore rename components/trint/{app/trint.app.ts => trint.app.mjs} (71%) delete mode 100644 components/trint/tsconfig.json delete mode 100644 components/turbohire/.gitignore delete mode 100644 components/turbohire/tsconfig.json rename components/turbohire/{app/turbohire.app.ts => turbohire.app.mjs} (71%) delete mode 100644 components/tutor_lms/.gitignore delete mode 100644 components/tutor_lms/tsconfig.json rename components/tutor_lms/{app/tutor_lms.app.ts => tutor_lms.app.mjs} (71%) delete mode 100644 components/twelve_data/.gitignore delete mode 100644 components/twelve_data/tsconfig.json rename components/twelve_data/{app/twelve_data.app.ts => twelve_data.app.mjs} (71%) delete mode 100644 components/typless/.gitignore delete mode 100644 components/typless/tsconfig.json rename components/typless/{app/typless.app.ts => typless.app.mjs} (71%) delete mode 100644 components/uchat/.gitignore delete mode 100644 components/uchat/tsconfig.json rename components/uchat/{app/uchat.app.ts => uchat.app.mjs} (70%) delete mode 100644 components/uk_gov_vehecle_enquiry_api/.gitignore delete mode 100644 components/uk_gov_vehecle_enquiry_api/tsconfig.json rename components/uk_gov_vehecle_enquiry_api/{app/uk_gov_vehecle_enquiry_api.app.ts => uk_gov_vehecle_enquiry_api.app.mjs} (73%) delete mode 100644 components/user_com/.gitignore delete mode 100644 components/user_com/tsconfig.json rename components/user_com/{app/user_com.app.ts => user_com.app.mjs} (71%) delete mode 100644 components/utradea/.gitignore delete mode 100644 components/utradea/tsconfig.json rename components/utradea/{app/utradea.app.ts => utradea.app.mjs} (71%) delete mode 100644 components/vectera/.gitignore delete mode 100644 components/vectera/tsconfig.json rename components/vectera/{app/vectera.app.ts => vectera.app.mjs} (71%) delete mode 100644 components/verifybee/.gitignore delete mode 100644 components/verifybee/tsconfig.json rename components/verifybee/{app/verifybee.app.ts => verifybee.app.mjs} (71%) delete mode 100644 components/virustotal/.gitignore delete mode 100644 components/virustotal/tsconfig.json rename components/virustotal/{app/virustotal.app.ts => virustotal.app.mjs} (71%) delete mode 100644 components/vivifyscrum/.gitignore delete mode 100644 components/vivifyscrum/tsconfig.json rename components/vivifyscrum/{app/vivifyscrum.app.ts => vivifyscrum.app.mjs} (71%) delete mode 100644 components/vk/.gitignore delete mode 100644 components/vk/tsconfig.json rename components/vk/{app/vk.app.ts => vk.app.mjs} (70%) delete mode 100644 components/voice/.gitignore delete mode 100644 components/voice/app/voice.app.ts delete mode 100644 components/voice/tsconfig.json delete mode 100644 components/vosfactures/.gitignore delete mode 100644 components/vosfactures/tsconfig.json rename components/vosfactures/{app/vosfactures.app.ts => vosfactures.app.mjs} (71%) delete mode 100644 components/warpcast/.gitignore delete mode 100644 components/warpcast/tsconfig.json rename components/warpcast/{app/warpcast.app.ts => warpcast.app.mjs} (71%) delete mode 100644 components/watchsignals/.gitignore delete mode 100644 components/watchsignals/tsconfig.json rename components/watchsignals/{app/watchsignals.app.ts => watchsignals.app.mjs} (71%) delete mode 100644 components/whosonlocation/.gitignore delete mode 100644 components/whosonlocation/tsconfig.json rename components/whosonlocation/{app/whosonlocation.app.ts => whosonlocation.app.mjs} (72%) delete mode 100644 components/wicked_reports/.gitignore delete mode 100644 components/wicked_reports/tsconfig.json rename components/wicked_reports/{app/wicked_reports.app.ts => wicked_reports.app.mjs} (72%) delete mode 100644 components/wire2air/.gitignore delete mode 100644 components/wire2air/tsconfig.json rename components/wire2air/{app/wire2air.app.ts => wire2air.app.mjs} (71%) delete mode 100644 components/wishpond/.gitignore delete mode 100644 components/wishpond/tsconfig.json rename components/wishpond/{app/wishpond.app.ts => wishpond.app.mjs} (71%) delete mode 100644 components/wix/.gitignore delete mode 100644 components/wix/tsconfig.json rename components/wix/{app/wix.app.ts => wix.app.mjs} (70%) delete mode 100644 components/woopra/.gitignore delete mode 100644 components/woopra/tsconfig.json rename components/woopra/{app/woopra.app.ts => woopra.app.mjs} (71%) delete mode 100644 components/workiom/.gitignore delete mode 100644 components/workiom/tsconfig.json rename components/workiom/{app/workiom.app.ts => workiom.app.mjs} (71%) delete mode 100644 components/worksnaps/.gitignore delete mode 100644 components/worksnaps/tsconfig.json rename components/worksnaps/{app/worksnaps.app.ts => worksnaps.app.mjs} (71%) delete mode 100644 components/writesonic/.gitignore delete mode 100644 components/writesonic/tsconfig.json rename components/writesonic/{app/writesonic.app.ts => writesonic.app.mjs} (71%) delete mode 100644 components/xperiencify/.gitignore delete mode 100644 components/xperiencify/app/xperiencify.app.ts delete mode 100644 components/xperiencify/tsconfig.json create mode 100644 components/xperiencify/xperiencify.app.mjs delete mode 100644 components/yoast_seo/.gitignore delete mode 100644 components/yoast_seo/tsconfig.json rename components/yoast_seo/{app/yoast_seo.app.ts => yoast_seo.app.mjs} (71%) delete mode 100644 components/you_can_book_me/.gitignore delete mode 100644 components/you_can_book_me/tsconfig.json rename components/you_can_book_me/{app/you_can_book_me.app.ts => you_can_book_me.app.mjs} (71%) delete mode 100644 components/yr/.gitignore delete mode 100644 components/yr/tsconfig.json rename components/yr/{app/yr.app.ts => yr.app.mjs} (70%) delete mode 100644 components/yumpu/.gitignore delete mode 100644 components/yumpu/tsconfig.json rename components/yumpu/{app/yumpu.app.ts => yumpu.app.mjs} (71%) delete mode 100644 components/zuora/.gitignore delete mode 100644 components/zuora/tsconfig.json rename components/zuora/{app/zuora.app.ts => zuora.app.mjs} (70%) diff --git a/components/selectpdf/.gitignore b/components/selectpdf/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/selectpdf/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/selectpdf/package.json b/components/selectpdf/package.json index 8f9e66a7ae610..988e34a6c742e 100644 --- a/components/selectpdf/package.json +++ b/components/selectpdf/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/selectpdf", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SelectPdf Components", - "main": "dist/app/selectpdf.app.mjs", + "main": "selectpdf.app.mjs", "keywords": [ "pipedream", "selectpdf" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/selectpdf", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/selectpdf/app/selectpdf.app.ts b/components/selectpdf/selectpdf.app.mjs similarity index 71% rename from components/selectpdf/app/selectpdf.app.ts rename to components/selectpdf/selectpdf.app.mjs index 50bbf0362820e..a1655f0b20467 100644 --- a/components/selectpdf/app/selectpdf.app.ts +++ b/components/selectpdf/selectpdf.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "selectpdf", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/selectpdf/tsconfig.json b/components/selectpdf/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/selectpdf/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sellix/.gitignore b/components/sellix/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sellix/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sellix/package.json b/components/sellix/package.json index d6dd9d94bf9e3..087ad7cea6aa3 100644 --- a/components/sellix/package.json +++ b/components/sellix/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/sellix", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Sellix Components", - "main": "dist/app/sellix.app.mjs", + "main": "sellix.app.mjs", "keywords": [ "pipedream", "sellix" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/sellix", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sellix/app/sellix.app.ts b/components/sellix/sellix.app.mjs similarity index 71% rename from components/sellix/app/sellix.app.ts rename to components/sellix/sellix.app.mjs index 05b60839e9439..f0ae1036f4d6a 100644 --- a/components/sellix/app/sellix.app.ts +++ b/components/sellix/sellix.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sellix", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sellix/tsconfig.json b/components/sellix/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sellix/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sendblue/.gitignore b/components/sendblue/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sendblue/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sendblue/package.json b/components/sendblue/package.json index a9bc5f7ad7eac..b257ec0646eff 100644 --- a/components/sendblue/package.json +++ b/components/sendblue/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sendblue", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Sendblue Components", - "main": "dist/app/sendblue.app.mjs", + "main": "sendblue.app.mjs", "keywords": [ "pipedream", "sendblue" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sendblue", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sendblue/app/sendblue.app.ts b/components/sendblue/sendblue.app.mjs similarity index 71% rename from components/sendblue/app/sendblue.app.ts rename to components/sendblue/sendblue.app.mjs index 119bc46dd4aaf..4b7925db9cb57 100644 --- a/components/sendblue/app/sendblue.app.ts +++ b/components/sendblue/sendblue.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sendblue", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sendblue/tsconfig.json b/components/sendblue/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sendblue/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sender/.gitignore b/components/sender/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sender/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sender/package.json b/components/sender/package.json index 71d422e889b29..c87a4130ddd89 100644 --- a/components/sender/package.json +++ b/components/sender/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/sender", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Sender Components", - "main": "dist/app/sender.app.mjs", + "main": "sender.app.mjs", "keywords": [ "pipedream", "sender" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/sender", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sender/app/sender.app.ts b/components/sender/sender.app.mjs similarity index 71% rename from components/sender/app/sender.app.ts rename to components/sender/sender.app.mjs index b70333289742f..3394b0aaa8399 100644 --- a/components/sender/app/sender.app.ts +++ b/components/sender/sender.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sender", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sender/tsconfig.json b/components/sender/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sender/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sendlane/.gitignore b/components/sendlane/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sendlane/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sendlane/package.json b/components/sendlane/package.json index cc72a9fb1805f..958d540670961 100644 --- a/components/sendlane/package.json +++ b/components/sendlane/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sendlane", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Sendlane Components", - "main": "dist/app/sendlane.app.mjs", + "main": "sendlane.app.mjs", "keywords": [ "pipedream", "sendlane" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sendlane", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sendlane/app/sendlane.app.ts b/components/sendlane/sendlane.app.mjs similarity index 71% rename from components/sendlane/app/sendlane.app.ts rename to components/sendlane/sendlane.app.mjs index 4681ce27fb441..0299026f519d3 100644 --- a/components/sendlane/app/sendlane.app.ts +++ b/components/sendlane/sendlane.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sendlane", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/sendlane/tsconfig.json b/components/sendlane/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sendlane/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sendle/.gitignore b/components/sendle/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sendle/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sendle/package.json b/components/sendle/package.json index 67f242c7f6691..7ffdf72fc4999 100644 --- a/components/sendle/package.json +++ b/components/sendle/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/sendle", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Sendle Components", - "main": "dist/app/sendle.app.mjs", + "main": "sendle.app.mjs", "keywords": [ "pipedream", "sendle" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/sendle", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sendle/app/sendle.app.ts b/components/sendle/sendle.app.mjs similarity index 71% rename from components/sendle/app/sendle.app.ts rename to components/sendle/sendle.app.mjs index a35afe6faf422..3dba8935be538 100644 --- a/components/sendle/app/sendle.app.ts +++ b/components/sendle/sendle.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sendle", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sendle/tsconfig.json b/components/sendle/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sendle/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/serveravatar/.gitignore b/components/serveravatar/.gitignore deleted file mode 100644 index 7dbffc80e15ae..0000000000000 --- a/components/serveravatar/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist diff --git a/components/serveravatar/app/serveravatar.app.ts b/components/serveravatar/app/serveravatar.app.ts deleted file mode 100644 index 7b4ede598efeb..0000000000000 --- a/components/serveravatar/app/serveravatar.app.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { defineApp } from "@pipedream/types"; -import { axios } from "@pipedream/platform"; - -export default defineApp({ - type: "app", - app: "serveravatar", - propDefinitions: {}, - methods: { - _getBaseUrl() { - return "https://api.serveravatar.com"; - }, - _getHeaders() { - return { - "content-type": "application/json", - "authorization": `${this.$auth.api_key}`, - }; - }, - _getRequestParams(opts: any) { - return { - ...opts, - url: this._getBaseUrl() + opts.path, - headers: this._getHeaders(), - }; - }, - async createApplicationDomain(ctx = this, newAppDomainData: any) { - return await axios(ctx, this._getRequestParams({ - method: "POST", - path: "/domains", - data: newAppDomainData, - })); - }, - async listTeams() { - const teamsResponse = await axios(this, this._getRequestParams({ - method: "GET", - path: "/teams", - })); - return teamsResponse.teams; - }, - async listServers(teams: any[]) { - const teamServersPromise = teams.map((team: any) => { - return axios(this, this._getRequestParams({ - method: "GET", - path: `/teams/${team.id}/servers`, - })); - }); - const teamsServers = await Promise.all(teamServersPromise); - return teamsServers - .map((teamServers: any) => (teamServers.servers)) - .flat() - .filter((server: any) => server.status === "1"); - }, - async listAllServersOptions() { - const teams = await this.listTeams(); - const servers = await this.listServers(teams); - return servers.map((server: any) => ({ - label: `${server.name} - ${server.ip}`, - value: server.id, - })); - }, - async listApplications(serverId: number, page: number) { - const serverApplications = await axios(this, this._getRequestParams({ - method: "GET", - path: `/servers/${serverId}/applications?page=${page}`, - })); - return serverApplications?.applications; - }, - async listApplicationsOptions(serverId: number, prevContext: any) { - if (!serverId) { - return []; - } - const page = prevContext.page - ? prevContext.page + 1 - : 1; - const applications = await this.listApplications(serverId, page); - const options = applications.data.map((application: any) => ({ - label: `${application.name} - ${application.framework}`, - value: application.id, - })); - return { - options, - context: { - page: applications.current_page, - }, - }; - }, - }, -}); diff --git a/components/serveravatar/package.json b/components/serveravatar/package.json index 6fb2990675d65..ff140c1424e72 100644 --- a/components/serveravatar/package.json +++ b/components/serveravatar/package.json @@ -1,12 +1,9 @@ { "name": "@pipedream/serveravatar", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Server Avatar Components", - "main": "dist/app/serveravatar.app.mjs", + "main": "serveravatar.app.mjs", "types": "dist/app/serveravatar.app.d.ts", - "files": [ - "dist" - ], "keywords": [ "pipedream", "serveravatar" diff --git a/components/serveravatar/serveravatar.app.mjs b/components/serveravatar/serveravatar.app.mjs new file mode 100644 index 0000000000000..88f433764e798 --- /dev/null +++ b/components/serveravatar/serveravatar.app.mjs @@ -0,0 +1,11 @@ +export default { + type: "app", + app: "serveravatar", + propDefinitions: {}, + methods: { + // this.$auth contains connected account data + authKeys() { + console.log(Object.keys(this.$auth)); + }, + }, +}; diff --git a/components/serveravatar/tsconfig.json b/components/serveravatar/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/serveravatar/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/serwersms_pl/.gitignore b/components/serwersms_pl/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/serwersms_pl/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/serwersms_pl/package.json b/components/serwersms_pl/package.json index 0a06158958c10..acc760bf46570 100644 --- a/components/serwersms_pl/package.json +++ b/components/serwersms_pl/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/serwersms_pl", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SerwerSMS.pl Components", - "main": "dist/app/serwersms_pl.app.mjs", + "main": "serwersms_pl.app.mjs", "keywords": [ "pipedream", "serwersms_pl" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/serwersms_pl", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/serwersms_pl/app/serwersms_pl.app.ts b/components/serwersms_pl/serwersms_pl.app.mjs similarity index 71% rename from components/serwersms_pl/app/serwersms_pl.app.ts rename to components/serwersms_pl/serwersms_pl.app.mjs index 7f8d59efc823e..0981eff2cfd22 100644 --- a/components/serwersms_pl/app/serwersms_pl.app.ts +++ b/components/serwersms_pl/serwersms_pl.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "serwersms_pl", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/serwersms_pl/tsconfig.json b/components/serwersms_pl/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/serwersms_pl/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/shippotoken/.gitignore b/components/shippotoken/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/shippotoken/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/shippotoken/package.json b/components/shippotoken/package.json index ab51781517c99..333daef9cbe8d 100644 --- a/components/shippotoken/package.json +++ b/components/shippotoken/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/shippotoken", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream ShippoToken Components", - "main": "dist/app/shippotoken.app.mjs", + "main": "shippotoken.app.mjs", "keywords": [ "pipedream", "shippotoken" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/shippotoken", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/shippotoken/app/shippotoken.app.ts b/components/shippotoken/shippotoken.app.mjs similarity index 71% rename from components/shippotoken/app/shippotoken.app.ts rename to components/shippotoken/shippotoken.app.mjs index 247fe3b4c31b2..62af602dae47a 100644 --- a/components/shippotoken/app/shippotoken.app.ts +++ b/components/shippotoken/shippotoken.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "shippotoken", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/shippotoken/tsconfig.json b/components/shippotoken/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/shippotoken/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/showpad/.gitignore b/components/showpad/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/showpad/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/showpad/package.json b/components/showpad/package.json index 2fdcdd7205ae7..8d68b3b16d369 100644 --- a/components/showpad/package.json +++ b/components/showpad/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/showpad", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Showpad Components", - "main": "dist/app/showpad.app.mjs", + "main": "showpad.app.mjs", "keywords": [ "pipedream", "showpad" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/showpad", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/showpad/app/showpad.app.ts b/components/showpad/showpad.app.mjs similarity index 71% rename from components/showpad/app/showpad.app.ts rename to components/showpad/showpad.app.mjs index 1e3e44a8e4e97..166b571392a97 100644 --- a/components/showpad/app/showpad.app.ts +++ b/components/showpad/showpad.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "showpad", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/showpad/tsconfig.json b/components/showpad/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/showpad/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sierra_interactive/.gitignore b/components/sierra_interactive/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sierra_interactive/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sierra_interactive/package.json b/components/sierra_interactive/package.json index 1424c86c96338..4fc9bda7f0999 100644 --- a/components/sierra_interactive/package.json +++ b/components/sierra_interactive/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sierra_interactive", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Sierra Interactive Components", - "main": "dist/app/sierra_interactive.app.mjs", + "main": "sierra_interactive.app.mjs", "keywords": [ "pipedream", "sierra_interactive" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sierra_interactive", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sierra_interactive/app/sierra_interactive.app.ts b/components/sierra_interactive/sierra_interactive.app.mjs similarity index 72% rename from components/sierra_interactive/app/sierra_interactive.app.ts rename to components/sierra_interactive/sierra_interactive.app.mjs index c9ede4824a03e..bfb54cac05c48 100644 --- a/components/sierra_interactive/app/sierra_interactive.app.ts +++ b/components/sierra_interactive/sierra_interactive.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sierra_interactive", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/sierra_interactive/tsconfig.json b/components/sierra_interactive/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sierra_interactive/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/signrequest/.gitignore b/components/signrequest/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/signrequest/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/signrequest/package.json b/components/signrequest/package.json index a6bf09604e634..c73fb501bce06 100644 --- a/components/signrequest/package.json +++ b/components/signrequest/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/signrequest", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SignRequest Components", - "main": "dist/app/signrequest.app.mjs", + "main": "signrequest.app.mjs", "keywords": [ "pipedream", "signrequest" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/signrequest", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/signrequest/app/signrequest.app.ts b/components/signrequest/signrequest.app.mjs similarity index 71% rename from components/signrequest/app/signrequest.app.ts rename to components/signrequest/signrequest.app.mjs index 1b3d400161cf1..9d70d7c01357a 100644 --- a/components/signrequest/app/signrequest.app.ts +++ b/components/signrequest/signrequest.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "signrequest", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/signrequest/tsconfig.json b/components/signrequest/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/signrequest/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/signwell/.gitignore b/components/signwell/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/signwell/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/signwell/package.json b/components/signwell/package.json index a997b834c887f..4fc5fbfab4f83 100644 --- a/components/signwell/package.json +++ b/components/signwell/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/signwell", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream SignWell Components", - "main": "dist/app/signwell.app.mjs", + "main": "signwell.app.mjs", "keywords": [ "pipedream", "signwell" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/signwell", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/signwell/app/signwell.app.ts b/components/signwell/signwell.app.mjs similarity index 71% rename from components/signwell/app/signwell.app.ts rename to components/signwell/signwell.app.mjs index 1690d2c9f9ab5..e96310e436de7 100644 --- a/components/signwell/app/signwell.app.ts +++ b/components/signwell/signwell.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "signwell", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/signwell/tsconfig.json b/components/signwell/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/signwell/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/simple_analytics/.gitignore b/components/simple_analytics/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/simple_analytics/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/simple_analytics/package.json b/components/simple_analytics/package.json index d29e55fa03171..1eea4deacc65d 100644 --- a/components/simple_analytics/package.json +++ b/components/simple_analytics/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/simple_analytics", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Simple Analytics Components", - "main": "dist/app/simple_analytics.app.mjs", + "main": "simple_analytics.app.mjs", "keywords": [ "pipedream", "simple_analytics" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/simple_analytics", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/simple_analytics/app/simple_analytics.app.ts b/components/simple_analytics/simple_analytics.app.mjs similarity index 72% rename from components/simple_analytics/app/simple_analytics.app.ts rename to components/simple_analytics/simple_analytics.app.mjs index dab3b243c361e..c179b928317fc 100644 --- a/components/simple_analytics/app/simple_analytics.app.ts +++ b/components/simple_analytics/simple_analytics.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "simple_analytics", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/simple_analytics/tsconfig.json b/components/simple_analytics/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/simple_analytics/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/simplehash/.gitignore b/components/simplehash/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/simplehash/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/simplehash/package.json b/components/simplehash/package.json index 0f18c36a7d681..72fcab6619eb2 100644 --- a/components/simplehash/package.json +++ b/components/simplehash/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/simplehash", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream SimpleHash Components", - "main": "dist/app/simplehash.app.mjs", + "main": "simplehash.app.mjs", "keywords": [ "pipedream", "simplehash" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/simplehash", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/simplehash/app/simplehash.app.ts b/components/simplehash/simplehash.app.mjs similarity index 71% rename from components/simplehash/app/simplehash.app.ts rename to components/simplehash/simplehash.app.mjs index e6609809923cf..a72afa30bf259 100644 --- a/components/simplehash/app/simplehash.app.ts +++ b/components/simplehash/simplehash.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "simplehash", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/simplehash/tsconfig.json b/components/simplehash/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/simplehash/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/simplekpi/.gitignore b/components/simplekpi/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/simplekpi/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/simplekpi/package.json b/components/simplekpi/package.json index 84cff4736a227..134a13bcd952e 100644 --- a/components/simplekpi/package.json +++ b/components/simplekpi/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/simplekpi", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SimpleKPI Components", - "main": "dist/app/simplekpi.app.mjs", + "main": "simplekpi.app.mjs", "keywords": [ "pipedream", "simplekpi" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/simplekpi", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/simplekpi/app/simplekpi.app.ts b/components/simplekpi/simplekpi.app.mjs similarity index 71% rename from components/simplekpi/app/simplekpi.app.ts rename to components/simplekpi/simplekpi.app.mjs index 44b46a0c1bdd5..843203b0cd7ed 100644 --- a/components/simplekpi/app/simplekpi.app.ts +++ b/components/simplekpi/simplekpi.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "simplekpi", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/simplekpi/tsconfig.json b/components/simplekpi/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/simplekpi/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/simpletexting/.gitignore b/components/simpletexting/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/simpletexting/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/simpletexting/package.json b/components/simpletexting/package.json index a48f05038e9f5..c24abe64f81a5 100644 --- a/components/simpletexting/package.json +++ b/components/simpletexting/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/simpletexting", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream SimpleTexting Components", - "main": "dist/app/simpletexting.app.mjs", + "main": "simpletexting.app.mjs", "keywords": [ "pipedream", "simpletexting" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/simpletexting", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/simpletexting/app/simpletexting.app.ts b/components/simpletexting/simpletexting.app.mjs similarity index 71% rename from components/simpletexting/app/simpletexting.app.ts rename to components/simpletexting/simpletexting.app.mjs index 4ae893e9440e4..22a8ebc9baf82 100644 --- a/components/simpletexting/app/simpletexting.app.ts +++ b/components/simpletexting/simpletexting.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "simpletexting", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/simpletexting/tsconfig.json b/components/simpletexting/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/simpletexting/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/slack_demo_app/.gitignore b/components/slack_demo_app/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/slack_demo_app/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/slack_demo_app/package.json b/components/slack_demo_app/package.json index 1f70001799a3c..38dd4644c8c18 100644 --- a/components/slack_demo_app/package.json +++ b/components/slack_demo_app/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/slack_demo_app", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Slack Demo App Components", - "main": "dist/app/slack_demo_app.app.mjs", + "main": "slack_demo_app.app.mjs", "keywords": [ "pipedream", "slack_demo_app" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/slack_demo_app", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/slack_demo_app/app/slack_demo_app.app.ts b/components/slack_demo_app/slack_demo_app.app.mjs similarity index 72% rename from components/slack_demo_app/app/slack_demo_app.app.ts rename to components/slack_demo_app/slack_demo_app.app.mjs index 40febd3d1a159..cdd80add6b34c 100644 --- a/components/slack_demo_app/app/slack_demo_app.app.ts +++ b/components/slack_demo_app/slack_demo_app.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "slack_demo_app", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/slack_demo_app/tsconfig.json b/components/slack_demo_app/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/slack_demo_app/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/slack_demo_app_1/.gitignore b/components/slack_demo_app_1/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/slack_demo_app_1/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/slack_demo_app_1/package.json b/components/slack_demo_app_1/package.json index 6f210d330f46b..01a0d719df7ae 100644 --- a/components/slack_demo_app_1/package.json +++ b/components/slack_demo_app_1/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/slack_demo_app_1", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Slack Demo App 1 Components", - "main": "dist/app/slack_demo_app_1.app.mjs", + "main": "slack_demo_app_1.app.mjs", "keywords": [ "pipedream", "slack_demo_app_1" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/slack_demo_app_1", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/slack_demo_app_1/app/slack_demo_app_1.app.ts b/components/slack_demo_app_1/slack_demo_app_1.app.mjs similarity index 72% rename from components/slack_demo_app_1/app/slack_demo_app_1.app.ts rename to components/slack_demo_app_1/slack_demo_app_1.app.mjs index 27b1d9a0caa5c..6e307e75ba09b 100644 --- a/components/slack_demo_app_1/app/slack_demo_app_1.app.ts +++ b/components/slack_demo_app_1/slack_demo_app_1.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "slack_demo_app_1", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/slack_demo_app_1/tsconfig.json b/components/slack_demo_app_1/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/slack_demo_app_1/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/smartreach/.gitignore b/components/smartreach/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/smartreach/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/smartreach/package.json b/components/smartreach/package.json index 6dbcd95ab851e..b79d5cbd21a11 100644 --- a/components/smartreach/package.json +++ b/components/smartreach/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/smartreach", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SmartReach Components", - "main": "dist/app/smartreach.app.mjs", + "main": "smartreach.app.mjs", "keywords": [ "pipedream", "smartreach" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/smartreach", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/smartreach/app/smartreach.app.ts b/components/smartreach/smartreach.app.mjs similarity index 71% rename from components/smartreach/app/smartreach.app.ts rename to components/smartreach/smartreach.app.mjs index 4dc90d430bbc4..303c92719006b 100644 --- a/components/smartreach/app/smartreach.app.ts +++ b/components/smartreach/smartreach.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "smartreach", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/smartreach/tsconfig.json b/components/smartreach/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/smartreach/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/smartrmail/.gitignore b/components/smartrmail/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/smartrmail/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/smartrmail/package.json b/components/smartrmail/package.json index f59334080fca9..bb27a6e535ec1 100644 --- a/components/smartrmail/package.json +++ b/components/smartrmail/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/smartrmail", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SmartrMail Components", - "main": "dist/app/smartrmail.app.mjs", + "main": "smartrmail.app.mjs", "keywords": [ "pipedream", "smartrmail" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/smartrmail", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/smartrmail/app/smartrmail.app.ts b/components/smartrmail/smartrmail.app.mjs similarity index 71% rename from components/smartrmail/app/smartrmail.app.ts rename to components/smartrmail/smartrmail.app.mjs index 94d7745c648bd..f33345af80b6d 100644 --- a/components/smartrmail/app/smartrmail.app.ts +++ b/components/smartrmail/smartrmail.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "smartrmail", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/smartrmail/tsconfig.json b/components/smartrmail/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/smartrmail/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/smarty/.gitignore b/components/smarty/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/smarty/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/smarty/package.json b/components/smarty/package.json index 2d81ef19fde1e..5ed0e3f66fe89 100644 --- a/components/smarty/package.json +++ b/components/smarty/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/smarty", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Smarty Components", - "main": "dist/app/smarty.app.mjs", + "main": "smarty.app.mjs", "keywords": [ "pipedream", "smarty" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/smarty", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/smarty/app/smarty.app.ts b/components/smarty/smarty.app.mjs similarity index 71% rename from components/smarty/app/smarty.app.ts rename to components/smarty/smarty.app.mjs index 5e9d5360cdd8a..34012ad2c721b 100644 --- a/components/smarty/app/smarty.app.ts +++ b/components/smarty/smarty.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "smarty", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/smarty/tsconfig.json b/components/smarty/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/smarty/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sms_it/.gitignore b/components/sms_it/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sms_it/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sms_it/package.json b/components/sms_it/package.json index 6499233f0a7b5..18a1c2f470cf0 100644 --- a/components/sms_it/package.json +++ b/components/sms_it/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sms_it", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SMS-IT Components", - "main": "dist/app/sms_it.app.mjs", + "main": "sms_it.app.mjs", "keywords": [ "pipedream", "sms_it" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sms_it", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sms_it/app/sms_it.app.ts b/components/sms_it/sms_it.app.mjs similarity index 71% rename from components/sms_it/app/sms_it.app.ts rename to components/sms_it/sms_it.app.mjs index 1290eff9a4edb..02820be01bf4a 100644 --- a/components/sms_it/app/sms_it.app.ts +++ b/components/sms_it/sms_it.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sms_it", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/sms_it/tsconfig.json b/components/sms_it/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sms_it/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sms_magic/.gitignore b/components/sms_magic/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sms_magic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sms_magic/package.json b/components/sms_magic/package.json index 6fad2ef90934c..a7c2e3b7ae728 100644 --- a/components/sms_magic/package.json +++ b/components/sms_magic/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sms_magic", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream SMS Magic Components", - "main": "dist/app/sms_magic.app.mjs", + "main": "sms_magic.app.mjs", "keywords": [ "pipedream", "sms_magic" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sms_magic", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sms_magic/app/sms_magic.app.ts b/components/sms_magic/sms_magic.app.mjs similarity index 71% rename from components/sms_magic/app/sms_magic.app.ts rename to components/sms_magic/sms_magic.app.mjs index 32f69a10f44ba..0d518bb902bb3 100644 --- a/components/sms_magic/app/sms_magic.app.ts +++ b/components/sms_magic/sms_magic.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sms_magic", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sms_magic/tsconfig.json b/components/sms_magic/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sms_magic/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/snapchat_marketing/.gitignore b/components/snapchat_marketing/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/snapchat_marketing/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/snapchat_marketing/package.json b/components/snapchat_marketing/package.json index 6a17ddd2900b1..5999f4c78b2b8 100644 --- a/components/snapchat_marketing/package.json +++ b/components/snapchat_marketing/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/snapchat_marketing", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Snapchat Marketing Components", - "main": "dist/app/snapchat_marketing.app.mjs", + "main": "snapchat_marketing.app.mjs", "keywords": [ "pipedream", "snapchat_marketing" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/snapchat_marketing", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/snapchat_marketing/app/snapchat_marketing.app.ts b/components/snapchat_marketing/snapchat_marketing.app.mjs similarity index 72% rename from components/snapchat_marketing/app/snapchat_marketing.app.ts rename to components/snapchat_marketing/snapchat_marketing.app.mjs index b3ff1e52ce84a..f1f6859c37e44 100644 --- a/components/snapchat_marketing/app/snapchat_marketing.app.ts +++ b/components/snapchat_marketing/snapchat_marketing.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "snapchat_marketing", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/snapchat_marketing/tsconfig.json b/components/snapchat_marketing/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/snapchat_marketing/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/snapdocs/.gitignore b/components/snapdocs/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/snapdocs/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/snapdocs/package.json b/components/snapdocs/package.json index 39c3d0cf41693..591180bbab1f9 100644 --- a/components/snapdocs/package.json +++ b/components/snapdocs/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/snapdocs", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Snapdocs Components", - "main": "dist/app/snapdocs.app.mjs", + "main": "snapdocs.app.mjs", "keywords": [ "pipedream", "snapdocs" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/snapdocs", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/snapdocs/app/snapdocs.app.ts b/components/snapdocs/snapdocs.app.mjs similarity index 71% rename from components/snapdocs/app/snapdocs.app.ts rename to components/snapdocs/snapdocs.app.mjs index 0e42ac8d2d567..3a847dae59d3e 100644 --- a/components/snapdocs/app/snapdocs.app.ts +++ b/components/snapdocs/snapdocs.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "snapdocs", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/snapdocs/tsconfig.json b/components/snapdocs/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/snapdocs/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/snyk/.gitignore b/components/snyk/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/snyk/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/snyk/package.json b/components/snyk/package.json index 3c181c942f58a..5eb7a51f5803d 100644 --- a/components/snyk/package.json +++ b/components/snyk/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/snyk", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Snyk Components", - "main": "dist/app/snyk.app.mjs", + "main": "snyk.app.mjs", "keywords": [ "pipedream", "snyk" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/snyk", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/snyk/app/snyk.app.ts b/components/snyk/snyk.app.mjs similarity index 70% rename from components/snyk/app/snyk.app.ts rename to components/snyk/snyk.app.mjs index 8acd70c6953b0..5f6bc0749ce1c 100644 --- a/components/snyk/app/snyk.app.ts +++ b/components/snyk/snyk.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "snyk", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/snyk/tsconfig.json b/components/snyk/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/snyk/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/softledger/.gitignore b/components/softledger/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/softledger/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/softledger/package.json b/components/softledger/package.json index efd6bb0a2bead..55563eb3cb8ba 100644 --- a/components/softledger/package.json +++ b/components/softledger/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/softledger", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SoftLedger Components", - "main": "dist/app/softledger.app.mjs", + "main": "softledger.app.mjs", "keywords": [ "pipedream", "softledger" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/softledger", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/softledger/app/softledger.app.ts b/components/softledger/softledger.app.mjs similarity index 71% rename from components/softledger/app/softledger.app.ts rename to components/softledger/softledger.app.mjs index 2c4b7058a64b7..312394b738b50 100644 --- a/components/softledger/app/softledger.app.ts +++ b/components/softledger/softledger.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "softledger", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/softledger/tsconfig.json b/components/softledger/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/softledger/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/solarwinds_service_desk/.gitignore b/components/solarwinds_service_desk/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/solarwinds_service_desk/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/solarwinds_service_desk/package.json b/components/solarwinds_service_desk/package.json index cd7811cf0f4f0..cc6c383cb5803 100644 --- a/components/solarwinds_service_desk/package.json +++ b/components/solarwinds_service_desk/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/solarwinds_service_desk", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream SolarWinds Service Desk Components", - "main": "dist/app/solarwinds_service_desk.app.mjs", + "main": "solarwinds_service_desk.app.mjs", "keywords": [ "pipedream", "solarwinds_service_desk" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/solarwinds_service_desk", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/solarwinds_service_desk/app/solarwinds_service_desk.app.ts b/components/solarwinds_service_desk/solarwinds_service_desk.app.mjs similarity index 72% rename from components/solarwinds_service_desk/app/solarwinds_service_desk.app.ts rename to components/solarwinds_service_desk/solarwinds_service_desk.app.mjs index 2f803e60cd045..3485bb3a11e18 100644 --- a/components/solarwinds_service_desk/app/solarwinds_service_desk.app.ts +++ b/components/solarwinds_service_desk/solarwinds_service_desk.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "solarwinds_service_desk", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/solarwinds_service_desk/tsconfig.json b/components/solarwinds_service_desk/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/solarwinds_service_desk/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sportsdata/.gitignore b/components/sportsdata/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sportsdata/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sportsdata/package.json b/components/sportsdata/package.json index c1fa12d57d0ac..18efd4bd0c4eb 100644 --- a/components/sportsdata/package.json +++ b/components/sportsdata/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sportsdata", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream SportsData Components", - "main": "dist/app/sportsdata.app.mjs", + "main": "sportsdata.app.mjs", "keywords": [ "pipedream", "sportsdata" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sportsdata", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sportsdata/app/sportsdata.app.ts b/components/sportsdata/sportsdata.app.mjs similarity index 71% rename from components/sportsdata/app/sportsdata.app.ts rename to components/sportsdata/sportsdata.app.mjs index 34999f3d1f103..3b7d5fe7bbb03 100644 --- a/components/sportsdata/app/sportsdata.app.ts +++ b/components/sportsdata/sportsdata.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sportsdata", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/sportsdata/tsconfig.json b/components/sportsdata/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sportsdata/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/starton/.gitignore b/components/starton/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/starton/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/starton/package.json b/components/starton/package.json index 2124e64931c12..1b14330dd6f0d 100644 --- a/components/starton/package.json +++ b/components/starton/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/starton", - "version": "0.0.1", + "version": "0.0.2", "description": "Pipedream Starton Components", - "main": "dist/app/starton.app.mjs", + "main": "starton.app.mjs", "keywords": [ "pipedream", "starton" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/starton", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/starton/app/starton.app.ts b/components/starton/starton.app.mjs similarity index 71% rename from components/starton/app/starton.app.ts rename to components/starton/starton.app.mjs index fe14493fd1168..2bfe296f519c8 100644 --- a/components/starton/app/starton.app.ts +++ b/components/starton/starton.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "starton", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/starton/tsconfig.json b/components/starton/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/starton/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/stealthseminar/.gitignore b/components/stealthseminar/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/stealthseminar/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/stealthseminar/package.json b/components/stealthseminar/package.json index ce23748f3525f..de5bc84f98c3b 100644 --- a/components/stealthseminar/package.json +++ b/components/stealthseminar/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/stealthseminar", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream StealthSeminar Components", - "main": "dist/app/stealthseminar.app.mjs", + "main": "stealthseminar.app.mjs", "keywords": [ "pipedream", "stealthseminar" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/stealthseminar", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/stealthseminar/app/stealthseminar.app.ts b/components/stealthseminar/stealthseminar.app.mjs similarity index 72% rename from components/stealthseminar/app/stealthseminar.app.ts rename to components/stealthseminar/stealthseminar.app.mjs index 475a374d1c066..a484fcb6e563c 100644 --- a/components/stealthseminar/app/stealthseminar.app.ts +++ b/components/stealthseminar/stealthseminar.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "stealthseminar", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/stealthseminar/tsconfig.json b/components/stealthseminar/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/stealthseminar/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/stormglass_io/.gitignore b/components/stormglass_io/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/stormglass_io/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/stormglass_io/package.json b/components/stormglass_io/package.json index bfaf9842e3d91..ba4c852b30829 100644 --- a/components/stormglass_io/package.json +++ b/components/stormglass_io/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/stormglass_io", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream stormglass.io Components", - "main": "dist/app/stormglass_io.app.mjs", + "main": "stormglass_io.app.mjs", "keywords": [ "pipedream", "stormglass_io" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/stormglass_io", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/stormglass_io/app/stormglass_io.app.ts b/components/stormglass_io/stormglass_io.app.mjs similarity index 71% rename from components/stormglass_io/app/stormglass_io.app.ts rename to components/stormglass_io/stormglass_io.app.mjs index 2b7d8ac06d7e8..d754de1f0b0f2 100644 --- a/components/stormglass_io/app/stormglass_io.app.ts +++ b/components/stormglass_io/stormglass_io.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "stormglass_io", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/stormglass_io/tsconfig.json b/components/stormglass_io/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/stormglass_io/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/studio_by_ai21_labs/.gitignore b/components/studio_by_ai21_labs/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/studio_by_ai21_labs/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/studio_by_ai21_labs/package.json b/components/studio_by_ai21_labs/package.json index 730c09c64451d..257bce2254586 100644 --- a/components/studio_by_ai21_labs/package.json +++ b/components/studio_by_ai21_labs/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/studio_by_ai21_labs", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Studio by AI21 Labs Components", - "main": "dist/app/studio_by_ai21_labs.app.mjs", + "main": "studio_by_ai21_labs.app.mjs", "keywords": [ "pipedream", "studio_by_ai21_labs" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/studio_by_ai21_labs", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/studio_by_ai21_labs/app/studio_by_ai21_labs.app.ts b/components/studio_by_ai21_labs/studio_by_ai21_labs.app.mjs similarity index 72% rename from components/studio_by_ai21_labs/app/studio_by_ai21_labs.app.ts rename to components/studio_by_ai21_labs/studio_by_ai21_labs.app.mjs index 521fb3ffaf9fc..2df0bc40bfde9 100644 --- a/components/studio_by_ai21_labs/app/studio_by_ai21_labs.app.ts +++ b/components/studio_by_ai21_labs/studio_by_ai21_labs.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "studio_by_ai21_labs", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/studio_by_ai21_labs/tsconfig.json b/components/studio_by_ai21_labs/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/studio_by_ai21_labs/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/successeve/.gitignore b/components/successeve/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/successeve/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/successeve/package.json b/components/successeve/package.json index 5aa01658d3d49..26ecf489d393b 100644 --- a/components/successeve/package.json +++ b/components/successeve/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/successeve", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Successeve Components", - "main": "dist/app/successeve.app.mjs", + "main": "successeve.app.mjs", "keywords": [ "pipedream", "successeve" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/successeve", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/successeve/app/successeve.app.ts b/components/successeve/successeve.app.mjs similarity index 71% rename from components/successeve/app/successeve.app.ts rename to components/successeve/successeve.app.mjs index 2b2309dd854cd..7d44d254ecbe1 100644 --- a/components/successeve/app/successeve.app.ts +++ b/components/successeve/successeve.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "successeve", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/successeve/tsconfig.json b/components/successeve/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/successeve/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/sugarcrm_/.gitignore b/components/sugarcrm_/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/sugarcrm_/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/sugarcrm_/package.json b/components/sugarcrm_/package.json index 1bffd37c22662..a7ebd9ad84df6 100644 --- a/components/sugarcrm_/package.json +++ b/components/sugarcrm_/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/sugarcrm_", - "version": "0.0.1", + "version": "0.0.2", "description": "Pipedream SugarCRM Components", - "main": "dist/app/sugarcrm_.app.mjs", + "main": "sugarcrm_.app.mjs", "keywords": [ "pipedream", "sugarcrm_" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/sugarcrm_", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/sugarcrm_/app/sugarcrm_.app.ts b/components/sugarcrm_/sugarcrm_.app.mjs similarity index 71% rename from components/sugarcrm_/app/sugarcrm_.app.ts rename to components/sugarcrm_/sugarcrm_.app.mjs index ebae59c974f78..0a6362940958f 100644 --- a/components/sugarcrm_/app/sugarcrm_.app.ts +++ b/components/sugarcrm_/sugarcrm_.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "sugarcrm_", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/sugarcrm_/tsconfig.json b/components/sugarcrm_/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/sugarcrm_/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/survey2connect/.gitignore b/components/survey2connect/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/survey2connect/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/survey2connect/package.json b/components/survey2connect/package.json index 3845ef6d230f0..f4bc0b5a09251 100644 --- a/components/survey2connect/package.json +++ b/components/survey2connect/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/survey2connect", - "version": "0.0.1", + "version": "0.0.2", "description": "Pipedream Survey2Connect Components", - "main": "dist/app/survey2connect.app.mjs", + "main": "survey2connect.app.mjs", "keywords": [ "pipedream", "survey2connect" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/survey2connect", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/survey2connect/app/survey2connect.app.ts b/components/survey2connect/survey2connect.app.mjs similarity index 72% rename from components/survey2connect/app/survey2connect.app.ts rename to components/survey2connect/survey2connect.app.mjs index 0277669777e0b..218843f389850 100644 --- a/components/survey2connect/app/survey2connect.app.ts +++ b/components/survey2connect/survey2connect.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "survey2connect", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/survey2connect/tsconfig.json b/components/survey2connect/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/survey2connect/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/survicate/.gitignore b/components/survicate/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/survicate/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/survicate/package.json b/components/survicate/package.json index 24a0e71e782d0..911a586df866c 100644 --- a/components/survicate/package.json +++ b/components/survicate/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/survicate", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Survicate Components", - "main": "dist/app/survicate.app.mjs", + "main": "survicate.app.mjs", "keywords": [ "pipedream", "survicate" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/survicate", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/survicate/app/survicate.app.ts b/components/survicate/survicate.app.mjs similarity index 71% rename from components/survicate/app/survicate.app.ts rename to components/survicate/survicate.app.mjs index 975cf88582e33..e3ab6fee54dc6 100644 --- a/components/survicate/app/survicate.app.ts +++ b/components/survicate/survicate.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "survicate", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/survicate/tsconfig.json b/components/survicate/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/survicate/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/swiftype/.gitignore b/components/swiftype/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/swiftype/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/swiftype/package.json b/components/swiftype/package.json index 813805a31b866..7011beb0a354f 100644 --- a/components/swiftype/package.json +++ b/components/swiftype/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/swiftype", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Swiftype Components", - "main": "dist/app/swiftype.app.mjs", + "main": "swiftype.app.mjs", "keywords": [ "pipedream", "swiftype" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/swiftype", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/swiftype/app/swiftype.app.ts b/components/swiftype/swiftype.app.mjs similarity index 71% rename from components/swiftype/app/swiftype.app.ts rename to components/swiftype/swiftype.app.mjs index 35b02af80749b..015937b9cbb23 100644 --- a/components/swiftype/app/swiftype.app.ts +++ b/components/swiftype/swiftype.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "swiftype", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/swiftype/tsconfig.json b/components/swiftype/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/swiftype/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/switchboard/.gitignore b/components/switchboard/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/switchboard/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/switchboard/package.json b/components/switchboard/package.json index 53f05039a9941..1546cdc4e355a 100644 --- a/components/switchboard/package.json +++ b/components/switchboard/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/switchboard", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Switchboard Components", - "main": "dist/app/switchboard.app.mjs", + "main": "switchboard.app.mjs", "keywords": [ "pipedream", "switchboard" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/switchboard", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/switchboard/app/switchboard.app.ts b/components/switchboard/switchboard.app.mjs similarity index 71% rename from components/switchboard/app/switchboard.app.ts rename to components/switchboard/switchboard.app.mjs index e2519031df6d5..aa4e58f7abce4 100644 --- a/components/switchboard/app/switchboard.app.ts +++ b/components/switchboard/switchboard.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "switchboard", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/switchboard/tsconfig.json b/components/switchboard/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/switchboard/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/syncro/.gitignore b/components/syncro/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/syncro/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/syncro/package.json b/components/syncro/package.json index 7696204e879af..7167a3e447fdf 100644 --- a/components/syncro/package.json +++ b/components/syncro/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/syncro", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Syncro Components", - "main": "dist/app/syncro.app.mjs", + "main": "syncro.app.mjs", "keywords": [ "pipedream", "syncro" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/syncro", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/syncro/app/syncro.app.ts b/components/syncro/syncro.app.mjs similarity index 71% rename from components/syncro/app/syncro.app.ts rename to components/syncro/syncro.app.mjs index fd5b3a392b6cc..de3debee8946c 100644 --- a/components/syncro/app/syncro.app.ts +++ b/components/syncro/syncro.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "syncro", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/syncro/tsconfig.json b/components/syncro/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/syncro/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/t2m_url_shortener/.gitignore b/components/t2m_url_shortener/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/t2m_url_shortener/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/t2m_url_shortener/package.json b/components/t2m_url_shortener/package.json index b91d2dfd574a8..688d6302986d6 100644 --- a/components/t2m_url_shortener/package.json +++ b/components/t2m_url_shortener/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/t2m_url_shortener", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream T2M URL Shortener Components", - "main": "dist/app/t2m_url_shortener.app.mjs", + "main": "t2m_url_shortener.app.mjs", "keywords": [ "pipedream", "t2m_url_shortener" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/t2m_url_shortener", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/t2m_url_shortener/app/t2m_url_shortener.app.ts b/components/t2m_url_shortener/t2m_url_shortener.app.mjs similarity index 72% rename from components/t2m_url_shortener/app/t2m_url_shortener.app.ts rename to components/t2m_url_shortener/t2m_url_shortener.app.mjs index 182ad5499002e..355c078689519 100644 --- a/components/t2m_url_shortener/app/t2m_url_shortener.app.ts +++ b/components/t2m_url_shortener/t2m_url_shortener.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "t2m_url_shortener", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/t2m_url_shortener/tsconfig.json b/components/t2m_url_shortener/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/t2m_url_shortener/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/talenox/.gitignore b/components/talenox/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/talenox/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/talenox/package.json b/components/talenox/package.json index da3e05286d50d..2e03d58729529 100644 --- a/components/talenox/package.json +++ b/components/talenox/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/talenox", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Talenox Components", - "main": "dist/app/talenox.app.mjs", + "main": "talenox.app.mjs", "keywords": [ "pipedream", "talenox" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/talenox", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/talenox/app/talenox.app.ts b/components/talenox/talenox.app.mjs similarity index 71% rename from components/talenox/app/talenox.app.ts rename to components/talenox/talenox.app.mjs index 031ea9d0deebb..63e84092bd718 100644 --- a/components/talenox/app/talenox.app.ts +++ b/components/talenox/talenox.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "talenox", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/talenox/tsconfig.json b/components/talenox/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/talenox/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/talentlms/.gitignore b/components/talentlms/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/talentlms/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/talentlms/package.json b/components/talentlms/package.json index d7c16bf43e527..c828338fe06aa 100644 --- a/components/talentlms/package.json +++ b/components/talentlms/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/talentlms", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream TalentLMS Components", - "main": "dist/app/talentlms.app.mjs", + "main": "talentlms.app.mjs", "keywords": [ "pipedream", "talentlms" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/talentlms", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/talentlms/app/talentlms.app.ts b/components/talentlms/talentlms.app.mjs similarity index 71% rename from components/talentlms/app/talentlms.app.ts rename to components/talentlms/talentlms.app.mjs index ccef27e2474ca..3fb73285caf05 100644 --- a/components/talentlms/app/talentlms.app.ts +++ b/components/talentlms/talentlms.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "talentlms", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/talentlms/tsconfig.json b/components/talentlms/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/talentlms/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/talkspirit/.gitignore b/components/talkspirit/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/talkspirit/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/talkspirit/package.json b/components/talkspirit/package.json index e197a6dd1ad5b..e1df6f90bb30a 100644 --- a/components/talkspirit/package.json +++ b/components/talkspirit/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/talkspirit", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream talkSpirit Components", - "main": "dist/app/talkspirit.app.mjs", + "main": "talkspirit.app.mjs", "keywords": [ "pipedream", "talkspirit" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/talkspirit", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/talkspirit/app/talkspirit.app.ts b/components/talkspirit/talkspirit.app.mjs similarity index 71% rename from components/talkspirit/app/talkspirit.app.ts rename to components/talkspirit/talkspirit.app.mjs index a1ec11e28b5b0..f6e611155fbc7 100644 --- a/components/talkspirit/app/talkspirit.app.ts +++ b/components/talkspirit/talkspirit.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "talkspirit", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/talkspirit/tsconfig.json b/components/talkspirit/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/talkspirit/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/tapfiliate/.gitignore b/components/tapfiliate/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/tapfiliate/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/tapfiliate/package.json b/components/tapfiliate/package.json index 2cfa78f25ca3d..1386700335742 100644 --- a/components/tapfiliate/package.json +++ b/components/tapfiliate/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/tapfiliate", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Tapfiliate Components", - "main": "dist/app/tapfiliate.app.mjs", + "main": "tapfiliate.app.mjs", "keywords": [ "pipedream", "tapfiliate" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/tapfiliate", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/tapfiliate/app/tapfiliate.app.ts b/components/tapfiliate/tapfiliate.app.mjs similarity index 71% rename from components/tapfiliate/app/tapfiliate.app.ts rename to components/tapfiliate/tapfiliate.app.mjs index d3a01bfa21dfc..c9fbb6f38976d 100644 --- a/components/tapfiliate/app/tapfiliate.app.ts +++ b/components/tapfiliate/tapfiliate.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "tapfiliate", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/tapfiliate/tsconfig.json b/components/tapfiliate/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/tapfiliate/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/td_ameritrade/.gitignore b/components/td_ameritrade/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/td_ameritrade/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/td_ameritrade/package.json b/components/td_ameritrade/package.json index c830c7c784948..a2971a7f18d24 100644 --- a/components/td_ameritrade/package.json +++ b/components/td_ameritrade/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/td_ameritrade", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream TD Ameritrade Components", - "main": "dist/app/td_ameritrade.app.mjs", + "main": "td_ameritrade.app.mjs", "keywords": [ "pipedream", "td_ameritrade" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/td_ameritrade", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/td_ameritrade/app/td_ameritrade.app.ts b/components/td_ameritrade/td_ameritrade.app.mjs similarity index 71% rename from components/td_ameritrade/app/td_ameritrade.app.ts rename to components/td_ameritrade/td_ameritrade.app.mjs index fce96def76336..a87bbc9166c20 100644 --- a/components/td_ameritrade/app/td_ameritrade.app.ts +++ b/components/td_ameritrade/td_ameritrade.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "td_ameritrade", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/td_ameritrade/tsconfig.json b/components/td_ameritrade/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/td_ameritrade/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/teamdeck/.gitignore b/components/teamdeck/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/teamdeck/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/teamdeck/package.json b/components/teamdeck/package.json index e24454559a5f8..c1c7e66b18cfd 100644 --- a/components/teamdeck/package.json +++ b/components/teamdeck/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/teamdeck", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Teamdeck Components", - "main": "dist/app/teamdeck.app.mjs", + "main": "teamdeck.app.mjs", "keywords": [ "pipedream", "teamdeck" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/teamdeck", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/teamdeck/app/teamdeck.app.ts b/components/teamdeck/teamdeck.app.mjs similarity index 71% rename from components/teamdeck/app/teamdeck.app.ts rename to components/teamdeck/teamdeck.app.mjs index d3f5a26d8814b..8a17ad9478255 100644 --- a/components/teamdeck/app/teamdeck.app.ts +++ b/components/teamdeck/teamdeck.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "teamdeck", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/teamdeck/tsconfig.json b/components/teamdeck/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/teamdeck/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/teamwave/.gitignore b/components/teamwave/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/teamwave/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/teamwave/package.json b/components/teamwave/package.json index 23208b68443c5..c2bd1ac3fdb28 100644 --- a/components/teamwave/package.json +++ b/components/teamwave/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/teamwave", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream TeamWave Components", - "main": "dist/app/teamwave.app.mjs", + "main": "teamwave.app.mjs", "keywords": [ "pipedream", "teamwave" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/teamwave", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/teamwave/app/teamwave.app.ts b/components/teamwave/teamwave.app.mjs similarity index 71% rename from components/teamwave/app/teamwave.app.ts rename to components/teamwave/teamwave.app.mjs index a69a4df8ec215..6a4f387520c44 100644 --- a/components/teamwave/app/teamwave.app.ts +++ b/components/teamwave/teamwave.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "teamwave", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/teamwave/tsconfig.json b/components/teamwave/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/teamwave/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/telesign/.gitignore b/components/telesign/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/telesign/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/telesign/package.json b/components/telesign/package.json index 6cb1b624810d2..9cecea9f0106d 100644 --- a/components/telesign/package.json +++ b/components/telesign/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/telesign", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream TeleSign Components", - "main": "dist/app/telesign.app.mjs", + "main": "telesign.app.mjs", "keywords": [ "pipedream", "telesign" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/telesign", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/telesign/app/telesign.app.ts b/components/telesign/telesign.app.mjs similarity index 71% rename from components/telesign/app/telesign.app.ts rename to components/telesign/telesign.app.mjs index 69eae41005e32..6179ab3e2ceec 100644 --- a/components/telesign/app/telesign.app.ts +++ b/components/telesign/telesign.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "telesign", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/telesign/tsconfig.json b/components/telesign/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/telesign/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/terminus_app/.gitignore b/components/terminus_app/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/terminus_app/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/terminus_app/package.json b/components/terminus_app/package.json index 95e17c23910c4..5ba21fa738faa 100644 --- a/components/terminus_app/package.json +++ b/components/terminus_app/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/terminus_app", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Terminus App Components", - "main": "dist/app/terminus_app.app.mjs", + "main": "terminus_app.app.mjs", "keywords": [ "pipedream", "terminus_app" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/terminus_app", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/terminus_app/app/terminus_app.app.ts b/components/terminus_app/terminus_app.app.mjs similarity index 71% rename from components/terminus_app/app/terminus_app.app.ts rename to components/terminus_app/terminus_app.app.mjs index e6a788eab9326..801636d9ebf41 100644 --- a/components/terminus_app/app/terminus_app.app.ts +++ b/components/terminus_app/terminus_app.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "terminus_app", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/terminus_app/tsconfig.json b/components/terminus_app/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/terminus_app/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/textgain/.gitignore b/components/textgain/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/textgain/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/textgain/package.json b/components/textgain/package.json index 8f41950fd2fa6..46af91cba426a 100644 --- a/components/textgain/package.json +++ b/components/textgain/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/textgain", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Textgain Components", - "main": "dist/app/textgain.app.mjs", + "main": "textgain.app.mjs", "keywords": [ "pipedream", "textgain" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/textgain", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/textgain/app/textgain.app.ts b/components/textgain/textgain.app.mjs similarity index 71% rename from components/textgain/app/textgain.app.ts rename to components/textgain/textgain.app.mjs index aa93bcbf474d5..414e39872c652 100644 --- a/components/textgain/app/textgain.app.ts +++ b/components/textgain/textgain.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "textgain", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/textgain/tsconfig.json b/components/textgain/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/textgain/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/textmagic/.gitignore b/components/textmagic/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/textmagic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/textmagic/package.json b/components/textmagic/package.json index aa34d3a416eab..a31025a4a8d19 100644 --- a/components/textmagic/package.json +++ b/components/textmagic/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/textmagic", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream TextMagic Components", - "main": "dist/app/textmagic.app.mjs", + "main": "textmagic.app.mjs", "keywords": [ "pipedream", "textmagic" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/textmagic", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/textmagic/app/textmagic.app.ts b/components/textmagic/textmagic.app.mjs similarity index 71% rename from components/textmagic/app/textmagic.app.ts rename to components/textmagic/textmagic.app.mjs index 93343817dae83..0a29e63a8617e 100644 --- a/components/textmagic/app/textmagic.app.ts +++ b/components/textmagic/textmagic.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "textmagic", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/textmagic/tsconfig.json b/components/textmagic/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/textmagic/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/thankster/.gitignore b/components/thankster/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/thankster/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/thankster/package.json b/components/thankster/package.json index 1a54d52c9c761..d939b75f0721d 100644 --- a/components/thankster/package.json +++ b/components/thankster/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/thankster", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Thankster Components", - "main": "dist/app/thankster.app.mjs", + "main": "thankster.app.mjs", "keywords": [ "pipedream", "thankster" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/thankster", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/thankster/app/thankster.app.ts b/components/thankster/thankster.app.mjs similarity index 71% rename from components/thankster/app/thankster.app.ts rename to components/thankster/thankster.app.mjs index 3025dd79acdb8..4a042b8f58b1a 100644 --- a/components/thankster/app/thankster.app.ts +++ b/components/thankster/thankster.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "thankster", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/thankster/tsconfig.json b/components/thankster/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/thankster/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/threescribe/.gitignore b/components/threescribe/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/threescribe/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/threescribe/package.json b/components/threescribe/package.json index a4f53ff699a10..22eb60cc48777 100644 --- a/components/threescribe/package.json +++ b/components/threescribe/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/threescribe", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream 3Scribe Components", - "main": "dist/app/threescribe.app.mjs", + "main": "threescribe.app.mjs", "keywords": [ "pipedream", "threescribe" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/threescribe", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/threescribe/app/threescribe.app.ts b/components/threescribe/threescribe.app.mjs similarity index 71% rename from components/threescribe/app/threescribe.app.ts rename to components/threescribe/threescribe.app.mjs index f56842efde96f..be6f57415fcf3 100644 --- a/components/threescribe/app/threescribe.app.ts +++ b/components/threescribe/threescribe.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "threescribe", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/threescribe/tsconfig.json b/components/threescribe/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/threescribe/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/time_tracker_by_ebillity/.gitignore b/components/time_tracker_by_ebillity/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/time_tracker_by_ebillity/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/time_tracker_by_ebillity/package.json b/components/time_tracker_by_ebillity/package.json index 6433d3fafeb31..e6f0dbec5416a 100644 --- a/components/time_tracker_by_ebillity/package.json +++ b/components/time_tracker_by_ebillity/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/time_tracker_by_ebillity", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Time Tracker by eBillity Components", - "main": "dist/app/time_tracker_by_ebillity.app.mjs", + "main": "time_tracker_by_ebillity.app.mjs", "keywords": [ "pipedream", "time_tracker_by_ebillity" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/time_tracker_by_ebillity", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/time_tracker_by_ebillity/app/time_tracker_by_ebillity.app.ts b/components/time_tracker_by_ebillity/time_tracker_by_ebillity.app.mjs similarity index 73% rename from components/time_tracker_by_ebillity/app/time_tracker_by_ebillity.app.ts rename to components/time_tracker_by_ebillity/time_tracker_by_ebillity.app.mjs index 8ffb1e2248c50..a685956746226 100644 --- a/components/time_tracker_by_ebillity/app/time_tracker_by_ebillity.app.ts +++ b/components/time_tracker_by_ebillity/time_tracker_by_ebillity.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "time_tracker_by_ebillity", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/time_tracker_by_ebillity/tsconfig.json b/components/time_tracker_by_ebillity/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/time_tracker_by_ebillity/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/tmetric/.gitignore b/components/tmetric/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/tmetric/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/tmetric/package.json b/components/tmetric/package.json index b967c60bd7de3..34adf9f6fdb26 100644 --- a/components/tmetric/package.json +++ b/components/tmetric/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/tmetric", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream TMetric Components", - "main": "dist/app/tmetric.app.mjs", + "main": "tmetric.app.mjs", "keywords": [ "pipedream", "tmetric" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/tmetric", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/tmetric/app/tmetric.app.ts b/components/tmetric/tmetric.app.mjs similarity index 71% rename from components/tmetric/app/tmetric.app.ts rename to components/tmetric/tmetric.app.mjs index e45b85dc1b663..36e4bc6d266f4 100644 --- a/components/tmetric/app/tmetric.app.ts +++ b/components/tmetric/tmetric.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "tmetric", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/tmetric/tsconfig.json b/components/tmetric/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/tmetric/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/tolstoy/.gitignore b/components/tolstoy/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/tolstoy/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/tolstoy/app/tolstoy.app.ts b/components/tolstoy/app/tolstoy.app.ts deleted file mode 100644 index 897fded204ecf..0000000000000 --- a/components/tolstoy/app/tolstoy.app.ts +++ /dev/null @@ -1,40 +0,0 @@ -import { defineApp } from "@pipedream/types"; -import { axios } from "@pipedream/platform"; - -export default defineApp({ - type: "app", - app: "tolstoy", - propDefinitions: {}, - methods: { - _apiKey() { - return this.$auth.api_key; - }, - _apiUrl() { - return "https://api.gotolstoy.com"; - }, - async _makeRequest({ - $ = this, path, ...args - }) { - return axios($, { - url: `${this._apiUrl()}${path}`, - headers: { - Authorization: `Bearer ${this._apiKey()}`, - }, - ...args, - }); - }, - async createWebhook({ ...args }) { - return this._makeRequest({ - path: "/webhooks/", - method: "post", - ...args, - }); - }, - async removeWebhook(webhookId) { - return this._makeRequest({ - path: `/webhooks/${webhookId}`, - method: "delete", - }); - }, - }, -}); diff --git a/components/tolstoy/package.json b/components/tolstoy/package.json index 550ac2e5d5dcf..70baf8907a37a 100644 --- a/components/tolstoy/package.json +++ b/components/tolstoy/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/tolstoy", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Tolstoy Components", - "main": "dist/app/tolstoy.app.mjs", + "main": "tolstoy.app.mjs", "keywords": [ "pipedream", "tolstoy" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/tolstoy", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/tolstoy/tolstoy.app.mjs b/components/tolstoy/tolstoy.app.mjs new file mode 100644 index 0000000000000..3194aa843a2d1 --- /dev/null +++ b/components/tolstoy/tolstoy.app.mjs @@ -0,0 +1,11 @@ +export default { + type: "app", + app: "tolstoy", + propDefinitions: {}, + methods: { + // this.$auth contains connected account data + authKeys() { + console.log(Object.keys(this.$auth)); + }, + }, +}; diff --git a/components/tolstoy/tsconfig.json b/components/tolstoy/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/tolstoy/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/tomba/.gitignore b/components/tomba/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/tomba/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/tomba/package.json b/components/tomba/package.json index 095f1d99a7ce4..de5ab18cd0e92 100644 --- a/components/tomba/package.json +++ b/components/tomba/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/tomba", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Tomba Components", - "main": "dist/app/tomba.app.mjs", + "main": "tomba.app.mjs", "keywords": [ "pipedream", "tomba" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/tomba", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/tomba/app/tomba.app.ts b/components/tomba/tomba.app.mjs similarity index 70% rename from components/tomba/app/tomba.app.ts rename to components/tomba/tomba.app.mjs index 81380ed70ed63..10a330dde8978 100644 --- a/components/tomba/app/tomba.app.ts +++ b/components/tomba/tomba.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "tomba", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/tomba/tsconfig.json b/components/tomba/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/tomba/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/trainual/.gitignore b/components/trainual/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/trainual/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/trainual/package.json b/components/trainual/package.json index 6ab27b69f9e0f..0e7a15dbb86df 100644 --- a/components/trainual/package.json +++ b/components/trainual/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/trainual", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Trainual Components", - "main": "dist/app/trainual.app.mjs", + "main": "trainual.app.mjs", "keywords": [ "pipedream", "trainual" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/trainual", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/trainual/app/trainual.app.ts b/components/trainual/trainual.app.mjs similarity index 71% rename from components/trainual/app/trainual.app.ts rename to components/trainual/trainual.app.mjs index f781c972815a6..f9930f68b064f 100644 --- a/components/trainual/app/trainual.app.ts +++ b/components/trainual/trainual.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "trainual", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/trainual/tsconfig.json b/components/trainual/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/trainual/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/trint/.gitignore b/components/trint/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/trint/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/trint/package.json b/components/trint/package.json index a1c2e86ea1c96..1c80cd7e4db41 100644 --- a/components/trint/package.json +++ b/components/trint/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/trint", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Trint Components", - "main": "dist/app/trint.app.mjs", + "main": "trint.app.mjs", "keywords": [ "pipedream", "trint" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/trint", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/trint/app/trint.app.ts b/components/trint/trint.app.mjs similarity index 71% rename from components/trint/app/trint.app.ts rename to components/trint/trint.app.mjs index 73fc7b7e372f5..d38ed0a29a4ed 100644 --- a/components/trint/app/trint.app.ts +++ b/components/trint/trint.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "trint", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/trint/tsconfig.json b/components/trint/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/trint/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/trustpilot/package.json b/components/trustpilot/package.json index eac454d0d144d..7e03ac2b66435 100644 --- a/components/trustpilot/package.json +++ b/components/trustpilot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/trustpilot", - "version": "0.1.2", + "version": "0.1.3", "description": "Pipedream Trustpilot Components", "main": "trustpilot.app.mjs", "keywords": [ diff --git a/components/trustpilot/trustpilot.app.mjs b/components/trustpilot/trustpilot.app.mjs index b777ae3a68851..4e3d1d59aaf81 100644 --- a/components/trustpilot/trustpilot.app.mjs +++ b/components/trustpilot/trustpilot.app.mjs @@ -1,581 +1,11 @@ -import { axios } from "@pipedream/platform"; -import { defineApp } from "@pipedream/types"; -import * as crypto from "crypto"; -import { - BASE_URL, - DEFAULT_LIMIT, - ENDPOINTS, - HTTP_STATUS, - MAX_LIMIT, - RATING_SCALE, - RETRY_CONFIG, - SORT_OPTIONS, -} from "./common/constants.mjs"; -import { - buildUrl, - formatQueryParams, - parseBusinessUnit, - parseReview, - parseWebhookPayload, - sanitizeInput, - sleep, - validateBusinessUnitId, - validateReviewId, -} from "./common/utils.mjs"; - -export default defineApp({ +export default { type: "app", app: "trustpilot", - propDefinitions: { - businessUnitId: { - type: "string", - label: "Business Unit ID", - description: "The unique identifier for your business unit on Trustpilot", - async options() { - try { - const businessUnits = await this.searchBusinessUnits({ - query: "", - limit: 20, - }); - return businessUnits.map(({ - id, displayName, name: { identifying }, - }) => ({ - label: `${identifying || displayName}`, - value: id, - })); - } catch (error) { - console.error("Error fetching business units:", error); - return []; - } - }, - }, - reviewId: { - type: "string", - label: "Review ID", - description: "The unique identifier for a review", - }, - stars: { - type: "integer", - label: "Star Rating", - description: "Filter by star rating (1-5)", - options: RATING_SCALE, - optional: true, - }, - sortBy: { - type: "string", - label: "Sort By", - description: "How to sort the results", - options: Object.entries(SORT_OPTIONS).map(([ - key, - value, - ]) => ({ - label: key.replace(/_/g, " ").toLowerCase(), - value, - })), - optional: true, - default: SORT_OPTIONS.CREATED_AT_DESC, - }, - limit: { - type: "integer", - label: "Limit", - description: "Maximum number of results to return", - min: 1, - max: MAX_LIMIT, - default: DEFAULT_LIMIT, - optional: true, - }, - includeReportedReviews: { - type: "boolean", - label: "Include Reported Reviews", - description: "Whether to include reviews that have been reported", - default: false, - optional: true, - }, - tags: { - type: "string[]", - label: "Tags", - description: "Filter reviews by tags", - optional: true, - }, - language: { - type: "string", - label: "Language", - description: "Filter reviews by language (ISO 639-1 code)", - optional: true, - }, - }, + propDefinitions: {}, methods: { - // Authentication and base request methods - _getAuthHeaders() { - const headers = { - "Content-Type": "application/json", - "User-Agent": "Pipedream/1.0", - }; - - if (!this.$auth?.api_key && !this.$auth?.oauth_access_token) { - throw new Error("Authentication required: Configure either API key or OAuth token"); - } - - if (this.$auth?.api_key) { - headers["apikey"] = this.$auth.api_key; - } - - if (this.$auth?.oauth_access_token) { - headers["Authorization"] = `Bearer ${this.$auth.oauth_access_token}`; - } - - return headers; - }, - - async _makeRequest({ - endpoint, method = "GET", params = {}, data = null, ...args - }) { - const url = `${BASE_URL}${endpoint}`; - const headers = this._getAuthHeaders(); - - const config = { - method, - url, - headers, - params: formatQueryParams(params), - timeout: 30000, - ...args, - }; - - if (data) { - config.data = data; - } - - const response = await axios(this, config); - return response.data || response; - }, - - async _makeRequestWithRetry(config, retries = RETRY_CONFIG.MAX_RETRIES) { - try { - return await this._makeRequest(config); - } catch (error) { - if (retries > 0 && error.response?.status === HTTP_STATUS.TOO_MANY_REQUESTS) { - const delay = Math.min( - RETRY_CONFIG.INITIAL_DELAY * (RETRY_CONFIG.MAX_RETRIES - retries + 1), - RETRY_CONFIG.MAX_DELAY, - ); - await sleep(delay); - return this._makeRequestWithRetry(config, retries - 1); - } - throw error; - } - }, - - // Business Unit methods - async getBusinessUnit(businessUnitId) { - if (!validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - - const endpoint = buildUrl(ENDPOINTS.BUSINESS_UNIT_BY_ID, { - businessUnitId, - }); - const response = await this._makeRequest({ - endpoint, - }); - return parseBusinessUnit(response); - }, - - async searchBusinessUnits({ - query = "", limit = DEFAULT_LIMIT, offset = 0, - } = {}) { - const response = await this._makeRequest({ - endpoint: ENDPOINTS.BUSINESS_UNITS, - params: { - query, - limit, - offset, - }, - }); - - return response.businessUnits?.map(parseBusinessUnit) || []; - }, - - // Public Review methods (no auth required for basic info) - async getPublicServiceReviews({ - businessUnitId, - stars = null, - sortBy = SORT_OPTIONS.CREATED_AT_DESC, - limit = DEFAULT_LIMIT, - offset = 0, - tags = [], - language = null, - }) { - if (!validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - - const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEWS, { - businessUnitId, - }); - const params = { - stars, - orderBy: sortBy, - perPage: limit, - page: Math.floor(offset / limit) + 1, - language, - }; - - if (tags.length > 0) { - params.tags = tags.join(","); - } - - const response = await this._makeRequestWithRetry({ - endpoint, - params, - }); - - return { - reviews: response.reviews?.map(parseReview) || [], - pagination: { - total: response.pagination?.total || 0, - page: response.pagination?.page || 1, - perPage: response.pagination?.perPage || limit, - hasMore: response.pagination?.hasMore || false, - }, - }; - }, - - async getPublicServiceReviewById({ - businessUnitId, reviewId, - }) { - if (!validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - if (!validateReviewId(reviewId)) { - throw new Error("Invalid review ID"); - } - - const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEW_BY_ID, { - businessUnitId, - reviewId, - }); - const response = await this._makeRequest({ - endpoint, - }); - return parseReview(response); - }, - - // Private helper for fetching reviews - async _getReviews({ - endpoint, - businessUnitId, - stars = null, - sortBy = SORT_OPTIONS.CREATED_AT_DESC, - limit = DEFAULT_LIMIT, - offset = 0, - includeReportedReviews = false, - tags = [], - language = null, - }) { - if (businessUnitId && !validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - - const params = { - stars, - orderBy: sortBy, - perPage: limit, - page: Math.floor(offset / limit) + 1, - includeReportedReviews, - language, - }; - - if (tags.length > 0) { - params.tags = tags.join(","); - } - - const response = await this._makeRequestWithRetry({ - endpoint: endpoint || ENDPOINTS.PRIVATE_SERVICE_REVIEWS, - params, - }); - - return { - reviews: response.reviews?.map(parseReview) || [], - pagination: { - total: response.pagination?.total || 0, - page: response.pagination?.page || 1, - perPage: response.pagination?.perPage || limit, - hasMore: response.pagination?.hasMore || false, - }, - }; - }, - - // Private Service Review methods - async getServiceReviews(options = {}) { - const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEWS, { - businessUnitId: options.businessUnitId, - }); - return this._getReviews({ - endpoint, - ...options, - }); - }, - - async getServiceReviewById({ - businessUnitId, reviewId, - }) { - if (!validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - if (!validateReviewId(reviewId)) { - throw new Error("Invalid review ID"); - } - - const endpoint = buildUrl(ENDPOINTS.PRIVATE_SERVICE_REVIEW_BY_ID, { - businessUnitId, - reviewId, - }); - const response = await this._makeRequest({ - endpoint, - }); - return parseReview(response); - }, - - async replyToServiceReview({ - businessUnitId, reviewId, message, - }) { - if (!validateBusinessUnitId(businessUnitId)) { - throw new Error("Invalid business unit ID"); - } - if (!validateReviewId(reviewId)) { - throw new Error("Invalid review ID"); - } - if (!message || typeof message !== "string") { - throw new Error("Reply message is required"); - } - - // Sanitize and validate message length (Trustpilot limit is 5000 characters) - const sanitizedMessage = sanitizeInput(message, 5000); - if (sanitizedMessage.length === 0) { - throw new Error("Reply message cannot be empty after sanitization"); - } - - const endpoint = buildUrl(ENDPOINTS.REPLY_TO_SERVICE_REVIEW, { - businessUnitId, - reviewId, - }); - const response = await this._makeRequest({ - endpoint, - method: "POST", - data: { - message: sanitizedMessage, - }, - }); - return response; - }, - - // Product Review methods - async getProductReviews(options = {}) { - const endpoint = buildUrl(ENDPOINTS.PUBLIC_PRODUCT_REVIEWS, { - businessUnitId: options.businessUnitId, - }); - return this._getReviews({ - endpoint, - ...options, - }); - }, - - async getProductReviewById({ reviewId }) { - if (!validateReviewId(reviewId)) { - throw new Error("Invalid review ID"); - } - - const endpoint = buildUrl(ENDPOINTS.PRIVATE_PRODUCT_REVIEW_BY_ID, { - reviewId, - }); - const response = await this._makeRequest({ - endpoint, - }); - return parseReview(response); - }, - - async replyToProductReview({ - reviewId, message, - }) { - if (!validateReviewId(reviewId)) { - throw new Error("Invalid review ID"); - } - if (!message || typeof message !== "string") { - throw new Error("Reply message is required"); - } - - // Sanitize and validate message length (Trustpilot limit is 5000 characters) - const sanitizedMessage = sanitizeInput(message, 5000); - if (sanitizedMessage.length === 0) { - throw new Error("Reply message cannot be empty after sanitization"); - } - - const endpoint = buildUrl(ENDPOINTS.REPLY_TO_PRODUCT_REVIEW, { - reviewId, - }); - const response = await this._makeRequest({ - endpoint, - method: "POST", - data: { - message: sanitizedMessage, - }, - }); - return response; - }, - - // Conversation methods - async getConversations({ - limit = DEFAULT_LIMIT, - offset = 0, - sortBy = SORT_OPTIONS.CREATED_AT_DESC, - businessUnitId = null, - } = {}) { - const params = { - perPage: limit, - page: Math.floor(offset / limit) + 1, - orderBy: sortBy, - }; - - if (businessUnitId) { - params.businessUnitId = businessUnitId; - } - - const response = await this._makeRequestWithRetry({ - endpoint: ENDPOINTS.CONVERSATIONS, - params, - }); - - return { - conversations: response.conversations || [], - pagination: { - total: response.pagination?.total || 0, - page: response.pagination?.page || 1, - perPage: response.pagination?.perPage || limit, - hasMore: response.pagination?.hasMore || false, - }, - }; - }, - - async getConversationById({ conversationId }) { - if (!conversationId) { - throw new Error("Invalid conversation ID"); - } - - const endpoint = buildUrl(ENDPOINTS.CONVERSATION_BY_ID, { - conversationId, - }); - const response = await this._makeRequest({ - endpoint, - }); - return response; - }, - - async replyToConversation({ - conversationId, message, - }) { - if (!conversationId) { - throw new Error("Invalid conversation ID"); - } - if (!message || typeof message !== "string") { - throw new Error("Reply message is required"); - } - - // Sanitize and validate message length (Trustpilot limit is 5000 characters) - const sanitizedMessage = sanitizeInput(message, 5000); - if (sanitizedMessage.length === 0) { - throw new Error("Reply message cannot be empty after sanitization"); - } - - const endpoint = buildUrl(ENDPOINTS.REPLY_TO_CONVERSATION, { - conversationId, - }); - const response = await this._makeRequest({ - endpoint, - method: "POST", - data: { - message: sanitizedMessage, - }, - }); - return response; - }, - - // Webhook methods - async createWebhook({ - url, events = [], businessUnitId = null, - }) { - if (!url) { - throw new Error("Webhook URL is required"); - } - if (!Array.isArray(events) || events.length === 0) { - throw new Error("At least one event must be specified"); - } - - const data = { - url, - events, - }; - - if (businessUnitId) { - data.businessUnitId = businessUnitId; - } - - const response = await this._makeRequest({ - endpoint: ENDPOINTS.WEBHOOKS, - method: "POST", - data, - }); - return response; - }, - - async deleteWebhook(webhookId) { - if (!webhookId) { - throw new Error("Webhook ID is required"); - } - - const endpoint = buildUrl(ENDPOINTS.WEBHOOK_BY_ID, { - webhookId, - }); - await this._makeRequest({ - endpoint, - method: "DELETE", - }); - }, - - async listWebhooks() { - const response = await this._makeRequest({ - endpoint: ENDPOINTS.WEBHOOKS, - }); - return response.webhooks || []; - }, - - // Utility methods - parseWebhookPayload(payload) { - return parseWebhookPayload(payload); - }, - - validateWebhookSignature(payload, signature, secret) { - // Trustpilot uses HMAC-SHA256 for webhook signature validation - // The signature is sent in the x-trustpilot-signature header - if (!signature || !secret) { - return false; - } - - const payloadString = typeof payload === "string" - ? payload - : JSON.stringify(payload); - - const expectedSignature = crypto - .createHmac("sha256", secret) - .update(payloadString) - .digest("hex"); - - // Constant time comparison to prevent timing attacks - return crypto.timingSafeEqual( - Buffer.from(signature), - Buffer.from(expectedSignature), - ); + // this.$auth contains connected account data + authKeys() { + console.log(Object.keys(this.$auth)); }, - }, -}); +}; diff --git a/components/turbohire/.gitignore b/components/turbohire/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/turbohire/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/turbohire/package.json b/components/turbohire/package.json index 9447841d47b24..c8b9eb1bb73aa 100644 --- a/components/turbohire/package.json +++ b/components/turbohire/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/turbohire", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream TurboHire Components", - "main": "dist/app/turbohire.app.mjs", + "main": "turbohire.app.mjs", "keywords": [ "pipedream", "turbohire" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/turbohire", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/turbohire/tsconfig.json b/components/turbohire/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/turbohire/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/turbohire/app/turbohire.app.ts b/components/turbohire/turbohire.app.mjs similarity index 71% rename from components/turbohire/app/turbohire.app.ts rename to components/turbohire/turbohire.app.mjs index b994de3d82777..bfc619df69de7 100644 --- a/components/turbohire/app/turbohire.app.ts +++ b/components/turbohire/turbohire.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "turbohire", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/tutor_lms/.gitignore b/components/tutor_lms/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/tutor_lms/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/tutor_lms/package.json b/components/tutor_lms/package.json index 424e573a2887b..bba07a14c1ac9 100644 --- a/components/tutor_lms/package.json +++ b/components/tutor_lms/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/tutor_lms", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Tutor LMS Components", - "main": "dist/app/tutor_lms.app.mjs", + "main": "tutor_lms.app.mjs", "keywords": [ "pipedream", "tutor_lms" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/tutor_lms", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/tutor_lms/tsconfig.json b/components/tutor_lms/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/tutor_lms/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/tutor_lms/app/tutor_lms.app.ts b/components/tutor_lms/tutor_lms.app.mjs similarity index 71% rename from components/tutor_lms/app/tutor_lms.app.ts rename to components/tutor_lms/tutor_lms.app.mjs index b233d50be6ab0..22640114302e3 100644 --- a/components/tutor_lms/app/tutor_lms.app.ts +++ b/components/tutor_lms/tutor_lms.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "tutor_lms", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/twelve_data/.gitignore b/components/twelve_data/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/twelve_data/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/twelve_data/package.json b/components/twelve_data/package.json index cf74242e7fde0..8b9c1bb7b4e62 100644 --- a/components/twelve_data/package.json +++ b/components/twelve_data/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/twelve_data", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Twelve Data Components", - "main": "dist/app/twelve_data.app.mjs", + "main": "twelve_data.app.mjs", "keywords": [ "pipedream", "twelve_data" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/twelve_data", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/twelve_data/tsconfig.json b/components/twelve_data/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/twelve_data/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/twelve_data/app/twelve_data.app.ts b/components/twelve_data/twelve_data.app.mjs similarity index 71% rename from components/twelve_data/app/twelve_data.app.ts rename to components/twelve_data/twelve_data.app.mjs index 4d5cb133e84e5..c636bf84c755e 100644 --- a/components/twelve_data/app/twelve_data.app.ts +++ b/components/twelve_data/twelve_data.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "twelve_data", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/typless/.gitignore b/components/typless/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/typless/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/typless/package.json b/components/typless/package.json index d343c109de9d3..69089f23ad877 100644 --- a/components/typless/package.json +++ b/components/typless/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/typless", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Typless Components", - "main": "dist/app/typless.app.mjs", + "main": "typless.app.mjs", "keywords": [ "pipedream", "typless" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/typless", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/typless/tsconfig.json b/components/typless/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/typless/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/typless/app/typless.app.ts b/components/typless/typless.app.mjs similarity index 71% rename from components/typless/app/typless.app.ts rename to components/typless/typless.app.mjs index 31bd44aa76ed3..882cb5cd66e6a 100644 --- a/components/typless/app/typless.app.ts +++ b/components/typless/typless.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "typless", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/uchat/.gitignore b/components/uchat/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/uchat/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/uchat/package.json b/components/uchat/package.json index 62f7c41076da7..8be31fe297452 100644 --- a/components/uchat/package.json +++ b/components/uchat/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/uchat", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Uchat Components", - "main": "dist/app/uchat.app.mjs", + "main": "uchat.app.mjs", "keywords": [ "pipedream", "uchat" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/uchat", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/uchat/tsconfig.json b/components/uchat/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/uchat/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/uchat/app/uchat.app.ts b/components/uchat/uchat.app.mjs similarity index 70% rename from components/uchat/app/uchat.app.ts rename to components/uchat/uchat.app.mjs index dacc08f4868e6..d7889301f659f 100644 --- a/components/uchat/app/uchat.app.ts +++ b/components/uchat/uchat.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "uchat", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/uk_gov_vehecle_enquiry_api/.gitignore b/components/uk_gov_vehecle_enquiry_api/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/uk_gov_vehecle_enquiry_api/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/uk_gov_vehecle_enquiry_api/package.json b/components/uk_gov_vehecle_enquiry_api/package.json index 295d9197fccc3..2141357c8c25e 100644 --- a/components/uk_gov_vehecle_enquiry_api/package.json +++ b/components/uk_gov_vehecle_enquiry_api/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/uk_gov_vehecle_enquiry_api", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream UK gov Vehicle Enquiry API Components", - "main": "dist/app/uk_gov_vehecle_enquiry_api.app.mjs", + "main": "uk_gov_vehecle_enquiry_api.app.mjs", "keywords": [ "pipedream", "uk_gov_vehecle_enquiry_api" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/uk_gov_vehecle_enquiry_api", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/uk_gov_vehecle_enquiry_api/tsconfig.json b/components/uk_gov_vehecle_enquiry_api/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/uk_gov_vehecle_enquiry_api/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/uk_gov_vehecle_enquiry_api/app/uk_gov_vehecle_enquiry_api.app.ts b/components/uk_gov_vehecle_enquiry_api/uk_gov_vehecle_enquiry_api.app.mjs similarity index 73% rename from components/uk_gov_vehecle_enquiry_api/app/uk_gov_vehecle_enquiry_api.app.ts rename to components/uk_gov_vehecle_enquiry_api/uk_gov_vehecle_enquiry_api.app.mjs index 8c081969914fa..a6542ba273793 100644 --- a/components/uk_gov_vehecle_enquiry_api/app/uk_gov_vehecle_enquiry_api.app.ts +++ b/components/uk_gov_vehecle_enquiry_api/uk_gov_vehecle_enquiry_api.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "uk_gov_vehecle_enquiry_api", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/user_com/.gitignore b/components/user_com/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/user_com/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/user_com/package.json b/components/user_com/package.json index fa86b0552755e..9b4962920fbc0 100644 --- a/components/user_com/package.json +++ b/components/user_com/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/user_com", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream User.com Components", - "main": "dist/app/user_com.app.mjs", + "main": "user_com.app.mjs", "keywords": [ "pipedream", "user_com" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/user_com", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/user_com/tsconfig.json b/components/user_com/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/user_com/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/user_com/app/user_com.app.ts b/components/user_com/user_com.app.mjs similarity index 71% rename from components/user_com/app/user_com.app.ts rename to components/user_com/user_com.app.mjs index 63f6f6d1b0287..3e9b624c7e605 100644 --- a/components/user_com/app/user_com.app.ts +++ b/components/user_com/user_com.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "user_com", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/utradea/.gitignore b/components/utradea/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/utradea/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/utradea/package.json b/components/utradea/package.json index ec043f5ceb74b..525198912ffce 100644 --- a/components/utradea/package.json +++ b/components/utradea/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/utradea", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Utradea Components", - "main": "dist/app/utradea.app.mjs", + "main": "utradea.app.mjs", "keywords": [ "pipedream", "utradea" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/utradea", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/utradea/tsconfig.json b/components/utradea/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/utradea/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/utradea/app/utradea.app.ts b/components/utradea/utradea.app.mjs similarity index 71% rename from components/utradea/app/utradea.app.ts rename to components/utradea/utradea.app.mjs index 600e7a5233484..61828d196881d 100644 --- a/components/utradea/app/utradea.app.ts +++ b/components/utradea/utradea.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "utradea", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/vectera/.gitignore b/components/vectera/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/vectera/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/vectera/package.json b/components/vectera/package.json index ef099bf97f91b..448af1ae48c4c 100644 --- a/components/vectera/package.json +++ b/components/vectera/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/vectera", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Vectera Components", - "main": "dist/app/vectera.app.mjs", + "main": "vectera.app.mjs", "keywords": [ "pipedream", "vectera" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/vectera", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/vectera/tsconfig.json b/components/vectera/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/vectera/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/vectera/app/vectera.app.ts b/components/vectera/vectera.app.mjs similarity index 71% rename from components/vectera/app/vectera.app.ts rename to components/vectera/vectera.app.mjs index 54bd7728fb725..5005c169a3068 100644 --- a/components/vectera/app/vectera.app.ts +++ b/components/vectera/vectera.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "vectera", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/verifybee/.gitignore b/components/verifybee/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/verifybee/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/verifybee/package.json b/components/verifybee/package.json index 3c4f89f7c8b87..09dcb7422dc35 100644 --- a/components/verifybee/package.json +++ b/components/verifybee/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/verifybee", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream VerifyBee Components", - "main": "dist/app/verifybee.app.mjs", + "main": "verifybee.app.mjs", "keywords": [ "pipedream", "verifybee" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/verifybee", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/verifybee/tsconfig.json b/components/verifybee/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/verifybee/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/verifybee/app/verifybee.app.ts b/components/verifybee/verifybee.app.mjs similarity index 71% rename from components/verifybee/app/verifybee.app.ts rename to components/verifybee/verifybee.app.mjs index 6c642c1264a4d..d2ddbecc87da1 100644 --- a/components/verifybee/app/verifybee.app.ts +++ b/components/verifybee/verifybee.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "verifybee", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/virustotal/.gitignore b/components/virustotal/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/virustotal/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/virustotal/package.json b/components/virustotal/package.json index 2cf45691e6ba0..18499d7d88583 100644 --- a/components/virustotal/package.json +++ b/components/virustotal/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/virustotal", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream VirusTotal Components", - "main": "dist/app/virustotal.app.mjs", + "main": "virustotal.app.mjs", "keywords": [ "pipedream", "virustotal" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/virustotal", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/virustotal/tsconfig.json b/components/virustotal/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/virustotal/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/virustotal/app/virustotal.app.ts b/components/virustotal/virustotal.app.mjs similarity index 71% rename from components/virustotal/app/virustotal.app.ts rename to components/virustotal/virustotal.app.mjs index 431be0cb8b206..cec4475aa1870 100644 --- a/components/virustotal/app/virustotal.app.ts +++ b/components/virustotal/virustotal.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "virustotal", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/vivifyscrum/.gitignore b/components/vivifyscrum/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/vivifyscrum/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/vivifyscrum/package.json b/components/vivifyscrum/package.json index 82d7851c65ec1..79bc3917d0a9e 100644 --- a/components/vivifyscrum/package.json +++ b/components/vivifyscrum/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/vivifyscrum", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream VivifyScrum Components", - "main": "dist/app/vivifyscrum.app.mjs", + "main": "vivifyscrum.app.mjs", "keywords": [ "pipedream", "vivifyscrum" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/vivifyscrum", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/vivifyscrum/tsconfig.json b/components/vivifyscrum/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/vivifyscrum/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/vivifyscrum/app/vivifyscrum.app.ts b/components/vivifyscrum/vivifyscrum.app.mjs similarity index 71% rename from components/vivifyscrum/app/vivifyscrum.app.ts rename to components/vivifyscrum/vivifyscrum.app.mjs index 34d15fa59d352..7337486379c49 100644 --- a/components/vivifyscrum/app/vivifyscrum.app.ts +++ b/components/vivifyscrum/vivifyscrum.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "vivifyscrum", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/vk/.gitignore b/components/vk/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/vk/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/vk/package.json b/components/vk/package.json index 3e46aebdcc089..1cbf8d11b86aa 100644 --- a/components/vk/package.json +++ b/components/vk/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/vk", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream vk Components", - "main": "dist/app/vk.app.mjs", + "main": "vk.app.mjs", "keywords": [ "pipedream", "vk" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/vk", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/vk/tsconfig.json b/components/vk/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/vk/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/vk/app/vk.app.ts b/components/vk/vk.app.mjs similarity index 70% rename from components/vk/app/vk.app.ts rename to components/vk/vk.app.mjs index f1d6c9546f5a5..8255afe28d6b3 100644 --- a/components/vk/app/vk.app.ts +++ b/components/vk/vk.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "vk", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/voice/.gitignore b/components/voice/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/voice/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/voice/app/voice.app.ts b/components/voice/app/voice.app.ts deleted file mode 100644 index d5f1a0676bfb0..0000000000000 --- a/components/voice/app/voice.app.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ - type: "app", - app: "voice", - propDefinitions: {}, - methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); - }, - }, -}); diff --git a/components/voice/package.json b/components/voice/package.json index 786654ed2dfb0..905cfc3fbf6e6 100644 --- a/components/voice/package.json +++ b/components/voice/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/voice", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Voiceflow Components", - "main": "dist/app/voice.app.mjs", + "main": "voice.app.mjs", "keywords": [ "pipedream", "voice" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/voice", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/voice/tsconfig.json b/components/voice/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/voice/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/voice/voice.app.mjs b/components/voice/voice.app.mjs index 97fd6f5ebd420..adb39807b06ba 100644 --- a/components/voice/voice.app.mjs +++ b/components/voice/voice.app.mjs @@ -8,4 +8,4 @@ export default { console.log(Object.keys(this.$auth)); }, }, -}; \ No newline at end of file +}; diff --git a/components/vosfactures/.gitignore b/components/vosfactures/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/vosfactures/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/vosfactures/package.json b/components/vosfactures/package.json index 15a56053950e5..06dca7a444fee 100644 --- a/components/vosfactures/package.json +++ b/components/vosfactures/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/vosfactures", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Vosfactures Components", - "main": "dist/app/vosfactures.app.mjs", + "main": "vosfactures.app.mjs", "keywords": [ "pipedream", "vosfactures" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/vosfactures", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/vosfactures/tsconfig.json b/components/vosfactures/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/vosfactures/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/vosfactures/app/vosfactures.app.ts b/components/vosfactures/vosfactures.app.mjs similarity index 71% rename from components/vosfactures/app/vosfactures.app.ts rename to components/vosfactures/vosfactures.app.mjs index 27b7958810ba1..3abd093b40892 100644 --- a/components/vosfactures/app/vosfactures.app.ts +++ b/components/vosfactures/vosfactures.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "vosfactures", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/warpcast/.gitignore b/components/warpcast/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/warpcast/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/warpcast/package.json b/components/warpcast/package.json index e66dcee6afcaa..14e20452108a3 100644 --- a/components/warpcast/package.json +++ b/components/warpcast/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/warpcast", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Warpcast Components", - "main": "dist/app/warpcast.app.mjs", + "main": "warpcast.app.mjs", "keywords": [ "pipedream", "warpcast" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/warpcast", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/warpcast/tsconfig.json b/components/warpcast/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/warpcast/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/warpcast/app/warpcast.app.ts b/components/warpcast/warpcast.app.mjs similarity index 71% rename from components/warpcast/app/warpcast.app.ts rename to components/warpcast/warpcast.app.mjs index ce66316866c10..0ceec21c4a45f 100644 --- a/components/warpcast/app/warpcast.app.ts +++ b/components/warpcast/warpcast.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "warpcast", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/watchsignals/.gitignore b/components/watchsignals/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/watchsignals/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/watchsignals/package.json b/components/watchsignals/package.json index 91a93403cba5f..a9125b1b243e9 100644 --- a/components/watchsignals/package.json +++ b/components/watchsignals/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/watchsignals", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream WatchSignals Components", - "main": "dist/app/watchsignals.app.mjs", + "main": "watchsignals.app.mjs", "keywords": [ "pipedream", "watchsignals" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/watchsignals", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/watchsignals/tsconfig.json b/components/watchsignals/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/watchsignals/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/watchsignals/app/watchsignals.app.ts b/components/watchsignals/watchsignals.app.mjs similarity index 71% rename from components/watchsignals/app/watchsignals.app.ts rename to components/watchsignals/watchsignals.app.mjs index 6f5abb61f91d7..ed905523e3a24 100644 --- a/components/watchsignals/app/watchsignals.app.ts +++ b/components/watchsignals/watchsignals.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "watchsignals", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/whosonlocation/.gitignore b/components/whosonlocation/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/whosonlocation/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/whosonlocation/package.json b/components/whosonlocation/package.json index 39778c02c2182..f888aa212851c 100644 --- a/components/whosonlocation/package.json +++ b/components/whosonlocation/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/whosonlocation", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream WhosOnLocation Components", - "main": "dist/app/whosonlocation.app.mjs", + "main": "whosonlocation.app.mjs", "keywords": [ "pipedream", "whosonlocation" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/whosonlocation", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/whosonlocation/tsconfig.json b/components/whosonlocation/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/whosonlocation/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/whosonlocation/app/whosonlocation.app.ts b/components/whosonlocation/whosonlocation.app.mjs similarity index 72% rename from components/whosonlocation/app/whosonlocation.app.ts rename to components/whosonlocation/whosonlocation.app.mjs index 5d14f6aa7917d..83e3dc56d3a1c 100644 --- a/components/whosonlocation/app/whosonlocation.app.ts +++ b/components/whosonlocation/whosonlocation.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "whosonlocation", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/wicked_reports/.gitignore b/components/wicked_reports/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/wicked_reports/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/wicked_reports/package.json b/components/wicked_reports/package.json index 442ce3d655d12..edfae93eeb75b 100644 --- a/components/wicked_reports/package.json +++ b/components/wicked_reports/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/wicked_reports", - "version": "0.0.1", + "version": "0.0.2", "description": "Pipedream Wicked Reports Components", - "main": "dist/app/wicked_reports.app.mjs", + "main": "wicked_reports.app.mjs", "keywords": [ "pipedream", "wicked_reports" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/wicked_reports", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/wicked_reports/tsconfig.json b/components/wicked_reports/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/wicked_reports/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/wicked_reports/app/wicked_reports.app.ts b/components/wicked_reports/wicked_reports.app.mjs similarity index 72% rename from components/wicked_reports/app/wicked_reports.app.ts rename to components/wicked_reports/wicked_reports.app.mjs index 0e0262be0eb38..24e62623d0902 100644 --- a/components/wicked_reports/app/wicked_reports.app.ts +++ b/components/wicked_reports/wicked_reports.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "wicked_reports", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/wire2air/.gitignore b/components/wire2air/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/wire2air/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/wire2air/package.json b/components/wire2air/package.json index 34268d5dce8b2..397d72fa62acb 100644 --- a/components/wire2air/package.json +++ b/components/wire2air/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/wire2air", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Wire2Air Components", - "main": "dist/app/wire2air.app.mjs", + "main": "wire2air.app.mjs", "keywords": [ "pipedream", "wire2air" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/wire2air", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/wire2air/tsconfig.json b/components/wire2air/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/wire2air/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/wire2air/app/wire2air.app.ts b/components/wire2air/wire2air.app.mjs similarity index 71% rename from components/wire2air/app/wire2air.app.ts rename to components/wire2air/wire2air.app.mjs index d94bc0ba7efb1..d1ab9c435ab7e 100644 --- a/components/wire2air/app/wire2air.app.ts +++ b/components/wire2air/wire2air.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "wire2air", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/wishpond/.gitignore b/components/wishpond/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/wishpond/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/wishpond/package.json b/components/wishpond/package.json index 910a7444b3a0f..be23d60f1d04d 100644 --- a/components/wishpond/package.json +++ b/components/wishpond/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/wishpond", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Wishpond Components", - "main": "dist/app/wishpond.app.mjs", + "main": "wishpond.app.mjs", "keywords": [ "pipedream", "wishpond" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/wishpond", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/wishpond/tsconfig.json b/components/wishpond/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/wishpond/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/wishpond/app/wishpond.app.ts b/components/wishpond/wishpond.app.mjs similarity index 71% rename from components/wishpond/app/wishpond.app.ts rename to components/wishpond/wishpond.app.mjs index 368f13ce2b421..ecbcdd17b299c 100644 --- a/components/wishpond/app/wishpond.app.ts +++ b/components/wishpond/wishpond.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "wishpond", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/wix/.gitignore b/components/wix/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/wix/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/wix/package.json b/components/wix/package.json index a61c8dafd89f1..7212804a827f0 100644 --- a/components/wix/package.json +++ b/components/wix/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/wix", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Wix Components", - "main": "dist/app/wix.app.mjs", + "main": "wix.app.mjs", "keywords": [ "pipedream", "wix" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/wix", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/wix/tsconfig.json b/components/wix/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/wix/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/wix/app/wix.app.ts b/components/wix/wix.app.mjs similarity index 70% rename from components/wix/app/wix.app.ts rename to components/wix/wix.app.mjs index a203797989912..442eb0dc870df 100644 --- a/components/wix/app/wix.app.ts +++ b/components/wix/wix.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "wix", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/woopra/.gitignore b/components/woopra/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/woopra/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/woopra/package.json b/components/woopra/package.json index 168bbc45e96b6..74ae3945df9eb 100644 --- a/components/woopra/package.json +++ b/components/woopra/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/woopra", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Woopra Components", - "main": "dist/app/woopra.app.mjs", + "main": "woopra.app.mjs", "keywords": [ "pipedream", "woopra" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/woopra", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/woopra/tsconfig.json b/components/woopra/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/woopra/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/woopra/app/woopra.app.ts b/components/woopra/woopra.app.mjs similarity index 71% rename from components/woopra/app/woopra.app.ts rename to components/woopra/woopra.app.mjs index 7d92589b1b61d..6a017dc52ec60 100644 --- a/components/woopra/app/woopra.app.ts +++ b/components/woopra/woopra.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "woopra", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/workiom/.gitignore b/components/workiom/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/workiom/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/workiom/package.json b/components/workiom/package.json index 6805d78dea7f1..398e71a0dce4a 100644 --- a/components/workiom/package.json +++ b/components/workiom/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/workiom", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Workiom Components", - "main": "dist/app/workiom.app.mjs", + "main": "workiom.app.mjs", "keywords": [ "pipedream", "workiom" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/workiom", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/workiom/tsconfig.json b/components/workiom/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/workiom/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/workiom/app/workiom.app.ts b/components/workiom/workiom.app.mjs similarity index 71% rename from components/workiom/app/workiom.app.ts rename to components/workiom/workiom.app.mjs index 9f0a861202903..490d7fa0b89ca 100644 --- a/components/workiom/app/workiom.app.ts +++ b/components/workiom/workiom.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "workiom", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/worksnaps/.gitignore b/components/worksnaps/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/worksnaps/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/worksnaps/package.json b/components/worksnaps/package.json index 66ec32a1f1ff1..db48d2bfdcd9c 100644 --- a/components/worksnaps/package.json +++ b/components/worksnaps/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/worksnaps", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Worksnaps Components", - "main": "dist/app/worksnaps.app.mjs", + "main": "worksnaps.app.mjs", "keywords": [ "pipedream", "worksnaps" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/worksnaps", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/worksnaps/tsconfig.json b/components/worksnaps/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/worksnaps/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/worksnaps/app/worksnaps.app.ts b/components/worksnaps/worksnaps.app.mjs similarity index 71% rename from components/worksnaps/app/worksnaps.app.ts rename to components/worksnaps/worksnaps.app.mjs index f0ff26fc8cc2a..2bf024125cd1c 100644 --- a/components/worksnaps/app/worksnaps.app.ts +++ b/components/worksnaps/worksnaps.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "worksnaps", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/writesonic/.gitignore b/components/writesonic/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/writesonic/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/writesonic/package.json b/components/writesonic/package.json index 2088e6edad861..fbe9e984a6184 100644 --- a/components/writesonic/package.json +++ b/components/writesonic/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/writesonic", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Writesonic Components", - "main": "dist/app/writesonic.app.mjs", + "main": "writesonic.app.mjs", "keywords": [ "pipedream", "writesonic" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/writesonic", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/writesonic/tsconfig.json b/components/writesonic/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/writesonic/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/writesonic/app/writesonic.app.ts b/components/writesonic/writesonic.app.mjs similarity index 71% rename from components/writesonic/app/writesonic.app.ts rename to components/writesonic/writesonic.app.mjs index 5fd3de698ffd9..d4c8f3eca3d48 100644 --- a/components/writesonic/app/writesonic.app.ts +++ b/components/writesonic/writesonic.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "writesonic", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/xperiencify/.gitignore b/components/xperiencify/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/xperiencify/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/xperiencify/app/xperiencify.app.ts b/components/xperiencify/app/xperiencify.app.ts deleted file mode 100644 index e69e4f2e4eddc..0000000000000 --- a/components/xperiencify/app/xperiencify.app.ts +++ /dev/null @@ -1,134 +0,0 @@ -import { defineApp } from "@pipedream/types"; -import { axios } from "@pipedream/platform"; - -export default defineApp({ - type: "app", - app: "xperiencify", - propDefinitions: { - courseId: { - type: "integer", - label: "Course", - description: "Course", - async options() { - const courses = await this.listCourses(); - return courses.map((course) => ({ - label: course.title, - value: course.id, - })); - }, - }, - student: { - type: "string", - label: "Student", - description: "The student's email address", - async options({ courseId }) { - const students = !courseId - ? await this.listAllStudents() - : await this.getStudentsForCourse({ - courseId, - }); - return students.map((student) => ({ - label: student.first_name, - value: student.email, - })); - }, - }, - tags: { - type: "string[]", - label: "Tags", - description: "Student tags", - async options({ studentEmail }) { - const tags = await this.listStudentTags({ - data: { - student_email: studentEmail, - }, - }); - return tags; - }, - }, - }, - methods: { - async _makeRequest({ - $ = this, path, params, ...opts - }) { - try { - return await axios($, { - url: `https://api.xperiencify.io/api/public${path}`, - params: { - api_key: this.$auth.api_key, - ...params, - }, - ...opts, - }); - } catch (e) { - console.error(e.response.data); - throw e; - } - }, - async listCourses(opts = {}) { - return this._makeRequest({ - path: "/coach/courses", - ...opts, - }); - }, - async listAllStudents() { - const courses = await this.listCourses(); - const promises = courses.map(async (course) => this.getStudentsForCourse({ - courseId: course.id, - })); - return (await Promise.all(promises)).flat().sort(); - }, - async listStudentTags(opts = {}) { - return this._makeRequest({ - path: "/student/tag/list", - ...opts, - }); - }, - async addTagsToStudent(opts = {}) { - return this._makeRequest({ - path: "/student/tag/manager", - method: "post", - ...opts, - }); - }, - async removeTagsFromStudent(opts = {}) { - return this._makeRequest({ - path: "/student/tag/manager", - method: "delete", - ...opts, - }); - }, - async removeStudentFromAllCourses(opts = {}) { - return this._makeRequest({ - path: "/student/course/remove/all", - method: "post", // yes, it's supposed to be post - ...opts, - }); - }, - async getStudentsForCourse({ courseId }) { - const courses = await this.listCourses(); - const [ - course, - ] = courses.filter((course) => course.id === courseId) || []; - - if (!course) { - throw new Error(`Course ${courseId} not found`); - } - return course.users; - }, - async addStudentToCourse(opts = {}) { - return this._makeRequest({ - path: "/student/create", - method: "post", - ...opts, - }); - }, - async removeStudentFromCourse(opts = {}) { - return this._makeRequest({ - path: "/student/course/remove", - method: "post", // yes, it's supposed to be post - ...opts, - }); - }, - }, -}); diff --git a/components/xperiencify/package.json b/components/xperiencify/package.json index d790b75ff8539..42bbabc72d154 100644 --- a/components/xperiencify/package.json +++ b/components/xperiencify/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/xperiencify", - "version": "0.0.5", + "version": "0.0.6", "description": "Pipedream Xperiencify Components", - "main": "dist/app/xperiencify.app.mjs", + "main": "xperiencify.app.mjs", "keywords": [ "pipedream", "xperiencify" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/xperiencify", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/xperiencify/tsconfig.json b/components/xperiencify/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/xperiencify/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/xperiencify/xperiencify.app.mjs b/components/xperiencify/xperiencify.app.mjs new file mode 100644 index 0000000000000..efef270c5e5e0 --- /dev/null +++ b/components/xperiencify/xperiencify.app.mjs @@ -0,0 +1,11 @@ +export default { + type: "app", + app: "xperiencify", + propDefinitions: {}, + methods: { + // this.$auth contains connected account data + authKeys() { + console.log(Object.keys(this.$auth)); + }, + }, +}; diff --git a/components/yoast_seo/.gitignore b/components/yoast_seo/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/yoast_seo/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/yoast_seo/package.json b/components/yoast_seo/package.json index e5ec7cf864f20..9f32ef235a292 100644 --- a/components/yoast_seo/package.json +++ b/components/yoast_seo/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/yoast_seo", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Yoast SEO Components", - "main": "dist/app/yoast_seo.app.mjs", + "main": "yoast_seo.app.mjs", "keywords": [ "pipedream", "yoast_seo" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/yoast_seo", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/yoast_seo/tsconfig.json b/components/yoast_seo/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/yoast_seo/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/yoast_seo/app/yoast_seo.app.ts b/components/yoast_seo/yoast_seo.app.mjs similarity index 71% rename from components/yoast_seo/app/yoast_seo.app.ts rename to components/yoast_seo/yoast_seo.app.mjs index 82cd36e6c6993..b25bf507c554b 100644 --- a/components/yoast_seo/app/yoast_seo.app.ts +++ b/components/yoast_seo/yoast_seo.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "yoast_seo", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/you_can_book_me/.gitignore b/components/you_can_book_me/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/you_can_book_me/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/you_can_book_me/package.json b/components/you_can_book_me/package.json index 32e753cf5e7e3..bcf456f777716 100644 --- a/components/you_can_book_me/package.json +++ b/components/you_can_book_me/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/you_can_book_me", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream You Can Book Me Components", - "main": "dist/app/you_can_book_me.app.mjs", + "main": "you_can_book_me.app.mjs", "keywords": [ "pipedream", "you_can_book_me" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/you_can_book_me", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/you_can_book_me/tsconfig.json b/components/you_can_book_me/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/you_can_book_me/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/you_can_book_me/app/you_can_book_me.app.ts b/components/you_can_book_me/you_can_book_me.app.mjs similarity index 71% rename from components/you_can_book_me/app/you_can_book_me.app.ts rename to components/you_can_book_me/you_can_book_me.app.mjs index 4681d15dbec62..6d751f33531aa 100644 --- a/components/you_can_book_me/app/you_can_book_me.app.ts +++ b/components/you_can_book_me/you_can_book_me.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "you_can_book_me", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/yr/.gitignore b/components/yr/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/yr/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/yr/package.json b/components/yr/package.json index 46ea0724fda98..7a1e16a5a2e0c 100644 --- a/components/yr/package.json +++ b/components/yr/package.json @@ -1,15 +1,12 @@ { "name": "@pipedream/yr", - "version": "0.0.3", + "version": "0.0.4", "description": "Pipedream Yr Components", - "main": "dist/app/yr.app.mjs", + "main": "yr.app.mjs", "keywords": [ "pipedream", "yr" ], - "files": [ - "dist" - ], "homepage": "https://pipedream.com/apps/yr", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/yr/tsconfig.json b/components/yr/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/yr/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/yr/app/yr.app.ts b/components/yr/yr.app.mjs similarity index 70% rename from components/yr/app/yr.app.ts rename to components/yr/yr.app.mjs index edabc089a9218..4e21c26f12d44 100644 --- a/components/yr/app/yr.app.ts +++ b/components/yr/yr.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "yr", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/components/yumpu/.gitignore b/components/yumpu/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/yumpu/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/yumpu/package.json b/components/yumpu/package.json index f037a5782e61b..d9a8d690b67f5 100644 --- a/components/yumpu/package.json +++ b/components/yumpu/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/yumpu", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Yumpu Components", - "main": "dist/app/yumpu.app.mjs", + "main": "yumpu.app.mjs", "keywords": [ "pipedream", "yumpu" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/yumpu", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/yumpu/tsconfig.json b/components/yumpu/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/yumpu/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/yumpu/app/yumpu.app.ts b/components/yumpu/yumpu.app.mjs similarity index 71% rename from components/yumpu/app/yumpu.app.ts rename to components/yumpu/yumpu.app.mjs index 9946b26f29433..7201fbf90e67b 100644 --- a/components/yumpu/app/yumpu.app.ts +++ b/components/yumpu/yumpu.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "yumpu", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); \ No newline at end of file +}; diff --git a/components/zuora/.gitignore b/components/zuora/.gitignore deleted file mode 100644 index ec761ccab7595..0000000000000 --- a/components/zuora/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.js -*.mjs -dist \ No newline at end of file diff --git a/components/zuora/package.json b/components/zuora/package.json index 66eddbae6fc14..c0f5d22338d69 100644 --- a/components/zuora/package.json +++ b/components/zuora/package.json @@ -1,13 +1,12 @@ { "name": "@pipedream/zuora", - "version": "0.0.2", + "version": "0.0.3", "description": "Pipedream Zuora Billing Components", - "main": "dist/app/zuora.app.mjs", + "main": "zuora.app.mjs", "keywords": [ "pipedream", "zuora" ], - "files": ["dist"], "homepage": "https://pipedream.com/apps/zuora", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { diff --git a/components/zuora/tsconfig.json b/components/zuora/tsconfig.json deleted file mode 100644 index 3a9389484d040..0000000000000 --- a/components/zuora/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "../../tsconfig.components.json" -} diff --git a/components/zuora/app/zuora.app.ts b/components/zuora/zuora.app.mjs similarity index 70% rename from components/zuora/app/zuora.app.ts rename to components/zuora/zuora.app.mjs index 1e71d872ada91..cdd1470565cea 100644 --- a/components/zuora/app/zuora.app.ts +++ b/components/zuora/zuora.app.mjs @@ -1,6 +1,4 @@ -import { defineApp } from "@pipedream/types"; - -export default defineApp({ +export default { type: "app", app: "zuora", propDefinitions: {}, @@ -10,4 +8,4 @@ export default defineApp({ console.log(Object.keys(this.$auth)); }, }, -}); +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66df70284fe5d..3eee5ba2a17ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1340,8 +1340,7 @@ importers: specifier: ^3.1.0 version: 3.1.0 - components/azure_devops_microsoft_entra_id_oauth: - specifiers: {} + components/azure_devops_microsoft_entra_id_oauth: {} components/azure_openai_service: dependencies: @@ -3220,8 +3219,7 @@ importers: specifier: ^3.0.0 version: 3.0.3 - components/cortex: - specifiers: {} + components/cortex: {} components/countdown_api: dependencies: @@ -10798,8 +10796,7 @@ importers: specifier: ^3.1.0 version: 3.1.0 - components/plentyone: - specifiers: {} + components/plentyone: {} components/plisio: {} @@ -13632,8 +13629,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/strapi: - specifiers: {} + components/strapi: {} components/strava: dependencies: @@ -13901,8 +13897,7 @@ importers: components/taggun: {} - components/taiga: - specifiers: {} + components/taiga: {} components/tailscale: {} @@ -15483,8 +15478,7 @@ importers: specifier: ^1.5.1 version: 1.6.6 - components/wekan: - specifiers: {} + components/wekan: {} components/welcome: dependencies: From 619f7d57b5db8790bb481d9552dc0c13867cb32a Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 14:54:17 -0300 Subject: [PATCH 2/6] Reverting serveravatar --- components/serveravatar/.gitignore | 3 + .../serveravatar/app/serveravatar.app.ts | 87 +++++++++++++++++++ components/serveravatar/package.json | 7 +- components/serveravatar/serveravatar.app.mjs | 11 --- components/serveravatar/tsconfig.json | 3 + 5 files changed, 98 insertions(+), 13 deletions(-) create mode 100644 components/serveravatar/.gitignore create mode 100644 components/serveravatar/app/serveravatar.app.ts delete mode 100644 components/serveravatar/serveravatar.app.mjs create mode 100644 components/serveravatar/tsconfig.json diff --git a/components/serveravatar/.gitignore b/components/serveravatar/.gitignore new file mode 100644 index 0000000000000..ec761ccab7595 --- /dev/null +++ b/components/serveravatar/.gitignore @@ -0,0 +1,3 @@ +*.js +*.mjs +dist \ No newline at end of file diff --git a/components/serveravatar/app/serveravatar.app.ts b/components/serveravatar/app/serveravatar.app.ts new file mode 100644 index 0000000000000..7b4ede598efeb --- /dev/null +++ b/components/serveravatar/app/serveravatar.app.ts @@ -0,0 +1,87 @@ +import { defineApp } from "@pipedream/types"; +import { axios } from "@pipedream/platform"; + +export default defineApp({ + type: "app", + app: "serveravatar", + propDefinitions: {}, + methods: { + _getBaseUrl() { + return "https://api.serveravatar.com"; + }, + _getHeaders() { + return { + "content-type": "application/json", + "authorization": `${this.$auth.api_key}`, + }; + }, + _getRequestParams(opts: any) { + return { + ...opts, + url: this._getBaseUrl() + opts.path, + headers: this._getHeaders(), + }; + }, + async createApplicationDomain(ctx = this, newAppDomainData: any) { + return await axios(ctx, this._getRequestParams({ + method: "POST", + path: "/domains", + data: newAppDomainData, + })); + }, + async listTeams() { + const teamsResponse = await axios(this, this._getRequestParams({ + method: "GET", + path: "/teams", + })); + return teamsResponse.teams; + }, + async listServers(teams: any[]) { + const teamServersPromise = teams.map((team: any) => { + return axios(this, this._getRequestParams({ + method: "GET", + path: `/teams/${team.id}/servers`, + })); + }); + const teamsServers = await Promise.all(teamServersPromise); + return teamsServers + .map((teamServers: any) => (teamServers.servers)) + .flat() + .filter((server: any) => server.status === "1"); + }, + async listAllServersOptions() { + const teams = await this.listTeams(); + const servers = await this.listServers(teams); + return servers.map((server: any) => ({ + label: `${server.name} - ${server.ip}`, + value: server.id, + })); + }, + async listApplications(serverId: number, page: number) { + const serverApplications = await axios(this, this._getRequestParams({ + method: "GET", + path: `/servers/${serverId}/applications?page=${page}`, + })); + return serverApplications?.applications; + }, + async listApplicationsOptions(serverId: number, prevContext: any) { + if (!serverId) { + return []; + } + const page = prevContext.page + ? prevContext.page + 1 + : 1; + const applications = await this.listApplications(serverId, page); + const options = applications.data.map((application: any) => ({ + label: `${application.name} - ${application.framework}`, + value: application.id, + })); + return { + options, + context: { + page: applications.current_page, + }, + }; + }, + }, +}); diff --git a/components/serveravatar/package.json b/components/serveravatar/package.json index ff140c1424e72..6fb2990675d65 100644 --- a/components/serveravatar/package.json +++ b/components/serveravatar/package.json @@ -1,9 +1,12 @@ { "name": "@pipedream/serveravatar", - "version": "0.0.5", + "version": "0.0.4", "description": "Pipedream Server Avatar Components", - "main": "serveravatar.app.mjs", + "main": "dist/app/serveravatar.app.mjs", "types": "dist/app/serveravatar.app.d.ts", + "files": [ + "dist" + ], "keywords": [ "pipedream", "serveravatar" diff --git a/components/serveravatar/serveravatar.app.mjs b/components/serveravatar/serveravatar.app.mjs deleted file mode 100644 index 88f433764e798..0000000000000 --- a/components/serveravatar/serveravatar.app.mjs +++ /dev/null @@ -1,11 +0,0 @@ -export default { - type: "app", - app: "serveravatar", - propDefinitions: {}, - methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); - }, - }, -}; diff --git a/components/serveravatar/tsconfig.json b/components/serveravatar/tsconfig.json new file mode 100644 index 0000000000000..3a9389484d040 --- /dev/null +++ b/components/serveravatar/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.components.json" +} From fe3c42be4e63685e7fd7910ddce3b73b291426f7 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 15:00:36 -0300 Subject: [PATCH 3/6] Reverting tolstoy --- components/serveravatar/.gitignore | 2 +- components/serveravatar/package.json | 7 +++-- components/tolstoy/.gitignore | 3 ++ components/tolstoy/app/tolstoy.app.ts | 40 +++++++++++++++++++++++++++ components/tolstoy/package.json | 8 +++++- components/tolstoy/tolstoy.app.mjs | 11 -------- components/tolstoy/tsconfig.json | 3 ++ 7 files changed, 58 insertions(+), 16 deletions(-) create mode 100644 components/tolstoy/.gitignore create mode 100644 components/tolstoy/app/tolstoy.app.ts delete mode 100644 components/tolstoy/tolstoy.app.mjs create mode 100644 components/tolstoy/tsconfig.json diff --git a/components/serveravatar/.gitignore b/components/serveravatar/.gitignore index ec761ccab7595..7dbffc80e15ae 100644 --- a/components/serveravatar/.gitignore +++ b/components/serveravatar/.gitignore @@ -1,3 +1,3 @@ *.js *.mjs -dist \ No newline at end of file +dist diff --git a/components/serveravatar/package.json b/components/serveravatar/package.json index 6fb2990675d65..57cc91f41e0ca 100644 --- a/components/serveravatar/package.json +++ b/components/serveravatar/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/serveravatar", - "version": "0.0.4", + "version": "0.0.5", "description": "Pipedream Server Avatar Components", "main": "dist/app/serveravatar.app.mjs", "types": "dist/app/serveravatar.app.d.ts", @@ -18,10 +18,11 @@ "access": "public" }, "devDependencies": { - "@types/node": "^17.0.36" + "@types/node": "^17.0.36", + "@pipedream/types": "^0.3.2" }, "dependencies": { "@pipedream/helpers": "^1.3.9", - "@pipedream/platform": "^0.10.0" + "@pipedream/platform": "^3.1.0" } } diff --git a/components/tolstoy/.gitignore b/components/tolstoy/.gitignore new file mode 100644 index 0000000000000..ec761ccab7595 --- /dev/null +++ b/components/tolstoy/.gitignore @@ -0,0 +1,3 @@ +*.js +*.mjs +dist \ No newline at end of file diff --git a/components/tolstoy/app/tolstoy.app.ts b/components/tolstoy/app/tolstoy.app.ts new file mode 100644 index 0000000000000..897fded204ecf --- /dev/null +++ b/components/tolstoy/app/tolstoy.app.ts @@ -0,0 +1,40 @@ +import { defineApp } from "@pipedream/types"; +import { axios } from "@pipedream/platform"; + +export default defineApp({ + type: "app", + app: "tolstoy", + propDefinitions: {}, + methods: { + _apiKey() { + return this.$auth.api_key; + }, + _apiUrl() { + return "https://api.gotolstoy.com"; + }, + async _makeRequest({ + $ = this, path, ...args + }) { + return axios($, { + url: `${this._apiUrl()}${path}`, + headers: { + Authorization: `Bearer ${this._apiKey()}`, + }, + ...args, + }); + }, + async createWebhook({ ...args }) { + return this._makeRequest({ + path: "/webhooks/", + method: "post", + ...args, + }); + }, + async removeWebhook(webhookId) { + return this._makeRequest({ + path: `/webhooks/${webhookId}`, + method: "delete", + }); + }, + }, +}); diff --git a/components/tolstoy/package.json b/components/tolstoy/package.json index 70baf8907a37a..1d48a3882cbbc 100644 --- a/components/tolstoy/package.json +++ b/components/tolstoy/package.json @@ -2,11 +2,14 @@ "name": "@pipedream/tolstoy", "version": "0.0.4", "description": "Pipedream Tolstoy Components", - "main": "tolstoy.app.mjs", + "main": "dist/app/tolstoy.app.mjs", "keywords": [ "pipedream", "tolstoy" ], + "files": [ + "dist" + ], "homepage": "https://pipedream.com/apps/tolstoy", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { @@ -14,5 +17,8 @@ }, "dependencies": { "@pipedream/platform": "^1.1.0" + }, + "devDependencies": { + "@pipedream/types": "^0.3.2" } } diff --git a/components/tolstoy/tolstoy.app.mjs b/components/tolstoy/tolstoy.app.mjs deleted file mode 100644 index 3194aa843a2d1..0000000000000 --- a/components/tolstoy/tolstoy.app.mjs +++ /dev/null @@ -1,11 +0,0 @@ -export default { - type: "app", - app: "tolstoy", - propDefinitions: {}, - methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); - }, - }, -}; diff --git a/components/tolstoy/tsconfig.json b/components/tolstoy/tsconfig.json new file mode 100644 index 0000000000000..3a9389484d040 --- /dev/null +++ b/components/tolstoy/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.components.json" +} From e942adc11fed66394f2ff18b61e34b38eac1ecb1 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 15:05:28 -0300 Subject: [PATCH 4/6] Reverting xperiencify --- components/xperiencify/.gitignore | 3 + components/xperiencify/app/xperiencify.app.ts | 134 ++++++++++++++++++ components/xperiencify/package.json | 8 +- components/xperiencify/tsconfig.json | 3 + components/xperiencify/xperiencify.app.mjs | 11 -- pnpm-lock.yaml | 15 +- 6 files changed, 160 insertions(+), 14 deletions(-) create mode 100644 components/xperiencify/.gitignore create mode 100644 components/xperiencify/app/xperiencify.app.ts create mode 100644 components/xperiencify/tsconfig.json delete mode 100644 components/xperiencify/xperiencify.app.mjs diff --git a/components/xperiencify/.gitignore b/components/xperiencify/.gitignore new file mode 100644 index 0000000000000..ec761ccab7595 --- /dev/null +++ b/components/xperiencify/.gitignore @@ -0,0 +1,3 @@ +*.js +*.mjs +dist \ No newline at end of file diff --git a/components/xperiencify/app/xperiencify.app.ts b/components/xperiencify/app/xperiencify.app.ts new file mode 100644 index 0000000000000..e69e4f2e4eddc --- /dev/null +++ b/components/xperiencify/app/xperiencify.app.ts @@ -0,0 +1,134 @@ +import { defineApp } from "@pipedream/types"; +import { axios } from "@pipedream/platform"; + +export default defineApp({ + type: "app", + app: "xperiencify", + propDefinitions: { + courseId: { + type: "integer", + label: "Course", + description: "Course", + async options() { + const courses = await this.listCourses(); + return courses.map((course) => ({ + label: course.title, + value: course.id, + })); + }, + }, + student: { + type: "string", + label: "Student", + description: "The student's email address", + async options({ courseId }) { + const students = !courseId + ? await this.listAllStudents() + : await this.getStudentsForCourse({ + courseId, + }); + return students.map((student) => ({ + label: student.first_name, + value: student.email, + })); + }, + }, + tags: { + type: "string[]", + label: "Tags", + description: "Student tags", + async options({ studentEmail }) { + const tags = await this.listStudentTags({ + data: { + student_email: studentEmail, + }, + }); + return tags; + }, + }, + }, + methods: { + async _makeRequest({ + $ = this, path, params, ...opts + }) { + try { + return await axios($, { + url: `https://api.xperiencify.io/api/public${path}`, + params: { + api_key: this.$auth.api_key, + ...params, + }, + ...opts, + }); + } catch (e) { + console.error(e.response.data); + throw e; + } + }, + async listCourses(opts = {}) { + return this._makeRequest({ + path: "/coach/courses", + ...opts, + }); + }, + async listAllStudents() { + const courses = await this.listCourses(); + const promises = courses.map(async (course) => this.getStudentsForCourse({ + courseId: course.id, + })); + return (await Promise.all(promises)).flat().sort(); + }, + async listStudentTags(opts = {}) { + return this._makeRequest({ + path: "/student/tag/list", + ...opts, + }); + }, + async addTagsToStudent(opts = {}) { + return this._makeRequest({ + path: "/student/tag/manager", + method: "post", + ...opts, + }); + }, + async removeTagsFromStudent(opts = {}) { + return this._makeRequest({ + path: "/student/tag/manager", + method: "delete", + ...opts, + }); + }, + async removeStudentFromAllCourses(opts = {}) { + return this._makeRequest({ + path: "/student/course/remove/all", + method: "post", // yes, it's supposed to be post + ...opts, + }); + }, + async getStudentsForCourse({ courseId }) { + const courses = await this.listCourses(); + const [ + course, + ] = courses.filter((course) => course.id === courseId) || []; + + if (!course) { + throw new Error(`Course ${courseId} not found`); + } + return course.users; + }, + async addStudentToCourse(opts = {}) { + return this._makeRequest({ + path: "/student/create", + method: "post", + ...opts, + }); + }, + async removeStudentFromCourse(opts = {}) { + return this._makeRequest({ + path: "/student/course/remove", + method: "post", // yes, it's supposed to be post + ...opts, + }); + }, + }, +}); diff --git a/components/xperiencify/package.json b/components/xperiencify/package.json index 42bbabc72d154..52687fb22e906 100644 --- a/components/xperiencify/package.json +++ b/components/xperiencify/package.json @@ -2,7 +2,10 @@ "name": "@pipedream/xperiencify", "version": "0.0.6", "description": "Pipedream Xperiencify Components", - "main": "xperiencify.app.mjs", + "main": "dist/app/xperiencify.app.mjs", + "files": [ + "dist" + ], "keywords": [ "pipedream", "xperiencify" @@ -14,5 +17,8 @@ }, "dependencies": { "@pipedream/platform": "^1.2.0" + }, + "devDependencies": { + "@pipedream/types": "^0.3.2" } } diff --git a/components/xperiencify/tsconfig.json b/components/xperiencify/tsconfig.json new file mode 100644 index 0000000000000..3a9389484d040 --- /dev/null +++ b/components/xperiencify/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../../tsconfig.components.json" +} diff --git a/components/xperiencify/xperiencify.app.mjs b/components/xperiencify/xperiencify.app.mjs deleted file mode 100644 index efef270c5e5e0..0000000000000 --- a/components/xperiencify/xperiencify.app.mjs +++ /dev/null @@ -1,11 +0,0 @@ -export default { - type: "app", - app: "xperiencify", - propDefinitions: {}, - methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); - }, - }, -}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3eee5ba2a17ca..6bac93765da53 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12657,9 +12657,12 @@ importers: specifier: ^1.3.9 version: 1.3.12 '@pipedream/platform': - specifier: ^0.10.0 - version: 0.10.0 + specifier: ^3.1.0 + version: 3.1.0 devDependencies: + '@pipedream/types': + specifier: ^0.3.2 + version: 0.3.2 '@types/node': specifier: ^17.0.36 version: 17.0.45 @@ -14437,6 +14440,10 @@ importers: '@pipedream/platform': specifier: ^1.1.0 version: 1.6.6 + devDependencies: + '@pipedream/types': + specifier: ^0.3.2 + version: 0.3.2 components/tomba: {} @@ -15848,6 +15855,10 @@ importers: '@pipedream/platform': specifier: ^1.2.0 version: 1.6.6 + devDependencies: + '@pipedream/types': + specifier: ^0.3.2 + version: 0.3.2 components/xverify: dependencies: From 6770204f734d0a43c87d351187e66c19c4091920 Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 15:13:33 -0300 Subject: [PATCH 5/6] reverting trustpilot --- components/trustpilot/package.json | 2 +- components/trustpilot/trustpilot.app.mjs | 582 ++++++++++++++++++++++- components/xperiencify/package.json | 6 +- 3 files changed, 580 insertions(+), 10 deletions(-) diff --git a/components/trustpilot/package.json b/components/trustpilot/package.json index 7e03ac2b66435..eac454d0d144d 100644 --- a/components/trustpilot/package.json +++ b/components/trustpilot/package.json @@ -1,6 +1,6 @@ { "name": "@pipedream/trustpilot", - "version": "0.1.3", + "version": "0.1.2", "description": "Pipedream Trustpilot Components", "main": "trustpilot.app.mjs", "keywords": [ diff --git a/components/trustpilot/trustpilot.app.mjs b/components/trustpilot/trustpilot.app.mjs index 4e3d1d59aaf81..b777ae3a68851 100644 --- a/components/trustpilot/trustpilot.app.mjs +++ b/components/trustpilot/trustpilot.app.mjs @@ -1,11 +1,581 @@ -export default { +import { axios } from "@pipedream/platform"; +import { defineApp } from "@pipedream/types"; +import * as crypto from "crypto"; +import { + BASE_URL, + DEFAULT_LIMIT, + ENDPOINTS, + HTTP_STATUS, + MAX_LIMIT, + RATING_SCALE, + RETRY_CONFIG, + SORT_OPTIONS, +} from "./common/constants.mjs"; +import { + buildUrl, + formatQueryParams, + parseBusinessUnit, + parseReview, + parseWebhookPayload, + sanitizeInput, + sleep, + validateBusinessUnitId, + validateReviewId, +} from "./common/utils.mjs"; + +export default defineApp({ type: "app", app: "trustpilot", - propDefinitions: {}, + propDefinitions: { + businessUnitId: { + type: "string", + label: "Business Unit ID", + description: "The unique identifier for your business unit on Trustpilot", + async options() { + try { + const businessUnits = await this.searchBusinessUnits({ + query: "", + limit: 20, + }); + return businessUnits.map(({ + id, displayName, name: { identifying }, + }) => ({ + label: `${identifying || displayName}`, + value: id, + })); + } catch (error) { + console.error("Error fetching business units:", error); + return []; + } + }, + }, + reviewId: { + type: "string", + label: "Review ID", + description: "The unique identifier for a review", + }, + stars: { + type: "integer", + label: "Star Rating", + description: "Filter by star rating (1-5)", + options: RATING_SCALE, + optional: true, + }, + sortBy: { + type: "string", + label: "Sort By", + description: "How to sort the results", + options: Object.entries(SORT_OPTIONS).map(([ + key, + value, + ]) => ({ + label: key.replace(/_/g, " ").toLowerCase(), + value, + })), + optional: true, + default: SORT_OPTIONS.CREATED_AT_DESC, + }, + limit: { + type: "integer", + label: "Limit", + description: "Maximum number of results to return", + min: 1, + max: MAX_LIMIT, + default: DEFAULT_LIMIT, + optional: true, + }, + includeReportedReviews: { + type: "boolean", + label: "Include Reported Reviews", + description: "Whether to include reviews that have been reported", + default: false, + optional: true, + }, + tags: { + type: "string[]", + label: "Tags", + description: "Filter reviews by tags", + optional: true, + }, + language: { + type: "string", + label: "Language", + description: "Filter reviews by language (ISO 639-1 code)", + optional: true, + }, + }, methods: { - // this.$auth contains connected account data - authKeys() { - console.log(Object.keys(this.$auth)); + // Authentication and base request methods + _getAuthHeaders() { + const headers = { + "Content-Type": "application/json", + "User-Agent": "Pipedream/1.0", + }; + + if (!this.$auth?.api_key && !this.$auth?.oauth_access_token) { + throw new Error("Authentication required: Configure either API key or OAuth token"); + } + + if (this.$auth?.api_key) { + headers["apikey"] = this.$auth.api_key; + } + + if (this.$auth?.oauth_access_token) { + headers["Authorization"] = `Bearer ${this.$auth.oauth_access_token}`; + } + + return headers; + }, + + async _makeRequest({ + endpoint, method = "GET", params = {}, data = null, ...args + }) { + const url = `${BASE_URL}${endpoint}`; + const headers = this._getAuthHeaders(); + + const config = { + method, + url, + headers, + params: formatQueryParams(params), + timeout: 30000, + ...args, + }; + + if (data) { + config.data = data; + } + + const response = await axios(this, config); + return response.data || response; + }, + + async _makeRequestWithRetry(config, retries = RETRY_CONFIG.MAX_RETRIES) { + try { + return await this._makeRequest(config); + } catch (error) { + if (retries > 0 && error.response?.status === HTTP_STATUS.TOO_MANY_REQUESTS) { + const delay = Math.min( + RETRY_CONFIG.INITIAL_DELAY * (RETRY_CONFIG.MAX_RETRIES - retries + 1), + RETRY_CONFIG.MAX_DELAY, + ); + await sleep(delay); + return this._makeRequestWithRetry(config, retries - 1); + } + throw error; + } + }, + + // Business Unit methods + async getBusinessUnit(businessUnitId) { + if (!validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + + const endpoint = buildUrl(ENDPOINTS.BUSINESS_UNIT_BY_ID, { + businessUnitId, + }); + const response = await this._makeRequest({ + endpoint, + }); + return parseBusinessUnit(response); + }, + + async searchBusinessUnits({ + query = "", limit = DEFAULT_LIMIT, offset = 0, + } = {}) { + const response = await this._makeRequest({ + endpoint: ENDPOINTS.BUSINESS_UNITS, + params: { + query, + limit, + offset, + }, + }); + + return response.businessUnits?.map(parseBusinessUnit) || []; + }, + + // Public Review methods (no auth required for basic info) + async getPublicServiceReviews({ + businessUnitId, + stars = null, + sortBy = SORT_OPTIONS.CREATED_AT_DESC, + limit = DEFAULT_LIMIT, + offset = 0, + tags = [], + language = null, + }) { + if (!validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + + const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEWS, { + businessUnitId, + }); + const params = { + stars, + orderBy: sortBy, + perPage: limit, + page: Math.floor(offset / limit) + 1, + language, + }; + + if (tags.length > 0) { + params.tags = tags.join(","); + } + + const response = await this._makeRequestWithRetry({ + endpoint, + params, + }); + + return { + reviews: response.reviews?.map(parseReview) || [], + pagination: { + total: response.pagination?.total || 0, + page: response.pagination?.page || 1, + perPage: response.pagination?.perPage || limit, + hasMore: response.pagination?.hasMore || false, + }, + }; + }, + + async getPublicServiceReviewById({ + businessUnitId, reviewId, + }) { + if (!validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + if (!validateReviewId(reviewId)) { + throw new Error("Invalid review ID"); + } + + const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEW_BY_ID, { + businessUnitId, + reviewId, + }); + const response = await this._makeRequest({ + endpoint, + }); + return parseReview(response); + }, + + // Private helper for fetching reviews + async _getReviews({ + endpoint, + businessUnitId, + stars = null, + sortBy = SORT_OPTIONS.CREATED_AT_DESC, + limit = DEFAULT_LIMIT, + offset = 0, + includeReportedReviews = false, + tags = [], + language = null, + }) { + if (businessUnitId && !validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + + const params = { + stars, + orderBy: sortBy, + perPage: limit, + page: Math.floor(offset / limit) + 1, + includeReportedReviews, + language, + }; + + if (tags.length > 0) { + params.tags = tags.join(","); + } + + const response = await this._makeRequestWithRetry({ + endpoint: endpoint || ENDPOINTS.PRIVATE_SERVICE_REVIEWS, + params, + }); + + return { + reviews: response.reviews?.map(parseReview) || [], + pagination: { + total: response.pagination?.total || 0, + page: response.pagination?.page || 1, + perPage: response.pagination?.perPage || limit, + hasMore: response.pagination?.hasMore || false, + }, + }; + }, + + // Private Service Review methods + async getServiceReviews(options = {}) { + const endpoint = buildUrl(ENDPOINTS.PUBLIC_REVIEWS, { + businessUnitId: options.businessUnitId, + }); + return this._getReviews({ + endpoint, + ...options, + }); + }, + + async getServiceReviewById({ + businessUnitId, reviewId, + }) { + if (!validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + if (!validateReviewId(reviewId)) { + throw new Error("Invalid review ID"); + } + + const endpoint = buildUrl(ENDPOINTS.PRIVATE_SERVICE_REVIEW_BY_ID, { + businessUnitId, + reviewId, + }); + const response = await this._makeRequest({ + endpoint, + }); + return parseReview(response); + }, + + async replyToServiceReview({ + businessUnitId, reviewId, message, + }) { + if (!validateBusinessUnitId(businessUnitId)) { + throw new Error("Invalid business unit ID"); + } + if (!validateReviewId(reviewId)) { + throw new Error("Invalid review ID"); + } + if (!message || typeof message !== "string") { + throw new Error("Reply message is required"); + } + + // Sanitize and validate message length (Trustpilot limit is 5000 characters) + const sanitizedMessage = sanitizeInput(message, 5000); + if (sanitizedMessage.length === 0) { + throw new Error("Reply message cannot be empty after sanitization"); + } + + const endpoint = buildUrl(ENDPOINTS.REPLY_TO_SERVICE_REVIEW, { + businessUnitId, + reviewId, + }); + const response = await this._makeRequest({ + endpoint, + method: "POST", + data: { + message: sanitizedMessage, + }, + }); + return response; + }, + + // Product Review methods + async getProductReviews(options = {}) { + const endpoint = buildUrl(ENDPOINTS.PUBLIC_PRODUCT_REVIEWS, { + businessUnitId: options.businessUnitId, + }); + return this._getReviews({ + endpoint, + ...options, + }); + }, + + async getProductReviewById({ reviewId }) { + if (!validateReviewId(reviewId)) { + throw new Error("Invalid review ID"); + } + + const endpoint = buildUrl(ENDPOINTS.PRIVATE_PRODUCT_REVIEW_BY_ID, { + reviewId, + }); + const response = await this._makeRequest({ + endpoint, + }); + return parseReview(response); + }, + + async replyToProductReview({ + reviewId, message, + }) { + if (!validateReviewId(reviewId)) { + throw new Error("Invalid review ID"); + } + if (!message || typeof message !== "string") { + throw new Error("Reply message is required"); + } + + // Sanitize and validate message length (Trustpilot limit is 5000 characters) + const sanitizedMessage = sanitizeInput(message, 5000); + if (sanitizedMessage.length === 0) { + throw new Error("Reply message cannot be empty after sanitization"); + } + + const endpoint = buildUrl(ENDPOINTS.REPLY_TO_PRODUCT_REVIEW, { + reviewId, + }); + const response = await this._makeRequest({ + endpoint, + method: "POST", + data: { + message: sanitizedMessage, + }, + }); + return response; + }, + + // Conversation methods + async getConversations({ + limit = DEFAULT_LIMIT, + offset = 0, + sortBy = SORT_OPTIONS.CREATED_AT_DESC, + businessUnitId = null, + } = {}) { + const params = { + perPage: limit, + page: Math.floor(offset / limit) + 1, + orderBy: sortBy, + }; + + if (businessUnitId) { + params.businessUnitId = businessUnitId; + } + + const response = await this._makeRequestWithRetry({ + endpoint: ENDPOINTS.CONVERSATIONS, + params, + }); + + return { + conversations: response.conversations || [], + pagination: { + total: response.pagination?.total || 0, + page: response.pagination?.page || 1, + perPage: response.pagination?.perPage || limit, + hasMore: response.pagination?.hasMore || false, + }, + }; + }, + + async getConversationById({ conversationId }) { + if (!conversationId) { + throw new Error("Invalid conversation ID"); + } + + const endpoint = buildUrl(ENDPOINTS.CONVERSATION_BY_ID, { + conversationId, + }); + const response = await this._makeRequest({ + endpoint, + }); + return response; + }, + + async replyToConversation({ + conversationId, message, + }) { + if (!conversationId) { + throw new Error("Invalid conversation ID"); + } + if (!message || typeof message !== "string") { + throw new Error("Reply message is required"); + } + + // Sanitize and validate message length (Trustpilot limit is 5000 characters) + const sanitizedMessage = sanitizeInput(message, 5000); + if (sanitizedMessage.length === 0) { + throw new Error("Reply message cannot be empty after sanitization"); + } + + const endpoint = buildUrl(ENDPOINTS.REPLY_TO_CONVERSATION, { + conversationId, + }); + const response = await this._makeRequest({ + endpoint, + method: "POST", + data: { + message: sanitizedMessage, + }, + }); + return response; + }, + + // Webhook methods + async createWebhook({ + url, events = [], businessUnitId = null, + }) { + if (!url) { + throw new Error("Webhook URL is required"); + } + if (!Array.isArray(events) || events.length === 0) { + throw new Error("At least one event must be specified"); + } + + const data = { + url, + events, + }; + + if (businessUnitId) { + data.businessUnitId = businessUnitId; + } + + const response = await this._makeRequest({ + endpoint: ENDPOINTS.WEBHOOKS, + method: "POST", + data, + }); + return response; + }, + + async deleteWebhook(webhookId) { + if (!webhookId) { + throw new Error("Webhook ID is required"); + } + + const endpoint = buildUrl(ENDPOINTS.WEBHOOK_BY_ID, { + webhookId, + }); + await this._makeRequest({ + endpoint, + method: "DELETE", + }); + }, + + async listWebhooks() { + const response = await this._makeRequest({ + endpoint: ENDPOINTS.WEBHOOKS, + }); + return response.webhooks || []; + }, + + // Utility methods + parseWebhookPayload(payload) { + return parseWebhookPayload(payload); + }, + + validateWebhookSignature(payload, signature, secret) { + // Trustpilot uses HMAC-SHA256 for webhook signature validation + // The signature is sent in the x-trustpilot-signature header + if (!signature || !secret) { + return false; + } + + const payloadString = typeof payload === "string" + ? payload + : JSON.stringify(payload); + + const expectedSignature = crypto + .createHmac("sha256", secret) + .update(payloadString) + .digest("hex"); + + // Constant time comparison to prevent timing attacks + return crypto.timingSafeEqual( + Buffer.from(signature), + Buffer.from(expectedSignature), + ); }, + }, -}; +}); diff --git a/components/xperiencify/package.json b/components/xperiencify/package.json index 52687fb22e906..76ecd6b6b832b 100644 --- a/components/xperiencify/package.json +++ b/components/xperiencify/package.json @@ -3,13 +3,13 @@ "version": "0.0.6", "description": "Pipedream Xperiencify Components", "main": "dist/app/xperiencify.app.mjs", - "files": [ - "dist" - ], "keywords": [ "pipedream", "xperiencify" ], + "files": [ + "dist" + ], "homepage": "https://pipedream.com/apps/xperiencify", "author": "Pipedream (https://pipedream.com/)", "publishConfig": { From 720626c827cb4cea3168421aeaa48af3c3272d1d Mon Sep 17 00:00:00 2001 From: GTFalcao Date: Thu, 21 Aug 2025 15:45:57 -0300 Subject: [PATCH 6/6] Cleaning up tsconfig references --- tsconfig.json | 882 ++------------------------------------------------ 1 file changed, 21 insertions(+), 861 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 68b13e34c89e2..f2790aefc3757 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -25,9 +25,6 @@ { "path": "components/tookan" }, - { - "path": "components/snapchat_marketing" - }, { "path": "components/nectar_crm" }, @@ -37,39 +34,9 @@ { "path": "components/dialpad" }, - { - "path": "components/render" - }, - { - "path": "components/propelauth" - }, - { - "path": "components/nextdns" - }, - { - "path": "components/scopemaster" - }, - { - "path": "components/phone_com" - }, - { - "path": "components/paypro" - }, { "path": "components/detrack" }, - { - "path": "components/stormglass_io" - }, - { - "path": "components/onesaas" - }, - { - "path": "components/threescribe" - }, - { - "path": "components/sellix" - }, { "path": "components/xperiencify" }, @@ -79,9 +46,6 @@ { "path": "components/tolstoy" }, - { - "path": "components/enormail" - }, { "path": "components/pikaso" }, @@ -91,15 +55,6 @@ { "path": "components/apitemplate_io" }, - { - "path": "components/gobio_link" - }, - { - "path": "components/linqs_cc" - }, - { - "path": "components/tomba" - }, { "path": "components/niftyimages" }, @@ -112,93 +67,27 @@ { "path": "components/mediatoolkit" }, - { - "path": "components/qwilr" - }, - { - "path": "components/heartbeat" - }, - { - "path": "components/realphonevalidation" - }, - { - "path": "components/murlist" - }, - { - "path": "components/mailify" - }, - { - "path": "components/mailrefine" - }, - { - "path": "components/jellyreach" - }, { "path": "components/workast" }, - { - "path": "components/uchat" - }, - { - "path": "components/marketing_master_io" - }, { "path": "components/quickemailverification" }, - { - "path": "components/typless" - }, { "path": "components/profitwell" }, - { - "path": "components/helcim" - }, - { - "path": "components/virustotal" - }, - { - "path": "components/getprospect" - }, - { - "path": "components/sales_simplify" - }, - { - "path": "components/junip" - }, - { - "path": "components/e_conomic" - }, - { - "path": "components/salesblink" - }, - { - "path": "components/signwell" - }, { "path": "components/smaily" }, { "path": "components/rise" }, - { - "path": "components/referralrock" - }, - { - "path": "components/shippotoken" - }, { "path": "components/amplenote" }, { "path": "components/wildberries" }, - { - "path": "components/yr" - }, - { - "path": "components/fedex" - }, { "path": "components/infusionsoft" }, @@ -211,839 +100,110 @@ { "path": "components/namely" }, - { - "path": "components/propeller" - }, { "path": "components/twitch_developer_app" }, - { - "path": "components/vectera" - }, - { - "path": "components/isn" - }, - { - "path": "components/dots_" - }, - { - "path": "components/looker" - }, - { - "path": "components/ethereum" - }, - { - "path": "components/sendle" - }, { "path": "components/google_workspace" }, - { - "path": "components/foxy" - }, { "path": "components/lob" }, - { - "path": "components/voice" - }, - { - "path": "components/switchboard" - }, - { - "path": "components/rewardful" - }, - { - "path": "components/membervault" - }, - { - "path": "components/radar" - }, - { - "path": "components/godaddy" - }, - { - "path": "components/sender" - }, - { - "path": "components/syncro" - }, - { - "path": "components/teamdeck" - }, - { - "path": "components/verifybee" - }, - { - "path": "components/oksign" - }, - { - "path": "components/helpwise" - }, - { - "path": "components/showpad" - }, - { - "path": "components/user_com" - }, - { - "path": "components/tmetric" - }, - { - "path": "components/vivifyscrum" - }, - { - "path": "components/workiom" - }, - { - "path": "components/worksnaps" - }, - { - "path": "components/vosfactures" - }, - { - "path": "components/pointerpro" - }, - { - "path": "components/turbohire" - }, - { - "path": "components/knowbe4" - }, - { - "path": "components/salestown" - }, - { - "path": "components/iqair_airvisual" - }, { "path": "components/waitwhile" }, - { - "path": "components/meetup" - }, - { - "path": "components/vk" - }, { "path": "components/google_recaptcha" }, { "path": "components/shipcloud" }, - { - "path": "components/growsurf" - }, - { - "path": "components/sailpoint" - }, - { - "path": "components/snapdocs" - }, - { - "path": "components/lodgify" - }, - { - "path": "components/sailpoint_personal_token" - }, - { - "path": "components/twelve_data" - }, { "path": "components/docupilot" }, { "path": "components/repuso" }, - { - "path": "components/razorpay" - }, { "path": "components/neverbounce" }, { "path": "components/verdict_as_a_service" }, - { - "path": "components/wix" - }, - { - "path": "components/wishpond" - }, - { - "path": "components/nusii_proposals" - }, - { - "path": "components/sendblue" - }, - { - "path": "components/zuora" - }, { "path": "components/mailboxvalidator" }, - { - "path": "components/freshbooks" - }, { "path": "components/mattermost" }, - { - "path": "components/karbon" - }, - { - "path": "components/dynatrace_api" - }, - { - "path": "components/gender_api" - }, - { - "path": "components/sms_magic" - }, - { - "path": "components/mailcoach" - }, - { - "path": "components/mozilla_observatory" - }, - { - "path": "components/mx_toolbox" - }, - { - "path": "components/nano_nets" - }, - { - "path": "components/dispatch" - }, - { - "path": "components/edapp" - }, - { - "path": "components/nozbe_teams" - }, - { - "path": "components/elopage" - }, - { - "path": "components/simpletexting" - }, - { - "path": "components/pilvio" - }, - { - "path": "components/logoraisr" - }, - { - "path": "components/firmalyzer_iotvas" - }, - { - "path": "components/rat_genome_database" - }, - { - "path": "components/samcart" - }, - { - "path": "components/textmagic" - }, - { - "path": "components/talentlms" - }, { "path": "components/buy_me_a_coffee" }, { - "path": "components/idealpostcodes" - }, - { - "path": "components/enigma" - }, - { - "path": "components/graphhopper" - }, - { - "path": "components/humanitix" - }, - { - "path": "components/manifestly_checklists" - }, - { - "path": "components/sportsdata" - }, - { - "path": "components/labs64_netlicensing" - }, - { - "path": "components/idealspot" - }, - { - "path": "components/rawg_video_games_database" - }, - { - "path": "components/neutrino" - }, - { - "path": "components/uk_gov_vehecle_enquiry_api" - }, - { - "path": "components/facturadirecta" + "path": "components/kanbanflow" }, { - "path": "components/plasmic" + "path": "components/clientary" }, { - "path": "components/orbisx" + "path": "components/baserow" }, { - "path": "components/simplehash" + "path": "components/yelp" }, { - "path": "components/hygraph" + "path": "components/cloudmersive" }, { - "path": "components/td_ameritrade" + "path": "components/practitest" }, { - "path": "components/you_can_book_me" + "path": "components/raven_tools" }, { - "path": "components/mobile_text_alerts" + "path": "components/salesmate" }, { - "path": "components/snyk" + "path": "components/reversecontact" }, { - "path": "components/kanbanflow" + "path": "components/coassemble" }, { - "path": "components/terminus_app" + "path": "components/lemon_squeezy" }, { - "path": "components/nightfall_ai" + "path": "components/mailbluster" }, { - "path": "components/octopus_deploy" + "path": "components/formatting" }, { - "path": "components/kartra" + "path": "components/resend" }, { - "path": "components/clientary" + "path": "components/team_up" }, { - "path": "components/faire" + "path": "components/data_axle_platform" }, { - "path": "components/talenox" + "path": "components/twitter" }, { - "path": "components/rudderstack" + "path": "components/currencyscoop" }, { - "path": "components/baserow" + "path": "components/concord" }, { - "path": "components/rudderstack_transformation" + "path": "components/google_my_business" }, { - "path": "components/loqate" - }, - { - "path": "components/yelp" - }, - { - "path": "components/mav" - }, - { - "path": "components/n8n_io" - }, - { - "path": "components/mode" - }, - { - "path": "components/levity" - }, - { - "path": "components/kakao" - }, - { - "path": "components/smartrmail" - }, - { - "path": "components/rapid7_insight_platform" - }, - { - "path": "components/route4me" - }, - { - "path": "components/cloudmersive" - }, - { - "path": "components/keen_io" - }, - { - "path": "components/ryver" - }, - { - "path": "components/practitest" - }, - { - "path": "components/revamp_crm" - }, - { - "path": "components/easy_projects" - }, - { - "path": "components/formsite" - }, - { - "path": "components/forms_on_fire" - }, - { - "path": "components/oneuptime" - }, - { - "path": "components/kyvio" - }, - { - "path": "components/softledger" - }, - { - "path": "components/raven_tools" - }, - { - "path": "components/mobilemonkey" - }, - { - "path": "components/pirate_weather" - }, - { - "path": "components/hubspot_developer_app" - }, - { - "path": "components/newslit" - }, - { - "path": "components/gatekeeper" - }, - { - "path": "components/salesmate" - }, - { - "path": "components/grafbase" - }, - { - "path": "components/getswift" - }, - { - "path": "components/lahar" - }, - { - "path": "components/questionpro" - }, - { - "path": "components/float" - }, - { - "path": "components/givingfuel" - }, - { - "path": "components/formdesk" - }, - { - "path": "components/hub_planner" - }, - { - "path": "components/pobuca_connect" - }, - { - "path": "components/processplan" - }, - { - "path": "components/leadboxer" - }, - { - "path": "components/reversecontact" - }, - { - "path": "components/gupshup" - }, - { - "path": "components/follow_up_boss" - }, - { - "path": "components/lexoffice" - }, - { - "path": "components/remarkety" - }, - { - "path": "components/lessaccounting" - }, - { - "path": "components/schedule_it" - }, - { - "path": "components/trainual" - }, - { - "path": "components/time_tracker_by_ebillity" - }, - { - "path": "components/trint" - }, - { - "path": "components/whosonlocation" - }, - { - "path": "components/yumpu" - }, - { - "path": "components/reviews_io" - }, - { - "path": "components/sendlane" - }, - { - "path": "components/emelia" - }, - { - "path": "components/scoro" - }, - { - "path": "components/tapfiliate" - }, - { - "path": "components/smartreach" - }, - { - "path": "components/serwersms_pl" - }, - { - "path": "components/moco" - }, - { - "path": "components/coassemble" - }, - { - "path": "components/solarwinds_service_desk" - }, - { - "path": "components/sms_it" - }, - { - "path": "components/swiftype" - }, - { - "path": "components/talkspirit" - }, - { - "path": "components/teamwave" - }, - { - "path": "components/wire2air" - }, - { - "path": "components/ones2u" - }, - { - "path": "components/onesec_mail" - }, - { - "path": "components/moonmail" - }, - { - "path": "components/lemon_squeezy" - }, - { - "path": "components/simple_analytics" - }, - { - "path": "components/planso_forms" - }, - { - "path": "components/learndash" - }, - { - "path": "components/mailbluster" - }, - { - "path": "components/formatting" - }, - { - "path": "components/t2m_url_shortener" - }, - { - "path": "components/groundhogg" - }, - { - "path": "components/resend" - }, - { - "path": "components/grab_your_reviews" - }, - { - "path": "components/platform_ly" - }, - { - "path": "components/freedcamp" - }, - { - "path": "components/docraptor" - }, - { - "path": "components/oxford_dictionaries" - }, - { - "path": "components/fivetran" - }, - { - "path": "components/successeve" - }, - { - "path": "components/form_io" - }, - { - "path": "components/fluent_support" - }, - { - "path": "components/mainwp" - }, - { - "path": "components/tutor_lms" - }, - { - "path": "components/newsletter" - }, - { - "path": "components/dokan" - }, - { - "path": "components/yoast_seo" - }, - { - "path": "components/woopra" - }, - { - "path": "components/lifterlms" - }, - { - "path": "components/simplekpi" - }, - { - "path": "components/writesonic" - }, - { - "path": "components/grade_us" - }, - { - "path": "components/telesign" - }, - { - "path": "components/go_upc" - }, - { - "path": "components/warpcast" - }, - { - "path": "components/logsnag" - }, - { - "path": "components/studio_by_ai21_labs" - }, - { - "path": "components/luminous" - }, - { - "path": "components/scrapingbee" - }, - { - "path": "components/saucelabs" - }, - { - "path": "components/humanloop" - }, - { - "path": "components/smarty" - }, - { - "path": "components/watchsignals" - }, - { - "path": "components/idx_broker" - }, - { - "path": "components/rytr" - }, - { - "path": "components/team_up" - }, - { - "path": "components/data_axle_platform" - }, - { - "path": "components/twitter" - }, - { - "path": "components/perry_github_test" - }, - { - "path": "components/mindmeister" - }, - { - "path": "components/key_app_demo_1" - }, - { - "path": "components/slack_demo_app" - }, - { - "path": "components/slack_demo_app_1" - }, - { - "path": "components/oauth_app_demo" - }, - { - "path": "components/oauth_app_demo_1" - }, - { - "path": "components/signrequest" - }, - { - "path": "components/utradea" - }, - { - "path": "components/currencyscoop" - }, - { - "path": "components/selectpdf" - }, - { - "path": "components/nasdaq_data_link_time_series_and_table_data_" - }, - { - "path": "components/metatext_ai_inference_api" - }, - { - "path": "components/textgain" - }, - { - "path": "components/marketstack" - }, - { - "path": "components/plisio" - }, - { - "path": "components/concord" - }, - { - "path": "components/portfolio_optimizer" - }, - { - "path": "components/liondesk" - }, - { - "path": "components/implisense_api" - }, - { - "path": "components/digistore24" - }, - { - "path": "components/kintone" - }, - { - "path": "components/stealthseminar" - }, - { - "path": "components/survicate" - }, - { - "path": "components/finmo" - }, - { - "path": "components/sierra_interactive" - }, - { - "path": "components/thankster" - }, - { - "path": "components/ez_texting" - }, - { - "path": "components/handwrytten" - }, - { - "path": "components/focuster" - }, - { - "path": "components/retool" - }, - { - "path": "components/hotjar" - }, - { - "path": "components/respond_io" - }, - { - "path": "components/sakari_sms" - }, - { - "path": "components/encharge" - }, - { - "path": "components/fastfield_mobile_forms" - }, - { - "path": "components/facebook_conversions" - }, - { - "path": "components/facebook_lead_ads" - }, - { - "path": "components/funnelcockpit" - }, - { - "path": "components/pendo" - }, - { - "path": "components/google_my_business" - }, - { - "path": "components/zoho_catalyst" + "path": "components/zoho_catalyst" }, { "path": "components/zoho_assist" - }, - { - "path": "components/google_fit_developer_app" - }, - { - "path": "components/sugarcrm_" - }, - { - "path": "components/wicked_reports" - }, - { - "path": "components/placetel" - }, - { - "path": "components/popupsmart" - }, - { - "path": "components/survey2connect" - }, - { - "path": "components/starton" - }, - { - "path": "components/httpsms" - }, - { - "path": "components/quickmail_io" - }, - { - "path": "components/onepage" - }, - { - "path": "components/ez_texting_" } ] } \ No newline at end of file