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
description: "Creates a new conversation in Kustomer. [See the documentation]()",
8
-
version: "0.0.{{ts}}",
9
+
description: "Creates a new conversation in Kustomer. [See the documentation](https://developer.kustomer.com/kustomer-api-docs/reference/createaconversation)",
10
+
version: "0.0.1",
9
11
type: "action",
10
12
props: {
11
13
kustomer,
12
-
13
-
// Required prop
14
-
customerId: {
15
-
type: "string",
16
-
label: "Customer ID",
17
-
description: "Unique identifier for the customer",
14
+
customer: {
15
+
propDefinition: [
16
+
kustomer,
17
+
"customerId",
18
+
],
18
19
},
19
-
20
-
// Optional props
21
20
externalId: {
22
-
type: "string",
23
-
label: "External ID",
24
-
description: "External identifier",
21
+
propDefinition: [
22
+
kustomer,
23
+
"externalId",
24
+
],
25
25
optional: true,
26
26
},
27
27
name: {
28
-
type: "string",
29
-
label: "Name",
28
+
propDefinition: [
29
+
kustomer,
30
+
"name",
31
+
],
30
32
description: "Name of the conversation",
31
33
optional: true,
32
34
},
33
35
status: {
34
-
type: "string",
35
-
label: "Status",
36
-
description: "Status of the conversation",
36
+
propDefinition: [
37
+
kustomer,
38
+
"status",
39
+
],
37
40
optional: true,
38
41
},
39
42
priority: {
40
-
type: "integer",
41
-
label: "Priority",
42
-
description: "Priority level (1-5)",
43
+
propDefinition: [
44
+
kustomer,
45
+
"priority",
46
+
],
43
47
optional: true,
44
-
min: 1,
45
-
max: 5,
46
48
},
47
49
direction: {
48
-
type: "string",
49
-
label: "Direction",
50
-
description: "Direction of the conversation",
51
-
optional: true,
52
-
},
53
-
replyChannel: {
54
-
type: "string",
55
-
label: "Reply Channel",
56
-
description: "Channel to reply to",
50
+
propDefinition: [
51
+
kustomer,
52
+
"direction",
53
+
],
57
54
optional: true,
58
55
},
59
56
tags: {
@@ -78,35 +75,45 @@ export default {
78
75
optional: true,
79
76
},
80
77
defaultLang: {
81
-
type: "string",
82
-
label: "Default Language",
78
+
propDefinition: [
79
+
kustomer,
80
+
"defaultLang",
81
+
],
83
82
description: "Default language for the conversation",
0 commit comments