@hobenakicoffee/libraries 8.3.3 → 8.4.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hobenakicoffee/libraries",
3
- "version": "8.3.3",
3
+ "version": "8.4.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "types": "src/index.ts",
@@ -94,7 +94,7 @@ export type Database = {
94
94
  Row: {
95
95
  coffee_count: number;
96
96
  created_at: string;
97
- creator_profile_id: string;
97
+ creator_profile_id: string | null;
98
98
  id: string;
99
99
  is_monthly: boolean;
100
100
  message: string | null;
@@ -108,7 +108,7 @@ export type Database = {
108
108
  Insert: {
109
109
  coffee_count: number;
110
110
  created_at?: string;
111
- creator_profile_id: string;
111
+ creator_profile_id?: string | null;
112
112
  id?: string;
113
113
  is_monthly?: boolean;
114
114
  message?: string | null;
@@ -122,7 +122,7 @@ export type Database = {
122
122
  Update: {
123
123
  coffee_count?: number;
124
124
  created_at?: string;
125
- creator_profile_id?: string;
125
+ creator_profile_id?: string | null;
126
126
  id?: string;
127
127
  is_monthly?: boolean;
128
128
  message?: string | null;
@@ -1019,14 +1019,14 @@ export type Database = {
1019
1019
  consent_ip: unknown;
1020
1020
  created_at: string;
1021
1021
  id: number;
1022
- nid_back_path: string;
1023
- nid_front_path: string;
1024
- nid_number: string;
1022
+ nid_back_path: string | null;
1023
+ nid_front_path: string | null;
1024
+ nid_number: string | null;
1025
1025
  profile_id: string;
1026
1026
  rejection_reason: string | null;
1027
1027
  reviewed_at: string | null;
1028
1028
  reviewed_by: string | null;
1029
- selfie_path: string;
1029
+ selfie_path: string | null;
1030
1030
  status: Database["public"]["Enums"]["kyc_status_enum"];
1031
1031
  updated_at: string;
1032
1032
  };
@@ -1037,14 +1037,14 @@ export type Database = {
1037
1037
  consent_ip?: unknown;
1038
1038
  created_at?: string;
1039
1039
  id?: never;
1040
- nid_back_path: string;
1041
- nid_front_path: string;
1042
- nid_number: string;
1040
+ nid_back_path?: string | null;
1041
+ nid_front_path?: string | null;
1042
+ nid_number?: string | null;
1043
1043
  profile_id: string;
1044
1044
  rejection_reason?: string | null;
1045
1045
  reviewed_at?: string | null;
1046
1046
  reviewed_by?: string | null;
1047
- selfie_path: string;
1047
+ selfie_path?: string | null;
1048
1048
  status?: Database["public"]["Enums"]["kyc_status_enum"];
1049
1049
  updated_at?: string;
1050
1050
  };
@@ -1055,14 +1055,14 @@ export type Database = {
1055
1055
  consent_ip?: unknown;
1056
1056
  created_at?: string;
1057
1057
  id?: never;
1058
- nid_back_path?: string;
1059
- nid_front_path?: string;
1060
- nid_number?: string;
1058
+ nid_back_path?: string | null;
1059
+ nid_front_path?: string | null;
1060
+ nid_number?: string | null;
1061
1061
  profile_id?: string;
1062
1062
  rejection_reason?: string | null;
1063
1063
  reviewed_at?: string | null;
1064
1064
  reviewed_by?: string | null;
1065
- selfie_path?: string;
1065
+ selfie_path?: string | null;
1066
1066
  status?: Database["public"]["Enums"]["kyc_status_enum"];
1067
1067
  updated_at?: string;
1068
1068
  };
@@ -4241,6 +4241,7 @@ export type Database = {
4241
4241
  cleanup_orphaned_post_images: { Args: never; Returns: undefined };
4242
4242
  cleanup_orphaned_shop_images: { Args: never; Returns: undefined };
4243
4243
  cleanup_orphaned_shop_product_files: { Args: never; Returns: undefined };
4244
+ close_account: { Args: never; Returns: Json };
4244
4245
  confirm_cod_cash_received: {
4245
4246
  Args: { p_order_item_id: string };
4246
4247
  Returns: Json;