@supernova-studio/model 1.44.6 → 1.44.7

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/dist/index.d.ts CHANGED
@@ -1464,6 +1464,7 @@ declare const Subscription: z$1.ZodObject<{
1464
1464
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
1465
1465
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1466
1466
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1467
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1467
1468
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
1468
1469
  planPriceId: z$1.ZodString;
1469
1470
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -1500,6 +1501,7 @@ declare const Subscription: z$1.ZodObject<{
1500
1501
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
1501
1502
  stripeSubscriptionId?: string | undefined;
1502
1503
  stripeCustomerId?: string | undefined;
1504
+ stripeScheduleId?: string | undefined;
1503
1505
  currentPeriodStart?: string | undefined;
1504
1506
  currentPeriodEnd?: string | undefined;
1505
1507
  cancelAt?: string | undefined;
@@ -1533,6 +1535,7 @@ declare const Subscription: z$1.ZodObject<{
1533
1535
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
1534
1536
  stripeSubscriptionId?: string | null | undefined;
1535
1537
  stripeCustomerId?: string | null | undefined;
1538
+ stripeScheduleId?: string | null | undefined;
1536
1539
  currentPeriodStart?: string | null | undefined;
1537
1540
  currentPeriodEnd?: string | null | undefined;
1538
1541
  cancelAt?: string | null | undefined;
@@ -12065,6 +12068,7 @@ declare const UserDump: z$1.ZodObject<{
12065
12068
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
12066
12069
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12067
12070
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12071
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
12068
12072
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
12069
12073
  planPriceId: z$1.ZodString;
12070
12074
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -12101,6 +12105,7 @@ declare const UserDump: z$1.ZodObject<{
12101
12105
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
12102
12106
  stripeSubscriptionId?: string | undefined;
12103
12107
  stripeCustomerId?: string | undefined;
12108
+ stripeScheduleId?: string | undefined;
12104
12109
  currentPeriodStart?: string | undefined;
12105
12110
  currentPeriodEnd?: string | undefined;
12106
12111
  cancelAt?: string | undefined;
@@ -12134,6 +12139,7 @@ declare const UserDump: z$1.ZodObject<{
12134
12139
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12135
12140
  stripeSubscriptionId?: string | null | undefined;
12136
12141
  stripeCustomerId?: string | null | undefined;
12142
+ stripeScheduleId?: string | null | undefined;
12137
12143
  currentPeriodStart?: string | null | undefined;
12138
12144
  currentPeriodEnd?: string | null | undefined;
12139
12145
  cancelAt?: string | null | undefined;
@@ -12347,6 +12353,7 @@ declare const UserDump: z$1.ZodObject<{
12347
12353
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
12348
12354
  stripeSubscriptionId?: string | undefined;
12349
12355
  stripeCustomerId?: string | undefined;
12356
+ stripeScheduleId?: string | undefined;
12350
12357
  currentPeriodStart?: string | undefined;
12351
12358
  currentPeriodEnd?: string | undefined;
12352
12359
  cancelAt?: string | undefined;
@@ -12449,6 +12456,7 @@ declare const UserDump: z$1.ZodObject<{
12449
12456
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
12450
12457
  stripeSubscriptionId?: string | null | undefined;
12451
12458
  stripeCustomerId?: string | null | undefined;
12459
+ stripeScheduleId?: string | null | undefined;
12452
12460
  currentPeriodStart?: string | null | undefined;
12453
12461
  currentPeriodEnd?: string | null | undefined;
12454
12462
  cancelAt?: string | null | undefined;
@@ -19370,6 +19378,7 @@ declare const UserDump: z$1.ZodObject<{
19370
19378
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
19371
19379
  stripeSubscriptionId?: string | undefined;
19372
19380
  stripeCustomerId?: string | undefined;
19381
+ stripeScheduleId?: string | undefined;
19373
19382
  currentPeriodStart?: string | undefined;
19374
19383
  currentPeriodEnd?: string | undefined;
19375
19384
  cancelAt?: string | undefined;
@@ -20266,6 +20275,7 @@ declare const UserDump: z$1.ZodObject<{
20266
20275
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
20267
20276
  stripeSubscriptionId?: string | null | undefined;
20268
20277
  stripeCustomerId?: string | null | undefined;
20278
+ stripeScheduleId?: string | null | undefined;
20269
20279
  currentPeriodStart?: string | null | undefined;
20270
20280
  currentPeriodEnd?: string | null | undefined;
20271
20281
  cancelAt?: string | null | undefined;
@@ -21164,6 +21174,7 @@ declare const UserDump: z$1.ZodObject<{
21164
21174
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
21165
21175
  stripeSubscriptionId?: string | undefined;
21166
21176
  stripeCustomerId?: string | undefined;
21177
+ stripeScheduleId?: string | undefined;
21167
21178
  currentPeriodStart?: string | undefined;
21168
21179
  currentPeriodEnd?: string | undefined;
21169
21180
  cancelAt?: string | undefined;
@@ -22105,6 +22116,7 @@ declare const UserDump: z$1.ZodObject<{
22105
22116
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
22106
22117
  stripeSubscriptionId?: string | null | undefined;
22107
22118
  stripeCustomerId?: string | null | undefined;
22119
+ stripeScheduleId?: string | null | undefined;
22108
22120
  currentPeriodStart?: string | null | undefined;
22109
22121
  currentPeriodEnd?: string | null | undefined;
22110
22122
  cancelAt?: string | null | undefined;
@@ -23153,6 +23165,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23153
23165
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
23154
23166
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23155
23167
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23168
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
23156
23169
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
23157
23170
  planPriceId: z$1.ZodString;
23158
23171
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -23189,6 +23202,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23189
23202
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
23190
23203
  stripeSubscriptionId?: string | undefined;
23191
23204
  stripeCustomerId?: string | undefined;
23205
+ stripeScheduleId?: string | undefined;
23192
23206
  currentPeriodStart?: string | undefined;
23193
23207
  currentPeriodEnd?: string | undefined;
23194
23208
  cancelAt?: string | undefined;
@@ -23222,6 +23236,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23222
23236
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23223
23237
  stripeSubscriptionId?: string | null | undefined;
23224
23238
  stripeCustomerId?: string | null | undefined;
23239
+ stripeScheduleId?: string | null | undefined;
23225
23240
  currentPeriodStart?: string | null | undefined;
23226
23241
  currentPeriodEnd?: string | null | undefined;
23227
23242
  cancelAt?: string | null | undefined;
@@ -23435,6 +23450,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23435
23450
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
23436
23451
  stripeSubscriptionId?: string | undefined;
23437
23452
  stripeCustomerId?: string | undefined;
23453
+ stripeScheduleId?: string | undefined;
23438
23454
  currentPeriodStart?: string | undefined;
23439
23455
  currentPeriodEnd?: string | undefined;
23440
23456
  cancelAt?: string | undefined;
@@ -23537,6 +23553,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
23537
23553
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
23538
23554
  stripeSubscriptionId?: string | null | undefined;
23539
23555
  stripeCustomerId?: string | null | undefined;
23556
+ stripeScheduleId?: string | null | undefined;
23540
23557
  currentPeriodStart?: string | null | undefined;
23541
23558
  currentPeriodEnd?: string | null | undefined;
23542
23559
  cancelAt?: string | null | undefined;
@@ -30458,6 +30475,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
30458
30475
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
30459
30476
  stripeSubscriptionId?: string | undefined;
30460
30477
  stripeCustomerId?: string | undefined;
30478
+ stripeScheduleId?: string | undefined;
30461
30479
  currentPeriodStart?: string | undefined;
30462
30480
  currentPeriodEnd?: string | undefined;
30463
30481
  cancelAt?: string | undefined;
@@ -31354,6 +31372,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
31354
31372
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
31355
31373
  stripeSubscriptionId?: string | null | undefined;
31356
31374
  stripeCustomerId?: string | null | undefined;
31375
+ stripeScheduleId?: string | null | undefined;
31357
31376
  currentPeriodStart?: string | null | undefined;
31358
31377
  currentPeriodEnd?: string | null | undefined;
31359
31378
  cancelAt?: string | null | undefined;
@@ -139340,6 +139359,7 @@ declare const Workspace: z$1.ZodObject<{
139340
139359
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
139341
139360
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139342
139361
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139362
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139343
139363
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139344
139364
  planPriceId: z$1.ZodString;
139345
139365
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -139376,6 +139396,7 @@ declare const Workspace: z$1.ZodObject<{
139376
139396
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139377
139397
  stripeSubscriptionId?: string | undefined;
139378
139398
  stripeCustomerId?: string | undefined;
139399
+ stripeScheduleId?: string | undefined;
139379
139400
  currentPeriodStart?: string | undefined;
139380
139401
  currentPeriodEnd?: string | undefined;
139381
139402
  cancelAt?: string | undefined;
@@ -139409,6 +139430,7 @@ declare const Workspace: z$1.ZodObject<{
139409
139430
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139410
139431
  stripeSubscriptionId?: string | null | undefined;
139411
139432
  stripeCustomerId?: string | null | undefined;
139433
+ stripeScheduleId?: string | null | undefined;
139412
139434
  currentPeriodStart?: string | null | undefined;
139413
139435
  currentPeriodEnd?: string | null | undefined;
139414
139436
  cancelAt?: string | null | undefined;
@@ -139622,6 +139644,7 @@ declare const Workspace: z$1.ZodObject<{
139622
139644
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139623
139645
  stripeSubscriptionId?: string | undefined;
139624
139646
  stripeCustomerId?: string | undefined;
139647
+ stripeScheduleId?: string | undefined;
139625
139648
  currentPeriodStart?: string | undefined;
139626
139649
  currentPeriodEnd?: string | undefined;
139627
139650
  cancelAt?: string | undefined;
@@ -139724,6 +139747,7 @@ declare const Workspace: z$1.ZodObject<{
139724
139747
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
139725
139748
  stripeSubscriptionId?: string | null | undefined;
139726
139749
  stripeCustomerId?: string | null | undefined;
139750
+ stripeScheduleId?: string | null | undefined;
139727
139751
  currentPeriodStart?: string | null | undefined;
139728
139752
  currentPeriodEnd?: string | null | undefined;
139729
139753
  cancelAt?: string | null | undefined;
@@ -139934,6 +139958,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139934
139958
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
139935
139959
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139936
139960
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139961
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
139937
139962
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
139938
139963
  planPriceId: z$1.ZodString;
139939
139964
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -139970,6 +139995,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
139970
139995
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
139971
139996
  stripeSubscriptionId?: string | undefined;
139972
139997
  stripeCustomerId?: string | undefined;
139998
+ stripeScheduleId?: string | undefined;
139973
139999
  currentPeriodStart?: string | undefined;
139974
140000
  currentPeriodEnd?: string | undefined;
139975
140001
  cancelAt?: string | undefined;
@@ -140003,6 +140029,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140003
140029
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140004
140030
  stripeSubscriptionId?: string | null | undefined;
140005
140031
  stripeCustomerId?: string | null | undefined;
140032
+ stripeScheduleId?: string | null | undefined;
140006
140033
  currentPeriodStart?: string | null | undefined;
140007
140034
  currentPeriodEnd?: string | null | undefined;
140008
140035
  cancelAt?: string | null | undefined;
@@ -140216,6 +140243,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140216
140243
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
140217
140244
  stripeSubscriptionId?: string | undefined;
140218
140245
  stripeCustomerId?: string | undefined;
140246
+ stripeScheduleId?: string | undefined;
140219
140247
  currentPeriodStart?: string | undefined;
140220
140248
  currentPeriodEnd?: string | undefined;
140221
140249
  cancelAt?: string | undefined;
@@ -140318,6 +140346,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140318
140346
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140319
140347
  stripeSubscriptionId?: string | null | undefined;
140320
140348
  stripeCustomerId?: string | null | undefined;
140349
+ stripeScheduleId?: string | null | undefined;
140321
140350
  currentPeriodStart?: string | null | undefined;
140322
140351
  currentPeriodEnd?: string | null | undefined;
140323
140352
  cancelAt?: string | null | undefined;
@@ -140498,6 +140527,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140498
140527
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
140499
140528
  stripeSubscriptionId?: string | undefined;
140500
140529
  stripeCustomerId?: string | undefined;
140530
+ stripeScheduleId?: string | undefined;
140501
140531
  currentPeriodStart?: string | undefined;
140502
140532
  currentPeriodEnd?: string | undefined;
140503
140533
  cancelAt?: string | undefined;
@@ -140625,6 +140655,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
140625
140655
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
140626
140656
  stripeSubscriptionId?: string | null | undefined;
140627
140657
  stripeCustomerId?: string | null | undefined;
140658
+ stripeScheduleId?: string | null | undefined;
140628
140659
  currentPeriodStart?: string | null | undefined;
140629
140660
  currentPeriodEnd?: string | null | undefined;
140630
140661
  cancelAt?: string | null | undefined;
@@ -144143,6 +144174,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144143
144174
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
144144
144175
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144145
144176
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144177
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
144146
144178
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
144147
144179
  planPriceId: z$1.ZodString;
144148
144180
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -144179,6 +144211,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144179
144211
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
144180
144212
  stripeSubscriptionId?: string | undefined;
144181
144213
  stripeCustomerId?: string | undefined;
144214
+ stripeScheduleId?: string | undefined;
144182
144215
  currentPeriodStart?: string | undefined;
144183
144216
  currentPeriodEnd?: string | undefined;
144184
144217
  cancelAt?: string | undefined;
@@ -144212,6 +144245,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144212
144245
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144213
144246
  stripeSubscriptionId?: string | null | undefined;
144214
144247
  stripeCustomerId?: string | null | undefined;
144248
+ stripeScheduleId?: string | null | undefined;
144215
144249
  currentPeriodStart?: string | null | undefined;
144216
144250
  currentPeriodEnd?: string | null | undefined;
144217
144251
  cancelAt?: string | null | undefined;
@@ -144425,6 +144459,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144425
144459
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
144426
144460
  stripeSubscriptionId?: string | undefined;
144427
144461
  stripeCustomerId?: string | undefined;
144462
+ stripeScheduleId?: string | undefined;
144428
144463
  currentPeriodStart?: string | undefined;
144429
144464
  currentPeriodEnd?: string | undefined;
144430
144465
  cancelAt?: string | undefined;
@@ -144527,6 +144562,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
144527
144562
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
144528
144563
  stripeSubscriptionId?: string | null | undefined;
144529
144564
  stripeCustomerId?: string | null | undefined;
144565
+ stripeScheduleId?: string | null | undefined;
144530
144566
  currentPeriodStart?: string | null | undefined;
144531
144567
  currentPeriodEnd?: string | null | undefined;
144532
144568
  cancelAt?: string | null | undefined;
@@ -145029,6 +145065,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
145029
145065
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
145030
145066
  stripeSubscriptionId?: string | undefined;
145031
145067
  stripeCustomerId?: string | undefined;
145068
+ stripeScheduleId?: string | undefined;
145032
145069
  currentPeriodStart?: string | undefined;
145033
145070
  currentPeriodEnd?: string | undefined;
145034
145071
  cancelAt?: string | undefined;
@@ -145207,6 +145244,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
145207
145244
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145208
145245
  stripeSubscriptionId?: string | null | undefined;
145209
145246
  stripeCustomerId?: string | null | undefined;
145247
+ stripeScheduleId?: string | null | undefined;
145210
145248
  currentPeriodStart?: string | null | undefined;
145211
145249
  currentPeriodEnd?: string | null | undefined;
145212
145250
  cancelAt?: string | null | undefined;
@@ -145515,6 +145553,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145515
145553
  internalStatus: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free", z$1.ZodTypeDef, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free">>>, NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined, "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined>;
145516
145554
  stripeSubscriptionId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145517
145555
  stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145556
+ stripeScheduleId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
145518
145557
  product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
145519
145558
  planPriceId: z$1.ZodString;
145520
145559
  planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
@@ -145551,6 +145590,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145551
145590
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
145552
145591
  stripeSubscriptionId?: string | undefined;
145553
145592
  stripeCustomerId?: string | undefined;
145593
+ stripeScheduleId?: string | undefined;
145554
145594
  currentPeriodStart?: string | undefined;
145555
145595
  currentPeriodEnd?: string | undefined;
145556
145596
  cancelAt?: string | undefined;
@@ -145584,6 +145624,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145584
145624
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145585
145625
  stripeSubscriptionId?: string | null | undefined;
145586
145626
  stripeCustomerId?: string | null | undefined;
145627
+ stripeScheduleId?: string | null | undefined;
145587
145628
  currentPeriodStart?: string | null | undefined;
145588
145629
  currentPeriodEnd?: string | null | undefined;
145589
145630
  cancelAt?: string | null | undefined;
@@ -145797,6 +145838,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145797
145838
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
145798
145839
  stripeSubscriptionId?: string | undefined;
145799
145840
  stripeCustomerId?: string | undefined;
145841
+ stripeScheduleId?: string | undefined;
145800
145842
  currentPeriodStart?: string | undefined;
145801
145843
  currentPeriodEnd?: string | undefined;
145802
145844
  cancelAt?: string | undefined;
@@ -145899,6 +145941,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
145899
145941
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
145900
145942
  stripeSubscriptionId?: string | null | undefined;
145901
145943
  stripeCustomerId?: string | null | undefined;
145944
+ stripeScheduleId?: string | null | undefined;
145902
145945
  currentPeriodStart?: string | null | undefined;
145903
145946
  currentPeriodEnd?: string | null | undefined;
145904
145947
  cancelAt?: string | null | undefined;
@@ -146325,6 +146368,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146325
146368
  internalStatus?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
146326
146369
  stripeSubscriptionId?: string | undefined;
146327
146370
  stripeCustomerId?: string | undefined;
146371
+ stripeScheduleId?: string | undefined;
146328
146372
  currentPeriodStart?: string | undefined;
146329
146373
  currentPeriodEnd?: string | undefined;
146330
146374
  cancelAt?: string | undefined;
@@ -146480,6 +146524,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
146480
146524
  internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
146481
146525
  stripeSubscriptionId?: string | null | undefined;
146482
146526
  stripeCustomerId?: string | null | undefined;
146527
+ stripeScheduleId?: string | null | undefined;
146483
146528
  currentPeriodStart?: string | null | undefined;
146484
146529
  currentPeriodEnd?: string | null | undefined;
146485
146530
  cancelAt?: string | null | undefined;
package/dist/index.js CHANGED
@@ -262,6 +262,7 @@ var Subscription = _zod.z.object({
262
262
  internalStatus: nullishToOptional(InternalStatusSchema),
263
263
  stripeSubscriptionId: nullishToOptional(_zod.z.string()),
264
264
  stripeCustomerId: nullishToOptional(_zod.z.string()),
265
+ stripeScheduleId: nullishToOptional(_zod.z.string()),
265
266
  product: ProductCodeSchema,
266
267
  planPriceId: _zod.z.string(),
267
268
  planInterval: BillingIntervalSchema,