shred-api-client 2.4.6 → 2.4.8

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/index.d.ts CHANGED
@@ -2984,4 +2984,4 @@ declare namespace index {
2984
2984
  export { index_AssetSchema as AssetSchema, type Asset as Entity };
2985
2985
  }
2986
2986
 
2987
- export { index as Asset, index$a as Core, index$6 as Email, index$1 as Exceptions, index$4 as Goal, index$2 as Note, index$3 as Notification, index$5 as Project, index$c as Prompt, index$b as Subscription, index$8 as Tenant, index$7 as Track, index$9 as User, ShredAPI as default };
2987
+ export { index as Asset, index$a as Core, index$6 as Email, index$1 as Exceptions, index$4 as Goal, index$2 as Note, index$3 as Notification, index$5 as Project, index$c as Prompt, ShredAPI, index$b as Subscription, index$8 as Tenant, index$7 as Track, index$9 as User, ShredAPI as default };
package/dist/index.js CHANGED
@@ -39,6 +39,7 @@ __export(index_exports, {
39
39
  Notification: () => notification_exports,
40
40
  Project: () => project_exports,
41
41
  Prompt: () => prompt_exports,
42
+ ShredAPI: () => ShredAPI,
42
43
  Subscription: () => subscription_exports,
43
44
  Tenant: () => tenant_exports,
44
45
  Track: () => track_exports,
@@ -469,7 +470,7 @@ var ZodError = class _ZodError extends Error {
469
470
  return this.issues.length === 0;
470
471
  }
471
472
  flatten(mapper = (issue) => issue.message) {
472
- const fieldErrors = {};
473
+ const fieldErrors = /* @__PURE__ */ Object.create(null);
473
474
  const formErrors = [];
474
475
  for (const sub of this.issues) {
475
476
  if (sub.path.length > 0) {
@@ -3962,7 +3963,7 @@ ZodNaN.create = (params) => {
3962
3963
  ...processCreateParams(params)
3963
3964
  });
3964
3965
  };
3965
- var BRAND = Symbol("zod_brand");
3966
+ var BRAND = /* @__PURE__ */ Symbol("zod_brand");
3966
3967
  var ZodBranded = class extends ZodType {
3967
3968
  _parse(input) {
3968
3969
  const { ctx } = this._processInputParams(input);
@@ -4166,14 +4167,14 @@ var ostring = () => stringType().optional();
4166
4167
  var onumber = () => numberType().optional();
4167
4168
  var oboolean = () => booleanType().optional();
4168
4169
  var coerce = {
4169
- string: (arg) => ZodString.create({ ...arg, coerce: true }),
4170
- number: (arg) => ZodNumber.create({ ...arg, coerce: true }),
4171
- boolean: (arg) => ZodBoolean.create({
4170
+ string: ((arg) => ZodString.create({ ...arg, coerce: true })),
4171
+ number: ((arg) => ZodNumber.create({ ...arg, coerce: true })),
4172
+ boolean: ((arg) => ZodBoolean.create({
4172
4173
  ...arg,
4173
4174
  coerce: true
4174
- }),
4175
- bigint: (arg) => ZodBigInt.create({ ...arg, coerce: true }),
4176
- date: (arg) => ZodDate.create({ ...arg, coerce: true })
4175
+ })),
4176
+ bigint: ((arg) => ZodBigInt.create({ ...arg, coerce: true })),
4177
+ date: ((arg) => ZodDate.create({ ...arg, coerce: true }))
4177
4178
  };
4178
4179
  var NEVER = INVALID;
4179
4180