@periskope/types 0.6.460 → 0.6.462
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 +7 -7
- package/dist/supabase.types.d.ts +1 -0
- package/dist/supabase.types.d.ts.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/supabase.types.ts +1 -0
- package/src/types.ts +1 -0
- package/tsconfig.tsbuildinfo +1 -1
package/dist/rules.types.d.ts
CHANGED
|
@@ -432,31 +432,31 @@ export type Rule = OverrideProperties<Tables<'tbl_automation_rules'>, {
|
|
|
432
432
|
export declare const RuleInfoSchemaMap: {
|
|
433
433
|
message: {
|
|
434
434
|
triggers: readonly ["message.created", "message.updated", "message.flagged", "message.unflagged", "message.deleted"];
|
|
435
|
-
variableMaps: (Record<"message.
|
|
435
|
+
variableMaps: (Record<"message.chat_id" | "message.org_id" | "message.org_phone" | "message.author" | "message.body" | "message.flag_status" | "message.has_quoted_msg" | "message.media" | "message.message_id" | "message.message_ticket_id" | "message.message_type" | "message.performed_by" | "message.sender_phone" | "message.timestamp" | "message.is_last_message", VariableNameValueType> | Record<"sender.org_id" | "sender.contact_id" | "sender.contact_name" | "sender.is_internal" | "sender.is_admin" | "sender.labels", VariableNameValueType> | Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType>)[];
|
|
436
436
|
};
|
|
437
437
|
ticket: {
|
|
438
438
|
triggers: readonly ["ticket.created", "ticket.updated", "ticket.closed", "ticket.label.updated", "ticket.message.attached"];
|
|
439
|
-
variableMaps: (Record<"message.
|
|
439
|
+
variableMaps: (Record<"message.chat_id" | "message.org_id" | "message.org_phone" | "message.author" | "message.body" | "message.flag_status" | "message.has_quoted_msg" | "message.media" | "message.message_id" | "message.message_ticket_id" | "message.message_type" | "message.performed_by" | "message.sender_phone" | "message.timestamp" | "message.is_last_message", VariableNameValueType> | Record<"sender.org_id" | "sender.contact_id" | "sender.contact_name" | "sender.is_internal" | "sender.is_admin" | "sender.labels", VariableNameValueType> | Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType> | Record<"ticket.assignee" | "ticket.chat_id" | "ticket.created_at" | "ticket.due_date" | "ticket.org_id" | "ticket.priority" | "ticket.status" | "ticket.ticket_id" | "ticket.is_deleted" | "ticket.labels" | "ticket.custom_properties" | "ticket.subject" | "ticket.raised_by", VariableNameValueType>)[];
|
|
440
440
|
};
|
|
441
441
|
chat: {
|
|
442
442
|
triggers: readonly ["chat.created", "chat.label.updated"];
|
|
443
|
-
variableMaps: Record<"chat.
|
|
443
|
+
variableMaps: Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType>[];
|
|
444
444
|
};
|
|
445
445
|
reaction: {
|
|
446
446
|
triggers: readonly ["reaction.added"];
|
|
447
|
-
variableMaps: (Record<"message.
|
|
447
|
+
variableMaps: (Record<"message.chat_id" | "message.org_id" | "message.org_phone" | "message.author" | "message.body" | "message.flag_status" | "message.has_quoted_msg" | "message.media" | "message.message_id" | "message.message_ticket_id" | "message.message_type" | "message.performed_by" | "message.sender_phone" | "message.timestamp" | "message.is_last_message", VariableNameValueType> | Record<"sender.org_id" | "sender.contact_id" | "sender.contact_name" | "sender.is_internal" | "sender.is_admin" | "sender.labels", VariableNameValueType> | Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType> | Record<"reaction.chat_id" | "reaction.reaction" | "reaction.message_id" | "reaction.sender_id" | "reaction.reaction_id", VariableNameValueType>)[];
|
|
448
448
|
};
|
|
449
449
|
task: {
|
|
450
450
|
triggers: readonly ["task.created", "task.assignee.updated"];
|
|
451
|
-
variableMaps: (Record<"chat.
|
|
451
|
+
variableMaps: (Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType> | Record<"task.assignee" | "task.created_at" | "task.due_date" | "task.notes" | "task.org_id" | "task.priority" | "task.status" | "task.task_id" | "task.title", VariableNameValueType>)[];
|
|
452
452
|
};
|
|
453
453
|
call: {
|
|
454
454
|
triggers: readonly ["call.created"];
|
|
455
|
-
variableMaps: (Record<"chat.
|
|
455
|
+
variableMaps: (Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType> | Record<"call_notification.chat_id" | "call_notification.org_id" | "call_notification.author" | "call_notification.timestamp" | "call_notification.notification_id" | "call_notification.isVideo" | "call_notification.isOutgoing" | "call_notification.call_result", VariableNameValueType>)[];
|
|
456
456
|
};
|
|
457
457
|
member: {
|
|
458
458
|
triggers: readonly ["member.joined"];
|
|
459
|
-
variableMaps: (Record<"chat.
|
|
459
|
+
variableMaps: (Record<"chat.chat_id" | "chat.created_at" | "chat.org_id" | "chat.org_phone" | "chat.labels" | "chat.assigned_to" | "chat.chat_name" | "chat.chat_type" | "chat.group_description" | "chat.info_admins_only" | "chat.chat_org_phones" | "chat.messages_admins_only" | "chat.custom_properties" | "chat.initiated_by" | "chat.has_flagged_messages" | "chat.members" | "chat.assignee_name", VariableNameValueType> | Record<"member_notification.chat_id" | "member_notification.org_id" | "member_notification.type" | "member_notification.org_phone" | "member_notification.timestamp" | "member_notification.notification_id" | "member_notification.recipientids", VariableNameValueType>)[];
|
|
460
460
|
};
|
|
461
461
|
};
|
|
462
462
|
export declare const additionalAssigneeOptions: {
|
package/dist/supabase.types.d.ts
CHANGED