@periskope/types 0.6.318 → 0.6.320

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.
@@ -1074,19 +1074,19 @@ exports.ActionNameMap = {
1074
1074
  label: 'Consider shift timings',
1075
1075
  },
1076
1076
  {
1077
- id: 'user_status_offline',
1078
- value: 'user_status_offline',
1077
+ id: 'user_status',
1078
+ value: 'user_status',
1079
1079
  label: 'Exclude users manually marked as offline',
1080
1080
  },
1081
1081
  {
1082
- id: 'user_status',
1083
- value: 'user_status',
1082
+ id: 'user_status_offline',
1083
+ value: 'user_status_offline',
1084
1084
  label: 'Exclude users marked as offline or away',
1085
1085
  },
1086
1086
  {
1087
1087
  id: 'shift_time user_status',
1088
1088
  value: 'shift_time user_status',
1089
- label: 'Consider both shift timings and user status (excludes offline and away users)',
1089
+ label: 'Consider both shift timings and user status (excludes only manually marked offline users)',
1090
1090
  },
1091
1091
  ],
1092
1092
  label: 'Check Assignee status for (Round Robin)',
@@ -1171,19 +1171,19 @@ exports.ActionNameMap = {
1171
1171
  label: 'Consider shift timings',
1172
1172
  },
1173
1173
  {
1174
- id: 'user_status_offline',
1175
- value: 'user_status_offline',
1174
+ id: 'user_status',
1175
+ value: 'user_status',
1176
1176
  label: 'Exclude users manually marked as offline',
1177
1177
  },
1178
1178
  {
1179
- id: 'user_status',
1180
- value: 'user_status',
1179
+ id: 'user_status_offline',
1180
+ value: 'user_status_offline',
1181
1181
  label: 'Exclude users marked as offline or away',
1182
1182
  },
1183
1183
  {
1184
1184
  id: 'shift_time user_status',
1185
1185
  value: 'shift_time user_status',
1186
- label: 'Consider both shift timings and user status (excludes offline and away users)',
1186
+ label: 'Consider both shift timings and user status (excludes only manually marked offline users)',
1187
1187
  },
1188
1188
  ],
1189
1189
  label: 'Check Assignee status for (Round Robin)',
@@ -1338,19 +1338,19 @@ exports.ActionNameMap = {
1338
1338
  label: 'Consider shift timings',
1339
1339
  },
1340
1340
  {
1341
- id: 'user_status_offline',
1342
- value: 'user_status_offline',
1341
+ id: 'user_status',
1342
+ value: 'user_status',
1343
1343
  label: 'Exclude users manually marked as offline',
1344
1344
  },
1345
1345
  {
1346
- id: 'user_status',
1347
- value: 'user_status',
1346
+ id: 'user_status_offline',
1347
+ value: 'user_status_offline',
1348
1348
  label: 'Exclude users marked as offline or away',
1349
1349
  },
1350
1350
  {
1351
1351
  id: 'shift_time user_status',
1352
1352
  value: 'shift_time user_status',
1353
- label: 'Consider both shift timings and user status (excludes offline and away users)',
1353
+ label: 'Consider both shift timings and user status (excludes only manually marked offline users)',
1354
1354
  },
1355
1355
  ],
1356
1356
  label: 'Check Assignee status for (Round Robin)',
@@ -211,6 +211,54 @@ export type Database = {
211
211
  };
212
212
  Relationships: [];
213
213
  };
214
+ temp_chat_properties: {
215
+ Row: {
216
+ chat_id: string;
217
+ org_id: string;
218
+ updated_at: string;
219
+ };
220
+ Insert: {
221
+ chat_id: string;
222
+ org_id: string;
223
+ updated_at?: string;
224
+ };
225
+ Update: {
226
+ chat_id?: string;
227
+ org_id?: string;
228
+ updated_at?: string;
229
+ };
230
+ Relationships: [];
231
+ };
232
+ temp_flag_status: {
233
+ Row: {
234
+ chat_id: string;
235
+ created_at: string;
236
+ flag_metadata: Json | null;
237
+ flag_status: boolean | null;
238
+ org_id: string;
239
+ unique_id: string;
240
+ updated_at: string | null;
241
+ };
242
+ Insert: {
243
+ chat_id: string;
244
+ created_at?: string;
245
+ flag_metadata?: Json | null;
246
+ flag_status?: boolean | null;
247
+ org_id: string;
248
+ unique_id: string;
249
+ updated_at?: string | null;
250
+ };
251
+ Update: {
252
+ chat_id?: string;
253
+ created_at?: string;
254
+ flag_metadata?: Json | null;
255
+ flag_status?: boolean | null;
256
+ org_id?: string;
257
+ unique_id?: string;
258
+ updated_at?: string | null;
259
+ };
260
+ Relationships: [];
261
+ };
214
262
  };
215
263
  Views: {
216
264
  [_ in never]: never;
@@ -2586,8 +2634,7 @@ export type Database = {
2586
2634
  };
2587
2635
  compute_chat_access: {
2588
2636
  Args: {
2589
- org_id_input: string;
2590
- chat_id_input?: string;
2637
+ chat_properties_row: Database["public"]["Tables"]["tbl_chat_properties"]["Row"];
2591
2638
  };
2592
2639
  Returns: {
2593
2640
  result_chat_id: string;
@@ -2848,9 +2895,9 @@ export type Database = {
2848
2895
  };
2849
2896
  get_task_rule_info: {
2850
2897
  Args: {
2851
- org_id_input: string;
2852
2898
  task_id_input: string;
2853
2899
  task_type_input: string;
2900
+ org_id_input: string;
2854
2901
  chat_id_input?: string;
2855
2902
  org_phone_input?: string;
2856
2903
  sender_id_input?: string;