@bash-app/bash-common 25.1.5 → 25.2.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 +2 -0
- package/src/definitions.ts +7 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -888,6 +888,8 @@ model Business {
|
|
|
888
888
|
id String @id @default(cuid())
|
|
889
889
|
ownerId String
|
|
890
890
|
owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
|
|
891
|
+
stripeServiceCustomerId String? @unique
|
|
892
|
+
stripeBusinessId String? @unique
|
|
891
893
|
dateCreated DateTime @default(now())
|
|
892
894
|
email String
|
|
893
895
|
street String
|
package/src/definitions.ts
CHANGED
|
@@ -231,10 +231,15 @@ export interface StripeConfirmPayment {
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
export interface StripeAccountLinkArgs {
|
|
234
|
-
userId
|
|
234
|
+
userId?: string;
|
|
235
|
+
returnUrl: string;
|
|
236
|
+
refreshUrl: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface StripeBusinessLinkArgs {
|
|
240
|
+
businessId: string;
|
|
235
241
|
returnUrl: string;
|
|
236
242
|
refreshUrl: string;
|
|
237
|
-
businessId?: string;
|
|
238
243
|
}
|
|
239
244
|
|
|
240
245
|
export interface StripeConfirmPaymentResult {
|