@bizmap/sdk 0.0.78 → 0.0.80
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/main.d.ts +2 -0
- package/dist/main.js +2 -0
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -774,9 +774,11 @@ declare const CompanyUserSession: z.ZodObject<{
|
|
|
774
774
|
cshr: "cshr";
|
|
775
775
|
founder: "founder";
|
|
776
776
|
}>>, z.ZodTransform<("doc" | "physAsst" | "rcpst" | "cshr" | "founder")[], ("doc" | "physAsst" | "rcpst" | "cshr" | "founder")[]>>;
|
|
777
|
+
ttl: z.ZodNumber;
|
|
777
778
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
778
779
|
expiresAfter: z.ZodDate;
|
|
779
780
|
}, z.core.$strip>;
|
|
781
|
+
type CompanyUserSession = z.infer<typeof CompanyUserSession>;
|
|
780
782
|
declare const MiniCompanyUser: z.ZodObject<{
|
|
781
783
|
lastActive: z.ZodNullable<z.ZodInt>;
|
|
782
784
|
inviteSent: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
package/dist/main.js
CHANGED
|
@@ -479,6 +479,8 @@ var CompanyUserSession = z14.object({
|
|
|
479
479
|
(role, i) => i === 0 || getCompatibleRoles(roles[0]).includes(role)
|
|
480
480
|
);
|
|
481
481
|
}, "A user is not allowed to have conflicting roles."),
|
|
482
|
+
/** Stored in millis */
|
|
483
|
+
ttl: z14.number(),
|
|
482
484
|
lastModified: Timestamp.nullable(),
|
|
483
485
|
expiresAfter: z14.date()
|
|
484
486
|
});
|