@periskope/types 0.6.141 → 0.6.142
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/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/supabase.types.d.ts +246 -317
- package/dist/types.d.ts +0 -73
- package/index.ts +1 -1
- package/package.json +1 -1
- package/supabase.types.ts +2082 -2157
- package/types.ts +584 -709
- package/dist/rules.types.d.ts +0 -273
- package/dist/rules.types.js +0 -679
- package/rules.types.ts +0 -1102
package/dist/types.d.ts
CHANGED
|
@@ -419,77 +419,4 @@ export type DeliveryInfoType = {
|
|
|
419
419
|
read_count: number;
|
|
420
420
|
delivered_count: number;
|
|
421
421
|
};
|
|
422
|
-
export type ChatRuleInfoType = Merge<Pick<Tables<'view_chats'>, 'assigned_to' | 'chat_id' | 'chat_name' | 'chat_type' | 'created_at' | 'group_description' | 'info_admins_only' | 'is_archived' | 'is_exited' | 'is_muted' | 'org_id' | 'org_phone' | 'chat_org_phones' | 'messages_admins_only' | 'custom_properties'>, {
|
|
423
|
-
has_flagged_messages: boolean;
|
|
424
|
-
labels: string[];
|
|
425
|
-
members: SenderRuleInfoType[];
|
|
426
|
-
custom_properties: {
|
|
427
|
-
[key: string]: string;
|
|
428
|
-
} | null;
|
|
429
|
-
}>;
|
|
430
|
-
export type SenderRuleInfoType = OverrideProperties<Merge<Merge<Tables<'tbl_contacts'>, Tables<'tbl_chat_participants'>>, {
|
|
431
|
-
is_internal: boolean;
|
|
432
|
-
labels: string[] | null;
|
|
433
|
-
}>, {
|
|
434
|
-
id: {
|
|
435
|
-
[key: string]: string;
|
|
436
|
-
} | null;
|
|
437
|
-
business_profile: {
|
|
438
|
-
[key: string]: string;
|
|
439
|
-
} | null;
|
|
440
|
-
label_ids: {
|
|
441
|
-
[key: string]: boolean;
|
|
442
|
-
} | null;
|
|
443
|
-
}>;
|
|
444
|
-
export type MessageRuleInfoType = {
|
|
445
|
-
chat: ChatRuleInfoType;
|
|
446
|
-
sender: SenderRuleInfoType;
|
|
447
|
-
message: OverrideProperties<Tables<'tbl_chat_messages'>, {
|
|
448
|
-
delivery_info: DeliveryInfoType | null;
|
|
449
|
-
flag_metadata: MessageFlagType | null;
|
|
450
|
-
id: {
|
|
451
|
-
id: string;
|
|
452
|
-
remote: string;
|
|
453
|
-
from_me: boolean;
|
|
454
|
-
serialized: string;
|
|
455
|
-
} | null;
|
|
456
|
-
media: MediaType | null;
|
|
457
|
-
}>;
|
|
458
|
-
};
|
|
459
|
-
export type ReactionRuleInfoType = {
|
|
460
|
-
chat: ChatRuleInfoType;
|
|
461
|
-
sender: SenderRuleInfoType;
|
|
462
|
-
message: MessageRuleInfoType['message'];
|
|
463
|
-
reaction: OverrideProperties<Tables<'tbl_chat_reactions'>, {
|
|
464
|
-
id: {
|
|
465
|
-
id: string;
|
|
466
|
-
remote: string;
|
|
467
|
-
from_me: boolean;
|
|
468
|
-
serialized: string;
|
|
469
|
-
};
|
|
470
|
-
msg_id: {
|
|
471
|
-
id: string;
|
|
472
|
-
remote: string;
|
|
473
|
-
from_me: boolean;
|
|
474
|
-
serialized: string;
|
|
475
|
-
};
|
|
476
|
-
}>;
|
|
477
|
-
};
|
|
478
|
-
export type TicketRuleInfoType = {
|
|
479
|
-
chat: ChatRuleInfoType;
|
|
480
|
-
sender: SenderRuleInfoType;
|
|
481
|
-
ticket: Merge<Pick<Tables<'tbl_chat_tickets'>, 'org_id' | 'status' | 'chat_id' | 'subject' | 'assignee' | 'due_date' | 'priority' | 'closed_at' | 'label_ids' | 'raised_by' | 'ticket_id' | 'created_at' | 'is_deleted' | 'assigned_by' | 'response_time' | 'last_updated_at' | 'close_ticket_metadata' | 'quoted_message_id'>, {
|
|
482
|
-
labels: string[] | null;
|
|
483
|
-
custom_properties: {
|
|
484
|
-
[key: string]: string;
|
|
485
|
-
} | null;
|
|
486
|
-
close_ticket_metadata: {
|
|
487
|
-
closed_at: string;
|
|
488
|
-
closed_by: string;
|
|
489
|
-
closed_message: string;
|
|
490
|
-
send_reply_message_id: string;
|
|
491
|
-
};
|
|
492
|
-
}>;
|
|
493
|
-
message: MessageRuleInfoType['message'];
|
|
494
|
-
};
|
|
495
422
|
export {};
|
package/index.ts
CHANGED