File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ mutation createThread($input: CreateThreadInput!) {
54
54
"labelTypeIds" : [" lt_01HB924PME9C0YWKW1N4AK3BZA" ],
55
55
"threadFields" : [{
56
56
"key" : " my_string_field" ,
57
- "type" : " ThreadFieldSchemaType.String " ,
57
+ "type" : " STRING " ,
58
58
"stringValue" : " any value" ,
59
59
}],
60
60
}
Original file line number Diff line number Diff line change @@ -33,6 +33,19 @@ const res = await client.createThread({
33
33
type: ThreadFieldSchemaType .String ,
34
34
stringValue: ' any value' ,
35
35
}],
36
+
37
+ // You can also set other thread field types like boolean or enum.
38
+ // threadFields: [{
39
+ // key: 'my_enum_field',
40
+ // type: ThreadFieldSchemaType.Enum,
41
+ // stringValue: 'any specified value',
42
+ // }],
43
+ // threadFields: [{
44
+ // key: 'my_bool_field',
45
+ // type: ThreadFieldSchemaType.Bool,
46
+ // booleanValue: true,
47
+ // }],
48
+
36
49
});
37
50
38
51
if (res .error ) {
You can’t perform that action at this time.
0 commit comments