shred-api-client 2.6.5 → 2.6.6
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 +8 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -382,6 +382,7 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
382
382
|
currentPeriodStart: z.ZodOptional<z.ZodNumber>;
|
|
383
383
|
currentPeriodEnd: z.ZodOptional<z.ZodNumber>;
|
|
384
384
|
paymentMethodId: z.ZodOptional<z.ZodString>;
|
|
385
|
+
isExternal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
385
386
|
product: z.ZodObject<{
|
|
386
387
|
id: z.ZodString;
|
|
387
388
|
name: z.ZodString;
|
|
@@ -480,6 +481,7 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
480
481
|
}, "strip", z.ZodTypeAny, {
|
|
481
482
|
id: string;
|
|
482
483
|
status: string;
|
|
484
|
+
isExternal: boolean;
|
|
483
485
|
product: {
|
|
484
486
|
id: string;
|
|
485
487
|
name: string;
|
|
@@ -541,6 +543,7 @@ declare const SubscriptionSchema: z.ZodObject<{
|
|
|
541
543
|
currentPeriodStart?: number | undefined;
|
|
542
544
|
currentPeriodEnd?: number | undefined;
|
|
543
545
|
paymentMethodId?: string | undefined;
|
|
546
|
+
isExternal?: boolean | undefined;
|
|
544
547
|
plan?: {
|
|
545
548
|
id: string;
|
|
546
549
|
metadata: Record<string, string>;
|
|
@@ -1181,6 +1184,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1181
1184
|
currentPeriodStart: z.ZodOptional<z.ZodNumber>;
|
|
1182
1185
|
currentPeriodEnd: z.ZodOptional<z.ZodNumber>;
|
|
1183
1186
|
paymentMethodId: z.ZodOptional<z.ZodString>;
|
|
1187
|
+
isExternal: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1184
1188
|
product: z.ZodObject<{
|
|
1185
1189
|
id: z.ZodString;
|
|
1186
1190
|
name: z.ZodString;
|
|
@@ -1279,6 +1283,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1279
1283
|
}, "strip", z.ZodTypeAny, {
|
|
1280
1284
|
id: string;
|
|
1281
1285
|
status: string;
|
|
1286
|
+
isExternal: boolean;
|
|
1282
1287
|
product: {
|
|
1283
1288
|
id: string;
|
|
1284
1289
|
name: string;
|
|
@@ -1340,6 +1345,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1340
1345
|
currentPeriodStart?: number | undefined;
|
|
1341
1346
|
currentPeriodEnd?: number | undefined;
|
|
1342
1347
|
paymentMethodId?: string | undefined;
|
|
1348
|
+
isExternal?: boolean | undefined;
|
|
1343
1349
|
plan?: {
|
|
1344
1350
|
id: string;
|
|
1345
1351
|
metadata: Record<string, string>;
|
|
@@ -1393,6 +1399,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1393
1399
|
subscription?: {
|
|
1394
1400
|
id: string;
|
|
1395
1401
|
status: string;
|
|
1402
|
+
isExternal: boolean;
|
|
1396
1403
|
product: {
|
|
1397
1404
|
id: string;
|
|
1398
1405
|
name: string;
|
|
@@ -1496,6 +1503,7 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1496
1503
|
currentPeriodStart?: number | undefined;
|
|
1497
1504
|
currentPeriodEnd?: number | undefined;
|
|
1498
1505
|
paymentMethodId?: string | undefined;
|
|
1506
|
+
isExternal?: boolean | undefined;
|
|
1499
1507
|
plan?: {
|
|
1500
1508
|
id: string;
|
|
1501
1509
|
metadata: Record<string, string>;
|
package/dist/index.js
CHANGED
|
@@ -6152,6 +6152,7 @@ var SubscriptionSchema = external_exports.object({
|
|
|
6152
6152
|
currentPeriodStart: external_exports.number().optional(),
|
|
6153
6153
|
currentPeriodEnd: external_exports.number().optional(),
|
|
6154
6154
|
paymentMethodId: external_exports.string().optional(),
|
|
6155
|
+
isExternal: external_exports.boolean().optional().default(false),
|
|
6155
6156
|
product: ProductSchema,
|
|
6156
6157
|
type: external_exports.nativeEnum(Type).optional(),
|
|
6157
6158
|
plan: PlanSchema.optional()
|