Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from PipedreamHQ:master #642

Open
wants to merge 2,237 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
2237 commits
Select commit Hold shift + click to select a range
ef72f6f
Biz/dj 2788 google sheets submission doesnt work (#15179)
bzwrk Jan 7, 2025
fe76897
Adding app scaffolding for motive
danhsiung Jan 8, 2025
4d177fb
Adding app scaffolding for traffit
danhsiung Jan 8, 2025
883a06b
[Components] mailgenius #14754 (#15056)
lcaresia Jan 8, 2025
d78ca47
New Components - breathe (#15075)
michelle0927 Jan 8, 2025
ef15a0d
Adding app scaffolding for instantly
danhsiung Jan 8, 2025
e62b984
New Components - richpanel (#15108)
luancazarine Jan 8, 2025
7246f75
Removing text-transform on prop labels (#15230)
dannyroosevelt Jan 8, 2025
a7aea00
Adding app scaffolding for charthop
danhsiung Jan 8, 2025
2519bf6
Adding app scaffolding for opensrs
danhsiung Jan 8, 2025
17e2fbe
Add pagination parameters to component configuration (#15233)
bzwrk Jan 8, 2025
e549fad
Fix toggling optional props in Connect (#15231)
jverce Jan 9, 2025
a290593
Merging pull request #15028
lcaresia Jan 9, 2025
6a57bb2
Adding app scaffolding for xverify
danhsiung Jan 9, 2025
c4001a8
Gmail Invalid thread_id (#15229)
michelle0927 Jan 9, 2025
9775ad2
update in url (#15078)
remoteretrieval Jan 9, 2025
c2ac809
Overledger upgrade (#15052)
philbuuza Jan 9, 2025
665c04f
fix docs typo
andrewjschuang Jan 9, 2025
54fa343
Bigdatacorp bump versions (#15242)
michelle0927 Jan 9, 2025
71820e3
Updating monday.com app connection instructions. (#15244)
malexanderlim Jan 9, 2025
6b76304
fix docs
andrewjschuang Jan 9, 2025
c94e55a
Adding app scaffolding for nextdoor
danhsiung Jan 10, 2025
57ddf97
Adding app scaffolding for dixa
danhsiung Jan 10, 2025
672029b
Adding app scaffolding for clear_books
danhsiung Jan 10, 2025
79b2546
Tiny patch to fix dark mode (#15254)
dannyroosevelt Jan 10, 2025
5785b70
New Components - easypromos (#15201)
luancazarine Jan 10, 2025
717258a
OpenSea - update to v2 of api (#15112)
michelle0927 Jan 10, 2025
f18e3f8
Basecamp usability improvements (#15212)
GTFalcao Jan 10, 2025
3f3047f
Adding changelog entry for componentConfiguration pagination
dannyroosevelt Jan 10, 2025
0dfb5b2
Adding app scaffolding for linkup
danhsiung Jan 10, 2025
0284540
Adding app scaffolding for mailboxlayer
danhsiung Jan 11, 2025
7464146
Merging pull request #15266
samss084 Jan 13, 2025
91ba94b
fix docs
andrewjschuang Jan 13, 2025
ef01229
New Components - typefully (#15217)
luancazarine Jan 13, 2025
8b4c746
New Components - what_are_those (#15207)
luancazarine Jan 13, 2025
2e729e5
New Components - instantly (#15228)
luancazarine Jan 13, 2025
b6765b4
[Components] youtube_analytics_api - new action components (#15243)
jcortes Jan 13, 2025
bd3882d
Pinning docs to Nextra 3.X (#15291)
dylburger Jan 14, 2025
ea1f9f3
Adding app scaffolding for egnyte
danhsiung Jan 14, 2025
60134ab
Adding app scaffolding for uber_direct
danhsiung Jan 14, 2025
f8a44e3
Adding app scaffolding for osu
danhsiung Jan 14, 2025
4705140
Update new-email.mjs (#15001)
mchlbckr Jan 14, 2025
5c394df
Google Drive - allow format selection for text (#15299)
andrewjschuang Jan 14, 2025
3a1bbdf
Feat/add linkup component (#15257)
juliette0704 Jan 14, 2025
67643a1
[Components] chat_data #14041 (#15260)
michelle0927 Jan 14, 2025
77205cd
Adding app scaffolding for bluesnap
danhsiung Jan 15, 2025
1e4b3bd
Adding app scaffolding for polymer_co
danhsiung Jan 15, 2025
13de766
Adding app scaffolding for grafana
danhsiung Jan 15, 2025
f7ecf2a
fix(sdk): correct return type of reloadComponentProps (1.1.5)
tjk Jan 15, 2025
08cf9a8
Adding app scaffolding for shutterstock
danhsiung Jan 15, 2025
a268be5
parse links in posts (#15300)
michelle0927 Jan 15, 2025
34f5a2a
Linear Project Updates webhook (#15259)
michelle0927 Jan 15, 2025
5f077a9
Biz/dj 2800 add async options pagination in connect react (#15248)
bzwrk Jan 15, 2025
b2d3363
Adding app scaffolding for vonage
danhsiung Jan 15, 2025
0cc715b
Merging pull request #15288
lcaresia Jan 16, 2025
20bd8f9
Merging pull request #15314
michelle0927 Jan 16, 2025
843d947
Adding app scaffolding for kiwihr
danhsiung Jan 16, 2025
8d6bee5
OpenAI - adding 4o and o1 model family (#15319)
andrewjschuang Jan 16, 2025
a20b084
New Appointment Trigger for Setmore (#15315)
michelle0927 Jan 16, 2025
080252d
Adding app scaffolding for callminer
danhsiung Jan 16, 2025
84541ad
Adding app scaffolding for logo_dev
danhsiung Jan 16, 2025
21bddc4
Danny/connect docs update (#15323)
dannyroosevelt Jan 16, 2025
f1a0de0
Merging pull request #15312
michelle0927 Jan 17, 2025
2d7cc4f
Adding app scaffolding for epic_games
danhsiung Jan 17, 2025
edf01ea
Treat empty string prop value as a valid input (#15325)
bzwrk Jan 17, 2025
6e6631e
New Components - messagebird (#15247)
michelle0927 Jan 17, 2025
3af37f4
Fix a bug with async prop value validation (#15334)
bzwrk Jan 17, 2025
82aec9a
Adding app scaffolding for alteryx_analytics_cloud
danhsiung Jan 20, 2025
ec8a167
Adding app scaffolding for verticalresponse
danhsiung Jan 20, 2025
11328df
Adding app scaffolding for apaleo
danhsiung Jan 20, 2025
6d7504d
Adding app scaffolding for nmbrs
danhsiung Jan 20, 2025
6b942b9
Adding app scaffolding for honeyhive
danhsiung Jan 20, 2025
e9bd737
Adding app scaffolding for wolfram_alpha_api
danhsiung Jan 20, 2025
31a960e
[Components] xverify - new action components (#15321)
jcortes Jan 20, 2025
781d6ec
New Components - clear_books (#15287)
michelle0927 Jan 20, 2025
ac79b00
New Components - egnyte (#15301)
michelle0927 Jan 20, 2025
320ace7
New Components - dixa (#15261)
luancazarine Jan 20, 2025
5f880bd
New Components - ocrspace (#15311)
luancazarine Jan 20, 2025
130c276
Merging pull request #15345
luancazarine Jan 21, 2025
6aef860
Adding app scaffolding for proposify
danhsiung Jan 21, 2025
c7318a2
AWS - Download File to tmp (#15343)
michelle0927 Jan 21, 2025
cf980fd
Linear - New ProjectUpdates (#15332)
michelle0927 Jan 21, 2025
7dd5427
New Components - ragie (#15322)
luancazarine Jan 21, 2025
8c278bf
Adding app scaffolding for dovetail
danhsiung Jan 21, 2025
def58b8
Biz/dj 2813 support custom input strings in connect react (#15356)
bzwrk Jan 21, 2025
16904da
Fix typo in SDK docs for `getAccountById` (#15357)
jverce Jan 21, 2025
10b3b9d
Adding app scaffolding for battle_net
danhsiung Jan 22, 2025
a91585d
Adding app scaffolding for odoo
danhsiung Jan 22, 2025
a8ede75
[Components] klipfolio #13229 (#14693)
lcaresia Jan 22, 2025
73fdd00
Adding app scaffolding for jumpcloud
danhsiung Jan 22, 2025
5f19b18
Adding app scaffolding for have_i_been_pwned
danhsiung Jan 22, 2025
1e8ec87
Biz/dj 2789 show prop label instead of the value (#15370)
bzwrk Jan 23, 2025
e7db935
Merging pull request #15353
michelle0927 Jan 23, 2025
f83a299
Adding app scaffolding for yext
danhsiung Jan 23, 2025
691e86e
Adding app scaffolding for exist
danhsiung Jan 23, 2025
e81024e
Adding app scaffolding for mindbody
danhsiung Jan 23, 2025
636862e
Adding app scaffolding for paylocity
danhsiung Jan 23, 2025
a174d83
Adding app scaffolding for azure_api_for_fhir
danhsiung Jan 23, 2025
29c0273
[Components] listen_notes #15178 (#15289)
lcaresia Jan 23, 2025
2c1ae19
[ACTION] Figure out action required for Intuit Quickbooks API version…
michelle0927 Jan 23, 2025
d6b117b
HypeAuditor new components (#14350)
GTFalcao Jan 23, 2025
29d795a
Update SDK with new endpoints for triggers (#15385)
jverce Jan 23, 2025
68cfd15
Script to upload app files (#15290)
dylburger Jan 24, 2025
2c0af81
Adding app scaffolding for seen
danhsiung Jan 24, 2025
4546757
AWS S3 Upload Large Files (#15386)
michelle0927 Jan 24, 2025
8781da4
adding info on developer rate limits for Connect (#15399)
dannyroosevelt Jan 24, 2025
1e57f71
Fixing confusing language in Connect Link
dannyroosevelt Jan 25, 2025
427b0bf
Adding app scaffolding for claris_filemaker_server_odata_api
danhsiung Jan 25, 2025
5c61c62
Fixing code example for rate limit token
dannyroosevelt Jan 27, 2025
7f5e223
Update docs for the components API (#15387)
jverce Jan 27, 2025
9b478e3
Biz/dj 2825 remote options gets unset when loading configuredprops (#…
bzwrk Jan 27, 2025
e909d8e
Quickbooks Sandbox - Follupup PR to #15369 (#15384)
michelle0927 Jan 27, 2025
2849dcc
Making scripts/ package private (#15420)
dylburger Jan 28, 2025
aafc9da
Adding app scaffolding for browserbase
danhsiung Jan 28, 2025
7c40798
revving connect-react (#15431)
dylburger Jan 28, 2025
7792796
Danny/bumping unpublished packages (#15432)
dannyroosevelt Jan 28, 2025
f6c95cc
Adding app scaffolding for lightpanda
danhsiung Jan 28, 2025
7f3c8a5
fix undefined list (#15435)
andrewjschuang Jan 28, 2025
8aac563
[Google Sheets] add shared drive prop (#15437)
andrewjschuang Jan 28, 2025
505f170
Adding info re: emitting to workflows (#15442)
dannyroosevelt Jan 28, 2025
614a7ec
Biz/dj 2837 show label and keep selected remote option dropdown enabl…
bzwrk Jan 29, 2025
a25940d
Adding 'Use File or Folder' selection (#15445)
GTFalcao Jan 29, 2025
f338996
Bumping connect-react version
dannyroosevelt Jan 29, 2025
7b26d2f
Adding app scaffolding for synthflow
danhsiung Jan 29, 2025
a9c0553
Adding app scaffolding for adobe_document_generation_api
danhsiung Jan 29, 2025
87c3440
Microsoft Components (#15443)
michelle0927 Jan 29, 2025
7c175d7
[Components] intercom - new components (#15292)
jcortes Jan 29, 2025
666b7c4
create-ticket-message (#15419)
michelle0927 Jan 29, 2025
be85480
Adding app scaffolding for microsoft_dynamics_365_sales
danhsiung Jan 30, 2025
2035fbd
Adding app scaffolding for planhat
danhsiung Jan 30, 2025
5d8c93d
Adding app scaffolding for humanlayer
danhsiung Jan 30, 2025
33ab8ea
Add styling to the alert component (#15470)
bzwrk Jan 30, 2025
823c707
Update pnpm-lock.yaml
dannyroosevelt Jan 30, 2025
d69abb2
feat(sdk): edge compatible (or closer), modernized, smaller bundle (…
tjk Jan 31, 2025
3a68fd8
fix(sdk): noExternal oauth4webapi in cjs build (1.3.1)
tjk Jan 31, 2025
c360726
Adding app scaffolding for storerocket
danhsiung Jan 31, 2025
f3c93f8
New Components - _2markdown (#15471)
michelle0927 Feb 3, 2025
efb7584
New Components - autodesk (#15344)
michelle0927 Feb 3, 2025
7781048
New Components - whoisfreaks (#15453)
michelle0927 Feb 3, 2025
763548d
New Components - clearly_defined (#15455)
michelle0927 Feb 3, 2025
19bfd06
New Components - opsgenie (#15462)
michelle0927 Feb 3, 2025
cf388ee
New Components - gloria_ai (#15439)
michelle0927 Feb 3, 2025
993149f
Hubspot - Use Bottleneck for all requests (#15398)
michelle0927 Feb 3, 2025
ce5fe7e
unpublish
andrewjschuang Feb 3, 2025
d7b3766
Merge branch 'master' of github.com:PipedreamHQ/pipedream
dannyroosevelt Feb 3, 2025
c250d1a
Update pnpm-lock.yaml
dannyroosevelt Feb 3, 2025
5e131c3
New Components - vapi (#15469)
luancazarine Feb 4, 2025
7164d85
[Usability Audit] google_docs (#15363)
michelle0927 Feb 4, 2025
6f08e24
Adding app scaffolding for instant
danhsiung Feb 4, 2025
d57c8f6
Add getEnvironment to BaseClient (#15488)
bzwrk Feb 4, 2025
e946d84
Adding app scaffolding for klipy
danhsiung Feb 4, 2025
65ce00c
Merging pull request #15491
lcaresia Feb 5, 2025
f139761
New Components - tinyurl (#15456)
luancazarine Feb 5, 2025
d319f39
New Components - zenscrape (#15467)
michelle0927 Feb 5, 2025
ea6d76b
[FEATURE] Microsoft Components (#15489)
michelle0927 Feb 5, 2025
d4fe2e1
[BUG] Vercel project prop (#15418)
michelle0927 Feb 5, 2025
da89cd0
New Components - microsoft_dynamics_365_sales (#15478)
michelle0927 Feb 5, 2025
738d2fb
Adding app scaffolding for buysellads
danhsiung Feb 5, 2025
99fa451
[ACTION] Gorgias — Create a ticket message (#15486)
michelle0927 Feb 5, 2025
9ba4464
Hubspot - Search CRM (#15417)
michelle0927 Feb 5, 2025
e170fd1
[Components] opensrs - new components (#15454)
jcortes Feb 5, 2025
4e6a586
Je/connect proxy support (#15495)
jsendo Feb 5, 2025
0193d17
New Components - printful (#15436)
luancazarine Feb 6, 2025
d18cfcb
[Components] textline - new components (#15477)
jcortes Feb 6, 2025
e7dd5ab
New Components - email_verifier_api (#15503)
michelle0927 Feb 6, 2025
33a14e3
[Components] scrapingant #13316 (#15379)
lcaresia Feb 6, 2025
4b94a90
New Components - refiner (#15497)
luancazarine Feb 6, 2025
185425d
[FEATURE] More Microsoft Components (#15499)
michelle0927 Feb 6, 2025
3360f24
Danny/connect proxy docs (#15476)
dannyroosevelt Feb 6, 2025
bea0c99
Tweaking plans and pricing copy on /connect/index
dannyroosevelt Feb 6, 2025
bd38955
Adding app scaffolding for claris_filemaker_server_admin_api
danhsiung Feb 7, 2025
2cd3173
Adding app scaffolding for claris_filemaker_server_data_api
danhsiung Feb 7, 2025
7d4a370
Merging pull request #15492
lcaresia Feb 7, 2025
5657705
Adding app scaffolding for morgen
danhsiung Feb 7, 2025
22e9810
New Components - stripo (#15511)
michelle0927 Feb 7, 2025
a57dd3d
New Components - shortpixel (#15516)
michelle0927 Feb 7, 2025
df177f5
Small tweak to man connect docs
dannyroosevelt Feb 8, 2025
ed334ab
Adding app scaffolding for globalping
danhsiung Feb 8, 2025
4e48f7f
Adding app scaffolding for mailtrap
danhsiung Feb 8, 2025
b6e8398
Adding app scaffolding for elastic_cloud
danhsiung Feb 9, 2025
f5b70ff
Adding app scaffolding for sinch_messagemedia
danhsiung Feb 10, 2025
95a3fbd
[Components] elevio - new components (#15517)
jcortes Feb 10, 2025
b399c80
New Components - salespype (#15525)
michelle0927 Feb 10, 2025
85d818c
New Components - solcast (#15513)
michelle0927 Feb 10, 2025
1eb4668
Biz/dj 2780 add support for configurationerror in connect react (#15479)
bzwrk Feb 10, 2025
4d8dd79
New Components - google_appsheet (#15509)
luancazarine Feb 10, 2025
0e23d37
Update lock file (#15541)
bzwrk Feb 10, 2025
a9269e8
Adding app scaffolding for current_rms
danhsiung Feb 11, 2025
b292cf5
Adding app scaffolding for zoho_tables
danhsiung Feb 11, 2025
1bf50fd
Adding app scaffolding for office_365_management
danhsiung Feb 11, 2025
c6707c7
New Components - deepseek (#15502)
luancazarine Feb 11, 2025
ad37d81
New Components - geoapify (#15537)
michelle0927 Feb 11, 2025
cc775a1
[Components] wolfram_alpha - new action component (#15527)
jcortes Feb 11, 2025
e51b8b1
Biz/dj 2890 fix enabledebugging state update issue (#15552)
bzwrk Feb 11, 2025
ec4432c
Adding SDK examples to components API docs (#15574)
dannyroosevelt Feb 12, 2025
9485ca2
New Components - mapbox (#15539)
michelle0927 Feb 12, 2025
895fab8
Adding app scaffolding for zep
danhsiung Feb 13, 2025
2156903
Adding app scaffolding for felt
danhsiung Feb 13, 2025
6ecab27
Adding app scaffolding for applicantstack
danhsiung Feb 13, 2025
3f93f80
Merging pull request #15508
lcaresia Feb 13, 2025
347e3fa
Merging pull request #15577
lcaresia Feb 13, 2025
053faf6
Adding app scaffolding for ory
danhsiung Feb 13, 2025
f52d5e7
New Components - webscraping_ai (#15526)
michelle0927 Feb 13, 2025
5d96e67
New Components - streamlabs (#15557)
michelle0927 Feb 13, 2025
7e0a32b
New Components - axesso_data_service (#15598)
michelle0927 Feb 13, 2025
55f5c24
Adding app scaffolding for stack_overflow_for_teams
danhsiung Feb 13, 2025
49a299f
Danny/connect proxy macro docs (#15602)
dannyroosevelt Feb 13, 2025
bc10659
Adding app scaffolding for relintex_crm
danhsiung Feb 14, 2025
4e46cbb
Updating sent via pipedream link to handle connect case (#15621)
dannyroosevelt Feb 14, 2025
5d177d5
Adding app scaffolding for real_id
danhsiung Feb 14, 2025
c5e8d97
Merging pull request #15576
lcaresia Feb 14, 2025
6959712
[Pipedrive] Pin sdk version (#15624)
andrewjschuang Feb 14, 2025
96ff26e
New Components - google_maps_platform (#15512)
luancazarine Feb 14, 2025
6850ca8
Biz/dj 2899 create a GitHub action to upsert any changed app files in…
bzwrk Feb 14, 2025
c538cba
Adding app scaffolding for referral_rocket
danhsiung Feb 14, 2025
75a1474
Trigger supbase upsert on push to master instead of pull request (#15…
bzwrk Feb 14, 2025
dcdf15d
Adding app scaffolding for langfuse
danhsiung Feb 14, 2025
b3e9933
Updating Connect proxy visual
dannyroosevelt Feb 15, 2025
dcc8d80
Update pnpm-lock.yaml
dannyroosevelt Feb 15, 2025
bd73e45
Adding app scaffolding for benchmarkone
danhsiung Feb 15, 2025
5e0f800
Commit (#15632)
dannyroosevelt Feb 15, 2025
3fecef2
Adding app scaffolding for adobe_photoshop_lightroom
danhsiung Feb 17, 2025
a3b4c4d
Human in the loop for apps (#15628)
michelle0927 Feb 17, 2025
b4fb1d8
Adding app scaffolding for opnform
danhsiung Feb 17, 2025
fe19b54
Filter for labels in Gmail trigger (#15637)
michelle0927 Feb 18, 2025
e2c69e8
Modifying message content for approval workflow actions (#15649)
dannyroosevelt Feb 18, 2025
b38f664
Monday usability improvements (#15376)
GTFalcao Feb 18, 2025
03690a0
bumping versions to republish (#15659)
dannyroosevelt Feb 19, 2025
ef33382
Removing create transcription action (#15660)
dannyroosevelt Feb 19, 2025
b20ab56
remove unused dependencies
Feb 19, 2025
f3caff9
Adding app scaffolding for brillium
danhsiung Feb 19, 2025
188fe69
[Perplexity AI] update models (#15667)
andrewjschuang Feb 19, 2025
0283bcf
New Components - motive (#15246)
luancazarine Feb 19, 2025
961cbf6
Jobber API version update (#15610)
michelle0927 Feb 19, 2025
4829553
Adding missing package.json for apps (#15671)
dylburger Feb 19, 2025
41e6f71
[Components] homerun - new components (#15500)
jcortes Feb 19, 2025
8f2b2f4
no longer used
Feb 19, 2025
8f1891e
update pnpm-lock
Feb 19, 2025
d89efa3
update pnpm-lock again
Feb 19, 2025
438d8cd
Improve Look of SelectApp and SelectComponent (#15674)
jsendo Feb 19, 2025
d06401a
Merging pull request #15658
GTFalcao Feb 20, 2025
57ab1f1
Adding app scaffolding for frontify
danhsiung Feb 20, 2025
149d3b5
Adding app scaffolding for portabilling
danhsiung Feb 20, 2025
1e69e81
Adding app scaffolding for membership_io
danhsiung Feb 20, 2025
e0910d2
15625 bug update pipedrive components to latest sdk api version (#15651)
luancazarine Feb 20, 2025
79d4c64
Google drive: adding selection between file URL or path (#15457)
GTFalcao Feb 20, 2025
b3b76ca
Hubspot custom object request updates (#15506)
GTFalcao Feb 20, 2025
423ddca
Adding app scaffolding for bitbucket_data_center
danhsiung Feb 20, 2025
b79cea0
Adding app scaffolding for koyeb
danhsiung Feb 20, 2025
787abff
New Components - polygon (#15558)
luancazarine Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
New Components - streamlabs (PipedreamHQ#15557)
* streamlabs init

* new components

* pnpm-lock.yaml

* remove unnecessary makeRequest params
  • Loading branch information
michelle0927 authored Feb 13, 2025
commit 5d96e67da119e2a9b22b3d932436d685ffc7bdf7
74 changes: 74 additions & 0 deletions components/streamlabs/actions/create-donation/create-donation.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import streamlabs from "../../streamlabs.app.mjs";
import currencies from "../../common/currencies.mjs";

export default {
key: "streamlabs-create-donation",
name: "Create Donation",
description: "Create a donation for the authenticated user. [See the documentation](https://dev.streamlabs.com/reference/donations-1)",
version: "0.0.1",
type: "action",
props: {
streamlabs,
name: {
type: "string",
label: "Name",
description: "The name of the donor. Has to be between 2-25 length and should only contain utf8 characters",
},
identifier: {
type: "string",
label: "Identifier",
description: "An identifier for this donor, which is used to group donations with the same donor. For example, if you create more than one donation with the same identifier, they will be grouped together as if they came from the same donor. Typically this is best suited as an email address, or a unique hash.",
},
amount: {
type: "string",
label: "Amount",
description: "The amount of this donation",
},
currency: {
type: "string",
label: "Currency",
description: "The 3 letter currency code for this donation. Must be one of the [supported currency codes](https://dev.streamlabs.com/docs/currency-codes)",
options: currencies,
},
message: {
type: "string",
label: "Message",
description: "The message from the donor. Must be < 255 characters",
optional: true,
},
createdAt: {
type: "string",
label: "Created At",
description: "A timestamp that identifies when this donation was made. If left blank, it will default to now. Enter in ISO-8601 format (e.g., `2018-02-18T02:30:00-07:00` or `2018-02-18T08:00:00Z`, where Z stands for UTC)",
optional: true,
},
skipAlert: {
type: "string",
label: "Skip Alert",
description: "Set to `yes` if you need to skip the alert. Default is `no`",
options: [
"yes",
"no",
],
optional: true,
},
},
async run({ $ }) {
const response = await this.streamlabs.createDonation({
$,
data: {
name: this.name,
identifier: this.identifier,
amount: parseFloat(this.amount),
currency: this.currency,
message: this.message,
createdAt: this.createdAt && Date.parse(this.createdAt),
skip_alert: this.skipAlert,
},
});
if (response?.donation_id) {
$.export("$summary", `Successfully created donation with ID: ${response.donation_id}`);
}
return response;
},
};
74 changes: 74 additions & 0 deletions components/streamlabs/actions/send-alert/send-alert.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
import streamlabs from "../../streamlabs.app.mjs";

export default {
key: "streamlabs-send-alert",
name: "Send Alert",
description: "Sends an alert to the stream overlay with a custom message, image, and sound. [See the documentation](https://dev.streamlabs.com/reference/alerts)",
version: "0.0.1",
type: "action",
props: {
streamlabs,
type: {
type: "string",
label: "Type",
description: "determines which alert box this alert will show up in",
options: [
"follow",
"subscription",
"donation",
"host",
],
},
message: {
type: "string",
label: "Message",
description: "The message to show with this alert",
},
imageHref: {
type: "string",
label: "Image HREF",
description: "The href pointing to an image resource to play when this alert shows",
optional: true,
},
soundHref: {
type: "string",
label: "Sound HREF",
description: "The href pointing to a sound resource to play when this alert shows",
optional: true,
},
userMessage: {
type: "string",
label: "User Message",
description: "Acting as the second heading, this shows below message",
optional: true,
},
duration: {
type: "string",
label: "Duration",
description: "How many seconds this alert should be displayed. Value should be in milliseconds. Ex: `1000` for 1 second.",
optional: true,
},
specialTextColor: {
type: "string",
label: "Special Text Color",
description: "The color to use for special tokens. Must be a valid CSS color string",
optional: true,
},
},
async run({ $ }) {
const response = await this.streamlabs.sendAlert({
$,
data: {
type: this.type,
message: this.message,
image_href: this.imageHref,
sound_href: this.soundHref,
user_message: this.userMessage,
duration: this.duration,
special_text_color: this.specialTextColor,
},
});
$.export("$summary", `Alert sent with message: ${this.message}`);
return response;
},
};
64 changes: 64 additions & 0 deletions components/streamlabs/actions/send-test-alert/send-test-alert.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import streamlabs from "../../streamlabs.app.mjs";

export default {
key: "streamlabs-send-test-alert",
name: "Send Test Alert",
description: "Send a test alert to the stream overlay in StreamLabs. [See the documentation](https://dev.streamlabs.com/reference/alertssend_test_alert)",
version: "0.0.1",
type: "action",
props: {
streamlabs,
platform: {
type: "string",
label: "Platform",
description: "The streaming platform",
options: [
"twitch",
"youtube",
],
reloadProps: true,
},
},
additionalProps() {
if (!this.platform) {
return {};
}
const props = {
type: {
type: "string",
label: "Type",
description: "The type of the alert",
},
};
if (this.platform === "twitch") {
props.type.options = [
"follow",
"subscription",
"donation",
"host",
"bits",
"raid",
];
}
if (this.platform === "youtube") {
props.type.options = [
"subscription",
"sponsor",
"superchat",
"donation",
];
}
return props;
},
async run({ $ }) {
const response = await this.streamlabs.sendTestAlert({
$,
data: {
platform: this.platform,
type: this.type,
},
});
$.export("$summary", "Successfully sent test alert");
return response;
},
};
90 changes: 90 additions & 0 deletions components/streamlabs/common/currencies.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
export default [
{
value: "USD",
label: "US Dollar",
},
{
value: "AUD",
label: "Australian Dollar",
},
{
value: "BRL",
label: "Brazilian Real",
},
{
value: "CAD",
label: "Canadian Dollar",
},
{
value: "CZK",
label: "Czech Koruna",
},
{
value: "DKK",
label: "Danish Krone",
},
{
value: "EUR",
label: "Euro",
},
{
value: "HKD",
label: "Hong Kong Dollar",
},
{
value: "ILS",
label: "Israeli New Sheqel",
},
{
value: "MYR",
label: "Malaysian Ringgit",
},
{
value: "MXN",
label: "Mexican Peso",
},
{
value: "NOK",
label: "Norwegian Krone",
},
{
value: "NZD",
label: "New Zealand Dollar",
},
{
value: "PHP",
label: "Philippine Peso",
},
{
value: "PLN",
label: "Polish Zloty",
},
{
value: "GBP",
label: "Pound Sterling",
},
{
value: "RUB",
label: "Russian Ruble",
},
{
value: "SGD",
label: "Singapore Dollar",
},
{
value: "SEK",
label: "Swedish Krona",
},
{
value: "CHF",
label: "Swiss Franc",
},
{
value: "THB",
label: "Thai Baht",
},
{
value: "TRY",
label: "Turkish Lira",
},
];
18 changes: 18 additions & 0 deletions components/streamlabs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "@pipedream/streamlabs",
"version": "0.0.1",
"description": "Pipedream Streamlabs Components",
"main": "streamlabs.app.mjs",
"keywords": [
"pipedream",
"streamlabs"
],
"homepage": "https://pipedream.com/apps/streamlabs",
"author": "Pipedream <[email protected]> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.3"
}
}
46 changes: 43 additions & 3 deletions components/streamlabs/streamlabs.app.mjs
Original file line number Diff line number Diff line change
@@ -1,11 +1,51 @@
import { axios } from "@pipedream/platform";

export default {
type: "app",
app: "streamlabs",
propDefinitions: {},
methods: {
// this.$auth contains connected account data
authKeys() {
console.log(Object.keys(this.$auth));
_baseUrl() {
return "https://streamlabs.com/api/v1.0";
},
_accessToken() {
return this.$auth.oauth_access_token;
},
_makeRequest({
$ = this,
path,
data,
...otherOpts
}) {
return axios($, {
...otherOpts,
url: `${this._baseUrl()}${path}`,
data: {
access_token: this._accessToken(),
...data,
},
});
},
sendAlert(opts = {}) {
return this._makeRequest({
method: "POST",
path: "/alerts",
...opts,
});
},
createDonation(opts = {}) {
return this._makeRequest({
method: "POST",
path: "/donations",
...opts,
});
},
sendTestAlert(opts = {}) {
return this._makeRequest({
method: "POST",
path: "/alerts/send_test_alert",
...opts,
});
},
},
};
6 changes: 6 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.