@bash-app/bash-common 29.19.1 → 29.19.3
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/src/definitions.ts +12 -8
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -299,22 +299,26 @@ export type BashEventStripeSessionRedirect = {
|
|
|
299
299
|
|
|
300
300
|
// export type StripeLinkingStatus = "Complete" | "Incomplete";
|
|
301
301
|
|
|
302
|
-
export
|
|
303
|
-
logo?: string;
|
|
302
|
+
export type StripeBusinessDataPublic = {
|
|
303
|
+
logo?: string; //not possible to fetch logo directly from stripe
|
|
304
304
|
businessName?: string;
|
|
305
305
|
businessNameDBA?: string;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
306
|
+
supportEmail: string;
|
|
307
|
+
supportPhone: string;
|
|
308
|
+
supportURL: 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
|
-
|
|
316
|
-
taxMonitoringEnabled: boolean;
|
|
317
|
-
}
|
|
321
|
+
} & StripeBusinessDataPublic;
|
|
318
322
|
|
|
319
323
|
export interface StripeConfirmPayment {
|
|
320
324
|
checkoutSessionId: string;
|