wedance-shared 1.0.229 → 1.0.231

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.
@@ -0,0 +1,2 @@
1
+ export declare const STRIPE_FI_CARD_FEE_PERCENTAGE = 0.015;
2
+ export declare const STRIPE_FI_CARD_FEE_FIXED_EUR_MINOR = 25;
@@ -0,0 +1,4 @@
1
+ // Stripe's Finland standard EEA card rate, 1.5% + €0.25 (stripe.com/en-fi/pricing).
2
+ export const STRIPE_FI_CARD_FEE_PERCENTAGE = 0.015;
3
+ export const STRIPE_FI_CARD_FEE_FIXED_EUR_MINOR = 25;
4
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,MAAM,CAAC,MAAM,6BAA6B,GAAG,KAAK,CAAC;AACnD,MAAM,CAAC,MAAM,kCAAkC,GAAG,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from "./types/index.js";
2
2
  export * from "./utils/date.js";
3
3
  export * from "./utils/string.js";
4
4
  export * from "./utils/ticket.js";
5
+ export * from "./constants.js";
package/dist/index.js CHANGED
@@ -2,4 +2,5 @@ export * from "./types/index.js";
2
2
  export * from "./utils/date.js";
3
3
  export * from "./utils/string.js";
4
4
  export * from "./utils/ticket.js";
5
+ export * from "./constants.js";
5
6
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
@@ -413,8 +413,11 @@ export interface SchoolSubscription {
413
413
  id: string;
414
414
  plan: SchoolSubscriptionPlan;
415
415
  status: SchoolSubscriptionStatus;
416
+ currentPeriodStart: string | null;
416
417
  currentPeriodEnd: string | null;
418
+ trialStart: string | null;
417
419
  trialEnd: string | null;
418
420
  cancelAtPeriodEnd: boolean;
421
+ canceledAt: string | null;
419
422
  hasPaymentMethod: boolean;
420
423
  }
@@ -21,6 +21,7 @@ export type User = {
21
21
  language: LanguageCode;
22
22
  fcmTokens?: string[];
23
23
  fcmTokensOrg?: string[];
24
+ fcmTokensStudio?: string[];
24
25
  notificationPreferences?: NotificationPreferences;
25
26
  appVersion?: string;
26
27
  deviceModel?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.229",
3
+ "version": "1.0.231",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",