@hobenakicoffee/libraries 5.3.1 → 5.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": "5.3.1",
3
+ "version": "5.4.0",
4
4
  "type": "module",
5
5
  "types": "src/index.ts",
6
6
  "repository": {
@@ -218,6 +218,7 @@ export type Database = {
218
218
  service_type: string;
219
219
  status: string;
220
220
  transaction_reference_id: string | null;
221
+ transactions_used_this_period: number;
221
222
  updated_at: string;
222
223
  };
223
224
  Insert: {
@@ -231,6 +232,7 @@ export type Database = {
231
232
  service_type: string;
232
233
  status?: string;
233
234
  transaction_reference_id?: string | null;
235
+ transactions_used_this_period?: number;
234
236
  updated_at?: string;
235
237
  };
236
238
  Update: {
@@ -244,6 +246,7 @@ export type Database = {
244
246
  service_type?: string;
245
247
  status?: string;
246
248
  transaction_reference_id?: string | null;
249
+ transactions_used_this_period?: number;
247
250
  updated_at?: string;
248
251
  };
249
252
  Relationships: [
@@ -1114,6 +1117,7 @@ export type Database = {
1114
1117
  description: string | null;
1115
1118
  id: number;
1116
1119
  is_active: boolean;
1120
+ monthly_transaction_cap: number | null;
1117
1121
  name: string;
1118
1122
  price_per_month: number;
1119
1123
  service_type: string;
@@ -1125,6 +1129,7 @@ export type Database = {
1125
1129
  description?: string | null;
1126
1130
  id?: never;
1127
1131
  is_active?: boolean;
1132
+ monthly_transaction_cap?: number | null;
1128
1133
  name: string;
1129
1134
  price_per_month: number;
1130
1135
  service_type: string;
@@ -1136,6 +1141,7 @@ export type Database = {
1136
1141
  description?: string | null;
1137
1142
  id?: never;
1138
1143
  is_active?: boolean;
1144
+ monthly_transaction_cap?: number | null;
1139
1145
  name?: string;
1140
1146
  price_per_month?: number;
1141
1147
  service_type?: string;
@@ -3116,6 +3122,10 @@ export type Database = {
3116
3122
  };
3117
3123
  Returns: boolean;
3118
3124
  };
3125
+ increment_creator_subscription_usage: {
3126
+ Args: { p_profile_id: string; p_service_type: string };
3127
+ Returns: undefined;
3128
+ };
3119
3129
  initiate_shop_checkout: {
3120
3130
  Args: {
3121
3131
  p_address_id?: string;