@bizmap/sdk 0.0.46 → 0.0.48

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
@@ -73,12 +73,12 @@ declare const CompanyDetails: z.ZodObject<{
73
73
  country: z.ZodString;
74
74
  }, z.core.$strip>;
75
75
  tier: z.ZodObject<{
76
- current: z.ZodDefault<z.ZodEnum<{
76
+ current: z.ZodEnum<{
77
77
  free: "free";
78
78
  pro: "pro";
79
79
  premium: "premium";
80
80
  gold: "gold";
81
- }>>;
81
+ }>;
82
82
  lastModified: z.ZodNullable<z.ZodInt>;
83
83
  }, z.core.$strip>;
84
84
  legal: z.ZodObject<{
@@ -461,12 +461,12 @@ declare const PartialCompanyDetails: z.ZodObject<{
461
461
  country: z.ZodString;
462
462
  }, z.core.$strip>;
463
463
  tier: z.ZodObject<{
464
- current: z.ZodDefault<z.ZodEnum<{
464
+ current: z.ZodEnum<{
465
465
  free: "free";
466
466
  pro: "pro";
467
467
  premium: "premium";
468
468
  gold: "gold";
469
- }>>;
469
+ }>;
470
470
  lastModified: z.ZodNullable<z.ZodInt>;
471
471
  }, z.core.$strip>;
472
472
  legal: z.ZodObject<{
package/dist/main.js CHANGED
@@ -57,11 +57,7 @@ var PriceTag = z2.object({
57
57
  });
58
58
 
59
59
  // src/schemas/Company.ts
60
- import {
61
- Address,
62
- PhoneNumber,
63
- UserModel
64
- } from "@wavy/util";
60
+ import { Address, PhoneNumber, UserModel } from "@wavy/util";
65
61
  import * as z4 from "zod";
66
62
 
67
63
  // src/enums/CompanyEnums.ts
@@ -133,7 +129,7 @@ var CompanyIdentity = z4.object({
133
129
  address: Address,
134
130
  // Can only be changed by the server
135
131
  tier: z4.object({
136
- current: tiers.default("free"),
132
+ current: tiers,
137
133
  lastModified: Timestamp.nullable()
138
134
  }),
139
135
  legal: z4.object({
@@ -297,9 +293,8 @@ var PartialCompanyDetails = createCompanyDetails({ partial: true });
297
293
 
298
294
  // src/schemas/Global.ts
299
295
  import * as z5 from "zod";
300
- import { tiers as tiers2 } from "src/main";
301
296
  var TierList = z5.record(
302
- tiers2,
297
+ tiers,
303
298
  z5.object({
304
299
  cost: z5.number().min(0),
305
300
  perks: z5.array(z5.string()).min(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizmap/sdk",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "main": "./dist/main.js",
5
5
  "types": "./dist/main.d.ts",
6
6
  "type": "module",