@hobenakicoffee/libraries 5.8.0 → 5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hobenakicoffee/libraries",
3
- "version": "5.8.0",
3
+ "version": "5.10.0",
4
4
  "type": "module",
5
5
  "types": "src/index.ts",
6
6
  "repository": {
@@ -3093,6 +3093,26 @@ export type Database = {
3093
3093
  Args: { p_profile_id: string; p_service_type: string };
3094
3094
  Returns: number;
3095
3095
  };
3096
+ get_creator_public_activities: {
3097
+ Args: {
3098
+ p_creator_profile_id: string;
3099
+ p_cursor_created_at?: string;
3100
+ p_cursor_id?: string;
3101
+ p_limit?: number;
3102
+ };
3103
+ Returns: {
3104
+ counterparty_profile_id: string;
3105
+ cp_avatar_url: string;
3106
+ cp_display_name: string;
3107
+ cp_id: string;
3108
+ cp_username: string;
3109
+ created_at: string;
3110
+ id: string;
3111
+ metadata: Json;
3112
+ service_type: string;
3113
+ visibility: Database["public"]["Enums"]["visibility_enum"];
3114
+ }[];
3115
+ };
3096
3116
  get_explore_creators: {
3097
3117
  Args: {
3098
3118
  p_category?: string;
@@ -3696,6 +3716,10 @@ export type Database = {
3696
3716
  Args: { p_is_active: boolean; p_profile_id: string };
3697
3717
  Returns: Json;
3698
3718
  };
3719
+ submit_shop_product_for_review: {
3720
+ Args: { p_product_id: string };
3721
+ Returns: Json;
3722
+ };
3699
3723
  toggle_feed_item_bookmark: {
3700
3724
  Args: { p_feed_item_id: number };
3701
3725
  Returns: Json;
@@ -3938,7 +3962,7 @@ export type Database = {
3938
3962
  | "implemented"
3939
3963
  | "rejected"
3940
3964
  | "duplicate";
3941
- shop_approval_status_enum: "pending" | "approved" | "rejected";
3965
+ shop_approval_status_enum: "draft" | "pending" | "approved" | "rejected";
3942
3966
  shop_order_item_status_enum:
3943
3967
  | "pending"
3944
3968
  | "paid"
@@ -4226,7 +4250,7 @@ export const Constants = {
4226
4250
  "rejected",
4227
4251
  "duplicate",
4228
4252
  ],
4229
- shop_approval_status_enum: ["pending", "approved", "rejected"],
4253
+ shop_approval_status_enum: ["draft", "pending", "approved", "rejected"],
4230
4254
  shop_order_item_status_enum: [
4231
4255
  "pending",
4232
4256
  "paid",