@hobenakicoffee/libraries 8.3.1 → 8.3.2
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 +42 -0
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -2360,6 +2360,11 @@ export type Database = {
|
|
|
2360
2360
|
Row: {
|
|
2361
2361
|
amount: number;
|
|
2362
2362
|
created_at: string;
|
|
2363
|
+
gateway_confirmed_at: string | null;
|
|
2364
|
+
gateway_initiated_at: string | null;
|
|
2365
|
+
gateway_refund_ref_id: string | null;
|
|
2366
|
+
gateway_response: Json | null;
|
|
2367
|
+
gateway_status: Database["public"]["Enums"]["refund_gateway_status_enum"];
|
|
2363
2368
|
id: string;
|
|
2364
2369
|
platform_fee_refunded: number;
|
|
2365
2370
|
processed_at: string | null;
|
|
@@ -2373,6 +2378,11 @@ export type Database = {
|
|
|
2373
2378
|
Insert: {
|
|
2374
2379
|
amount: number;
|
|
2375
2380
|
created_at?: string;
|
|
2381
|
+
gateway_confirmed_at?: string | null;
|
|
2382
|
+
gateway_initiated_at?: string | null;
|
|
2383
|
+
gateway_refund_ref_id?: string | null;
|
|
2384
|
+
gateway_response?: Json | null;
|
|
2385
|
+
gateway_status?: Database["public"]["Enums"]["refund_gateway_status_enum"];
|
|
2376
2386
|
id?: string;
|
|
2377
2387
|
platform_fee_refunded?: number;
|
|
2378
2388
|
processed_at?: string | null;
|
|
@@ -2386,6 +2396,11 @@ export type Database = {
|
|
|
2386
2396
|
Update: {
|
|
2387
2397
|
amount?: number;
|
|
2388
2398
|
created_at?: string;
|
|
2399
|
+
gateway_confirmed_at?: string | null;
|
|
2400
|
+
gateway_initiated_at?: string | null;
|
|
2401
|
+
gateway_refund_ref_id?: string | null;
|
|
2402
|
+
gateway_response?: Json | null;
|
|
2403
|
+
gateway_status?: Database["public"]["Enums"]["refund_gateway_status_enum"];
|
|
2389
2404
|
id?: string;
|
|
2390
2405
|
platform_fee_refunded?: number;
|
|
2391
2406
|
processed_at?: string | null;
|
|
@@ -4154,6 +4169,16 @@ export type Database = {
|
|
|
4154
4169
|
};
|
|
4155
4170
|
Returns: Json;
|
|
4156
4171
|
};
|
|
4172
|
+
admin_record_gateway_refund_result: {
|
|
4173
|
+
Args: {
|
|
4174
|
+
p_gateway_refund_ref_id?: string;
|
|
4175
|
+
p_gateway_response?: Json;
|
|
4176
|
+
p_gateway_status: Database["public"]["Enums"]["refund_gateway_status_enum"];
|
|
4177
|
+
p_platform_fee_refunded?: number;
|
|
4178
|
+
p_refund_id: string;
|
|
4179
|
+
};
|
|
4180
|
+
Returns: Json;
|
|
4181
|
+
};
|
|
4157
4182
|
admin_reject_kyc: {
|
|
4158
4183
|
Args: {
|
|
4159
4184
|
p_admin_notes?: string;
|
|
@@ -4272,6 +4297,10 @@ export type Database = {
|
|
|
4272
4297
|
dismiss_activity: { Args: { p_activity_id: string }; Returns: undefined };
|
|
4273
4298
|
dismiss_all_activities: { Args: never; Returns: undefined };
|
|
4274
4299
|
dispatch_pending_email_notifications: { Args: never; Returns: undefined };
|
|
4300
|
+
dispatch_pending_refund_reconciliation: {
|
|
4301
|
+
Args: never;
|
|
4302
|
+
Returns: undefined;
|
|
4303
|
+
};
|
|
4275
4304
|
drop_old_partitions: { Args: never; Returns: undefined };
|
|
4276
4305
|
expire_stale_payment_sessions: { Args: never; Returns: number };
|
|
4277
4306
|
flag_transaction_disputed: {
|
|
@@ -5366,6 +5395,12 @@ export type Database = {
|
|
|
5366
5395
|
| "withdraw_release"
|
|
5367
5396
|
| "withdraw_complete"
|
|
5368
5397
|
| "manual_adjustment";
|
|
5398
|
+
refund_gateway_status_enum:
|
|
5399
|
+
| "not_applicable"
|
|
5400
|
+
| "pending"
|
|
5401
|
+
| "processing"
|
|
5402
|
+
| "refunded"
|
|
5403
|
+
| "failed";
|
|
5369
5404
|
refund_status_enum: "requested" | "approved" | "rejected" | "completed";
|
|
5370
5405
|
report_category:
|
|
5371
5406
|
| "bullying_or_harassment"
|
|
@@ -5671,6 +5706,13 @@ export const Constants = {
|
|
|
5671
5706
|
"withdraw_complete",
|
|
5672
5707
|
"manual_adjustment",
|
|
5673
5708
|
],
|
|
5709
|
+
refund_gateway_status_enum: [
|
|
5710
|
+
"not_applicable",
|
|
5711
|
+
"pending",
|
|
5712
|
+
"processing",
|
|
5713
|
+
"refunded",
|
|
5714
|
+
"failed",
|
|
5715
|
+
],
|
|
5674
5716
|
refund_status_enum: ["requested", "approved", "rejected", "completed"],
|
|
5675
5717
|
report_category: [
|
|
5676
5718
|
"bullying_or_harassment",
|