@hobenakicoffee/libraries 6.9.0 → 6.10.0
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/package.json +1 -1
- package/src/types/supabase.ts +95 -4
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -478,6 +478,64 @@ export type Database = {
|
|
|
478
478
|
};
|
|
479
479
|
Relationships: [];
|
|
480
480
|
};
|
|
481
|
+
email_notification_queue: {
|
|
482
|
+
Row: {
|
|
483
|
+
activity_id: string;
|
|
484
|
+
attempts: number;
|
|
485
|
+
created_at: string;
|
|
486
|
+
id: number;
|
|
487
|
+
last_error: string | null;
|
|
488
|
+
notification_type_key: string;
|
|
489
|
+
sent_at: string | null;
|
|
490
|
+
status: string;
|
|
491
|
+
user_profile_id: string;
|
|
492
|
+
};
|
|
493
|
+
Insert: {
|
|
494
|
+
activity_id: string;
|
|
495
|
+
attempts?: number;
|
|
496
|
+
created_at?: string;
|
|
497
|
+
id?: never;
|
|
498
|
+
last_error?: string | null;
|
|
499
|
+
notification_type_key: string;
|
|
500
|
+
sent_at?: string | null;
|
|
501
|
+
status?: string;
|
|
502
|
+
user_profile_id: string;
|
|
503
|
+
};
|
|
504
|
+
Update: {
|
|
505
|
+
activity_id?: string;
|
|
506
|
+
attempts?: number;
|
|
507
|
+
created_at?: string;
|
|
508
|
+
id?: never;
|
|
509
|
+
last_error?: string | null;
|
|
510
|
+
notification_type_key?: string;
|
|
511
|
+
sent_at?: string | null;
|
|
512
|
+
status?: string;
|
|
513
|
+
user_profile_id?: string;
|
|
514
|
+
};
|
|
515
|
+
Relationships: [
|
|
516
|
+
{
|
|
517
|
+
foreignKeyName: "email_notification_queue_activity_id_fkey";
|
|
518
|
+
columns: ["activity_id"];
|
|
519
|
+
isOneToOne: false;
|
|
520
|
+
referencedRelation: "activities";
|
|
521
|
+
referencedColumns: ["id"];
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
foreignKeyName: "email_notification_queue_notification_type_key_fkey";
|
|
525
|
+
columns: ["notification_type_key"];
|
|
526
|
+
isOneToOne: false;
|
|
527
|
+
referencedRelation: "notification_types";
|
|
528
|
+
referencedColumns: ["key"];
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
foreignKeyName: "email_notification_queue_user_profile_id_fkey";
|
|
532
|
+
columns: ["user_profile_id"];
|
|
533
|
+
isOneToOne: false;
|
|
534
|
+
referencedRelation: "profiles";
|
|
535
|
+
referencedColumns: ["id"];
|
|
536
|
+
},
|
|
537
|
+
];
|
|
538
|
+
};
|
|
481
539
|
feed_item_bookmarks: {
|
|
482
540
|
Row: {
|
|
483
541
|
created_at: string;
|
|
@@ -1065,7 +1123,7 @@ export type Database = {
|
|
|
1065
1123
|
},
|
|
1066
1124
|
];
|
|
1067
1125
|
};
|
|
1068
|
-
|
|
1126
|
+
messages_2026_04: {
|
|
1069
1127
|
Row: {
|
|
1070
1128
|
content: string;
|
|
1071
1129
|
conversation_id: string;
|
|
@@ -1089,7 +1147,7 @@ export type Database = {
|
|
|
1089
1147
|
};
|
|
1090
1148
|
Relationships: [];
|
|
1091
1149
|
};
|
|
1092
|
-
|
|
1150
|
+
messages_2026_05: {
|
|
1093
1151
|
Row: {
|
|
1094
1152
|
content: string;
|
|
1095
1153
|
conversation_id: string;
|
|
@@ -1113,7 +1171,7 @@ export type Database = {
|
|
|
1113
1171
|
};
|
|
1114
1172
|
Relationships: [];
|
|
1115
1173
|
};
|
|
1116
|
-
|
|
1174
|
+
messages_2026_06: {
|
|
1117
1175
|
Row: {
|
|
1118
1176
|
content: string;
|
|
1119
1177
|
conversation_id: string;
|
|
@@ -1486,6 +1544,11 @@ export type Database = {
|
|
|
1486
1544
|
created_at: string;
|
|
1487
1545
|
default_enabled: boolean;
|
|
1488
1546
|
description: string | null;
|
|
1547
|
+
email_html_body: string | null;
|
|
1548
|
+
email_placeholders: string | null;
|
|
1549
|
+
email_subject: string | null;
|
|
1550
|
+
email_updated_at: string | null;
|
|
1551
|
+
email_updated_by: string | null;
|
|
1489
1552
|
is_active: boolean;
|
|
1490
1553
|
key: string;
|
|
1491
1554
|
label: string;
|
|
@@ -1496,6 +1559,11 @@ export type Database = {
|
|
|
1496
1559
|
created_at?: string;
|
|
1497
1560
|
default_enabled?: boolean;
|
|
1498
1561
|
description?: string | null;
|
|
1562
|
+
email_html_body?: string | null;
|
|
1563
|
+
email_placeholders?: string | null;
|
|
1564
|
+
email_subject?: string | null;
|
|
1565
|
+
email_updated_at?: string | null;
|
|
1566
|
+
email_updated_by?: string | null;
|
|
1499
1567
|
is_active?: boolean;
|
|
1500
1568
|
key: string;
|
|
1501
1569
|
label: string;
|
|
@@ -1506,12 +1574,25 @@ export type Database = {
|
|
|
1506
1574
|
created_at?: string;
|
|
1507
1575
|
default_enabled?: boolean;
|
|
1508
1576
|
description?: string | null;
|
|
1577
|
+
email_html_body?: string | null;
|
|
1578
|
+
email_placeholders?: string | null;
|
|
1579
|
+
email_subject?: string | null;
|
|
1580
|
+
email_updated_at?: string | null;
|
|
1581
|
+
email_updated_by?: string | null;
|
|
1509
1582
|
is_active?: boolean;
|
|
1510
1583
|
key?: string;
|
|
1511
1584
|
label?: string;
|
|
1512
1585
|
service?: string;
|
|
1513
1586
|
};
|
|
1514
|
-
Relationships: [
|
|
1587
|
+
Relationships: [
|
|
1588
|
+
{
|
|
1589
|
+
foreignKeyName: "notification_types_email_updated_by_fkey";
|
|
1590
|
+
columns: ["email_updated_by"];
|
|
1591
|
+
isOneToOne: false;
|
|
1592
|
+
referencedRelation: "profiles";
|
|
1593
|
+
referencedColumns: ["id"];
|
|
1594
|
+
},
|
|
1595
|
+
];
|
|
1515
1596
|
};
|
|
1516
1597
|
payout_methods: {
|
|
1517
1598
|
Row: {
|
|
@@ -3370,6 +3451,7 @@ export type Database = {
|
|
|
3370
3451
|
Args: { p_profile_id: string };
|
|
3371
3452
|
Returns: Json;
|
|
3372
3453
|
};
|
|
3454
|
+
cleanup_old_email_notification_queue: { Args: never; Returns: undefined };
|
|
3373
3455
|
cleanup_orphaned_kyc_documents: { Args: never; Returns: undefined };
|
|
3374
3456
|
cleanup_orphaned_post_images: { Args: never; Returns: undefined };
|
|
3375
3457
|
cleanup_orphaned_shop_images: { Args: never; Returns: undefined };
|
|
@@ -3427,6 +3509,7 @@ export type Database = {
|
|
|
3427
3509
|
Returns: Json;
|
|
3428
3510
|
};
|
|
3429
3511
|
delete_user_address: { Args: { p_address_id: string }; Returns: Json };
|
|
3512
|
+
dispatch_pending_email_notifications: { Args: never; Returns: undefined };
|
|
3430
3513
|
drop_old_partitions: { Args: never; Returns: undefined };
|
|
3431
3514
|
follow_user: { Args: { target_user_id: string }; Returns: undefined };
|
|
3432
3515
|
get_buyer_orders: {
|
|
@@ -4096,6 +4179,10 @@ export type Database = {
|
|
|
4096
4179
|
Args: { p_amount: number; p_payout_method_id: string };
|
|
4097
4180
|
Returns: string;
|
|
4098
4181
|
};
|
|
4182
|
+
resolve_activity_notification_key: {
|
|
4183
|
+
Args: { p_metadata: Json; p_role: string; p_service_type: string };
|
|
4184
|
+
Returns: string;
|
|
4185
|
+
};
|
|
4099
4186
|
retry_withdrawal: {
|
|
4100
4187
|
Args: {
|
|
4101
4188
|
p_amount?: number;
|
|
@@ -4184,6 +4271,10 @@ export type Database = {
|
|
|
4184
4271
|
Args: { p_enabled: boolean; p_target_user_id?: string };
|
|
4185
4272
|
Returns: Json;
|
|
4186
4273
|
};
|
|
4274
|
+
update_notification_email_template: {
|
|
4275
|
+
Args: { p_html_body: string; p_key: string; p_subject: string };
|
|
4276
|
+
Returns: Json;
|
|
4277
|
+
};
|
|
4187
4278
|
update_order_tracking: {
|
|
4188
4279
|
Args: {
|
|
4189
4280
|
p_carrier?: string;
|