You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/aircall/actions/create-contact/create-contact.mjs
+35-7Lines changed: 35 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -3,36 +3,64 @@ import common from "../common/common-create-update.mjs";
3
3
exportdefault{
4
4
...common,
5
5
name: "Create Contact",
6
-
description: "Create a contact in Aircall. [See the documentation](https://developer.aircall.io/api-references/#create-a-contact)",
6
+
description:
7
+
"Create a contact in Aircall. [See the documentation](https://developer.aircall.io/api-references/#create-a-contact)",
7
8
key: "aircall-create-contact",
8
-
version: "0.0.1",
9
+
version: "0.0.2",
9
10
type: "action",
10
11
props: {
11
12
...common.props,
12
13
emails: {
13
14
type: "string[]",
14
15
label: "Emails",
15
-
description: "Array of email address objects (max 20). Each should contain `label` and `value`. If a string is provided, it will be used as both the label and value.",
16
+
description:
17
+
"Array of email address objects (max 20). Each should contain `label` and `value`. If a string is provided, it will be used as both the label and value. For example, `{{ [{\"label\": \"Work\", \"value\": \"[email protected]\"}] }}`, or `{{ [\"[email protected]\"] }}`",
16
18
optional: true,
17
19
},
18
20
phoneNumbers: {
19
21
type: "string[]",
20
22
label: "Phone Numbers",
21
-
description: "Array of phone number objects (max 20). Each should contain `label` and `value`. If a string is provided, it will be used as both the label and value.",
23
+
description:
24
+
"Array of phone number objects (max 20). Each should contain `label` and `value`. If a string is provided, it will be used as both the label and value. For example, `{{ [{\"label\": \"Work\", \"value\": \"+1 812-641-5139\"}] }}`, or `{{ [\"+1 812-641-5139\"] }}`",
0 commit comments