shred-api-client 2.9.11 → 2.9.12
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 +12 -3
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1167,7 +1167,6 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1167
1167
|
inviteCode: z.ZodString;
|
|
1168
1168
|
totalUsersAllowed: z.ZodNumber;
|
|
1169
1169
|
currentUsersSize: z.ZodOptional<z.ZodNumber>;
|
|
1170
|
-
chargeByEmail: z.ZodBoolean;
|
|
1171
1170
|
defaultProductId: z.ZodOptional<z.ZodString>;
|
|
1172
1171
|
defaultPlanId: z.ZodOptional<z.ZodString>;
|
|
1173
1172
|
defaultCoupomCode: z.ZodOptional<z.ZodString>;
|
|
@@ -1387,7 +1386,6 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1387
1386
|
};
|
|
1388
1387
|
inviteCode: string;
|
|
1389
1388
|
totalUsersAllowed: number;
|
|
1390
|
-
chargeByEmail: boolean;
|
|
1391
1389
|
currentUsersSize?: number | undefined;
|
|
1392
1390
|
defaultProductId?: string | undefined;
|
|
1393
1391
|
defaultPlanId?: string | undefined;
|
|
@@ -1466,7 +1464,6 @@ declare const TenantSchema: z.ZodObject<{
|
|
|
1466
1464
|
};
|
|
1467
1465
|
inviteCode: string;
|
|
1468
1466
|
totalUsersAllowed: number;
|
|
1469
|
-
chargeByEmail: boolean;
|
|
1470
1467
|
currentUsersSize?: number | undefined;
|
|
1471
1468
|
defaultProductId?: string | undefined;
|
|
1472
1469
|
defaultPlanId?: string | undefined;
|
|
@@ -1550,6 +1547,7 @@ declare const MemberUpdateSchema: z.ZodObject<{
|
|
|
1550
1547
|
action: Action$1;
|
|
1551
1548
|
}>;
|
|
1552
1549
|
declare const TenantUpdateSchema: z.ZodObject<{
|
|
1550
|
+
isSubscriptionActive: z.ZodOptional<z.ZodBoolean>;
|
|
1553
1551
|
preferences: z.ZodOptional<z.ZodObject<{
|
|
1554
1552
|
iconUrl: z.ZodString;
|
|
1555
1553
|
logoUrl: z.ZodString;
|
|
@@ -1643,8 +1641,12 @@ declare const TenantUpdateSchema: z.ZodObject<{
|
|
|
1643
1641
|
progress?: number | undefined;
|
|
1644
1642
|
}[] | undefined;
|
|
1645
1643
|
}>>;
|
|
1644
|
+
inviteCode: z.ZodOptional<z.ZodString>;
|
|
1645
|
+
totalUsersAllowed: z.ZodOptional<z.ZodNumber>;
|
|
1646
|
+
defaultCoupomCode: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1646
1647
|
reportUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1647
1648
|
}, "strip", z.ZodTypeAny, {
|
|
1649
|
+
isSubscriptionActive?: boolean | undefined;
|
|
1648
1650
|
preferences?: {
|
|
1649
1651
|
iconUrl: string;
|
|
1650
1652
|
logoUrl: string;
|
|
@@ -1668,8 +1670,12 @@ declare const TenantUpdateSchema: z.ZodObject<{
|
|
|
1668
1670
|
progress?: number | undefined;
|
|
1669
1671
|
}[] | undefined;
|
|
1670
1672
|
} | undefined;
|
|
1673
|
+
inviteCode?: string | undefined;
|
|
1674
|
+
totalUsersAllowed?: number | undefined;
|
|
1675
|
+
defaultCoupomCode?: string | undefined;
|
|
1671
1676
|
reportUrl?: string | undefined;
|
|
1672
1677
|
}, {
|
|
1678
|
+
isSubscriptionActive?: boolean | undefined;
|
|
1673
1679
|
preferences?: {
|
|
1674
1680
|
iconUrl: string;
|
|
1675
1681
|
logoUrl: string;
|
|
@@ -1693,6 +1699,9 @@ declare const TenantUpdateSchema: z.ZodObject<{
|
|
|
1693
1699
|
progress?: number | undefined;
|
|
1694
1700
|
}[] | undefined;
|
|
1695
1701
|
} | undefined;
|
|
1702
|
+
inviteCode?: string | undefined;
|
|
1703
|
+
totalUsersAllowed?: number | undefined;
|
|
1704
|
+
defaultCoupomCode?: string | undefined;
|
|
1696
1705
|
reportUrl?: string | undefined;
|
|
1697
1706
|
}>;
|
|
1698
1707
|
type MemberUpdate = z.infer<typeof MemberUpdateSchema>;
|
package/dist/index.js
CHANGED
|
@@ -6555,7 +6555,6 @@ var TenantSchema = external_exports.object({
|
|
|
6555
6555
|
inviteCode: external_exports.string(),
|
|
6556
6556
|
totalUsersAllowed: external_exports.number(),
|
|
6557
6557
|
currentUsersSize: external_exports.number().optional(),
|
|
6558
|
-
chargeByEmail: external_exports.boolean(),
|
|
6559
6558
|
defaultProductId: external_exports.string().optional(),
|
|
6560
6559
|
defaultPlanId: external_exports.string().optional(),
|
|
6561
6560
|
defaultCoupomCode: external_exports.string().optional(),
|
|
@@ -6585,7 +6584,11 @@ var MemberUpdateSchema = external_exports.object({
|
|
|
6585
6584
|
});
|
|
6586
6585
|
var TenantUpdateSchema = TenantSchema.pick({
|
|
6587
6586
|
reportUrl: true,
|
|
6588
|
-
preferences: true
|
|
6587
|
+
preferences: true,
|
|
6588
|
+
inviteCode: true,
|
|
6589
|
+
isSubscriptionActive: true,
|
|
6590
|
+
totalUsersAllowed: true,
|
|
6591
|
+
defaultCoupomCode: true
|
|
6589
6592
|
}).partial();
|
|
6590
6593
|
|
|
6591
6594
|
// src/model/tenant/Tenant.api.ts
|