@supernova-studio/model 1.44.3 → 1.44.4
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.mts +49 -49
- package/dist/index.d.ts +49 -49
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1348,7 +1348,7 @@ declare const PostStripePortalSessionOutputSchema: z$1.ZodObject<{
|
|
|
1348
1348
|
type StripePortalSessionInput = z$1.infer<typeof PostStripePortalSessionBodyInputSchema>;
|
|
1349
1349
|
type StripePortalSessionOutput = z$1.infer<typeof PostStripePortalSessionOutputSchema>;
|
|
1350
1350
|
|
|
1351
|
-
declare const BillingIntervalSchema: z$1.ZodEnum<["daily", "monthly", "
|
|
1351
|
+
declare const BillingIntervalSchema: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
1352
1352
|
declare const PriceSchema: z$1.ZodObject<{
|
|
1353
1353
|
stripePriceId: z$1.ZodString;
|
|
1354
1354
|
stripeProductId: z$1.ZodString;
|
|
@@ -1356,7 +1356,7 @@ declare const PriceSchema: z$1.ZodObject<{
|
|
|
1356
1356
|
stripeProductDescription: z$1.ZodOptional<z$1.ZodString>;
|
|
1357
1357
|
active: z$1.ZodBoolean;
|
|
1358
1358
|
amount: z$1.ZodNumber;
|
|
1359
|
-
interval: z$1.ZodEnum<["daily", "monthly", "
|
|
1359
|
+
interval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
1360
1360
|
isPricePerCreator: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1361
1361
|
isTrial: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
1362
1362
|
isHidden: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -1372,7 +1372,7 @@ declare const PriceSchema: z$1.ZodObject<{
|
|
|
1372
1372
|
stripePriceId: string;
|
|
1373
1373
|
stripeProductId: string;
|
|
1374
1374
|
active: boolean;
|
|
1375
|
-
interval: "daily" | "monthly" | "
|
|
1375
|
+
interval: "daily" | "monthly" | "yearly";
|
|
1376
1376
|
stripeProductName?: string | undefined;
|
|
1377
1377
|
stripeProductDescription?: string | undefined;
|
|
1378
1378
|
isPricePerCreator?: boolean | undefined;
|
|
@@ -1390,7 +1390,7 @@ declare const PriceSchema: z$1.ZodObject<{
|
|
|
1390
1390
|
stripePriceId: string;
|
|
1391
1391
|
stripeProductId: string;
|
|
1392
1392
|
active: boolean;
|
|
1393
|
-
interval: "daily" | "monthly" | "
|
|
1393
|
+
interval: "daily" | "monthly" | "yearly";
|
|
1394
1394
|
stripeProductName?: string | undefined;
|
|
1395
1395
|
stripeProductDescription?: string | undefined;
|
|
1396
1396
|
isPricePerCreator?: boolean | undefined;
|
|
@@ -1465,7 +1465,7 @@ declare const Subscription: z$1.ZodObject<{
|
|
|
1465
1465
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
1466
1466
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
1467
1467
|
planPriceId: z$1.ZodString;
|
|
1468
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
1468
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
1469
1469
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
1470
1470
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
1471
1471
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -1477,7 +1477,7 @@ declare const Subscription: z$1.ZodObject<{
|
|
|
1477
1477
|
seats: number;
|
|
1478
1478
|
seatLimit: number;
|
|
1479
1479
|
planPriceId: string;
|
|
1480
|
-
planInterval: "daily" | "monthly" | "
|
|
1480
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
1481
1481
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
1482
1482
|
card?: {
|
|
1483
1483
|
name?: string | null | undefined;
|
|
@@ -1508,7 +1508,7 @@ declare const Subscription: z$1.ZodObject<{
|
|
|
1508
1508
|
seats: number;
|
|
1509
1509
|
seatLimit: number;
|
|
1510
1510
|
planPriceId: string;
|
|
1511
|
-
planInterval: "daily" | "monthly" | "
|
|
1511
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
1512
1512
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
1513
1513
|
card?: {
|
|
1514
1514
|
name?: string | null | undefined;
|
|
@@ -12060,7 +12060,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12060
12060
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
12061
12061
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
12062
12062
|
planPriceId: z$1.ZodString;
|
|
12063
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
12063
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
12064
12064
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
12065
12065
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
12066
12066
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -12072,7 +12072,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12072
12072
|
seats: number;
|
|
12073
12073
|
seatLimit: number;
|
|
12074
12074
|
planPriceId: string;
|
|
12075
|
-
planInterval: "daily" | "monthly" | "
|
|
12075
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
12076
12076
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
12077
12077
|
card?: {
|
|
12078
12078
|
name?: string | null | undefined;
|
|
@@ -12103,7 +12103,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12103
12103
|
seats: number;
|
|
12104
12104
|
seatLimit: number;
|
|
12105
12105
|
planPriceId: string;
|
|
12106
|
-
planInterval: "daily" | "monthly" | "
|
|
12106
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
12107
12107
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
12108
12108
|
card?: {
|
|
12109
12109
|
name?: string | null | undefined;
|
|
@@ -12314,7 +12314,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12314
12314
|
seats: number;
|
|
12315
12315
|
seatLimit: number;
|
|
12316
12316
|
planPriceId: string;
|
|
12317
|
-
planInterval: "daily" | "monthly" | "
|
|
12317
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
12318
12318
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
12319
12319
|
card?: {
|
|
12320
12320
|
name?: string | null | undefined;
|
|
@@ -12414,7 +12414,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
12414
12414
|
seats: number;
|
|
12415
12415
|
seatLimit: number;
|
|
12416
12416
|
planPriceId: string;
|
|
12417
|
-
planInterval: "daily" | "monthly" | "
|
|
12417
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
12418
12418
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
12419
12419
|
card?: {
|
|
12420
12420
|
name?: string | null | undefined;
|
|
@@ -19333,7 +19333,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
19333
19333
|
seats: number;
|
|
19334
19334
|
seatLimit: number;
|
|
19335
19335
|
planPriceId: string;
|
|
19336
|
-
planInterval: "daily" | "monthly" | "
|
|
19336
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
19337
19337
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
19338
19338
|
card?: {
|
|
19339
19339
|
name?: string | null | undefined;
|
|
@@ -20227,7 +20227,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
20227
20227
|
seats: number;
|
|
20228
20228
|
seatLimit: number;
|
|
20229
20229
|
planPriceId: string;
|
|
20230
|
-
planInterval: "daily" | "monthly" | "
|
|
20230
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
20231
20231
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
20232
20232
|
card?: {
|
|
20233
20233
|
name?: string | null | undefined;
|
|
@@ -21123,7 +21123,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
21123
21123
|
seats: number;
|
|
21124
21124
|
seatLimit: number;
|
|
21125
21125
|
planPriceId: string;
|
|
21126
|
-
planInterval: "daily" | "monthly" | "
|
|
21126
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
21127
21127
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
21128
21128
|
card?: {
|
|
21129
21129
|
name?: string | null | undefined;
|
|
@@ -22062,7 +22062,7 @@ declare const UserDump: z$1.ZodObject<{
|
|
|
22062
22062
|
seats: number;
|
|
22063
22063
|
seatLimit: number;
|
|
22064
22064
|
planPriceId: string;
|
|
22065
|
-
planInterval: "daily" | "monthly" | "
|
|
22065
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
22066
22066
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
22067
22067
|
card?: {
|
|
22068
22068
|
name?: string | null | undefined;
|
|
@@ -23130,7 +23130,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23130
23130
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
23131
23131
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
23132
23132
|
planPriceId: z$1.ZodString;
|
|
23133
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
23133
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
23134
23134
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
23135
23135
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
23136
23136
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -23142,7 +23142,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23142
23142
|
seats: number;
|
|
23143
23143
|
seatLimit: number;
|
|
23144
23144
|
planPriceId: string;
|
|
23145
|
-
planInterval: "daily" | "monthly" | "
|
|
23145
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
23146
23146
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
23147
23147
|
card?: {
|
|
23148
23148
|
name?: string | null | undefined;
|
|
@@ -23173,7 +23173,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23173
23173
|
seats: number;
|
|
23174
23174
|
seatLimit: number;
|
|
23175
23175
|
planPriceId: string;
|
|
23176
|
-
planInterval: "daily" | "monthly" | "
|
|
23176
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
23177
23177
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
23178
23178
|
card?: {
|
|
23179
23179
|
name?: string | null | undefined;
|
|
@@ -23384,7 +23384,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23384
23384
|
seats: number;
|
|
23385
23385
|
seatLimit: number;
|
|
23386
23386
|
planPriceId: string;
|
|
23387
|
-
planInterval: "daily" | "monthly" | "
|
|
23387
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
23388
23388
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
23389
23389
|
card?: {
|
|
23390
23390
|
name?: string | null | undefined;
|
|
@@ -23484,7 +23484,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
23484
23484
|
seats: number;
|
|
23485
23485
|
seatLimit: number;
|
|
23486
23486
|
planPriceId: string;
|
|
23487
|
-
planInterval: "daily" | "monthly" | "
|
|
23487
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
23488
23488
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
23489
23489
|
card?: {
|
|
23490
23490
|
name?: string | null | undefined;
|
|
@@ -30403,7 +30403,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
30403
30403
|
seats: number;
|
|
30404
30404
|
seatLimit: number;
|
|
30405
30405
|
planPriceId: string;
|
|
30406
|
-
planInterval: "daily" | "monthly" | "
|
|
30406
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
30407
30407
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
30408
30408
|
card?: {
|
|
30409
30409
|
name?: string | null | undefined;
|
|
@@ -31297,7 +31297,7 @@ declare const WorkspaceDump: z$1.ZodObject<{
|
|
|
31297
31297
|
seats: number;
|
|
31298
31298
|
seatLimit: number;
|
|
31299
31299
|
planPriceId: string;
|
|
31300
|
-
planInterval: "daily" | "monthly" | "
|
|
31300
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
31301
31301
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
31302
31302
|
card?: {
|
|
31303
31303
|
name?: string | null | undefined;
|
|
@@ -139303,7 +139303,7 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
139303
139303
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139304
139304
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
139305
139305
|
planPriceId: z$1.ZodString;
|
|
139306
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
139306
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
139307
139307
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139308
139308
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139309
139309
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -139315,7 +139315,7 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
139315
139315
|
seats: number;
|
|
139316
139316
|
seatLimit: number;
|
|
139317
139317
|
planPriceId: string;
|
|
139318
|
-
planInterval: "daily" | "monthly" | "
|
|
139318
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139319
139319
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
139320
139320
|
card?: {
|
|
139321
139321
|
name?: string | null | undefined;
|
|
@@ -139346,7 +139346,7 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
139346
139346
|
seats: number;
|
|
139347
139347
|
seatLimit: number;
|
|
139348
139348
|
planPriceId: string;
|
|
139349
|
-
planInterval: "daily" | "monthly" | "
|
|
139349
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139350
139350
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
139351
139351
|
card?: {
|
|
139352
139352
|
name?: string | null | undefined;
|
|
@@ -139557,7 +139557,7 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
139557
139557
|
seats: number;
|
|
139558
139558
|
seatLimit: number;
|
|
139559
139559
|
planPriceId: string;
|
|
139560
|
-
planInterval: "daily" | "monthly" | "
|
|
139560
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139561
139561
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
139562
139562
|
card?: {
|
|
139563
139563
|
name?: string | null | undefined;
|
|
@@ -139657,7 +139657,7 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
139657
139657
|
seats: number;
|
|
139658
139658
|
seatLimit: number;
|
|
139659
139659
|
planPriceId: string;
|
|
139660
|
-
planInterval: "daily" | "monthly" | "
|
|
139660
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139661
139661
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
139662
139662
|
card?: {
|
|
139663
139663
|
name?: string | null | undefined;
|
|
@@ -139887,7 +139887,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
139887
139887
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139888
139888
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
139889
139889
|
planPriceId: z$1.ZodString;
|
|
139890
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
139890
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
139891
139891
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139892
139892
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
139893
139893
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -139899,7 +139899,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
139899
139899
|
seats: number;
|
|
139900
139900
|
seatLimit: number;
|
|
139901
139901
|
planPriceId: string;
|
|
139902
|
-
planInterval: "daily" | "monthly" | "
|
|
139902
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139903
139903
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
139904
139904
|
card?: {
|
|
139905
139905
|
name?: string | null | undefined;
|
|
@@ -139930,7 +139930,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
139930
139930
|
seats: number;
|
|
139931
139931
|
seatLimit: number;
|
|
139932
139932
|
planPriceId: string;
|
|
139933
|
-
planInterval: "daily" | "monthly" | "
|
|
139933
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
139934
139934
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
139935
139935
|
card?: {
|
|
139936
139936
|
name?: string | null | undefined;
|
|
@@ -140141,7 +140141,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140141
140141
|
seats: number;
|
|
140142
140142
|
seatLimit: number;
|
|
140143
140143
|
planPriceId: string;
|
|
140144
|
-
planInterval: "daily" | "monthly" | "
|
|
140144
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
140145
140145
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
140146
140146
|
card?: {
|
|
140147
140147
|
name?: string | null | undefined;
|
|
@@ -140241,7 +140241,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140241
140241
|
seats: number;
|
|
140242
140242
|
seatLimit: number;
|
|
140243
140243
|
planPriceId: string;
|
|
140244
|
-
planInterval: "daily" | "monthly" | "
|
|
140244
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
140245
140245
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
140246
140246
|
card?: {
|
|
140247
140247
|
name?: string | null | undefined;
|
|
@@ -140419,7 +140419,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140419
140419
|
seats: number;
|
|
140420
140420
|
seatLimit: number;
|
|
140421
140421
|
planPriceId: string;
|
|
140422
|
-
planInterval: "daily" | "monthly" | "
|
|
140422
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
140423
140423
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
140424
140424
|
card?: {
|
|
140425
140425
|
name?: string | null | undefined;
|
|
@@ -140544,7 +140544,7 @@ declare const WorkspaceWithDesignSystems: z$1.ZodObject<{
|
|
|
140544
140544
|
seats: number;
|
|
140545
140545
|
seatLimit: number;
|
|
140546
140546
|
planPriceId: string;
|
|
140547
|
-
planInterval: "daily" | "monthly" | "
|
|
140547
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
140548
140548
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
140549
140549
|
card?: {
|
|
140550
140550
|
name?: string | null | undefined;
|
|
@@ -144082,7 +144082,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144082
144082
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
144083
144083
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
144084
144084
|
planPriceId: z$1.ZodString;
|
|
144085
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
144085
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
144086
144086
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
144087
144087
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
144088
144088
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -144094,7 +144094,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144094
144094
|
seats: number;
|
|
144095
144095
|
seatLimit: number;
|
|
144096
144096
|
planPriceId: string;
|
|
144097
|
-
planInterval: "daily" | "monthly" | "
|
|
144097
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
144098
144098
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
144099
144099
|
card?: {
|
|
144100
144100
|
name?: string | null | undefined;
|
|
@@ -144125,7 +144125,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144125
144125
|
seats: number;
|
|
144126
144126
|
seatLimit: number;
|
|
144127
144127
|
planPriceId: string;
|
|
144128
|
-
planInterval: "daily" | "monthly" | "
|
|
144128
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
144129
144129
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
144130
144130
|
card?: {
|
|
144131
144131
|
name?: string | null | undefined;
|
|
@@ -144336,7 +144336,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144336
144336
|
seats: number;
|
|
144337
144337
|
seatLimit: number;
|
|
144338
144338
|
planPriceId: string;
|
|
144339
|
-
planInterval: "daily" | "monthly" | "
|
|
144339
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
144340
144340
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
144341
144341
|
card?: {
|
|
144342
144342
|
name?: string | null | undefined;
|
|
@@ -144436,7 +144436,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144436
144436
|
seats: number;
|
|
144437
144437
|
seatLimit: number;
|
|
144438
144438
|
planPriceId: string;
|
|
144439
|
-
planInterval: "daily" | "monthly" | "
|
|
144439
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
144440
144440
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
144441
144441
|
card?: {
|
|
144442
144442
|
name?: string | null | undefined;
|
|
@@ -144936,7 +144936,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
144936
144936
|
seats: number;
|
|
144937
144937
|
seatLimit: number;
|
|
144938
144938
|
planPriceId: string;
|
|
144939
|
-
planInterval: "daily" | "monthly" | "
|
|
144939
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
144940
144940
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
144941
144941
|
card?: {
|
|
144942
144942
|
name?: string | null | undefined;
|
|
@@ -145112,7 +145112,7 @@ declare const DesignSystemInviteEmailData: z$1.ZodObject<{
|
|
|
145112
145112
|
seats: number;
|
|
145113
145113
|
seatLimit: number;
|
|
145114
145114
|
planPriceId: string;
|
|
145115
|
-
planInterval: "daily" | "monthly" | "
|
|
145115
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
145116
145116
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
145117
145117
|
card?: {
|
|
145118
145118
|
name?: string | null | undefined;
|
|
@@ -145440,7 +145440,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
145440
145440
|
stripeCustomerId: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
145441
145441
|
product: z$1.ZodEnum<["free", "team", "company", "enterprise", "pro"]>;
|
|
145442
145442
|
planPriceId: z$1.ZodString;
|
|
145443
|
-
planInterval: z$1.ZodEnum<["daily", "monthly", "
|
|
145443
|
+
planInterval: z$1.ZodEnum<["daily", "monthly", "yearly"]>;
|
|
145444
145444
|
currentPeriodStart: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
145445
145445
|
currentPeriodEnd: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
145446
145446
|
cancelAt: z$1.ZodEffects<z$1.ZodOptional<z$1.ZodNullable<z$1.ZodType<string, z$1.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
@@ -145452,7 +145452,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
145452
145452
|
seats: number;
|
|
145453
145453
|
seatLimit: number;
|
|
145454
145454
|
planPriceId: string;
|
|
145455
|
-
planInterval: "daily" | "monthly" | "
|
|
145455
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
145456
145456
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
145457
145457
|
card?: {
|
|
145458
145458
|
name?: string | null | undefined;
|
|
@@ -145483,7 +145483,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
145483
145483
|
seats: number;
|
|
145484
145484
|
seatLimit: number;
|
|
145485
145485
|
planPriceId: string;
|
|
145486
|
-
planInterval: "daily" | "monthly" | "
|
|
145486
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
145487
145487
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
145488
145488
|
card?: {
|
|
145489
145489
|
name?: string | null | undefined;
|
|
@@ -145694,7 +145694,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
145694
145694
|
seats: number;
|
|
145695
145695
|
seatLimit: number;
|
|
145696
145696
|
planPriceId: string;
|
|
145697
|
-
planInterval: "daily" | "monthly" | "
|
|
145697
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
145698
145698
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
145699
145699
|
card?: {
|
|
145700
145700
|
name?: string | null | undefined;
|
|
@@ -145794,7 +145794,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
145794
145794
|
seats: number;
|
|
145795
145795
|
seatLimit: number;
|
|
145796
145796
|
planPriceId: string;
|
|
145797
|
-
planInterval: "daily" | "monthly" | "
|
|
145797
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
145798
145798
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
145799
145799
|
card?: {
|
|
145800
145800
|
name?: string | null | undefined;
|
|
@@ -146218,7 +146218,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146218
146218
|
seats: number;
|
|
146219
146219
|
seatLimit: number;
|
|
146220
146220
|
planPriceId: string;
|
|
146221
|
-
planInterval: "daily" | "monthly" | "
|
|
146221
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
146222
146222
|
status?: NonNullable<"active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free"> | undefined;
|
|
146223
146223
|
card?: {
|
|
146224
146224
|
name?: string | null | undefined;
|
|
@@ -146371,7 +146371,7 @@ declare const WorkspaceInviteEmailData: z$1.ZodObject<{
|
|
|
146371
146371
|
seats: number;
|
|
146372
146372
|
seatLimit: number;
|
|
146373
146373
|
planPriceId: string;
|
|
146374
|
-
planInterval: "daily" | "monthly" | "
|
|
146374
|
+
planInterval: "daily" | "monthly" | "yearly";
|
|
146375
146375
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | null | undefined;
|
|
146376
146376
|
card?: {
|
|
146377
146377
|
name?: string | null | undefined;
|
package/dist/index.js
CHANGED
|
@@ -203,7 +203,7 @@ var PostStripePortalSessionOutputSchema = _zod.z.object({
|
|
|
203
203
|
|
|
204
204
|
// src/billing/price.ts
|
|
205
205
|
|
|
206
|
-
var BillingIntervalSchema = _zod.z.enum(["daily", "monthly", "
|
|
206
|
+
var BillingIntervalSchema = _zod.z.enum(["daily", "monthly", "yearly"]);
|
|
207
207
|
var PriceSchema = _zod.z.object({
|
|
208
208
|
stripePriceId: _zod.z.string(),
|
|
209
209
|
stripeProductId: _zod.z.string(),
|