@bizmap/sdk 0.0.133 → 0.0.135

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.
Files changed (3) hide show
  1. package/dist/main.d.ts +193 -158
  2. package/dist/main.js +272 -245
  3. package/package.json +2 -2
package/dist/main.d.ts CHANGED
@@ -73,10 +73,13 @@ declare const CompanyDetails: z.ZodObject<{
73
73
  identity: z.ZodObject<{
74
74
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
75
75
  lastModified: z.ZodOptional<z.ZodISODateTime>;
76
+ email: z.ZodEmail;
77
+ phoneNumber: z.ZodOptional<z.ZodString>;
78
+ ownerId: z.ZodUUID;
76
79
  address: z.ZodObject<{
77
80
  streetAddress: z.ZodString;
78
81
  city: z.ZodOptional<z.ZodString>;
79
- parish: z.ZodString;
82
+ state: z.ZodString;
80
83
  country: z.ZodString;
81
84
  }, z.core.$strip>;
82
85
  alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
@@ -85,8 +88,6 @@ declare const CompanyDetails: z.ZodObject<{
85
88
  healthcare: "healthcare";
86
89
  }>;
87
90
  sector: z.ZodString;
88
- email: z.ZodEmail;
89
- phoneNumber: z.ZodOptional<z.ZodString>;
90
91
  emailVerified: z.ZodBoolean;
91
92
  verified: z.ZodBoolean;
92
93
  legal: z.ZodOptional<z.ZodObject<{
@@ -98,6 +99,7 @@ declare const CompanyDetails: z.ZodObject<{
98
99
  state: z.ZodObject<{
99
100
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
100
101
  lastModified: z.ZodOptional<z.ZodISODateTime>;
102
+ ownerId: z.ZodUUID;
101
103
  credits: z.ZodObject<{
102
104
  current: z.ZodNumber;
103
105
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -114,6 +116,7 @@ declare const CompanyDetails: z.ZodObject<{
114
116
  preference: z.ZodObject<{
115
117
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
116
118
  lastModified: z.ZodOptional<z.ZodISODateTime>;
119
+ ownerId: z.ZodUUID;
117
120
  serviceSelector: z.ZodEnum<{
118
121
  scheduler: "scheduler";
119
122
  doctor: "doctor";
@@ -128,6 +131,7 @@ declare const CompanyDetails: z.ZodObject<{
128
131
  billing: z.ZodObject<{
129
132
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
130
133
  lastModified: z.ZodOptional<z.ZodISODateTime>;
134
+ ownerId: z.ZodUUID;
131
135
  additionalFees: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodObject<{
132
136
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
133
137
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -225,11 +229,12 @@ declare const _CompanyDetails: z.ZodObject<{
225
229
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
226
230
  lastModified: z.ZodOptional<z.ZodISODateTime>;
227
231
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
232
+ ownerId: z.ZodUUID;
228
233
  alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
229
234
  address: z.ZodObject<{
230
235
  streetAddress: z.ZodString;
231
236
  city: z.ZodOptional<z.ZodString>;
232
- parish: z.ZodString;
237
+ state: z.ZodString;
233
238
  country: z.ZodString;
234
239
  }, z.core.$strip>;
235
240
  logo: z.ZodOptional<z.ZodString>;
@@ -251,6 +256,7 @@ declare const _CompanyDetails: z.ZodObject<{
251
256
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
252
257
  lastModified: z.ZodOptional<z.ZodISODateTime>;
253
258
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
259
+ ownerId: z.ZodUUID;
254
260
  credits: z.ZodObject<{
255
261
  current: z.ZodNumber;
256
262
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -268,6 +274,7 @@ declare const _CompanyDetails: z.ZodObject<{
268
274
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
269
275
  lastModified: z.ZodOptional<z.ZodISODateTime>;
270
276
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
277
+ ownerId: z.ZodUUID;
271
278
  serviceSelector: z.ZodEnum<{
272
279
  scheduler: "scheduler";
273
280
  doctor: "doctor";
@@ -283,6 +290,7 @@ declare const _CompanyDetails: z.ZodObject<{
283
290
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
284
291
  lastModified: z.ZodOptional<z.ZodISODateTime>;
285
292
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
293
+ ownerId: z.ZodUUID;
286
294
  additionalFees: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodObject<{
287
295
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
288
296
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -381,7 +389,7 @@ declare const MutableCompanyDetails: z.ZodObject<{
381
389
  address: z.ZodOptional<z.ZodObject<{
382
390
  streetAddress: z.ZodString;
383
391
  city: z.ZodOptional<z.ZodString>;
384
- parish: z.ZodString;
392
+ state: z.ZodString;
385
393
  country: z.ZodString;
386
394
  }, z.core.$strip>>;
387
395
  alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
@@ -389,6 +397,7 @@ declare const MutableCompanyDetails: z.ZodObject<{
389
397
  }, z.core.$strip>>;
390
398
  preferences: z.ZodOptional<z.ZodObject<{
391
399
  createdAt: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
400
+ ownerId: z.ZodOptional<z.ZodUUID>;
392
401
  serviceSelector: z.ZodOptional<z.ZodEnum<{
393
402
  scheduler: "scheduler";
394
403
  doctor: "doctor";
@@ -403,6 +412,7 @@ declare const MutableCompanyDetails: z.ZodObject<{
403
412
  billing: z.ZodOptional<z.ZodObject<{
404
413
  createdAt: z.ZodOptional<z.ZodReadonly<z.ZodISODateTime>>;
405
414
  _id: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
415
+ ownerId: z.ZodOptional<z.ZodUUID>;
406
416
  additionalFees: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodObject<{
407
417
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
408
418
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -481,6 +491,7 @@ declare const CompanyBilling: z.ZodObject<{
481
491
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
482
492
  lastModified: z.ZodOptional<z.ZodISODateTime>;
483
493
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
494
+ ownerId: z.ZodUUID;
484
495
  additionalFees: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodObject<{
485
496
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
486
497
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -534,6 +545,7 @@ type CompanyBilling = z.infer<typeof CompanyBilling>;
534
545
  declare const MutableCompanyBilling: z.ZodObject<{
535
546
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
536
547
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
548
+ ownerId: z.ZodUUID;
537
549
  additionalFees: z.ZodOptional<z.ZodRecord<z.ZodUUID, z.ZodObject<{
538
550
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
539
551
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -589,11 +601,12 @@ declare const CompanyIdentity: z.ZodObject<{
589
601
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
590
602
  lastModified: z.ZodOptional<z.ZodISODateTime>;
591
603
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
604
+ ownerId: z.ZodUUID;
592
605
  alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
593
606
  address: z.ZodObject<{
594
607
  streetAddress: z.ZodString;
595
608
  city: z.ZodOptional<z.ZodString>;
596
- parish: z.ZodString;
609
+ state: z.ZodString;
597
610
  country: z.ZodString;
598
611
  }, z.core.$strip>;
599
612
  logo: z.ZodOptional<z.ZodString>;
@@ -616,7 +629,7 @@ declare const MutableCompanyIdentity: z.ZodObject<{
616
629
  address: z.ZodObject<{
617
630
  streetAddress: z.ZodString;
618
631
  city: z.ZodOptional<z.ZodString>;
619
- parish: z.ZodString;
632
+ state: z.ZodString;
620
633
  country: z.ZodString;
621
634
  }, z.core.$strip>;
622
635
  alias: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
@@ -643,6 +656,7 @@ declare const CompanyPreference: z.ZodObject<{
643
656
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
644
657
  lastModified: z.ZodOptional<z.ZodISODateTime>;
645
658
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
659
+ ownerId: z.ZodUUID;
646
660
  serviceSelector: z.ZodEnum<{
647
661
  scheduler: "scheduler";
648
662
  doctor: "doctor";
@@ -657,6 +671,7 @@ declare const CompanyPreference: z.ZodObject<{
657
671
  type CompanyPreference = z.infer<typeof CompanyPreference>;
658
672
  declare const MutableCompanyPreferences: z.ZodObject<{
659
673
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
674
+ ownerId: z.ZodUUID;
660
675
  serviceSelector: z.ZodEnum<{
661
676
  scheduler: "scheduler";
662
677
  doctor: "doctor";
@@ -750,6 +765,7 @@ declare const CompanyState: z.ZodObject<{
750
765
  createdAt: z.ZodReadonly<z.ZodISODateTime>;
751
766
  lastModified: z.ZodOptional<z.ZodISODateTime>;
752
767
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
768
+ ownerId: z.ZodUUID;
753
769
  credits: z.ZodObject<{
754
770
  current: z.ZodNumber;
755
771
  lastModified: z.ZodOptional<z.ZodISODateTime>;
@@ -798,7 +814,7 @@ declare const ClientDetails: z.ZodObject<{
798
814
  address: z.ZodOptional<z.ZodObject<{
799
815
  streetAddress: z.ZodString;
800
816
  city: z.ZodOptional<z.ZodString>;
801
- parish: z.ZodString;
817
+ state: z.ZodString;
802
818
  country: z.ZodString;
803
819
  }, z.core.$strip>>;
804
820
  linkedTo: z.ZodOptional<z.ZodUUID>;
@@ -818,11 +834,13 @@ declare const ClientForm: z.ZodObject<{
818
834
  type ClientForm = z.infer<typeof ClientForm>;
819
835
 
820
836
  declare const CreateCompanyForm: z.ZodObject<{
837
+ email: z.ZodEmail;
821
838
  _id: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
839
+ phoneNumber: z.ZodOptional<z.ZodString>;
822
840
  address: z.ZodObject<{
823
841
  streetAddress: z.ZodString;
824
842
  city: z.ZodOptional<z.ZodString>;
825
- parish: z.ZodString;
843
+ state: z.ZodString;
826
844
  country: z.ZodString;
827
845
  }, z.core.$strip>;
828
846
  logo: z.ZodOptional<z.ZodString>;
@@ -830,8 +848,6 @@ declare const CreateCompanyForm: z.ZodObject<{
830
848
  healthcare: "healthcare";
831
849
  }>;
832
850
  sector: z.ZodString;
833
- email: z.ZodEmail;
834
- phoneNumber: z.ZodOptional<z.ZodString>;
835
851
  alias: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
836
852
  }, z.core.$strip>;
837
853
  type CreateCompanyForm = z.infer<typeof CreateCompanyForm>;
@@ -876,61 +892,6 @@ declare const CompanySession: z.ZodObject<{
876
892
  }, z.core.$strip>;
877
893
  type CompanySession = z.infer<typeof CompanySession>;
878
894
 
879
- declare const COMPANY_USER_RELATIONSHIP: Partial<Record<CompanyUserRole, CompanyUserRole[]>>;
880
-
881
- declare const TierList: z.ZodRecord<z.ZodEnum<{
882
- basic: "basic";
883
- pro: "pro";
884
- premium: "premium";
885
- gold: "gold";
886
- }>, z.ZodObject<{
887
- cost: z.ZodNumber;
888
- perks: z.ZodArray<z.ZodString>;
889
- }, z.core.$strip>>;
890
- type TierList = z.infer<typeof TierList>;
891
- declare const Notification: z.ZodObject<{
892
- _id: z.ZodString;
893
- code: z.ZodLiteral<"INVITE_RESPONSE" | "COMPANY_INVITE" | "DEV_MESSAGE" | "ALERT">;
894
- payload: z.ZodString;
895
- isArchived: z.ZodOptional<z.ZodBoolean>;
896
- rcpt: z.ZodNullable<z.ZodUnion<[z.ZodUUID, z.ZodUUID]>>;
897
- src: z.ZodObject<{
898
- _id: z.ZodUnion<[z.ZodUUID, z.ZodUUID]>;
899
- name: z.ZodString;
900
- photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
901
- }, z.core.$strip>;
902
- createdAt: z.ZodISODateTime;
903
- }, z.core.$strip>;
904
- type Notification = z.infer<typeof Notification>;
905
- declare const CreditCurrency: z.ZodObject<{
906
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
907
- lastModified: z.ZodOptional<z.ZodISODateTime>;
908
- uid: z.ZodUUID;
909
- cost: z.ZodObject<{
910
- value: z.ZodNumber;
911
- currency: z.ZodEnum<{
912
- JMD: "JMD";
913
- }>;
914
- }, z.core.$strip>;
915
- value: z.ZodInt;
916
- }, z.core.$strip>;
917
- type CreditCurrency = z.infer<typeof CreditCurrency>;
918
- declare const PaymentDetails: z.ZodObject<{
919
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
920
- lastModified: z.ZodOptional<z.ZodISODateTime>;
921
- uid: z.ZodUUID;
922
- method: z.ZodEnum<{
923
- cash: "cash";
924
- card: "card";
925
- insurance: "insurance";
926
- }>;
927
- currency: z.ZodEnum<{
928
- JMD: "JMD";
929
- }>;
930
- amount: z.ZodNumber;
931
- }, z.core.$strip>;
932
- type PaymentDetails = z.infer<typeof PaymentDetails>;
933
-
934
895
  declare const Vitals: z.ZodRecord<z.ZodEnum<{
935
896
  heartRate: "heartRate";
936
897
  respiratoryRate: "respiratoryRate";
@@ -985,97 +946,6 @@ declare const MedicalDetails: z.ZodObject<{
985
946
  }, z.core.$strip>;
986
947
  type MedicalDetails = z.infer<typeof MedicalDetails>;
987
948
 
988
- declare const InvoiceNo: z.ZodString;
989
- declare const Trn: z.ZodString;
990
- declare const StandardTime: z.ZodString;
991
- declare const Timestamp: z.ZodISODateTime;
992
- declare const InviteResponse: z.ZodEnum<{
993
- accepted: "accepted";
994
- declined: "declined";
995
- }>;
996
- type InviteResponse = z.infer<typeof InviteResponse>;
997
- declare const TimeLog: z.ZodObject<{
998
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
999
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1000
- }, z.core.$strip>;
1001
- type TimeLog = z.infer<typeof TimeLog>;
1002
- declare const TicketNo: z.ZodReadonly<z.ZodInt>;
1003
- declare const Reason: z.ZodObject<{
1004
- value: z.ZodString;
1005
- lastModified: z.ZodISODateTime;
1006
- }, z.core.$strip>;
1007
- declare const AlphaNumeric: z.ZodString;
1008
-
1009
- declare const PriceMod: z.ZodObject<{
1010
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1011
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1012
- description: z.ZodString;
1013
- fixedAmount: z.ZodObject<{
1014
- value: z.ZodNumber;
1015
- currency: z.ZodEnum<{
1016
- JMD: "JMD";
1017
- }>;
1018
- }, z.core.$strip>;
1019
- percentage: z.ZodNumber;
1020
- isOptional: z.ZodBoolean;
1021
- }, z.core.$strip>;
1022
- type PriceMod = z.infer<typeof PriceMod>;
1023
- declare const PriceModList: z.ZodRecord<z.ZodUUID, z.ZodObject<{
1024
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1025
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1026
- description: z.ZodString;
1027
- fixedAmount: z.ZodObject<{
1028
- value: z.ZodNumber;
1029
- currency: z.ZodEnum<{
1030
- JMD: "JMD";
1031
- }>;
1032
- }, z.core.$strip>;
1033
- percentage: z.ZodNumber;
1034
- isOptional: z.ZodBoolean;
1035
- }, z.core.$strip>>;
1036
- type PriceModList = z.infer<typeof PriceModList>;
1037
- declare const PriceTag: z.ZodObject<{
1038
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1039
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1040
- uid: z.ZodUUID;
1041
- item: z.ZodString;
1042
- cost: z.ZodNumber;
1043
- currency: z.ZodEnum<{
1044
- JMD: "JMD";
1045
- }>;
1046
- }, z.core.$strip>;
1047
- type PriceTag = z.infer<typeof PriceTag>;
1048
- declare const Receipts: z.ZodArray<z.ZodObject<{
1049
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1050
- currency: z.ZodEnum<{
1051
- JMD: "JMD";
1052
- }>;
1053
- item: z.ZodString;
1054
- cost: z.ZodNumber;
1055
- }, z.core.$strip>>;
1056
-
1057
- declare const UserDetails: z.ZodObject<{
1058
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1059
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1060
- _id: z.ZodUUID;
1061
- email: z.ZodEmail;
1062
- phoneNumber: z.ZodOptional<z.ZodString>;
1063
- name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1064
- publicKey: z.ZodOptional<z.ZodString>;
1065
- usedStorageInBytes: z.ZodReadonly<z.ZodRecord<z.ZodUnion<[z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodLiteral<"gp">]>, z.ZodObject<{
1066
- createdAt: z.ZodReadonly<z.ZodISODateTime>;
1067
- lastModified: z.ZodOptional<z.ZodISODateTime>;
1068
- current: z.ZodNumber;
1069
- }, z.core.$strip>>>;
1070
- lastSignedIn: z.ZodObject<{
1071
- auto: z.ZodOptional<z.ZodISODateTime>;
1072
- manual: z.ZodOptional<z.ZodISODateTime>;
1073
- }, z.core.$strip>;
1074
- companyIds: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
1075
- photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1076
- }, z.core.$strip>;
1077
- type UserDetails = z.infer<typeof UserDetails>;
1078
-
1079
949
  declare const ServiceSeverity: z.ZodObject<{
1080
950
  "1": z.ZodLiteral<"Emergency">;
1081
951
  "2": z.ZodLiteral<"Important">;
@@ -1356,6 +1226,171 @@ declare const MutableServiceDetails: z.ZodObject<{
1356
1226
  }, z.core.$strip>;
1357
1227
  type MutableServiceDetails = z.infer<typeof MutableServiceDetails>;
1358
1228
 
1229
+ declare const COMPANY_USER_RELATIONSHIP: Partial<Record<CompanyUserRole, CompanyUserRole[]>>;
1230
+
1231
+ declare const TierList: z.ZodRecord<z.ZodEnum<{
1232
+ basic: "basic";
1233
+ pro: "pro";
1234
+ premium: "premium";
1235
+ gold: "gold";
1236
+ }>, z.ZodObject<{
1237
+ cost: z.ZodNumber;
1238
+ perks: z.ZodArray<z.ZodString>;
1239
+ }, z.core.$strip>>;
1240
+ type TierList = z.infer<typeof TierList>;
1241
+ declare const Notification: z.ZodObject<{
1242
+ _id: z.ZodString;
1243
+ code: z.ZodLiteral<"INVITE_RESPONSE" | "COMPANY_INVITE" | "DEV_MESSAGE" | "ALERT">;
1244
+ payload: z.ZodString;
1245
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1246
+ rcpt: z.ZodNullable<z.ZodUnion<[z.ZodUUID, z.ZodUUID]>>;
1247
+ src: z.ZodObject<{
1248
+ _id: z.ZodUnion<[z.ZodUUID, z.ZodUUID]>;
1249
+ name: z.ZodString;
1250
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1251
+ }, z.core.$strip>;
1252
+ createdAt: z.ZodISODateTime;
1253
+ }, z.core.$strip>;
1254
+ type Notification = z.infer<typeof Notification>;
1255
+ declare const CreditCurrency: z.ZodObject<{
1256
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1257
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1258
+ uid: z.ZodUUID;
1259
+ cost: z.ZodObject<{
1260
+ value: z.ZodNumber;
1261
+ currency: z.ZodEnum<{
1262
+ JMD: "JMD";
1263
+ }>;
1264
+ }, z.core.$strip>;
1265
+ value: z.ZodInt;
1266
+ }, z.core.$strip>;
1267
+ type CreditCurrency = z.infer<typeof CreditCurrency>;
1268
+ declare const PaymentDetails: z.ZodObject<{
1269
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1270
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1271
+ uid: z.ZodUUID;
1272
+ method: z.ZodEnum<{
1273
+ cash: "cash";
1274
+ card: "card";
1275
+ insurance: "insurance";
1276
+ }>;
1277
+ currency: z.ZodEnum<{
1278
+ JMD: "JMD";
1279
+ }>;
1280
+ amount: z.ZodNumber;
1281
+ }, z.core.$strip>;
1282
+ type PaymentDetails = z.infer<typeof PaymentDetails>;
1283
+
1284
+ declare const InvoiceNo: z.ZodString;
1285
+ declare const Trn: z.ZodString;
1286
+ declare const StandardTime: z.ZodString;
1287
+ declare const Timestamp: z.ZodISODateTime;
1288
+ declare const InviteResponse: z.ZodEnum<{
1289
+ accepted: "accepted";
1290
+ declined: "declined";
1291
+ }>;
1292
+ type InviteResponse = z.infer<typeof InviteResponse>;
1293
+ declare const TimeLog: z.ZodObject<{
1294
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1295
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1296
+ }, z.core.$strip>;
1297
+ type TimeLog = z.infer<typeof TimeLog>;
1298
+ declare const TicketNo: z.ZodReadonly<z.ZodInt>;
1299
+ declare const Reason: z.ZodObject<{
1300
+ value: z.ZodString;
1301
+ lastModified: z.ZodISODateTime;
1302
+ }, z.core.$strip>;
1303
+ declare const AlphaNumeric: z.ZodString;
1304
+
1305
+ declare const PriceMod: z.ZodObject<{
1306
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1307
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1308
+ description: z.ZodString;
1309
+ fixedAmount: z.ZodObject<{
1310
+ value: z.ZodNumber;
1311
+ currency: z.ZodEnum<{
1312
+ JMD: "JMD";
1313
+ }>;
1314
+ }, z.core.$strip>;
1315
+ percentage: z.ZodNumber;
1316
+ isOptional: z.ZodBoolean;
1317
+ }, z.core.$strip>;
1318
+ type PriceMod = z.infer<typeof PriceMod>;
1319
+ declare const PriceModList: z.ZodRecord<z.ZodUUID, z.ZodObject<{
1320
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1321
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1322
+ description: z.ZodString;
1323
+ fixedAmount: z.ZodObject<{
1324
+ value: z.ZodNumber;
1325
+ currency: z.ZodEnum<{
1326
+ JMD: "JMD";
1327
+ }>;
1328
+ }, z.core.$strip>;
1329
+ percentage: z.ZodNumber;
1330
+ isOptional: z.ZodBoolean;
1331
+ }, z.core.$strip>>;
1332
+ type PriceModList = z.infer<typeof PriceModList>;
1333
+ declare const PriceTag: z.ZodObject<{
1334
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1335
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1336
+ uid: z.ZodUUID;
1337
+ item: z.ZodString;
1338
+ cost: z.ZodNumber;
1339
+ currency: z.ZodEnum<{
1340
+ JMD: "JMD";
1341
+ }>;
1342
+ }, z.core.$strip>;
1343
+ type PriceTag = z.infer<typeof PriceTag>;
1344
+ declare const Receipts: z.ZodArray<z.ZodObject<{
1345
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1346
+ currency: z.ZodEnum<{
1347
+ JMD: "JMD";
1348
+ }>;
1349
+ item: z.ZodString;
1350
+ cost: z.ZodNumber;
1351
+ }, z.core.$strip>>;
1352
+
1353
+ declare const UserDetails: z.ZodObject<{
1354
+ createdAt: z.ZodReadonly<z.ZodISODateTime>;
1355
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1356
+ email: z.ZodEmail;
1357
+ _id: z.ZodUUID;
1358
+ name: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
1359
+ publicKey: z.ZodOptional<z.ZodString>;
1360
+ lastSignedIn: z.ZodObject<{
1361
+ auto: z.ZodOptional<z.ZodISODateTime>;
1362
+ manual: z.ZodOptional<z.ZodISODateTime>;
1363
+ }, z.core.$strip>;
1364
+ companyIds: z.ZodOptional<z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
1365
+ photoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1366
+ phoneNumber: z.ZodOptional<z.ZodString>;
1367
+ }, z.core.$strip>;
1368
+ type UserDetails = z.infer<typeof UserDetails>;
1369
+
1370
+ declare const UserStorage: z.ZodObject<{
1371
+ _id: z.ZodUUID;
1372
+ profile: z.ZodObject<{
1373
+ current: z.ZodNumber;
1374
+ class: z.ZodString;
1375
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1376
+ }, z.core.$strip>;
1377
+ company: z.ZodOptional<z.ZodRecord<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>, z.ZodObject<{
1378
+ class: z.ZodString;
1379
+ items: z.ZodRecord<z.ZodEnum<{
1380
+ state: "state";
1381
+ identity: "identity";
1382
+ preference: "preference";
1383
+ billing: "billing";
1384
+ staff: "staff";
1385
+ }>, z.ZodObject<{
1386
+ current: z.ZodNumber;
1387
+ lastModified: z.ZodOptional<z.ZodISODateTime>;
1388
+ }, z.core.$strip>>;
1389
+ }, z.core.$strip>>>;
1390
+ createdAt: z.ZodISODateTime;
1391
+ }, z.core.$strip>;
1392
+ type UserStorage = z.infer<typeof UserStorage>;
1393
+
1359
1394
  /** @disclaimer This doesn't handle currency conversion */
1360
1395
  declare function calcBalance(components: Prettify<Partial<Pick<ServiceDetails, "charges" | "discounts" | "additionalFees" | "prepayments" | "payments">>>, options?: {
1361
1396
  logger?: boolean;
@@ -1377,4 +1412,4 @@ declare function createNotifId(options?: {
1377
1412
  to: string;
1378
1413
  }): string;
1379
1414
 
1380
- export { type AcceptedCurrency, AlphaNumeric, COMPANY_USER_RELATIONSHIP, ClientDetails, ClientForm, CompanyBilling, CompanyDetails, CompanyIdentity, CompanyIndustry, CompanyMemberRoles, CompanyNotifications, CompanyPreference, type CompanyServiceSelector, CompanySession, CompanyStaff, CompanyState, type CompanyUserRole, CreateCompanyForm, CreditCurrency, type EmployeeRole, type Gender, type HealthcareProviderRole, InviteResponse, InvoiceNo, MAX_COMPANY_PRICE_MODS, MedicalDetails, Medicine, MutableCompanyBilling, MutableCompanyDetails, MutableCompanyIdentity, MutableCompanyPreferences, MutableCompanyStaff, MutableServiceDetails, Notification, PaymentDetails, type PaymentMethod, PriceMod, PriceModList, PriceTag, Reason, Receipts, ServiceDetails, type ServiceDistAlg, ServiceSeverity, StandardTime, TicketNo, type Tier, TierList, TimeLog, Timestamp, Trn, UserDetails, Vitals, _CompanyDetails, acceptedCurrencies, adminRoles, calcBalance, calcPriceMod, companyServiceSelectors, companyUserRoles, createNotifId, employeeRoles, genders, getCompatibleRoles, getIncompatibleRoles, healthcareProviderRoles, normalizeCompanyId, normalizeNidKey, parseClientName, paymentMethods, safeParseSector, serviceDistAlgs, tiers, vitalKeys };
1415
+ export { type AcceptedCurrency, AlphaNumeric, COMPANY_USER_RELATIONSHIP, ClientDetails, ClientForm, CompanyBilling, CompanyDetails, CompanyIdentity, CompanyIndustry, CompanyMemberRoles, CompanyNotifications, CompanyPreference, type CompanyServiceSelector, CompanySession, CompanyStaff, CompanyState, type CompanyUserRole, CreateCompanyForm, CreditCurrency, type EmployeeRole, type Gender, type HealthcareProviderRole, InviteResponse, InvoiceNo, MAX_COMPANY_PRICE_MODS, MedicalDetails, Medicine, MutableCompanyBilling, MutableCompanyDetails, MutableCompanyIdentity, MutableCompanyPreferences, MutableCompanyStaff, MutableServiceDetails, Notification, PaymentDetails, type PaymentMethod, PriceMod, PriceModList, PriceTag, Reason, Receipts, ServiceDetails, type ServiceDistAlg, ServiceSeverity, StandardTime, TicketNo, type Tier, TierList, TimeLog, Timestamp, Trn, UserDetails, UserStorage, Vitals, _CompanyDetails, acceptedCurrencies, adminRoles, calcBalance, calcPriceMod, companyServiceSelectors, companyUserRoles, createNotifId, employeeRoles, genders, getCompatibleRoles, getIncompatibleRoles, healthcareProviderRoles, normalizeCompanyId, normalizeNidKey, parseClientName, paymentMethods, safeParseSector, serviceDistAlgs, tiers, vitalKeys };