@bizmap/sdk 0.0.134 → 0.0.136
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 +5 -4
- package/dist/main.js +4 -3
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -1368,12 +1368,13 @@ declare const UserDetails: z.ZodObject<{
|
|
|
1368
1368
|
type UserDetails = z.infer<typeof UserDetails>;
|
|
1369
1369
|
|
|
1370
1370
|
declare const UserStorage: z.ZodObject<{
|
|
1371
|
+
_id: z.ZodUUID;
|
|
1371
1372
|
profile: z.ZodObject<{
|
|
1372
|
-
|
|
1373
|
+
usedBytes: z.ZodNumber;
|
|
1373
1374
|
class: z.ZodString;
|
|
1374
1375
|
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
1375
1376
|
}, z.core.$strip>;
|
|
1376
|
-
company: z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodObject<{
|
|
1377
|
+
company: z.ZodOptional<z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodObject<{
|
|
1377
1378
|
class: z.ZodString;
|
|
1378
1379
|
items: z.ZodRecord<z.ZodEnum<{
|
|
1379
1380
|
state: "state";
|
|
@@ -1382,10 +1383,10 @@ declare const UserStorage: z.ZodObject<{
|
|
|
1382
1383
|
billing: "billing";
|
|
1383
1384
|
staff: "staff";
|
|
1384
1385
|
}>, z.ZodObject<{
|
|
1385
|
-
|
|
1386
|
+
usedBytes: z.ZodNumber;
|
|
1386
1387
|
lastModified: z.ZodOptional<z.ZodISODateTime>;
|
|
1387
1388
|
}, z.core.$strip>>;
|
|
1388
|
-
}, z.core.$strip
|
|
1389
|
+
}, z.core.$strip>>>;
|
|
1389
1390
|
createdAt: z.ZodISODateTime;
|
|
1390
1391
|
}, z.core.$strip>;
|
|
1391
1392
|
type UserStorage = z.infer<typeof UserStorage>;
|
package/dist/main.js
CHANGED
|
@@ -818,8 +818,9 @@ var MutableServiceDetails = ServiceDetails.safeExtend(
|
|
|
818
818
|
// src/schemas/user/Storage.ts
|
|
819
819
|
import * as z22 from "zod";
|
|
820
820
|
var UserStorage = z22.object({
|
|
821
|
+
_id: UserDetails.shape._id,
|
|
821
822
|
profile: z22.object({
|
|
822
|
-
|
|
823
|
+
usedBytes: z22.number().min(0),
|
|
823
824
|
class: z22.string().trim(),
|
|
824
825
|
lastModified: Timestamp.optional()
|
|
825
826
|
}),
|
|
@@ -830,12 +831,12 @@ var UserStorage = z22.object({
|
|
|
830
831
|
items: z22.record(
|
|
831
832
|
_CompanyDetails.keyof(),
|
|
832
833
|
z22.object({
|
|
833
|
-
|
|
834
|
+
usedBytes: z22.number().min(0),
|
|
834
835
|
lastModified: Timestamp.optional()
|
|
835
836
|
})
|
|
836
837
|
)
|
|
837
838
|
})
|
|
838
|
-
),
|
|
839
|
+
).optional(),
|
|
839
840
|
createdAt: Timestamp
|
|
840
841
|
});
|
|
841
842
|
|