-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into telnyx-send-group…
…-mms
- Loading branch information
Showing
81 changed files
with
2,360 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
## WHAT | ||
|
||
copilot:summary | ||
|
||
copilot:poem | ||
|
||
|
||
## WHY | ||
|
||
<!-- author to complete --> | ||
|
||
|
||
## HOW | ||
|
||
copilot:walkthrough |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export default { | ||
type: "app", | ||
app: "bilflo", | ||
propDefinitions: {}, | ||
methods: { | ||
// this.$auth contains connected account data | ||
authKeys() { | ||
console.log(Object.keys(this.$auth)); | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "@pipedream/bilflo", | ||
"version": "0.0.1", | ||
"description": "Pipedream Bilflo Components", | ||
"main": "bilflo.app.mjs", | ||
"keywords": [ | ||
"pipedream", | ||
"bilflo" | ||
], | ||
"homepage": "https://pipedream.com/apps/bilflo", | ||
"author": "Pipedream <[email protected]> (https://pipedream.com/)", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export default { | ||
type: "app", | ||
app: "botpress", | ||
propDefinitions: {}, | ||
methods: { | ||
// this.$auth contains connected account data | ||
authKeys() { | ||
console.log(Object.keys(this.$auth)); | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "@pipedream/botpress", | ||
"version": "0.0.1", | ||
"description": "Pipedream Botpress Components", | ||
"main": "botpress.app.mjs", | ||
"keywords": [ | ||
"pipedream", | ||
"botpress" | ||
], | ||
"homepage": "https://pipedream.com/apps/botpress", | ||
"author": "Pipedream <[email protected]> (https://pipedream.com/)", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
components/calendly_v2/actions/create-invitee-no-show/create-invitee-no-show.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import calendly from "../../calendly_v2.app.mjs"; | ||
import { axios } from "@pipedream/platform"; | ||
|
||
export default { | ||
key: "calendly_v2-create-invitee-no-show", | ||
name: "Create Invitee No Show", | ||
description: "Marks an Invitee as a No Show in Calendly. [See the documentation](https://calendly.stoplight.io/docs/api-docs/cebd8c3170790-create-invitee-no-show).", | ||
version: "0.0.1", | ||
type: "action", | ||
props: { | ||
calendly, | ||
eventId: { | ||
propDefinition: [ | ||
calendly, | ||
"eventId", | ||
], | ||
}, | ||
inviteeUri: { | ||
type: "string", | ||
label: "Invitee URI", | ||
description: "The invitee to mark as a no show", | ||
async options({ prevContext }) { | ||
const params = prevContext.pageToken | ||
? { | ||
page_token: prevContext.pageToken, | ||
} | ||
: {}; | ||
const { | ||
collection, pagination, | ||
} = await this.calendly.listEventInvitees(params, this.eventId); | ||
const options = collection?.map(({ | ||
uri: value, name: label, | ||
}) => ({ | ||
value, | ||
label, | ||
})) || []; | ||
return { | ||
options, | ||
context: { | ||
pageToken: pagination?.next_page_token, | ||
}, | ||
}; | ||
}, | ||
}, | ||
}, | ||
methods: { | ||
createInviteeNoShow(opts = {}, $) { | ||
return axios( | ||
$, | ||
this.calendly._makeRequestOpts({ | ||
method: "POST", | ||
path: "/invitee_no_shows", | ||
...opts, | ||
}), | ||
); | ||
}, | ||
}, | ||
async run({ $ }) { | ||
const response = await this.createInviteeNoShow({ | ||
data: { | ||
invitee: this.inviteeUri, | ||
}, | ||
}, $); | ||
$.export("$summary", `Successfully marked invitee ${this.inviteeUri} as a no show`); | ||
return response; | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export default { | ||
type: "app", | ||
app: "chatfly", | ||
propDefinitions: {}, | ||
methods: { | ||
// this.$auth contains connected account data | ||
authKeys() { | ||
console.log(Object.keys(this.$auth)); | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "@pipedream/chatfly", | ||
"version": "0.0.1", | ||
"description": "Pipedream ChatFly Components", | ||
"main": "chatfly.app.mjs", | ||
"keywords": [ | ||
"pipedream", | ||
"chatfly" | ||
], | ||
"homepage": "https://pipedream.com/apps/chatfly", | ||
"author": "Pipedream <[email protected]> (https://pipedream.com/)", | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import app from "../../clio.app.mjs"; | ||
|
||
export default { | ||
key: "clio-create-matter", | ||
name: "Create New Matter", | ||
description: "Creates a new matter in Clio. [See the documentation](https://docs.developers.clio.com/api-reference/#tag/Matters/operation/Matter#index)", | ||
version: "0.0.1", | ||
type: "action", | ||
props: { | ||
app, | ||
clientId: { | ||
propDefinition: [ | ||
app, | ||
"clientId", | ||
], | ||
}, | ||
description: { | ||
propDefinition: [ | ||
app, | ||
"description", | ||
], | ||
}, | ||
closeDate: { | ||
propDefinition: [ | ||
app, | ||
"closeDate", | ||
], | ||
}, | ||
clientReference: { | ||
propDefinition: [ | ||
app, | ||
"clientReference", | ||
], | ||
}, | ||
}, | ||
methods: { | ||
createMatter(args = {}) { | ||
return this.app.post({ | ||
path: "/matters.json", | ||
...args, | ||
}); | ||
}, | ||
}, | ||
async run({ $ }) { | ||
const { | ||
createMatter, | ||
clientId, | ||
description, | ||
closeDate, | ||
clientReference, | ||
} = this; | ||
|
||
const response = await createMatter({ | ||
$, | ||
data: { | ||
data: { | ||
client: { | ||
id: clientId, | ||
}, | ||
description, | ||
close_date: closeDate, | ||
client_reference: clientReference, | ||
}, | ||
}, | ||
}); | ||
|
||
$.export("$summary", `Successfully created a new matter with ID \`${response.data.id}\``); | ||
return response; | ||
}, | ||
}; |
Oops, something went wrong.