@bash-app/bash-common 29.18.10 → 29.19.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 +1 -1
- package/prisma/schema.prisma +11 -4
- package/src/definitions.ts +2 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -900,6 +900,7 @@ model User {
|
|
|
900
900
|
serviceSubcriptions ServiceSubscription[]
|
|
901
901
|
volunteerService VolunteerService[]
|
|
902
902
|
rate Rate[]
|
|
903
|
+
StripeAccount StripeAccount[]
|
|
903
904
|
}
|
|
904
905
|
|
|
905
906
|
model Contact {
|
|
@@ -1031,11 +1032,17 @@ model Service {
|
|
|
1031
1032
|
}
|
|
1032
1033
|
|
|
1033
1034
|
model StripeAccount {
|
|
1034
|
-
id
|
|
1035
|
+
id String @id @default(cuid())
|
|
1036
|
+
|
|
1037
|
+
ownerId String
|
|
1038
|
+
owner User @relation(fields: [ownerId], references: [id])
|
|
1039
|
+
|
|
1035
1040
|
stripeAccountId String
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1041
|
+
|
|
1042
|
+
createdAt DateTime @default(now())
|
|
1043
|
+
updatedAt DateTime @updatedAt
|
|
1044
|
+
|
|
1045
|
+
service Service[]
|
|
1039
1046
|
}
|
|
1040
1047
|
|
|
1041
1048
|
model VolunteerService {
|
package/src/definitions.ts
CHANGED
|
@@ -297,7 +297,7 @@ export type BashEventStripeSessionRedirect = {
|
|
|
297
297
|
bashEvent: BashEventExt;
|
|
298
298
|
} & StripeSessionRedirect;
|
|
299
299
|
|
|
300
|
-
export type StripeLinkingStatus = "Complete" | "Incomplete";
|
|
300
|
+
// export type StripeLinkingStatus = "Complete" | "Incomplete";
|
|
301
301
|
|
|
302
302
|
export interface StripeBusinessDataOwned {
|
|
303
303
|
logo?: string;
|
|
@@ -312,7 +312,7 @@ export interface StripeBusinessDataOwned {
|
|
|
312
312
|
paymentsEnabled: boolean;
|
|
313
313
|
createdDate: Date;
|
|
314
314
|
updatedDate: Date;
|
|
315
|
-
linkingStatus:
|
|
315
|
+
linkingStatus: boolean;
|
|
316
316
|
taxMonitoringEnabled: boolean;
|
|
317
317
|
}
|
|
318
318
|
|