@hobenakicoffee/libraries 5.5.0 → 5.6.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.5.0",
3
+ "version": "5.6.0",
4
4
  "type": "module",
5
5
  "types": "src/index.ts",
6
6
  "repository": {
@@ -208,6 +208,7 @@ export type Database = {
208
208
  };
209
209
  creator_platform_subscriptions: {
210
210
  Row: {
211
+ amount_used_this_period: number;
211
212
  created_at: string;
212
213
  id: number;
213
214
  period_end: string;
@@ -222,6 +223,7 @@ export type Database = {
222
223
  updated_at: string;
223
224
  };
224
225
  Insert: {
226
+ amount_used_this_period?: number;
225
227
  created_at?: string;
226
228
  id?: never;
227
229
  period_end: string;
@@ -236,6 +238,7 @@ export type Database = {
236
238
  updated_at?: string;
237
239
  };
238
240
  Update: {
241
+ amount_used_this_period?: number;
239
242
  created_at?: string;
240
243
  id?: never;
241
244
  period_end?: string;
@@ -1117,6 +1120,7 @@ export type Database = {
1117
1120
  description: string | null;
1118
1121
  id: number;
1119
1122
  is_active: boolean;
1123
+ monthly_amount_cap: number | null;
1120
1124
  monthly_transaction_cap: number | null;
1121
1125
  name: string;
1122
1126
  price_per_month: number;
@@ -1129,6 +1133,7 @@ export type Database = {
1129
1133
  description?: string | null;
1130
1134
  id?: never;
1131
1135
  is_active?: boolean;
1136
+ monthly_amount_cap?: number | null;
1132
1137
  monthly_transaction_cap?: number | null;
1133
1138
  name: string;
1134
1139
  price_per_month: number;
@@ -1141,6 +1146,7 @@ export type Database = {
1141
1146
  description?: string | null;
1142
1147
  id?: never;
1143
1148
  is_active?: boolean;
1149
+ monthly_amount_cap?: number | null;
1144
1150
  monthly_transaction_cap?: number | null;
1145
1151
  name?: string;
1146
1152
  price_per_month?: number;
@@ -3157,7 +3163,11 @@ export type Database = {
3157
3163
  Returns: boolean;
3158
3164
  };
3159
3165
  increment_creator_subscription_usage: {
3160
- Args: { p_profile_id: string; p_service_type: string };
3166
+ Args: {
3167
+ p_amount: number;
3168
+ p_profile_id: string;
3169
+ p_service_type: string;
3170
+ };
3161
3171
  Returns: undefined;
3162
3172
  };
3163
3173
  initiate_shop_checkout: {