@bash-app/bash-common 29.19.6 → 29.19.8

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.6",
3
+ "version": "29.19.8",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -900,7 +900,7 @@ model User {
900
900
  serviceSubcriptions ServiceSubscription[]
901
901
  volunteerService VolunteerService[]
902
902
  rate Rate[]
903
- StripeAccount StripeAccount[]
903
+ stripeAccounts StripeAccount[]
904
904
  }
905
905
 
906
906
  model Contact {
@@ -300,6 +300,15 @@ export type StripeSessionRedirect = {
300
300
 
301
301
  // export type StripeLinkingStatus = "Complete" | "Incomplete";
302
302
 
303
+ export type StripeAddress = {
304
+ line1: string;
305
+ line2: string;
306
+ city: string;
307
+ state: string;
308
+ zipCode: string;
309
+ country: string;
310
+ };
311
+
303
312
  export type StripeBusinessDataPublic = {
304
313
  logo?: string; //not possible to fetch logo directly from stripe
305
314
  businessName?: string;
@@ -307,7 +316,7 @@ export type StripeBusinessDataPublic = {
307
316
  supportEmail: string;
308
317
  supportPhone: string;
309
318
  supportURL: string;
310
- address: string;
319
+ address: StripeAddress;
311
320
  accountType: string;
312
321
  };
313
322