@periskope/types 0.6.162 → 0.6.163
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 -1
- package/dist/rules.types.js +58 -1
- package/dist/supabase.types.d.ts +26 -11
- package/dist/types.d.ts +1 -0
- package/index.ts +3 -3
- package/package.json +1 -1
- package/rules.types.ts +1599 -1531
- package/supabase.types.ts +2680 -2667
- package/types.ts +774 -773
package/dist/rules.types.d.ts
CHANGED
|
@@ -130,6 +130,8 @@ export type SendMessageAction = {
|
|
|
130
130
|
name: string;
|
|
131
131
|
};
|
|
132
132
|
maintain_flag_status: 'true' | 'false';
|
|
133
|
+
debounce_messages: 'true' | 'false';
|
|
134
|
+
debounce_message_time: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}` | null | undefined;
|
|
133
135
|
};
|
|
134
136
|
delay: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}`;
|
|
135
137
|
};
|
|
@@ -232,6 +234,8 @@ export type ReplyToMessageAction = {
|
|
|
232
234
|
name: string;
|
|
233
235
|
};
|
|
234
236
|
maintain_flag_status: boolean;
|
|
237
|
+
debounce_messages: 'true' | 'false';
|
|
238
|
+
debounce_message_time: `${number} ${'seconds' | 'minutes' | 'hours' | 'days'}` | null | undefined;
|
|
235
239
|
};
|
|
236
240
|
};
|
|
237
241
|
export type UpdateCustomPropertyAction = {
|
|
@@ -273,7 +277,7 @@ export declare const ActionNameMap: Record<Action['type'], {
|
|
|
273
277
|
id: string;
|
|
274
278
|
value: string;
|
|
275
279
|
label: string;
|
|
276
|
-
}[] | null | 'org.custom_properties' | 'custom_property_values';
|
|
280
|
+
}[] | null | 'org.custom_properties' | 'custom_property_values' | 'debounce_messages';
|
|
277
281
|
label: string;
|
|
278
282
|
placeholder: string;
|
|
279
283
|
info?: string;
|
package/dist/rules.types.js
CHANGED
|
@@ -666,6 +666,25 @@ exports.ActionNameMap = {
|
|
|
666
666
|
],
|
|
667
667
|
required: true,
|
|
668
668
|
},
|
|
669
|
+
debounce_messages: {
|
|
670
|
+
id: 'debounce_messages',
|
|
671
|
+
type: 'dropdown',
|
|
672
|
+
label: 'Debounce Messages',
|
|
673
|
+
placeholder: 'Select...',
|
|
674
|
+
value: [
|
|
675
|
+
{ id: 'true', value: 'true', label: 'True' },
|
|
676
|
+
{ id: 'false', value: 'false', label: 'False' },
|
|
677
|
+
],
|
|
678
|
+
required: false,
|
|
679
|
+
},
|
|
680
|
+
debounce_messages_time: {
|
|
681
|
+
id: 'debounce_messages_time',
|
|
682
|
+
type: 'dynamic',
|
|
683
|
+
label: 'Debounce Messages Time',
|
|
684
|
+
placeholder: 'Enter time',
|
|
685
|
+
value: 'debounce_messages',
|
|
686
|
+
required: false,
|
|
687
|
+
},
|
|
669
688
|
},
|
|
670
689
|
validTriggers: [
|
|
671
690
|
'message.created',
|
|
@@ -709,6 +728,25 @@ exports.ActionNameMap = {
|
|
|
709
728
|
],
|
|
710
729
|
required: true,
|
|
711
730
|
},
|
|
731
|
+
debounce_messages: {
|
|
732
|
+
id: 'debounce_messages',
|
|
733
|
+
type: 'dropdown',
|
|
734
|
+
label: 'Debounce Messages',
|
|
735
|
+
placeholder: 'Select...',
|
|
736
|
+
value: [
|
|
737
|
+
{ id: 'true', value: 'true', label: 'True' },
|
|
738
|
+
{ id: 'false', value: 'false', label: 'False' },
|
|
739
|
+
],
|
|
740
|
+
required: false,
|
|
741
|
+
},
|
|
742
|
+
debounce_messages_time: {
|
|
743
|
+
id: 'debounce_messages_time',
|
|
744
|
+
type: 'dynamic',
|
|
745
|
+
label: 'Debounce Messages Time',
|
|
746
|
+
placeholder: 'Enter time',
|
|
747
|
+
value: 'debounce_messages',
|
|
748
|
+
required: false,
|
|
749
|
+
},
|
|
712
750
|
},
|
|
713
751
|
validTriggers: [
|
|
714
752
|
'message.created',
|
|
@@ -1003,7 +1041,7 @@ exports.ActionNameMap = {
|
|
|
1003
1041
|
},
|
|
1004
1042
|
subject: {
|
|
1005
1043
|
id: 'subject',
|
|
1006
|
-
type: '
|
|
1044
|
+
type: 'editor',
|
|
1007
1045
|
label: 'Subject',
|
|
1008
1046
|
placeholder: 'Enter subject',
|
|
1009
1047
|
value: null,
|
|
@@ -1074,6 +1112,25 @@ exports.editorVariables = [
|
|
|
1074
1112
|
value: 'ticket.ticket_id',
|
|
1075
1113
|
validTriggers: ['ticket.updated', 'ticket.created'],
|
|
1076
1114
|
},
|
|
1115
|
+
{
|
|
1116
|
+
label: 'Chat ID',
|
|
1117
|
+
value: 'chat.chat_id',
|
|
1118
|
+
validTriggers: [
|
|
1119
|
+
'message.created',
|
|
1120
|
+
'message.updated',
|
|
1121
|
+
'reaction.added',
|
|
1122
|
+
'message.flagged',
|
|
1123
|
+
'chat.created',
|
|
1124
|
+
'chat.label.updated',
|
|
1125
|
+
'ticket.created',
|
|
1126
|
+
'ticket.updated',
|
|
1127
|
+
],
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
label: 'Reaction',
|
|
1131
|
+
value: 'reaction.reaction',
|
|
1132
|
+
validTriggers: ['reaction.added'],
|
|
1133
|
+
},
|
|
1077
1134
|
];
|
|
1078
1135
|
exports.variablesExclusionList = {
|
|
1079
1136
|
'ticket.created': ['ticket.is_deleted'],
|
package/dist/supabase.types.d.ts
CHANGED
|
@@ -2,6 +2,31 @@ export type Json = {
|
|
|
2
2
|
[key: string]: any;
|
|
3
3
|
} | any;
|
|
4
4
|
export type Database = {
|
|
5
|
+
graphql_public: {
|
|
6
|
+
Tables: {
|
|
7
|
+
[_ in never]: never;
|
|
8
|
+
};
|
|
9
|
+
Views: {
|
|
10
|
+
[_ in never]: never;
|
|
11
|
+
};
|
|
12
|
+
Functions: {
|
|
13
|
+
graphql: {
|
|
14
|
+
Args: {
|
|
15
|
+
operationName?: string;
|
|
16
|
+
query?: string;
|
|
17
|
+
variables?: Json;
|
|
18
|
+
extensions?: Json;
|
|
19
|
+
};
|
|
20
|
+
Returns: Json;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
Enums: {
|
|
24
|
+
[_ in never]: never;
|
|
25
|
+
};
|
|
26
|
+
CompositeTypes: {
|
|
27
|
+
[_ in never]: never;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
5
30
|
internal: {
|
|
6
31
|
Tables: {
|
|
7
32
|
config: {
|
|
@@ -2165,7 +2190,7 @@ export type Database = {
|
|
|
2165
2190
|
column_name: string;
|
|
2166
2191
|
org_id_input: string;
|
|
2167
2192
|
chat_id_input: string[];
|
|
2168
|
-
column_value_input?:
|
|
2193
|
+
column_value_input?: string;
|
|
2169
2194
|
key_input?: string;
|
|
2170
2195
|
value_input?: Json;
|
|
2171
2196
|
};
|
|
@@ -2276,7 +2301,6 @@ export type Database = {
|
|
|
2276
2301
|
owner_id: string | null;
|
|
2277
2302
|
path_tokens: string[] | null;
|
|
2278
2303
|
updated_at: string | null;
|
|
2279
|
-
user_metadata: Json | null;
|
|
2280
2304
|
version: string | null;
|
|
2281
2305
|
};
|
|
2282
2306
|
Insert: {
|
|
@@ -2290,7 +2314,6 @@ export type Database = {
|
|
|
2290
2314
|
owner_id?: string | null;
|
|
2291
2315
|
path_tokens?: string[] | null;
|
|
2292
2316
|
updated_at?: string | null;
|
|
2293
|
-
user_metadata?: Json | null;
|
|
2294
2317
|
version?: string | null;
|
|
2295
2318
|
};
|
|
2296
2319
|
Update: {
|
|
@@ -2304,7 +2327,6 @@ export type Database = {
|
|
|
2304
2327
|
owner_id?: string | null;
|
|
2305
2328
|
path_tokens?: string[] | null;
|
|
2306
2329
|
updated_at?: string | null;
|
|
2307
|
-
user_metadata?: Json | null;
|
|
2308
2330
|
version?: string | null;
|
|
2309
2331
|
};
|
|
2310
2332
|
Relationships: [
|
|
@@ -2326,7 +2348,6 @@ export type Database = {
|
|
|
2326
2348
|
key: string;
|
|
2327
2349
|
owner_id: string | null;
|
|
2328
2350
|
upload_signature: string;
|
|
2329
|
-
user_metadata: Json | null;
|
|
2330
2351
|
version: string;
|
|
2331
2352
|
};
|
|
2332
2353
|
Insert: {
|
|
@@ -2337,7 +2358,6 @@ export type Database = {
|
|
|
2337
2358
|
key: string;
|
|
2338
2359
|
owner_id?: string | null;
|
|
2339
2360
|
upload_signature: string;
|
|
2340
|
-
user_metadata?: Json | null;
|
|
2341
2361
|
version: string;
|
|
2342
2362
|
};
|
|
2343
2363
|
Update: {
|
|
@@ -2348,7 +2368,6 @@ export type Database = {
|
|
|
2348
2368
|
key?: string;
|
|
2349
2369
|
owner_id?: string | null;
|
|
2350
2370
|
upload_signature?: string;
|
|
2351
|
-
user_metadata?: Json | null;
|
|
2352
2371
|
version?: string;
|
|
2353
2372
|
};
|
|
2354
2373
|
Relationships: [
|
|
@@ -2485,10 +2504,6 @@ export type Database = {
|
|
|
2485
2504
|
updated_at: string;
|
|
2486
2505
|
}[];
|
|
2487
2506
|
};
|
|
2488
|
-
operation: {
|
|
2489
|
-
Args: Record<PropertyKey, never>;
|
|
2490
|
-
Returns: string;
|
|
2491
|
-
};
|
|
2492
2507
|
search: {
|
|
2493
2508
|
Args: {
|
|
2494
2509
|
prefix: string;
|
package/dist/types.d.ts
CHANGED
package/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './rules.types';
|
|
2
|
-
export * from './supabase.types';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './rules.types';
|
|
2
|
+
export * from './supabase.types';
|
|
3
|
+
export * from './types';
|