@bizmap/sdk 0.0.12 → 0.0.13
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 +7 -5
- package/dist/main.js +11 -7
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -53,11 +53,13 @@ declare const CompanyOpState: z.ZodObject<{
|
|
|
53
53
|
lastModified: z.ZodNullable<z.ZodNumber>;
|
|
54
54
|
uid: z.ZodReadonly<z.ZodString>;
|
|
55
55
|
availableBalance: z.ZodNumber;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
preferences: z.ZodObject<{
|
|
57
|
+
userProvisions: z.ZodNumber;
|
|
58
|
+
apptDistAlg: z.ZodEnum<{
|
|
59
|
+
RR: "RR";
|
|
60
|
+
LOR: "LOR";
|
|
61
|
+
}>;
|
|
62
|
+
}, z.core.$strip>;
|
|
61
63
|
}, z.core.$strip>;
|
|
62
64
|
type CompanyOpState = z.infer<typeof CompanyOpState>;
|
|
63
65
|
declare const CompanyBillingModel: z.ZodObject<{
|
package/dist/main.js
CHANGED
|
@@ -79,14 +79,18 @@ var CompanyIdentity = z4.object({
|
|
|
79
79
|
var CompanyOpState = z4.object({
|
|
80
80
|
// The company's uid
|
|
81
81
|
uid: CompanyIdentity.shape.uid,
|
|
82
|
+
// This can only be changed by the server/app admin
|
|
82
83
|
availableBalance: z4.number(),
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
// This can be changed by the company's admin
|
|
85
|
+
preferences: z4.object({
|
|
86
|
+
/** The amount of user provisions made for this company */
|
|
87
|
+
userProvisions: z4.number(),
|
|
88
|
+
/**
|
|
89
|
+
* @property RR (Round Robin): Even distribution.
|
|
90
|
+
* @property LOR (Least Outstanding Requests): Distribute based on availability.
|
|
91
|
+
*/
|
|
92
|
+
apptDistAlg: appointmentDistAlgs
|
|
93
|
+
}),
|
|
90
94
|
...TimeLog.shape
|
|
91
95
|
});
|
|
92
96
|
var CompanyBillingModel = z4.object({
|