@doist/todoist-api-typescript 5.7.0 → 5.7.1

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.
@@ -703,7 +703,7 @@ export declare const ActivityEventSchema: z.ZodObject<{
703
703
  objectId: z.ZodString;
704
704
  eventType: z.ZodString;
705
705
  eventDate: z.ZodString;
706
- id: z.ZodNullable<z.ZodString>;
706
+ id: z.ZodNullable<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<string, string | number>>>;
707
707
  parentProjectId: z.ZodNullable<z.ZodString>;
708
708
  parentItemId: z.ZodNullable<z.ZodString>;
709
709
  initiatorId: z.ZodNullable<z.ZodString>;
@@ -310,7 +310,10 @@ exports.ActivityEventSchema = zod_1.z
310
310
  objectId: zod_1.z.string(),
311
311
  eventType: zod_1.z.string(),
312
312
  eventDate: zod_1.z.string(),
313
- id: zod_1.z.string().nullable(),
313
+ id: zod_1.z
314
+ .union([zod_1.z.string(), zod_1.z.number()])
315
+ .transform(function (val) { var _a; return (_a = val === null || val === void 0 ? void 0 : val.toString()) !== null && _a !== void 0 ? _a : null; })
316
+ .nullable(),
314
317
  parentProjectId: zod_1.z.string().nullable(),
315
318
  parentItemId: zod_1.z.string().nullable(),
316
319
  initiatorId: zod_1.z.string().nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-api-typescript",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "A typescript wrapper for the Todoist REST API.",
5
5
  "author": "Doist developers",
6
6
  "repository": "git@github.com:doist/todoist-api-typescript.git",