@bizmap/sdk 0.0.34 → 0.0.35
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 +8 -12
- package/dist/main.js +2 -4
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -148,14 +148,14 @@ declare const CompanyDetails: z.ZodObject<{
|
|
|
148
148
|
state: z.ZodObject<{
|
|
149
149
|
availableBalance: z.ZodNumber;
|
|
150
150
|
totalUploads: z.ZodNumber;
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
invoiceNoCounter: z.ZodInt;
|
|
152
|
+
tktNoCounter: z.ZodInt;
|
|
153
153
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
154
154
|
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
155
155
|
availableBalance: z.ZodNumber;
|
|
156
156
|
totalUploads: z.ZodNumber;
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
invoiceNoCounter: z.ZodInt;
|
|
158
|
+
tktNoCounter: z.ZodInt;
|
|
159
159
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
160
160
|
}, z.core.$strip>>>;
|
|
161
161
|
preferences: z.ZodObject<{
|
|
@@ -175,7 +175,6 @@ declare const CompanyDetails: z.ZodObject<{
|
|
|
175
175
|
}, z.core.$strip>>>;
|
|
176
176
|
billing: z.ZodObject<{
|
|
177
177
|
preferences: z.ZodObject<{
|
|
178
|
-
allowInvoiceDist: z.ZodBoolean;
|
|
179
178
|
useCreatedServices: z.ZodBoolean;
|
|
180
179
|
serviceSelector: z.ZodEnum<{
|
|
181
180
|
scheduler: "scheduler";
|
|
@@ -213,7 +212,6 @@ declare const CompanyDetails: z.ZodObject<{
|
|
|
213
212
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
214
213
|
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
215
214
|
preferences: z.ZodObject<{
|
|
216
|
-
allowInvoiceDist: z.ZodBoolean;
|
|
217
215
|
useCreatedServices: z.ZodBoolean;
|
|
218
216
|
serviceSelector: z.ZodEnum<{
|
|
219
217
|
scheduler: "scheduler";
|
|
@@ -443,14 +441,14 @@ declare const PartialCompanyDetails: z.ZodObject<{
|
|
|
443
441
|
state: z.ZodObject<{
|
|
444
442
|
availableBalance: z.ZodNumber;
|
|
445
443
|
totalUploads: z.ZodNumber;
|
|
446
|
-
|
|
447
|
-
|
|
444
|
+
invoiceNoCounter: z.ZodInt;
|
|
445
|
+
tktNoCounter: z.ZodInt;
|
|
448
446
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
449
447
|
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
450
448
|
availableBalance: z.ZodNumber;
|
|
451
449
|
totalUploads: z.ZodNumber;
|
|
452
|
-
|
|
453
|
-
|
|
450
|
+
invoiceNoCounter: z.ZodInt;
|
|
451
|
+
tktNoCounter: z.ZodInt;
|
|
454
452
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
455
453
|
}, z.core.$strip>>>;
|
|
456
454
|
preferences: z.ZodObject<{
|
|
@@ -470,7 +468,6 @@ declare const PartialCompanyDetails: z.ZodObject<{
|
|
|
470
468
|
}, z.core.$strip>>>;
|
|
471
469
|
billing: z.ZodObject<{
|
|
472
470
|
preferences: z.ZodObject<{
|
|
473
|
-
allowInvoiceDist: z.ZodBoolean;
|
|
474
471
|
useCreatedServices: z.ZodBoolean;
|
|
475
472
|
serviceSelector: z.ZodEnum<{
|
|
476
473
|
scheduler: "scheduler";
|
|
@@ -508,7 +505,6 @@ declare const PartialCompanyDetails: z.ZodObject<{
|
|
|
508
505
|
lastModified: z.ZodNullable<z.ZodInt>;
|
|
509
506
|
}, z.core.$strip> | z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
510
507
|
preferences: z.ZodObject<{
|
|
511
|
-
allowInvoiceDist: z.ZodBoolean;
|
|
512
508
|
useCreatedServices: z.ZodBoolean;
|
|
513
509
|
serviceSelector: z.ZodEnum<{
|
|
514
510
|
scheduler: "scheduler";
|
package/dist/main.js
CHANGED
|
@@ -153,9 +153,9 @@ var CompanyState = z4.object({
|
|
|
153
153
|
/** A counter for the company's invoice no.
|
|
154
154
|
* @note This should only be null when the cycle resets
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
invoiceNoCounter: z4.int().positive().min(1),
|
|
157
157
|
/** A counter for the company's ticket no. */
|
|
158
|
-
|
|
158
|
+
tktNoCounter: z4.int().positive().min(1),
|
|
159
159
|
// distAppts: z.record(CompanyUser.shape.uid, z.number().positive().nullable()),
|
|
160
160
|
lastModified: Timestamp.nullable()
|
|
161
161
|
});
|
|
@@ -174,8 +174,6 @@ var CompanyPreferences = z4.object({
|
|
|
174
174
|
});
|
|
175
175
|
var CompanyBillingModel = z4.object({
|
|
176
176
|
preferences: z4.object({
|
|
177
|
-
/** Allows the serviceDecider to distribute invoices. */
|
|
178
|
-
allowInvoiceDist: z4.boolean(),
|
|
179
177
|
/** Forces service selectors to use the list of service(s) that you've created. */
|
|
180
178
|
useCreatedServices: z4.boolean(),
|
|
181
179
|
/** The user that's allowed to record the client's services. */
|