@bash-app/bash-common 29.19.0 → 29.19.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.19.0",
3
+ "version": "29.19.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1043,6 +1043,8 @@ model StripeAccount {
1043
1043
  updatedAt DateTime @updatedAt
1044
1044
 
1045
1045
  service Service[]
1046
+
1047
+ @@index([ownerId])
1046
1048
  }
1047
1049
 
1048
1050
  model VolunteerService {
@@ -299,7 +299,7 @@ export type BashEventStripeSessionRedirect = {
299
299
 
300
300
  // export type StripeLinkingStatus = "Complete" | "Incomplete";
301
301
 
302
- export interface StripeBusinessDataOwned {
302
+ export type StripeBusinessDataPublic = {
303
303
  logo?: string;
304
304
  businessName?: string;
305
305
  businessNameDBA?: string;
@@ -308,13 +308,17 @@ export interface StripeBusinessDataOwned {
308
308
  website: string;
309
309
  address: string;
310
310
  accountType: string;
311
+ };
312
+
313
+ export type StripeBusinessDataOwned = {
311
314
  bankAccount: string;
315
+ linkingStatus: boolean;
312
316
  paymentsEnabled: boolean;
317
+ taxMonitoringEnabled: boolean;
318
+
313
319
  createdDate: Date;
314
320
  updatedDate: Date;
315
- linkingStatus: boolean;
316
- taxMonitoringEnabled: boolean;
317
- }
321
+ } & StripeBusinessDataPublic;
318
322
 
319
323
  export interface StripeConfirmPayment {
320
324
  checkoutSessionId: string;