wedance-shared 1.0.225 → 1.0.227

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.
@@ -32,6 +32,7 @@ export type OrganizerData = {
32
32
  status: "active" | "suspended" | "archived" | "inactive";
33
33
  capabilities: OrganizerCapabilities;
34
34
  platformFeePercentage?: number | null;
35
+ schoolOnboardingAnswers?: Record<string, string> | null;
35
36
  /**
36
37
  * From 0 to 5. 0 is the highest priority.
37
38
  */
@@ -407,3 +407,13 @@ export interface SchoolEmailRecipient {
407
407
  createdAt: string;
408
408
  updatedAt: string;
409
409
  }
410
+ export type SchoolSubscriptionPlan = "solo" | "starter" | "growth" | "pro";
411
+ export type SchoolSubscriptionStatus = "incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused";
412
+ export interface SchoolSubscription {
413
+ id: string;
414
+ plan: SchoolSubscriptionPlan;
415
+ status: SchoolSubscriptionStatus;
416
+ currentPeriodEnd: string | null;
417
+ trialEnd: string | null;
418
+ cancelAtPeriodEnd: boolean;
419
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
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",