@pixerate/schemas 1.19.0 → 1.20.0
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.cjs +7 -0
- package/dist/index.d.cts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1808,6 +1808,7 @@ var OrganizationSchema = import_zod.z.object({
|
|
|
1808
1808
|
fuelBalance: import_zod.z.number().default(0),
|
|
1809
1809
|
stripeCustomerId: import_zod.z.string().optional(),
|
|
1810
1810
|
stripeSubscriptionId: import_zod.z.string().optional(),
|
|
1811
|
+
stripeSubscriptionStatus: import_zod.z.string().optional(),
|
|
1811
1812
|
cancelAtPeriodEnd: import_zod.z.boolean().optional(),
|
|
1812
1813
|
billingPeriodStart: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1813
1814
|
billingPeriodEnd: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
@@ -1839,6 +1840,12 @@ var TeamSchema = import_zod.z.object({
|
|
|
1839
1840
|
memberIds: import_zod.z.array(import_zod.z.string()).default([]),
|
|
1840
1841
|
planId: import_zod.z.string().optional().default("free"),
|
|
1841
1842
|
fuelBalance: import_zod.z.number().optional().default(0),
|
|
1843
|
+
stripeCustomerId: import_zod.z.string().optional(),
|
|
1844
|
+
stripeSubscriptionId: import_zod.z.string().optional(),
|
|
1845
|
+
stripeSubscriptionStatus: import_zod.z.string().optional(),
|
|
1846
|
+
cancelAtPeriodEnd: import_zod.z.boolean().optional(),
|
|
1847
|
+
billingPeriodStart: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1848
|
+
billingPeriodEnd: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1842
1849
|
metadata: import_zod.z.record(import_zod.z.unknown()).optional().default({}),
|
|
1843
1850
|
createdAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional(),
|
|
1844
1851
|
updatedAt: import_zod.z.union([import_zod.z.string(), import_zod.z.number(), import_zod.z.date()]).optional()
|
package/dist/index.d.cts
CHANGED
|
@@ -13325,6 +13325,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13325
13325
|
fuelBalance: z.ZodDefault<z.ZodNumber>;
|
|
13326
13326
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
13327
13327
|
stripeSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
13328
|
+
stripeSubscriptionStatus: z.ZodOptional<z.ZodString>;
|
|
13328
13329
|
cancelAtPeriodEnd: z.ZodOptional<z.ZodBoolean>;
|
|
13329
13330
|
billingPeriodStart: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13330
13331
|
billingPeriodEnd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
@@ -13345,6 +13346,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13345
13346
|
updatedAt?: string | number | Date | undefined;
|
|
13346
13347
|
stripeCustomerId?: string | undefined;
|
|
13347
13348
|
stripeSubscriptionId?: string | undefined;
|
|
13349
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13348
13350
|
cancelAtPeriodEnd?: boolean | undefined;
|
|
13349
13351
|
billingPeriodStart?: string | number | Date | undefined;
|
|
13350
13352
|
billingPeriodEnd?: string | number | Date | undefined;
|
|
@@ -13362,6 +13364,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13362
13364
|
fuelBalance?: number | undefined;
|
|
13363
13365
|
stripeCustomerId?: string | undefined;
|
|
13364
13366
|
stripeSubscriptionId?: string | undefined;
|
|
13367
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13365
13368
|
cancelAtPeriodEnd?: boolean | undefined;
|
|
13366
13369
|
billingPeriodStart?: string | number | Date | undefined;
|
|
13367
13370
|
billingPeriodEnd?: string | number | Date | undefined;
|
|
@@ -13433,6 +13436,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13433
13436
|
memberIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
13434
13437
|
planId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13435
13438
|
fuelBalance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13439
|
+
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
13440
|
+
stripeSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
13441
|
+
stripeSubscriptionStatus: z.ZodOptional<z.ZodString>;
|
|
13442
|
+
cancelAtPeriodEnd: z.ZodOptional<z.ZodBoolean>;
|
|
13443
|
+
billingPeriodStart: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13444
|
+
billingPeriodEnd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13436
13445
|
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13437
13446
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13438
13447
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
@@ -13449,6 +13458,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13449
13458
|
updatedAt?: string | number | Date | undefined;
|
|
13450
13459
|
orgId?: string | undefined;
|
|
13451
13460
|
slug?: string | undefined;
|
|
13461
|
+
stripeCustomerId?: string | undefined;
|
|
13462
|
+
stripeSubscriptionId?: string | undefined;
|
|
13463
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13464
|
+
cancelAtPeriodEnd?: boolean | undefined;
|
|
13465
|
+
billingPeriodStart?: string | number | Date | undefined;
|
|
13466
|
+
billingPeriodEnd?: string | number | Date | undefined;
|
|
13452
13467
|
}, {
|
|
13453
13468
|
name: string;
|
|
13454
13469
|
id: string;
|
|
@@ -13462,6 +13477,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13462
13477
|
memberIds?: string[] | undefined;
|
|
13463
13478
|
planId?: string | undefined;
|
|
13464
13479
|
fuelBalance?: number | undefined;
|
|
13480
|
+
stripeCustomerId?: string | undefined;
|
|
13481
|
+
stripeSubscriptionId?: string | undefined;
|
|
13482
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13483
|
+
cancelAtPeriodEnd?: boolean | undefined;
|
|
13484
|
+
billingPeriodStart?: string | number | Date | undefined;
|
|
13485
|
+
billingPeriodEnd?: string | number | Date | undefined;
|
|
13465
13486
|
}>;
|
|
13466
13487
|
type Team = z.infer<typeof TeamSchema>;
|
|
13467
13488
|
declare const InviteTargetTypeSchema: z.ZodEnum<["organization", "team"]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -13325,6 +13325,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13325
13325
|
fuelBalance: z.ZodDefault<z.ZodNumber>;
|
|
13326
13326
|
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
13327
13327
|
stripeSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
13328
|
+
stripeSubscriptionStatus: z.ZodOptional<z.ZodString>;
|
|
13328
13329
|
cancelAtPeriodEnd: z.ZodOptional<z.ZodBoolean>;
|
|
13329
13330
|
billingPeriodStart: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13330
13331
|
billingPeriodEnd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
@@ -13345,6 +13346,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13345
13346
|
updatedAt?: string | number | Date | undefined;
|
|
13346
13347
|
stripeCustomerId?: string | undefined;
|
|
13347
13348
|
stripeSubscriptionId?: string | undefined;
|
|
13349
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13348
13350
|
cancelAtPeriodEnd?: boolean | undefined;
|
|
13349
13351
|
billingPeriodStart?: string | number | Date | undefined;
|
|
13350
13352
|
billingPeriodEnd?: string | number | Date | undefined;
|
|
@@ -13362,6 +13364,7 @@ declare const OrganizationSchema: z.ZodObject<{
|
|
|
13362
13364
|
fuelBalance?: number | undefined;
|
|
13363
13365
|
stripeCustomerId?: string | undefined;
|
|
13364
13366
|
stripeSubscriptionId?: string | undefined;
|
|
13367
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13365
13368
|
cancelAtPeriodEnd?: boolean | undefined;
|
|
13366
13369
|
billingPeriodStart?: string | number | Date | undefined;
|
|
13367
13370
|
billingPeriodEnd?: string | number | Date | undefined;
|
|
@@ -13433,6 +13436,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13433
13436
|
memberIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
13434
13437
|
planId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
13435
13438
|
fuelBalance: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
13439
|
+
stripeCustomerId: z.ZodOptional<z.ZodString>;
|
|
13440
|
+
stripeSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
13441
|
+
stripeSubscriptionStatus: z.ZodOptional<z.ZodString>;
|
|
13442
|
+
cancelAtPeriodEnd: z.ZodOptional<z.ZodBoolean>;
|
|
13443
|
+
billingPeriodStart: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13444
|
+
billingPeriodEnd: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13436
13445
|
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
13437
13446
|
createdAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
13438
13447
|
updatedAt: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodDate]>>;
|
|
@@ -13449,6 +13458,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13449
13458
|
updatedAt?: string | number | Date | undefined;
|
|
13450
13459
|
orgId?: string | undefined;
|
|
13451
13460
|
slug?: string | undefined;
|
|
13461
|
+
stripeCustomerId?: string | undefined;
|
|
13462
|
+
stripeSubscriptionId?: string | undefined;
|
|
13463
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13464
|
+
cancelAtPeriodEnd?: boolean | undefined;
|
|
13465
|
+
billingPeriodStart?: string | number | Date | undefined;
|
|
13466
|
+
billingPeriodEnd?: string | number | Date | undefined;
|
|
13452
13467
|
}, {
|
|
13453
13468
|
name: string;
|
|
13454
13469
|
id: string;
|
|
@@ -13462,6 +13477,12 @@ declare const TeamSchema: z.ZodObject<{
|
|
|
13462
13477
|
memberIds?: string[] | undefined;
|
|
13463
13478
|
planId?: string | undefined;
|
|
13464
13479
|
fuelBalance?: number | undefined;
|
|
13480
|
+
stripeCustomerId?: string | undefined;
|
|
13481
|
+
stripeSubscriptionId?: string | undefined;
|
|
13482
|
+
stripeSubscriptionStatus?: string | undefined;
|
|
13483
|
+
cancelAtPeriodEnd?: boolean | undefined;
|
|
13484
|
+
billingPeriodStart?: string | number | Date | undefined;
|
|
13485
|
+
billingPeriodEnd?: string | number | Date | undefined;
|
|
13465
13486
|
}>;
|
|
13466
13487
|
type Team = z.infer<typeof TeamSchema>;
|
|
13467
13488
|
declare const InviteTargetTypeSchema: z.ZodEnum<["organization", "team"]>;
|
package/dist/index.js
CHANGED
|
@@ -1558,6 +1558,7 @@ var OrganizationSchema = z.object({
|
|
|
1558
1558
|
fuelBalance: z.number().default(0),
|
|
1559
1559
|
stripeCustomerId: z.string().optional(),
|
|
1560
1560
|
stripeSubscriptionId: z.string().optional(),
|
|
1561
|
+
stripeSubscriptionStatus: z.string().optional(),
|
|
1561
1562
|
cancelAtPeriodEnd: z.boolean().optional(),
|
|
1562
1563
|
billingPeriodStart: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1563
1564
|
billingPeriodEnd: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
@@ -1589,6 +1590,12 @@ var TeamSchema = z.object({
|
|
|
1589
1590
|
memberIds: z.array(z.string()).default([]),
|
|
1590
1591
|
planId: z.string().optional().default("free"),
|
|
1591
1592
|
fuelBalance: z.number().optional().default(0),
|
|
1593
|
+
stripeCustomerId: z.string().optional(),
|
|
1594
|
+
stripeSubscriptionId: z.string().optional(),
|
|
1595
|
+
stripeSubscriptionStatus: z.string().optional(),
|
|
1596
|
+
cancelAtPeriodEnd: z.boolean().optional(),
|
|
1597
|
+
billingPeriodStart: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1598
|
+
billingPeriodEnd: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1592
1599
|
metadata: z.record(z.unknown()).optional().default({}),
|
|
1593
1600
|
createdAt: z.union([z.string(), z.number(), z.date()]).optional(),
|
|
1594
1601
|
updatedAt: z.union([z.string(), z.number(), z.date()]).optional()
|