@periskope/types 0.6.14-7.1 → 0.6.14-7.3
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/dist/rules.types.d.ts +5 -4
- package/dist/rules.types.js +4 -1
- package/package.json +1 -1
- package/rules.types.ts +9 -5
package/dist/rules.types.d.ts
CHANGED
|
@@ -156,8 +156,8 @@ export type AssignTicketAction = {
|
|
|
156
156
|
type: 'assign_ticket';
|
|
157
157
|
delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
|
|
158
158
|
metadata: {
|
|
159
|
-
assignee: string
|
|
160
|
-
round_robin:
|
|
159
|
+
assignee: string;
|
|
160
|
+
round_robin: 'true' | 'false';
|
|
161
161
|
};
|
|
162
162
|
};
|
|
163
163
|
export type CloseTicketAction = {
|
|
@@ -189,8 +189,8 @@ export type AssignChatAction = {
|
|
|
189
189
|
type: 'assign_chat';
|
|
190
190
|
delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
|
|
191
191
|
metadata: {
|
|
192
|
-
assignee: string
|
|
193
|
-
round_robin:
|
|
192
|
+
assignee: string;
|
|
193
|
+
round_robin: 'true' | 'false';
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
export type ForwardMessageAction = {
|
|
@@ -261,6 +261,7 @@ export declare const ActionNameMap: Record<Action['type'], {
|
|
|
261
261
|
}[] | null | 'org.custom_properties' | 'custom_property_values';
|
|
262
262
|
label: string;
|
|
263
263
|
placeholder: string;
|
|
264
|
+
info?: string;
|
|
264
265
|
}>;
|
|
265
266
|
validTriggers: Rule['trigger'][];
|
|
266
267
|
}>;
|
package/dist/rules.types.js
CHANGED
|
@@ -752,6 +752,7 @@ exports.ActionNameMap = {
|
|
|
752
752
|
],
|
|
753
753
|
label: 'Enable Round Robin',
|
|
754
754
|
placeholder: 'Select...',
|
|
755
|
+
info: 'If enabled, the ticket will be assigned to the next available agent in the list',
|
|
755
756
|
},
|
|
756
757
|
assignee: {
|
|
757
758
|
id: 'email',
|
|
@@ -759,6 +760,7 @@ exports.ActionNameMap = {
|
|
|
759
760
|
value: 'org.members',
|
|
760
761
|
label: 'Assignee',
|
|
761
762
|
placeholder: 'Select assignee',
|
|
763
|
+
info: 'If round robin is enabled, the ticket will be assigned to the next available agent in the list else it\'ll be assigned to the selected agent',
|
|
762
764
|
},
|
|
763
765
|
},
|
|
764
766
|
validTriggers: ['ticket.updated', 'ticket.created'],
|
|
@@ -855,9 +857,10 @@ exports.ActionNameMap = {
|
|
|
855
857
|
],
|
|
856
858
|
label: 'Enable Round Robin',
|
|
857
859
|
placeholder: 'Select...',
|
|
860
|
+
info: 'If enabled, the chat will be assigned to the next available agent in the list',
|
|
858
861
|
},
|
|
859
862
|
assignee: {
|
|
860
|
-
id: '
|
|
863
|
+
id: 'assignee',
|
|
861
864
|
type: 'dynamic',
|
|
862
865
|
value: 'org.members',
|
|
863
866
|
label: 'Assignee',
|
package/package.json
CHANGED
package/rules.types.ts
CHANGED
|
@@ -761,8 +761,8 @@ export type AssignTicketAction = {
|
|
|
761
761
|
type: 'assign_ticket';
|
|
762
762
|
delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
|
|
763
763
|
metadata: {
|
|
764
|
-
assignee: string
|
|
765
|
-
round_robin:
|
|
764
|
+
assignee: string;
|
|
765
|
+
round_robin: 'true' | 'false';
|
|
766
766
|
};
|
|
767
767
|
};
|
|
768
768
|
|
|
@@ -798,8 +798,8 @@ export type AssignChatAction = {
|
|
|
798
798
|
type: 'assign_chat';
|
|
799
799
|
delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
|
|
800
800
|
metadata: {
|
|
801
|
-
assignee: string
|
|
802
|
-
round_robin:
|
|
801
|
+
assignee: string;
|
|
802
|
+
round_robin: 'true' | 'false';
|
|
803
803
|
};
|
|
804
804
|
};
|
|
805
805
|
|
|
@@ -986,6 +986,7 @@ export const ActionNameMap: Record<
|
|
|
986
986
|
| 'custom_property_values';
|
|
987
987
|
label: string;
|
|
988
988
|
placeholder: string;
|
|
989
|
+
info?: string;
|
|
989
990
|
}
|
|
990
991
|
>;
|
|
991
992
|
validTriggers: Rule['trigger'][];
|
|
@@ -1139,6 +1140,7 @@ export const ActionNameMap: Record<
|
|
|
1139
1140
|
],
|
|
1140
1141
|
label: 'Enable Round Robin',
|
|
1141
1142
|
placeholder: 'Select...',
|
|
1143
|
+
info: 'If enabled, the ticket will be assigned to the next available agent in the list',
|
|
1142
1144
|
},
|
|
1143
1145
|
assignee: {
|
|
1144
1146
|
id: 'email',
|
|
@@ -1146,6 +1148,7 @@ export const ActionNameMap: Record<
|
|
|
1146
1148
|
value: 'org.members',
|
|
1147
1149
|
label: 'Assignee',
|
|
1148
1150
|
placeholder: 'Select assignee',
|
|
1151
|
+
info: 'If round robin is enabled, the ticket will be assigned to the next available agent in the list else it\'ll be assigned to the selected agent',
|
|
1149
1152
|
},
|
|
1150
1153
|
},
|
|
1151
1154
|
validTriggers: ['ticket.updated', 'ticket.created'],
|
|
@@ -1242,9 +1245,10 @@ export const ActionNameMap: Record<
|
|
|
1242
1245
|
],
|
|
1243
1246
|
label: 'Enable Round Robin',
|
|
1244
1247
|
placeholder: 'Select...',
|
|
1248
|
+
info: 'If enabled, the chat will be assigned to the next available agent in the list',
|
|
1245
1249
|
},
|
|
1246
1250
|
assignee: {
|
|
1247
|
-
id: '
|
|
1251
|
+
id: 'assignee',
|
|
1248
1252
|
type: 'dynamic',
|
|
1249
1253
|
value: 'org.members',
|
|
1250
1254
|
label: 'Assignee',
|