@bizmap/sdk 0.0.3 → 0.0.5

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 CHANGED
@@ -127,6 +127,7 @@ declare const RegisterCompanyForm: z.ZodObject<{
127
127
  path: z.ZodString;
128
128
  extension: z.ZodString;
129
129
  description: z.ZodOptional<z.ZodString>;
130
+ mime: z.ZodString;
130
131
  alias: z.ZodEnum<{
131
132
  pdf: "pdf";
132
133
  word: "word";
@@ -145,6 +146,7 @@ declare const RegisterCompanyForm: z.ZodObject<{
145
146
  path: z.ZodString;
146
147
  extension: z.ZodString;
147
148
  description: z.ZodOptional<z.ZodString>;
149
+ mime: z.ZodString;
148
150
  alias: z.ZodEnum<{
149
151
  pdf: "pdf";
150
152
  word: "word";
@@ -179,7 +181,7 @@ declare const CompanyRegistrationClaims: z.ZodObject<{
179
181
  type CompanyRegistrationClaims = z.infer<typeof CompanyRegistrationClaims>;
180
182
 
181
183
  declare const UserCompaniesDTO: z.ZodObject<{
182
- companies: {
184
+ companies: z.ZodArray<z.ZodObject<{
183
185
  createdAt: z.ZodReadonly<z.ZodNumber>;
184
186
  lastModified: z.ZodNullable<z.ZodNumber>;
185
187
  uid: z.ZodString;
@@ -194,7 +196,7 @@ declare const UserCompaniesDTO: z.ZodObject<{
194
196
  country: "country";
195
197
  }>, z.ZodString>;
196
198
  phoneNumber: z.ZodOptional<z.ZodString>;
197
- };
199
+ }, z.core.$strip>>;
198
200
  }, z.core.$strip>;
199
201
  type UserCompaniesDTO = z.infer<typeof UserCompaniesDTO>;
200
202
  declare const companyUserRoles: z.ZodEnum<{
package/dist/main.js CHANGED
@@ -33,7 +33,7 @@ var PriceTag = z2.object({
33
33
  // src/schemas/Company.ts
34
34
  import {
35
35
  Address,
36
- Currencies,
36
+ currencies,
37
37
  FileDetails,
38
38
  PhoneNumber,
39
39
  UserModel as UserModel2
@@ -44,7 +44,7 @@ import * as z4 from "zod";
44
44
  import * as z3 from "zod";
45
45
  import { UserModel } from "@wavy/util";
46
46
  var UserCompaniesDTO = z3.object({
47
- companies: CompanyInfo.shape
47
+ companies: z3.array(CompanyInfo)
48
48
  });
49
49
  var companyUserRoles = z3.enum([
50
50
  "doc",
@@ -114,11 +114,11 @@ var CompanyBillingModel = z4.object({
114
114
  trn: z4.string().nullish(),
115
115
  gctRegNo: z4.string().nullish(),
116
116
  billingProvider: companyUserRoles.extract(["doc", "physAsst"]),
117
- primaryCurrency: Currencies,
117
+ primaryCurrency: currencies,
118
118
  additionalFees: z4.array(PriceAdjustment).optional(),
119
119
  discounts: z4.array(PriceAdjustment).optional(),
120
120
  services: z4.array(PriceTag),
121
- acceptedCurrencies: z4.array(Currencies),
121
+ acceptedCurrencies: z4.array(currencies),
122
122
  ...TimeLog.shape
123
123
  });
124
124
  var RegisterCompanyForm = z4.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizmap/sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "type": "module",
@@ -15,9 +15,12 @@
15
15
  "keywords": [],
16
16
  "author": "",
17
17
  "license": "MIT",
18
+ "peerDependencies": {
19
+ "zod": "^4.2.1"
20
+ },
18
21
  "description": "",
19
22
  "devDependencies": {
20
- "@wavy/util": "^0.0.4",
23
+ "@wavy/util": "^0.0.7",
21
24
  "tsup": "^8.5.0",
22
25
  "typescript": "^5.9.2",
23
26
  "zod": "^4.2.1"