@activepieces/piece-respond-io 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -18
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/actions/add-comment-to-conversation.d.ts +1 -0
- package/src/lib/actions/add-comment-to-conversation.d.ts.map +1 -0
- package/src/lib/actions/add-comment-to-conversation.js +2 -0
- package/src/lib/actions/add-comment-to-conversation.js.map +1 -1
- package/src/lib/actions/add-tag-to-contact.d.ts +1 -0
- package/src/lib/actions/add-tag-to-contact.d.ts.map +1 -0
- package/src/lib/actions/add-tag-to-contact.js +2 -0
- package/src/lib/actions/add-tag-to-contact.js.map +1 -1
- package/src/lib/actions/assign-or-unassign-conversation.d.ts +2 -1
- package/src/lib/actions/assign-or-unassign-conversation.d.ts.map +1 -0
- package/src/lib/actions/assign-or-unassign-conversation.js +2 -0
- package/src/lib/actions/assign-or-unassign-conversation.js.map +1 -1
- package/src/lib/actions/create-contact.d.ts +1 -0
- package/src/lib/actions/create-contact.d.ts.map +1 -0
- package/src/lib/actions/create-contact.js +2 -0
- package/src/lib/actions/create-contact.js.map +1 -1
- package/src/lib/actions/create-or-update-contact.d.ts +1 -0
- package/src/lib/actions/create-or-update-contact.d.ts.map +1 -0
- package/src/lib/actions/create-or-update-contact.js +2 -0
- package/src/lib/actions/create-or-update-contact.js.map +1 -1
- package/src/lib/actions/delete-contact.d.ts +1 -0
- package/src/lib/actions/delete-contact.d.ts.map +1 -0
- package/src/lib/actions/delete-contact.js +2 -0
- package/src/lib/actions/delete-contact.js.map +1 -1
- package/src/lib/actions/find-contact.d.ts +1 -0
- package/src/lib/actions/find-contact.d.ts.map +1 -0
- package/src/lib/actions/find-contact.js +2 -0
- package/src/lib/actions/find-contact.js.map +1 -1
- package/src/lib/actions/open-conversation.d.ts +1 -0
- package/src/lib/actions/open-conversation.d.ts.map +1 -0
- package/src/lib/actions/open-conversation.js +2 -0
- package/src/lib/actions/open-conversation.js.map +1 -1
- package/src/lib/common/auth.d.ts +1 -0
- package/src/lib/common/auth.d.ts.map +1 -0
- package/src/lib/common/auth.js.map +1 -1
- package/src/lib/common/client.d.ts +1 -0
- package/src/lib/common/client.d.ts.map +1 -0
- package/src/lib/common/client.js.map +1 -1
- package/src/lib/common/props.d.ts +1 -0
- package/src/lib/common/props.d.ts.map +1 -0
- package/src/lib/common/props.js.map +1 -1
- package/src/lib/triggers/contact-tag-updated.d.ts +5 -4
- package/src/lib/triggers/contact-tag-updated.d.ts.map +1 -0
- package/src/lib/triggers/contact-tag-updated.js +3 -0
- package/src/lib/triggers/contact-tag-updated.js.map +1 -1
- package/src/lib/triggers/contact-updated.d.ts +5 -4
- package/src/lib/triggers/contact-updated.d.ts.map +1 -0
- package/src/lib/triggers/contact-updated.js +3 -0
- package/src/lib/triggers/contact-updated.js.map +1 -1
- package/src/lib/triggers/conversation-closed.d.ts +5 -4
- package/src/lib/triggers/conversation-closed.d.ts.map +1 -0
- package/src/lib/triggers/conversation-closed.js +3 -0
- package/src/lib/triggers/conversation-closed.js.map +1 -1
- package/src/lib/triggers/conversation-opened.d.ts +5 -4
- package/src/lib/triggers/conversation-opened.d.ts.map +1 -0
- package/src/lib/triggers/conversation-opened.js +3 -0
- package/src/lib/triggers/conversation-opened.js.map +1 -1
- package/src/lib/triggers/new-contact.d.ts +5 -4
- package/src/lib/triggers/new-contact.d.ts.map +1 -0
- package/src/lib/triggers/new-contact.js +3 -0
- package/src/lib/triggers/new-contact.js.map +1 -1
- package/src/lib/triggers/new-incoming-message.d.ts +5 -4
- package/src/lib/triggers/new-incoming-message.d.ts.map +1 -0
- package/src/lib/triggers/new-incoming-message.js +3 -0
- package/src/lib/triggers/new-incoming-message.js.map +1 -1
- package/src/lib/triggers/new-outgoing-message.d.ts +5 -4
- package/src/lib/triggers/new-outgoing-message.d.ts.map +1 -0
- package/src/lib/triggers/new-outgoing-message.js +3 -0
- package/src/lib/triggers/new-outgoing-message.js.map +1 -1
- package/README.md +0 -7
package/package.json
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/piece-respond-io",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"deepmerge-ts": "7.1.0",
|
|
13
|
-
"form-data": "4.0.4",
|
|
14
|
-
"mime-types": "2.1.35",
|
|
15
|
-
"nanoid": "3.3.8",
|
|
16
|
-
"semver": "7.6.0",
|
|
17
|
-
"socket.io-client": "4.8.1",
|
|
18
|
-
"tslib": "^2.3.0",
|
|
19
|
-
"zod": "4.1.13",
|
|
20
|
-
"@activepieces/pieces-common": "0.11.6",
|
|
21
|
-
"@activepieces/pieces-framework": "0.25.4",
|
|
22
|
-
"@activepieces/shared": "0.37.0"
|
|
8
|
+
"@activepieces/pieces-common": "0.12.3",
|
|
9
|
+
"@activepieces/pieces-framework": "0.30.0",
|
|
10
|
+
"@activepieces/shared": "0.87.1",
|
|
11
|
+
"tslib": "2.3.0"
|
|
23
12
|
},
|
|
24
|
-
"
|
|
25
|
-
"
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "tsc -p tsconfig.lib.json && cp package.json dist/",
|
|
15
|
+
"lint": "eslint 'src/**/*.ts'"
|
|
26
16
|
}
|
|
27
17
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,SAAS;;GAmCpB,CAAC"}
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;AAAA,+DAAwE;AACxE,qEAA6D;AAC7D,4CAAkD;AAClD,2FAAqF;AACrF,yEAAmE;AACnE,mGAA6F;AAC7F,iEAA6D;AAC7D,qFAA+E;AAC/E,iEAA6D;AAC7D,6DAAyD;AACzD,uEAAmE;AACnE,4EAA8E;AAC9E,oEAAuE;AACvE,4EAA+E;AAC/E,4EAA+E;AAC/E,4DAA+D;AAC/D,8EAAgF;AAChF,8EAAgF;AAEnE,QAAA,SAAS,GAAG,IAAA,8BAAW,EAAC;IACnC,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,oBAAa;IACnB,uBAAuB,EAAE,QAAQ;IACjC,OAAO,EAAE,oDAAoD;IAC7D,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,OAAO,EAAE;QACP,sDAAwB;QACxB,oCAAe;QACf,8DAA4B;QAC5B,8BAAa;QACb,gDAAqB;QACrB,8BAAa;QACb,0BAAW;QACX,oCAAgB;QAChB,IAAA,yCAAyB,EAAC;YACxB,IAAI,EAAE,oBAAa;YACnB,OAAO,EAAE,GAAG,EAAE,CAAC,2BAA2B;YAC1C,WAAW,EAAE,CAAO,IAAI,EAAE,EAAE;gBAC1B,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC;gBAC7B,OAAO;oBACL,aAAa,EAAE,UAAU,KAAK,EAAE;iBACjC,CAAC;YACJ,CAAC,CAAA;SACF,CAAC;KACH;IACD,QAAQ,EAAE;QACR,8CAAwB;QACxB,uCAAqB;QACrB,+CAAyB;QACzB,+CAAyB;QACzB,+BAAiB;QACjB,gDAAyB;QACzB,gDAAyB;KAC1B;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-comment-to-conversation.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/add-comment-to-conversation.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,wBAAwB;;;;;;;EAmCnC,CAAC"}
|
|
@@ -12,6 +12,8 @@ exports.addCommentToConversation = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
name: 'add_comment_to_conversation',
|
|
13
13
|
displayName: 'Add Comment to Conversation',
|
|
14
14
|
description: 'Add an internal comment/note to a conversation in Respond.io.',
|
|
15
|
+
audience: 'both',
|
|
16
|
+
aiMetadata: { description: 'Posts an internal comment (note visible to team members, not the contact) on a contact\'s conversation in Respond.io. Use to leave context for agents rather than to message the contact. Requires the contact identifier and comment text (max 1000 chars); supports @-mentioning users via {{@user.ID}}. Not idempotent — each call appends another comment.', idempotent: false },
|
|
15
17
|
props: {
|
|
16
18
|
identifier: props_1.contactIdentifierDropdown,
|
|
17
19
|
text: pieces_framework_1.Property.LongText({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-comment-to-conversation.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"add-comment-to-conversation.js","sourceRoot":"","sources":["../../../../src/lib/actions/add-comment-to-conversation.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAwE;AACxE,6CAAoD;AACpD,yCAA+C;AAC/C,2CAA4D;AAE/C,QAAA,wBAAwB,GAAG,IAAA,+BAAY,EAAC;IACnD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EAAE,6BAA6B;IAC1C,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,gWAAgW,EAAE,UAAU,EAAE,KAAK,EAAE;IAChZ,KAAK,EAAE;QACL,UAAU,EAAE,iCAAyB;QACrC,IAAI,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACtB,WAAW,EAAE,cAAc;YAC3B,WAAW,EACT,4HAA4H;YAC9H,QAAQ,EAAE,IAAI;SACf,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;YAExC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACtC,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;YACnE,CAAC;YACD,IAAI,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,CAAC;gBACvB,MAAM,IAAI,KAAK,CAAC,6BAA6B,IAAI,CAAC,MAAM,mDAAmD,CAAC,CAAC;YAC/G,CAAC;YAED,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,YAAY,UAAU,UAAU;gBACrC,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE;iBAClB;aACF,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"add-tag-to-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/add-tag-to-contact.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;EAgD1B,CAAC"}
|
|
@@ -12,6 +12,8 @@ exports.addTagToContact = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
name: 'add_tag_to_contact',
|
|
13
13
|
displayName: 'Add Tag to Contact',
|
|
14
14
|
description: 'Add one or multiple tags to a contact in Respond.io.',
|
|
15
|
+
audience: 'both',
|
|
16
|
+
aiMetadata: { description: 'Adds one or more tags to a Respond.io contact, identified by the contact identifier. Use to label or segment a contact. Accepts 1-10 tag names per call. Idempotent on the resulting tag set — re-adding a tag the contact already has leaves it unchanged.', idempotent: true },
|
|
15
17
|
props: {
|
|
16
18
|
identifier: props_1.contactIdentifierDropdown,
|
|
17
19
|
tags: pieces_framework_1.Property.Array({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tag-to-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"add-tag-to-contact.js","sourceRoot":"","sources":["../../../../src/lib/actions/add-tag-to-contact.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAwE;AACxE,6CAAoD;AACpD,yCAA+C;AAC/C,2CAA4D;AAE/C,QAAA,eAAe,GAAG,IAAA,+BAAY,EAAC;IAC1C,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,oBAAoB;IAC1B,WAAW,EAAE,oBAAoB;IACjC,WAAW,EAAE,sDAAsD;IACnE,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,6PAA6P,EAAE,UAAU,EAAE,IAAI,EAAE;IAC5S,KAAK,EAAE;QACL,UAAU,EAAE,iCAAyB;QACrC,IAAI,EAAE,2BAAQ,CAAC,KAAK,CAAC;YACnB,WAAW,EAAE,MAAM;YACnB,WAAW,EAAE,0DAA0D;YACvE,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE;gBACV,GAAG,EAAE,2BAAQ,CAAC,SAAS,CAAC;oBACtB,WAAW,EAAE,UAAU;oBACvB,WAAW,EAAE,yBAAyB;oBACtC,QAAQ,EAAE,IAAI;iBACf,CAAC;aACH;SACF,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,UAAU,CAAC;YAExC,IAAI,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBACvD,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;YACnD,CAAC;YACD,IAAI,IAAI,CAAC,MAAM,GAAG,EAAE,EAAE,CAAC;gBACrB,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;YAC7D,CAAC;YAED,MAAM,QAAQ,GAAG,IAAI;iBAClB,GAAG,CAAC,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC;iBAChC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,CAAC;iBAClC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;YAE5B,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;gBAC1B,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;YAC9D,CAAC;YAED,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,YAAY,UAAU,MAAM;gBACjC,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;aACf,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -14,7 +14,7 @@ export declare const assignOrUnassignConversation: import("@activepieces/pieces-
|
|
|
14
14
|
refreshers: string[];
|
|
15
15
|
refreshOnSearch?: boolean;
|
|
16
16
|
options: (propsValue: Record<string, unknown> & {
|
|
17
|
-
auth?: import("
|
|
17
|
+
auth?: import("@activepieces/shared").CustomAuthConnectionValue<import("@activepieces/pieces-framework").StaticPropsValue<{
|
|
18
18
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
19
19
|
}>> | undefined;
|
|
20
20
|
}, ctx: import("@activepieces/pieces-framework").PropertyContext) => Promise<import("@activepieces/pieces-framework").DropdownState<string>>;
|
|
@@ -23,3 +23,4 @@ export declare const assignOrUnassignConversation: import("@activepieces/pieces-
|
|
|
23
23
|
defaultValue?: unknown;
|
|
24
24
|
};
|
|
25
25
|
}>;
|
|
26
|
+
//# sourceMappingURL=assign-or-unassign-conversation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assign-or-unassign-conversation.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/assign-or-unassign-conversation.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;EAwCvC,CAAC"}
|
|
@@ -12,6 +12,8 @@ exports.assignOrUnassignConversation = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
name: 'assign_or_unassign_conversation',
|
|
13
13
|
displayName: 'Assign or Unassign Conversation',
|
|
14
14
|
description: 'Assign or unassign a conversation to/from a team member in Respond.io.',
|
|
15
|
+
audience: 'both',
|
|
16
|
+
aiMetadata: { description: 'Sets (or clears) the assignee on a contact\'s conversation in Respond.io. Two modes: provide a user to assign, or leave the assignee empty to unassign. Use to route a conversation to a specific agent or remove ownership. Idempotent — re-applying the same assignee leaves the conversation in the same state.', idempotent: true },
|
|
15
17
|
props: {
|
|
16
18
|
identifier: props_1.contactIdentifierDropdown,
|
|
17
19
|
assignee: Object.assign(Object.assign({}, props_1.assigneeDropdown), { description: 'Select the user to assign the conversation to. Leave empty to unassign.', required: false }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assign-or-unassign-conversation.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"assign-or-unassign-conversation.js","sourceRoot":"","sources":["../../../../src/lib/actions/assign-or-unassign-conversation.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAA8D;AAC9D,6CAAoD;AACpD,yCAA+C;AAC/C,2CAA8E;AAEjE,QAAA,4BAA4B,GAAG,IAAA,+BAAY,EAAC;IACvD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE,wEAAwE;IACrF,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,oTAAoT,EAAE,UAAU,EAAE,IAAI,EAAE;IACnW,KAAK,EAAE;QACL,UAAU,EAAE,iCAAyB;QACrC,QAAQ,kCACH,wBAAgB,KACnB,WAAW,EACT,yEAAyE,EAC3E,QAAQ,EAAE,KAAK,GAChB;KACF;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAE5C,oCAAoC;YACpC,IAAI,aAAa,GAA2B,IAAI,CAAC;YAEjD,IAAI,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,QAAQ,KAAK,MAAM,EAAE,CAAC;gBAC9D,MAAM,MAAM,GAAG,QAAQ,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;gBACtC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC;oBACnB,aAAa,GAAG,MAAM,CAAC;gBACzB,CAAC;qBAAM,CAAC;oBACN,aAAa,GAAG,QAAQ,CAAC;gBAC3B,CAAC;YACH,CAAC;YAED,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,YAAY,UAAU,wBAAwB;gBACnD,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE;oBACJ,QAAQ,EAAE,aAAa;iBACxB;aACF,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -11,3 +11,4 @@ export declare const createContact: import("@activepieces/pieces-framework").IAc
|
|
|
11
11
|
countryCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
12
|
customFields: import("@activepieces/pieces-framework").ArrayProperty<true> | import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
13
13
|
}>;
|
|
14
|
+
//# sourceMappingURL=create-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-contact.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;EA+HxB,CAAC"}
|
|
@@ -11,6 +11,8 @@ exports.createContact = (0, pieces_framework_1.createAction)({
|
|
|
11
11
|
name: 'create_contact',
|
|
12
12
|
displayName: 'Create Contact',
|
|
13
13
|
description: 'Create a new contact record in Respond.io.',
|
|
14
|
+
audience: 'both',
|
|
15
|
+
aiMetadata: { description: 'Creates a new contact in Respond.io, keyed by a unique identifier in `email:...` or `phone:...` form. Use only when adding a brand-new contact; if the contact may already exist, prefer Create or Update Contact, which upserts. Requires the identifier and first name; optional email, phone, language, country, profile picture, and custom fields. Not idempotent — intended to create a fresh record.', idempotent: false },
|
|
14
16
|
props: {
|
|
15
17
|
identifier: pieces_framework_1.Property.ShortText({
|
|
16
18
|
displayName: 'Identifier',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"create-contact.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-contact.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAwE;AACxE,6CAAoD;AACpD,yCAA+C;AAElC,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,6YAA6Y,EAAE,UAAU,EAAE,KAAK,EAAE;IAC7b,KAAK,EAAE;QACL,UAAU,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC7B,WAAW,EAAE,YAAY;YACzB,WAAW,EACT,gHAAgH;YAClH,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,SAAS,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC5B,WAAW,EAAE,YAAY;YACzB,QAAQ,EAAE,IAAI;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C"}
|
|
@@ -11,3 +11,4 @@ export declare const createOrUpdateContact: import("@activepieces/pieces-framewo
|
|
|
11
11
|
countryCode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
|
|
12
12
|
customFields: import("@activepieces/pieces-framework").ArrayProperty<true> | import("@activepieces/pieces-framework").ArrayProperty<false>;
|
|
13
13
|
}>;
|
|
14
|
+
//# sourceMappingURL=create-or-update-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-or-update-contact.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAiIhC,CAAC"}
|
|
@@ -11,6 +11,8 @@ exports.createOrUpdateContact = (0, pieces_framework_1.createAction)({
|
|
|
11
11
|
name: 'create_or_update_contact',
|
|
12
12
|
displayName: 'Create or Update Contact',
|
|
13
13
|
description: 'Create a new contact or update an existing one by email, phone, or ID.',
|
|
14
|
+
audience: 'both',
|
|
15
|
+
aiMetadata: { description: 'Upserts a Respond.io contact keyed by a unique identifier in `id:...`, `email:...`, or `phone:...` form: updates the matching contact if it exists, otherwise creates one. Prefer this over Create Contact when the contact may already exist. Requires the identifier and first name; optional email, phone, language, country, profile picture, and custom fields. Idempotent — repeating with the same input converges to the same record.', idempotent: true },
|
|
14
16
|
props: {
|
|
15
17
|
identifier: pieces_framework_1.Property.ShortText({
|
|
16
18
|
displayName: 'Identifier',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-or-update-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"create-or-update-contact.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-or-update-contact.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAwE;AACxE,6CAAoD;AACpD,yCAA+C;AAElC,QAAA,qBAAqB,GAAG,IAAA,+BAAY,EAAC;IAChD,IAAI,EAAE,oBAAa;IACnB,IAAI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CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;qBACvD,GAAG,CAAC,CAAC,KAAU,EAAE,EAAE,CAAC,CAAC;oBACpB,IAAI,EAAE,KAAK,CAAC,IAAI;oBAChB,KAAK,EAAE,KAAK,CAAC,KAAK,IAAI,IAAI;iBAC3B,CAAC,CAAC,CAAC;YACR,CAAC;YAED,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,6BAA6B,UAAU,EAAE;gBAC9C,IAAI,EAAE,IAAI;gBACV,IAAI;aACL,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/delete-contact.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa;;;;;;EAmBxB,CAAC"}
|
|
@@ -12,6 +12,8 @@ exports.deleteContact = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
name: 'delete_contact',
|
|
13
13
|
displayName: 'Delete Contact',
|
|
14
14
|
description: 'Permanently delete a contact from Respond.io.',
|
|
15
|
+
audience: 'both',
|
|
16
|
+
aiMetadata: { description: 'Permanently deletes a contact from Respond.io, identified by the contact identifier. Destructive and irreversible — use only when the contact should be fully removed. Idempotent on end state: once deleted, repeating leaves the contact absent.', idempotent: true },
|
|
15
17
|
props: {
|
|
16
18
|
identifier: props_1.contactIdentifierDropdown,
|
|
17
19
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"delete-contact.js","sourceRoot":"","sources":["../../../../src/lib/actions/delete-contact.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAA8D;AAC9D,6CAAoD;AACpD,yCAA+C;AAC/C,2CAA4D;AAE/C,QAAA,aAAa,GAAG,IAAA,+BAAY,EAAC;IACxC,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,gBAAgB;IACtB,WAAW,EAAE,gBAAgB;IAC7B,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,oPAAoP,EAAE,UAAU,EAAE,IAAI,EAAE;IACnS,KAAK,EAAE;QACL,UAAU,EAAE,iCAAyB;KACtC;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC;YAElC,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,MAAM;gBACzB,GAAG,EAAE,YAAY,UAAU,EAAE;gBAC7B,IAAI,EAAE,IAAI;aACX,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -6,3 +6,4 @@ export declare const findContact: import("@activepieces/pieces-framework").IActi
|
|
|
6
6
|
limit: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
7
7
|
cursorId: import("@activepieces/pieces-framework").NumberProperty<false>;
|
|
8
8
|
}>;
|
|
9
|
+
//# sourceMappingURL=find-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/find-contact.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;EAmEtB,CAAC"}
|
|
@@ -11,6 +11,8 @@ exports.findContact = (0, pieces_framework_1.createAction)({
|
|
|
11
11
|
name: 'find_contact',
|
|
12
12
|
displayName: 'Find Contact',
|
|
13
13
|
description: 'Search for contacts by name, email, or phone number in Respond.io.',
|
|
14
|
+
audience: 'both',
|
|
15
|
+
aiMetadata: { description: 'Searches Respond.io contacts by a free-text term matching name, email, or phone, returning matching contacts. Use to resolve a contact to its ID before acting on it, or to look up contacts. Supports a result limit (1-99, default 10) and cursor-based pagination. Read-only and idempotent.', idempotent: true },
|
|
14
16
|
props: {
|
|
15
17
|
search: pieces_framework_1.Property.ShortText({
|
|
16
18
|
displayName: 'Search Term',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"find-contact.js","sourceRoot":"","sources":["../../../../src/lib/actions/find-contact.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAAwE;AACxE,6CAAoD;AACpD,yCAA+C;AAElC,QAAA,WAAW,GAAG,IAAA,+BAAY,EAAC;IACtC,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,cAAc;IACpB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,oEAAoE;IACjF,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,iSAAiS,EAAE,UAAU,EAAE,IAAI,EAAE;IAChV,KAAK,EAAE;QACL,MAAM,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACzB,WAAW,EAAE,aAAa;YAC1B,WAAW,EACT,uEAAuE;YACzE,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC3B,WAAW,EAAE,UAAU;YACvB,WAAW,EACT,gEAAgE;YAClE,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,KAAK,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACrB,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,qDAAqD;YAClE,QAAQ,EAAE,KAAK;YACf,YAAY,EAAE,EAAE;SACjB,CAAC;QACF,QAAQ,EAAE,2BAAQ,CAAC,MAAM,CAAC;YACxB,WAAW,EAAE,WAAW;YACxB,WAAW,EAAE,oDAAoD;YACjE,QAAQ,EAAE,KAAK;SAChB,CAAC;KACH;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,GAAG,EAAE,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC;YAE9D,+CAA+C;YAC/C,IAAI,KAAK,GAAG,CAAC,IAAI,KAAK,IAAI,GAAG,EAAE,CAAC;gBAC9B,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;YACrD,CAAC;YAED,yBAAyB;YACzB,MAAM,WAAW,GAAG,CAAC,SAAS,KAAK,EAAE,CAAC,CAAC;YACvC,IAAI,QAAQ,EAAE,CAAC;gBACb,WAAW,CAAC,IAAI,CAAC,YAAY,QAAQ,EAAE,CAAC,CAAC;YAC3C,CAAC;YAED,qBAAqB;YACrB,MAAM,IAAI,GAIN;gBACF,MAAM;gBACN,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;aACrB,CAAC;YAEF,IAAI,QAAQ,EAAE,CAAC;gBACb,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;YAC3B,CAAC;YAED,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,iBAAiB,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE;gBAC7C,IAAI,EAAE,IAAI;gBACV,IAAI;aACL,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-conversation.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/open-conversation.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB;;;;;;EAsB3B,CAAC"}
|
|
@@ -12,6 +12,8 @@ exports.openConversation = (0, pieces_framework_1.createAction)({
|
|
|
12
12
|
name: 'open_conversation',
|
|
13
13
|
displayName: 'Open Conversation',
|
|
14
14
|
description: 'Mark a conversation as open in Respond.io.',
|
|
15
|
+
audience: 'both',
|
|
16
|
+
aiMetadata: { description: 'Sets a contact\'s conversation status to open in Respond.io, identified by the contact identifier. Use to (re)open a conversation so it appears in active queues. Idempotent — opening an already-open conversation leaves it open.', idempotent: true },
|
|
15
17
|
props: {
|
|
16
18
|
identifier: props_1.contactIdentifierDropdown,
|
|
17
19
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open-conversation.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"open-conversation.js","sourceRoot":"","sources":["../../../../src/lib/actions/open-conversation.ts"],"names":[],"mappings":";;;;AAAA,+DAAyD;AACzD,qEAA8D;AAC9D,6CAAoD;AACpD,yCAA+C;AAC/C,2CAA4D;AAE/C,QAAA,gBAAgB,GAAG,IAAA,+BAAY,EAAC;IAC3C,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,mBAAmB;IAChC,WAAW,EAAE,4CAA4C;IACzD,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,qOAAqO,EAAE,UAAU,EAAE,IAAI,EAAE;IACpR,KAAK,EAAE;QACL,UAAU,EAAE,iCAAyB;KACtC;IACK,GAAG;qEAAC,EAAE,UAAU,EAAE,IAAI,EAAE;YAC5B,MAAM,EAAE,UAAU,EAAE,GAAG,UAAU,CAAC;YAElC,OAAO,MAAM,IAAA,yBAAgB,EAAC;gBAC5B,MAAM,EAAE,0BAAU,CAAC,IAAI;gBACvB,GAAG,EAAE,YAAY,UAAU,sBAAsB;gBACjD,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE;oBACJ,MAAM,EAAE,MAAM;iBACf;aACF,CAAC,CAAC;QACL,CAAC;KAAA;CACF,CAAC,CAAC"}
|
package/src/lib/common/auth.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export declare const RespondIoAuth: import("@activepieces/pieces-framework").Sec
|
|
|
2
2
|
export declare const respondIoAuth: import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>;
|
|
5
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/auth.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,mEAIxB,CAAC;AAEH,eAAO,MAAM,aAAa;;EAgCxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../src/lib/common/auth.ts"],"names":[],"mappings":";;;;AAAA,qEAA2D;AAC3D,qCAA4C;AAC5C,+DAAyD;AACzD,iDAAyD;AAEzD,oCAAoC;AACvB,QAAA,aAAa,GAAG,4BAAS,CAAC,UAAU,CAAC;IAChD,WAAW,EAAE,WAAW;IACxB,WAAW,EAAE,+BAA+B;IAC5C,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC;AAEU,QAAA,aAAa,GAAG,4BAAS,CAAC,UAAU,CAAC;IAChD,WAAW,EAAE;;;;;;;0FAO2E;IACxF,KAAK,EAAE;QACL,KAAK,EAAE,qBAAa;KACrB;IACD,QAAQ,EAAE,KAAiB,EAAE,oDAAZ,EAAE,IAAI,EAAE;QACvB,IAAI,CAAC;YACH,uEAAuE;YACvE,MAAM,IAAA,yBAAgB,EAAC;gBACrB,MAAM,EAAE,0BAAU,CAAC,GAAG;gBACtB,GAAG,EAAE,aAAa;gBAClB,IAAI,EAAE;oBACJ,IAAI,EAAE,0BAAiB,CAAC,WAAW;oBACnC,KAAK,EAAE,IAAI;iBACZ;aACF,CAAC,CAAC;YACH,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACzB,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO;gBACL,KAAK,EAAE,KAAK;gBACZ,KAAK,EAAE,mBAAmB;aAC3B,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;IACD,QAAQ,EAAE,IAAI;CACf,CAAC,CAAC"}
|
|
@@ -8,3 +8,4 @@ export type RespondIoApiCallParams = {
|
|
|
8
8
|
auth: AppConnectionValueForAuthProperty<typeof respondIoAuth>;
|
|
9
9
|
};
|
|
10
10
|
export declare function respondIoApiCall<T extends HttpMessageBody>({ method, url, body, auth }: RespondIoApiCallParams): Promise<T>;
|
|
11
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,UAAU,EAEV,eAAe,EAEhB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iCAAiC,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,MAAM,sBAAsB,GAAG;IACnC,MAAM,EAAE,UAAU,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,iCAAiC,CAAC,OAAO,aAAa,CAAC,CAAC;CAC/D,CAAC;AAEF,wBAAsB,gBAAgB,CAAC,CAAC,SAAS,eAAe,EAAE,EAChE,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACL,EAAE,sBAAsB,GAAG,OAAO,CAAC,CAAC,CAAC,CA0ErC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../../../../src/lib/common/client.ts"],"names":[],"mappings":";;AAiBA,4CA+EC;;AAhGD,+DAMqC;AAWrC,SAAsB,gBAAgB;iEAA4B,EAChE,MAAM,EACN,GAAG,EACH,IAAI,EACJ,IAAI,EACmB;;QACvB,MAAM,OAAO,GAAgB;YAC3B,MAAM;YACN,GAAG,EAAE,4BAA4B,G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KAAK,GAAG;oBACN,MAAM,IAAI,KAAK,CACb,mIAAmI,UAAU,EAAE,CAChJ,CAAC;gBACJ,OAAO,CAAC,CAAC,CAAC;oBACR,MAAM,eAAe,GAAG,GAAG,CAAC,OAAO,IAAI,wBAAwB,CAAC;oBAChE,MAAM,IAAI,KAAK,CACb,gCAAgC,MAAM,IAAI,SAAS,MACjD,UAAU,IAAI,eAChB,EAAE,CACH,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;CAAA"}
|
|
@@ -4,3 +4,4 @@ export declare const contactIdentifierDropdown: import("@activepieces/pieces-fra
|
|
|
4
4
|
export declare const assigneeDropdown: import("@activepieces/pieces-framework").DropdownProperty<string, true, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
5
5
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
6
6
|
}>>;
|
|
7
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../src/lib/common/props.ts"],"names":[],"mappings":"AA4DA,eAAO,MAAM,yBAAyB;;GA0DpC,CAAC;AAGH,eAAO,MAAM,gBAAgB;;GAuD3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"props.js","sourceRoot":"","sources":["../../../../src/lib/common/props.ts"],"names":[],"mappings":";;;;AAAA,qEAA0D;AAC1D,+DAAyD;AACzD,qCAA4C;AAE5C,iCAAuC;AAuDvC,2BAA2B;AACd,QAAA,yBAAyB,GAAI,2BAAQ,CAAC,QAAQ,CAAC;IAC1D,IAAI,EAAE,oBAAa;IACnB,WAAW,EAAE,SAAS;IACtB,WAAW,EAAE,qBAAqB;IAClC,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,CAAC,MAAM,CAAC;IACpB,OAAO,EAAE,KAAiB,EAAE,oDAAZ,EAA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AS,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,KAAK,GAAG;wBAC3D,KAAK,EAAE,IAAI,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,gBAAgB;qBAC5C,CAAC,CAAC;iBACJ;aACF,CAAC;QACJ,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACxB,MAAM,YAAY,GAChB,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAwB,CAAC;YACpE,OAAO;gBACL,QAAQ,EAAE,IAAI;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,wBAAwB,YAAY,EAAE;aACpD,CAAC;QACJ,CAAC;IACH,CAAC,CAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const contactTagUpdatedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=contact-tag-updated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-tag-updated.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/contact-tag-updated.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAIxC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;EAuCnC,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.contactTagUpdatedTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'contact_tag_updated',
|
|
9
9
|
displayName: 'Contact Tag Updated',
|
|
10
10
|
description: 'Triggers when a tag is added or removed from a contact in Respond.io.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when a contact\'s tags change — a tag is added to or removed from a contact in Respond.io. Delivers the affected contact and its updated tag set. Requires manually configuring a contact.tag.updated webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-tag-updated.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"contact-tag-updated.js","sourceRoot":"","sources":["../../../../src/lib/triggers/contact-tag-updated.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,yCAA+C;AAElC,QAAA,wBAAwB,GAAG,IAAA,gCAAa,EAAC;IACpD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,uEAAuE;IACpF,UAAU,EAAE;QACV,WAAW,EAAE,oOAAoO;KAClP;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IAEf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IAEK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const contactUpdatedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=contact-updated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact-updated.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/contact-updated.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAGxC,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;EAqChC,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.contactUpdatedTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'contact_updated',
|
|
9
9
|
displayName: 'Contact Updated',
|
|
10
10
|
description: 'Triggers when an existing contact is updated in Respond.io.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when an existing Respond.io contact\'s details change (e.g. name, email, phone, custom fields), delivering the updated contact. Does not fire on contact creation — use the New Contact trigger for that. Requires manually configuring a contact.updated webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact-updated.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"contact-updated.js","sourceRoot":"","sources":["../../../../src/lib/triggers/contact-updated.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,yCAA+C;AAElC,QAAA,qBAAqB,GAAG,IAAA,gCAAa,EAAC;IACjD,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,iBAAiB;IAC9B,WAAW,EAAE,6DAA6D;IAC1E,UAAU,EAAE;QACV,WAAW,EAAE,wRAAwR;KACtS;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IACf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const conversationClosedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=conversation-closed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-closed.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/conversation-closed.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAIxC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;EAqCpC,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.conversationClosedTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'conversation_closed',
|
|
9
9
|
displayName: 'Conversation Closed',
|
|
10
10
|
description: 'Triggers when a conversation is closed.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when a conversation is closed in Respond.io, delivering the contact and conversation that was closed. Use to run follow-up actions after a conversation is resolved. Requires manually configuring a conversation.closed webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-closed.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"conversation-closed.js","sourceRoot":"","sources":["../../../../src/lib/triggers/conversation-closed.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,yCAA+C;AAElC,QAAA,yBAAyB,GAAG,IAAA,gCAAa,EAAC;IACrD,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,yCAAyC;IACtD,UAAU,EAAE;QACV,WAAW,EAAE,uPAAuP;KACrQ;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IACf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const conversationOpenedTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=conversation-opened.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-opened.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/conversation-opened.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAIxC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;EAiFpC,CAAC"}
|
|
@@ -9,6 +9,9 @@ exports.conversationOpenedTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
9
9
|
name: 'conversation_opened',
|
|
10
10
|
displayName: 'Conversation Opened',
|
|
11
11
|
description: 'Triggers when a new conversation is opened.',
|
|
12
|
+
aiMetadata: {
|
|
13
|
+
description: 'Fires when a conversation is opened in Respond.io, delivering the contact and conversation details (including source and first incoming message). Use to start a workflow when a new conversation begins. Requires manually configuring a conversation.opened webhook in Respond.io.',
|
|
14
|
+
},
|
|
12
15
|
type: pieces_framework_1.TriggerStrategy.WEBHOOK,
|
|
13
16
|
props: {
|
|
14
17
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-opened.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"conversation-opened.js","sourceRoot":"","sources":["../../../../src/lib/triggers/conversation-opened.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,yCAA+C;AAElC,QAAA,yBAAyB,GAAG,IAAA,gCAAa,EAAC;IACrD,IAAI,EAAE,oBAAa;IACnB,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,6CAA6C;IAC1D,UAAU,EAAE;QACV,WAAW,EAAE,sRAAsR;KACpS;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;WAYF;SACN,CAAC;KACH;IAEK,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IAEK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAI/B,CAAC;YAEF,IAAI,OAAO,CAAC,UAAU,KAAK,qBAAqB;gBAAE,OAAO,EAAE,CAAC;YAE5D,OAAO,CAAC,OAAO,CAAC,CAAC;QACnB,CAAC;KAAA;IAEK,IAAI;;YACR,OAAO;gBACL;oBACE,UAAU,EAAE,qBAAqB;oBACjC,QAAQ,EAAE,sCAAsC;oBAChD,OAAO,EAAE;wBACP,EAAE,EAAE,CAAC;wBACL,SAAS,EAAE,MAAM;wBACjB,QAAQ,EAAE,KAAK;wBACf,KAAK,EAAE,cAAc;wBACrB,KAAK,EAAE,oBAAoB;wBAC3B,QAAQ,EAAE,IAAI;wBACd,UAAU,EAAE,qCAAqC;wBACjD,WAAW,EAAE,IAAI;wBACjB,MAAM,EAAE,MAAM;wBACd,QAAQ,EAAE;4BACR,EAAE,EAAE,CAAC;4BACL,SAAS,EAAE,MAAM;4BACjB,QAAQ,EAAE,KAAK;4BACf,KAAK,EAAE,oBAAoB;yBAC5B;wBACD,UAAU,EAAE,UAAU;qBACvB;oBACD,YAAY,EAAE;wBACZ,MAAM,EAAE,KAAK;wBACb,oBAAoB,EAAE,UAAU;wBAChC,oBAAoB,EAAE,OAAO;wBAC7B,6BAA6B,EAAE,CAAC;qBACjC;iBACF;aACF,CAAC;QACJ,CAAC;KAAA;IAED,UAAU,EAAE,EAAE;CACf,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const newContactTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=new-contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-contact.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/new-contact.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAIxC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;EAuC5B,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.newContactTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'new_contact',
|
|
9
9
|
displayName: 'New Contact',
|
|
10
10
|
description: 'Triggers when a new contact is created in Respond.io.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when a new contact is created in Respond.io, delivering the newly created contact. Use to react to contact onboarding; for changes to existing contacts use the Contact Updated trigger instead. Requires manually configuring a contact.created webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-contact.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"new-contact.js","sourceRoot":"","sources":["../../../../src/lib/triggers/new-contact.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AAExC,yCAA+C;AAElC,QAAA,iBAAiB,GAAG,IAAA,gCAAa,EAAC;IAC7C,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,uDAAuD;IACpE,UAAU,EAAE;QACV,WAAW,EAAE,+QAA+Q;KAC7R;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IAEf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IAEK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const newIncomingMessageTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=new-incoming-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-incoming-message.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/new-incoming-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAGxC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;EAqCpC,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.newIncomingMessageTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'new_incoming_message',
|
|
9
9
|
displayName: 'New Incoming Message',
|
|
10
10
|
description: 'Triggers when a new message is received from a contact.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when a contact sends an inbound message into Respond.io, delivering the message and its contact. Use to react to incoming customer messages; for messages sent out from Respond.io use the New Outgoing Message trigger. Requires manually configuring a message.received webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-incoming-message.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"new-incoming-message.js","sourceRoot":"","sources":["../../../../src/lib/triggers/new-incoming-message.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,yCAA+C;AAElC,QAAA,yBAAyB,GAAG,IAAA,gCAAa,EAAC;IACrD,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,yDAAyD;IACtE,UAAU,EAAE;QACV,WAAW,EAAE,wSAAwS;KACtT;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IACf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|
|
@@ -2,17 +2,18 @@ import { TriggerStrategy } from '@activepieces/pieces-framework';
|
|
|
2
2
|
export declare const newOutgoingMessageTrigger: import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
3
3
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
4
4
|
}>, {
|
|
5
|
-
webhookInstructions: import("
|
|
5
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
6
6
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.POLLING, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
7
7
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
8
8
|
}>, {
|
|
9
|
-
webhookInstructions: import("
|
|
9
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
10
10
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.MANUAL, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
11
11
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
12
12
|
}>, {
|
|
13
|
-
webhookInstructions: import("
|
|
13
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
14
14
|
}> | import("@activepieces/pieces-framework").ITrigger<TriggerStrategy.APP_WEBHOOK, import("@activepieces/pieces-framework").CustomAuthProperty<{
|
|
15
15
|
token: import("@activepieces/pieces-framework").SecretTextProperty<true>;
|
|
16
16
|
}>, {
|
|
17
|
-
webhookInstructions: import("
|
|
17
|
+
webhookInstructions: import("@activepieces/pieces-framework/dist/src/lib/property/input/markdown-property").MarkDownProperty;
|
|
18
18
|
}>;
|
|
19
|
+
//# sourceMappingURL=new-outgoing-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"new-outgoing-message.d.ts","sourceRoot":"","sources":["../../../../src/lib/triggers/new-outgoing-message.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,eAAe,EAChB,MAAM,gCAAgC,CAAC;AAGxC,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;EAqCpC,CAAC"}
|
|
@@ -8,6 +8,9 @@ exports.newOutgoingMessageTrigger = (0, pieces_framework_1.createTrigger)({
|
|
|
8
8
|
name: 'new_outgoing_message',
|
|
9
9
|
displayName: 'New Outgoing Message',
|
|
10
10
|
description: 'Triggers when a message is sent from Respond.io.',
|
|
11
|
+
aiMetadata: {
|
|
12
|
+
description: 'Fires when a message is sent out from Respond.io to a contact (by an agent, automation, or API), delivering the message and its contact. Use to react to outbound messages; for messages received from contacts use the New Incoming Message trigger. Requires manually configuring a message.sent webhook in Respond.io.',
|
|
13
|
+
},
|
|
11
14
|
auth: auth_1.respondIoAuth,
|
|
12
15
|
props: {
|
|
13
16
|
webhookInstructions: pieces_framework_1.Property.MarkDown({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"new-outgoing-message.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"new-outgoing-message.js","sourceRoot":"","sources":["../../../../src/lib/triggers/new-outgoing-message.ts"],"names":[],"mappings":";;;;AAAA,qEAIwC;AACxC,yCAA+C;AAElC,QAAA,yBAAyB,GAAG,IAAA,gCAAa,EAAC;IACrD,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EAAE,sBAAsB;IACnC,WAAW,EAAE,kDAAkD;IAC/D,UAAU,EAAE;QACV,WAAW,EAAE,2TAA2T;KACzU;IACD,IAAI,EAAE,oBAAa;IACnB,KAAK,EAAE;QACL,mBAAmB,EAAE,2BAAQ,CAAC,QAAQ,CAAC;YACrC,KAAK,EAAE;;;;;;;;;;;;IAYT;SACC,CAAC;KACH;IACD,IAAI,EAAE,kCAAe,CAAC,OAAO;IAC7B,UAAU,EAAE,SAAS;IACf,QAAQ,CAAC,OAAO;;YACpB,4EAA4E;QAC9E,CAAC;KAAA;IACK,SAAS,CAAC,OAAO;;YACrB,6DAA6D;QAC/D,CAAC;KAAA;IAEK,GAAG,CAAC,OAAO;;YACf,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAChC,CAAC;KAAA;CACF,CAAC,CAAC"}
|