shred-api-client 1.14.1 → 1.14.3

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.
@@ -1,10 +1,11 @@
1
1
  import Environment from "../model/Env";
2
- import { Approve, Project, ProjectAPISchema, ProjectCreation, Query, SendToApproval } from "../model/Project.schema";
2
+ import { Approve, Goal, Project, ProjectAPISchema, ProjectCreation, Query, SendToApproval } from "../model/Project.schema";
3
3
  import Context from "../model/Context";
4
4
  declare class ProjectAPI implements ProjectAPISchema {
5
5
  private env;
6
6
  private clientHTTP;
7
7
  constructor(env: Environment);
8
+ getGoals(context: Context): Promise<Goal[]>;
8
9
  find(context: Context, projectId: string): Promise<Project>;
9
10
  create(context: Context, createData: ProjectCreation): Promise<Project>;
10
11
  review(ctx: Context, pId: string, revision: string): Promise<boolean>;
@@ -10,6 +10,11 @@ class ProjectAPI {
10
10
  this.env = env;
11
11
  this.clientHTTP = new HTTPClient_1.default();
12
12
  }
13
+ async getGoals(context) {
14
+ const endpointData = Project_schema_1.ProjectEndpoints.GetGoals;
15
+ const data = await this.clientHTTP.makeRequest(this.env, endpointData.uri, endpointData.method, null, context);
16
+ return data;
17
+ }
13
18
  async find(context, projectId) {
14
19
  const endpointData = Project_schema_1.ProjectEndpoints.FindOne;
15
20
  const endpoint = endpointData.uri.replace(":projectId", projectId);
@@ -8,11 +8,26 @@ import { TenantAPISchema } from "./Tenant.schema";
8
8
  import { ProjectAPISchema } from "./Project.schema";
9
9
  import { APPConfigSchema } from "./AppConfig.schema";
10
10
  import { TrackAPISchema } from "./Track.schema";
11
+ export type QueryOrderBy<T> = {
12
+ field: keyof T | "modified";
13
+ direction: "asc" | "desc";
14
+ };
15
+ export type QueryWhere<T> = {
16
+ field: keyof T | "modified";
17
+ operation: "==" | "!=" | ">" | "<" | ">=" | "<=" | "in" | "array-contains";
18
+ value: T[keyof T] | T[keyof T][];
19
+ };
20
+ export type QueryOptions<T> = {
21
+ perPage?: number;
22
+ cursor?: string | number | null;
23
+ orderBy?: QueryOrderBy<T>;
24
+ wheres?: QueryWhere<T>[];
25
+ };
11
26
  export type APIResponse<T> = {
12
- perPage: number;
13
- last?: T;
14
27
  data: T[];
15
28
  count: number;
29
+ cursor?: string | number | null;
30
+ perPage?: number;
16
31
  };
17
32
  export declare class ShredAPI {
18
33
  user: UserAPISchema;
@@ -1,13 +1,43 @@
1
- type Asset = {
2
- duration?: number;
1
+ import { z } from "zod";
2
+ declare const AssetSchema: z.ZodObject<{
3
+ assetId: z.ZodString;
4
+ fileName: z.ZodString;
5
+ extension: z.ZodString;
6
+ fileSize: z.ZodNumber;
7
+ assetUrl: z.ZodString;
8
+ thumbnailUrl: z.ZodString;
9
+ type: z.ZodString;
10
+ duration: z.ZodOptional<z.ZodNumber>;
11
+ progress: z.ZodOptional<z.ZodNumber>;
12
+ error: z.ZodOptional<z.ZodString>;
13
+ authorId: z.ZodString;
14
+ uploadedAt: z.ZodNumber;
15
+ }, "strip", z.ZodTypeAny, {
16
+ assetId: string;
3
17
  fileName: string;
4
18
  extension: string;
5
19
  fileSize: number;
6
- thumbnailUrl: string;
7
20
  assetUrl: string;
21
+ thumbnailUrl: string;
8
22
  type: string;
23
+ authorId: string;
24
+ uploadedAt: number;
25
+ duration?: number | undefined;
26
+ progress?: number | undefined;
27
+ error?: string | undefined;
28
+ }, {
9
29
  assetId: string;
10
- progress?: number;
11
- error?: string;
12
- };
13
- export { Asset };
30
+ fileName: string;
31
+ extension: string;
32
+ fileSize: number;
33
+ assetUrl: string;
34
+ thumbnailUrl: string;
35
+ type: string;
36
+ authorId: string;
37
+ uploadedAt: number;
38
+ duration?: number | undefined;
39
+ progress?: number | undefined;
40
+ error?: string | undefined;
41
+ }>;
42
+ type Asset = z.infer<typeof AssetSchema>;
43
+ export { Asset, AssetSchema };
@@ -1,2 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AssetSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const AssetSchema = zod_1.z.object({
6
+ assetId: zod_1.z.string(),
7
+ fileName: zod_1.z.string(),
8
+ extension: zod_1.z.string(),
9
+ fileSize: zod_1.z.number(),
10
+ assetUrl: zod_1.z.string().url(),
11
+ thumbnailUrl: zod_1.z.string().url(),
12
+ type: zod_1.z.string(),
13
+ duration: zod_1.z.number().optional(),
14
+ progress: zod_1.z.number().optional(),
15
+ error: zod_1.z.string().optional(),
16
+ authorId: zod_1.z.string(),
17
+ uploadedAt: zod_1.z.number(),
18
+ });
19
+ exports.AssetSchema = AssetSchema;
@@ -27,6 +27,7 @@ interface ProjectAPISchema {
27
27
  deny: (context: Context, projectId: string, denyFeedback: string, categories?: string[]) => Promise<boolean>;
28
28
  unschedule: (context: Context, projectId: string) => Promise<boolean>;
29
29
  rollback: (context: Context, projectId: string) => Promise<boolean>;
30
+ getGoals: (context: Context) => Promise<Goal[]>;
30
31
  }
31
32
  declare const ProjectEndpoints: {
32
33
  List: {
@@ -41,6 +42,10 @@ declare const ProjectEndpoints: {
41
42
  uri: string;
42
43
  method: string;
43
44
  };
45
+ GetGoals: {
46
+ uri: string;
47
+ method: string;
48
+ };
44
49
  Review: {
45
50
  uri: string;
46
51
  method: string;
@@ -122,4 +127,26 @@ type Project = {
122
127
  tenantId?: string;
123
128
  status: Status;
124
129
  };
125
- export { Project, ProjectAPISchema, ProjectEndpoints, TimelineItem };
130
+ type DailyMilestone = {
131
+ id: string;
132
+ date: string;
133
+ target: number;
134
+ progress: number;
135
+ };
136
+ type WeeklyMilestone = {
137
+ id: string;
138
+ week: string;
139
+ target: number;
140
+ progress: number;
141
+ dailyMilestones: DailyMilestone[];
142
+ };
143
+ type Goal = {
144
+ id: string;
145
+ editorId: string;
146
+ month: string;
147
+ target: number;
148
+ progress: number;
149
+ createdAt: number;
150
+ weeklyMilestones: WeeklyMilestone[];
151
+ };
152
+ export { Project, DailyMilestone, WeeklyMilestone, Goal, ProjectAPISchema, ProjectEndpoints, TimelineItem, };
@@ -14,6 +14,10 @@ const ProjectEndpoints = {
14
14
  uri: `/projects/:projectId/`,
15
15
  method: "GET",
16
16
  },
17
+ GetGoals: {
18
+ uri: `/projects/goals/list/`,
19
+ method: "GET",
20
+ },
17
21
  Review: {
18
22
  uri: "/projects/:projectId/review/",
19
23
  method: "POST",
@@ -1,4 +1,5 @@
1
1
  import Context from "./Context";
2
+ import { z } from "zod";
2
3
  export type Update = Pick<User, "name" | "profession" | "preferences" | "photoUrl" | "fcmToken" | "timezone" | "experienceId">;
3
4
  interface UserAPISchema {
4
5
  getUserInfo: (context: Context) => Promise<User>;
@@ -114,4 +115,139 @@ type User = {
114
115
  customerId: string;
115
116
  role: Role;
116
117
  };
118
+ export declare const NoteSchema: z.ZodObject<{
119
+ id: z.ZodString;
120
+ authorEmail: z.ZodString;
121
+ content: z.ZodString;
122
+ createdAt: z.ZodNumber;
123
+ modified: z.ZodNumber;
124
+ }, "strip", z.ZodTypeAny, {
125
+ id: string;
126
+ authorEmail: string;
127
+ content: string;
128
+ createdAt: number;
129
+ modified: number;
130
+ }, {
131
+ id: string;
132
+ authorEmail: string;
133
+ content: string;
134
+ createdAt: number;
135
+ modified: number;
136
+ }>;
137
+ export declare const UserNoteSchema: z.ZodObject<{
138
+ userId: z.ZodString;
139
+ notes: z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ authorEmail: z.ZodString;
142
+ content: z.ZodString;
143
+ createdAt: z.ZodNumber;
144
+ modified: z.ZodNumber;
145
+ }, "strip", z.ZodTypeAny, {
146
+ id: string;
147
+ authorEmail: string;
148
+ content: string;
149
+ createdAt: number;
150
+ modified: number;
151
+ }, {
152
+ id: string;
153
+ authorEmail: string;
154
+ content: string;
155
+ createdAt: number;
156
+ modified: number;
157
+ }>, "many">;
158
+ assets: z.ZodArray<z.ZodObject<{
159
+ assetId: z.ZodString;
160
+ fileName: z.ZodString;
161
+ extension: z.ZodString;
162
+ fileSize: z.ZodNumber;
163
+ assetUrl: z.ZodString;
164
+ thumbnailUrl: z.ZodString;
165
+ type: z.ZodString;
166
+ duration: z.ZodOptional<z.ZodNumber>;
167
+ progress: z.ZodOptional<z.ZodNumber>;
168
+ error: z.ZodOptional<z.ZodString>;
169
+ authorId: z.ZodString;
170
+ uploadedAt: z.ZodNumber;
171
+ }, "strip", z.ZodTypeAny, {
172
+ assetId: string;
173
+ fileName: string;
174
+ extension: string;
175
+ fileSize: number;
176
+ assetUrl: string;
177
+ thumbnailUrl: string;
178
+ type: string;
179
+ authorId: string;
180
+ uploadedAt: number;
181
+ duration?: number | undefined;
182
+ progress?: number | undefined;
183
+ error?: string | undefined;
184
+ }, {
185
+ assetId: string;
186
+ fileName: string;
187
+ extension: string;
188
+ fileSize: number;
189
+ assetUrl: string;
190
+ thumbnailUrl: string;
191
+ type: string;
192
+ authorId: string;
193
+ uploadedAt: number;
194
+ duration?: number | undefined;
195
+ progress?: number | undefined;
196
+ error?: string | undefined;
197
+ }>, "many">;
198
+ createdAt: z.ZodNumber;
199
+ modified: z.ZodNumber;
200
+ }, "strip", z.ZodTypeAny, {
201
+ createdAt: number;
202
+ modified: number;
203
+ userId: string;
204
+ notes: {
205
+ id: string;
206
+ authorEmail: string;
207
+ content: string;
208
+ createdAt: number;
209
+ modified: number;
210
+ }[];
211
+ assets: {
212
+ assetId: string;
213
+ fileName: string;
214
+ extension: string;
215
+ fileSize: number;
216
+ assetUrl: string;
217
+ thumbnailUrl: string;
218
+ type: string;
219
+ authorId: string;
220
+ uploadedAt: number;
221
+ duration?: number | undefined;
222
+ progress?: number | undefined;
223
+ error?: string | undefined;
224
+ }[];
225
+ }, {
226
+ createdAt: number;
227
+ modified: number;
228
+ userId: string;
229
+ notes: {
230
+ id: string;
231
+ authorEmail: string;
232
+ content: string;
233
+ createdAt: number;
234
+ modified: number;
235
+ }[];
236
+ assets: {
237
+ assetId: string;
238
+ fileName: string;
239
+ extension: string;
240
+ fileSize: number;
241
+ assetUrl: string;
242
+ thumbnailUrl: string;
243
+ type: string;
244
+ authorId: string;
245
+ uploadedAt: number;
246
+ duration?: number | undefined;
247
+ progress?: number | undefined;
248
+ error?: string | undefined;
249
+ }[];
250
+ }>;
251
+ export type Note = z.infer<typeof NoteSchema>;
252
+ export type UserNote = z.infer<typeof UserNoteSchema>;
117
253
  export { User, Preferences, UserAPISchema, UserEndpoints, Role, System };
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.System = exports.Role = exports.UserEndpoints = void 0;
3
+ exports.System = exports.Role = exports.UserEndpoints = exports.UserNoteSchema = exports.NoteSchema = void 0;
4
+ const Asset_schema_1 = require("./Asset.schema");
5
+ const zod_1 = require("zod");
4
6
  const UserEndpoints = {
5
7
  ChangeEmail: {
6
8
  uri: "/accounts/user/changeEmail",
@@ -79,3 +81,17 @@ var System;
79
81
  System["QA"] = "QA";
80
82
  System["ADMIN"] = "ADMIN";
81
83
  })(System || (exports.System = System = {}));
84
+ exports.NoteSchema = zod_1.z.object({
85
+ id: zod_1.z.string(),
86
+ authorEmail: zod_1.z.string().email(),
87
+ content: zod_1.z.string(),
88
+ createdAt: zod_1.z.number(),
89
+ modified: zod_1.z.number(),
90
+ });
91
+ exports.UserNoteSchema = zod_1.z.object({
92
+ userId: zod_1.z.string(),
93
+ notes: zod_1.z.array(exports.NoteSchema),
94
+ assets: zod_1.z.array(Asset_schema_1.AssetSchema),
95
+ createdAt: zod_1.z.number(),
96
+ modified: zod_1.z.number(),
97
+ });
@@ -1,10 +1,10 @@
1
1
  import { Product as TProduct, Subscription as TSubscription, Charge as TCharge } from "./model/Subscription.schema";
2
2
  import { Trigger as TTrigger, Criteria as TCriteria, NotificationDetail as TNContent, RecurrenceRule as TRRule, NotificationItem as TNotificaitonItem, History as THistory } from "./model/Notification.schema";
3
3
  import { APIResponse } from "./model/Api";
4
- import { System as TSystem, User as TUser, Preferences as UserPreferences, Role as TRole } from "./model/User.schema";
4
+ import { System as TSystem, User as TUser, Preferences as UserPreferences, Role as TRole, UserNote as TUserNote } from "./model/User.schema";
5
5
  import { Email as TEmail } from "./model/Email.schema";
6
6
  import { Asset as TAsset } from "./model/Asset.schema";
7
- import { Project as TProject, TimelineItem as TTimlineItem } from "./model/Project.schema";
7
+ import { Project as TProject, TimelineItem as TTimlineItem, WeeklyMilestone as TWeeklyMilestone, DailyMilestone as TDailyMilestone, Goal as TGoal } from "./model/Project.schema";
8
8
  import { Tenant as TTenant } from "./model/Tenant.schema";
9
9
  import { Track as TTrack } from "./model/Track.schema";
10
10
  import { Prompt as TPrompt, Script as TScript, Category as TCategory } from "./model/Prompt.schema";
@@ -30,6 +30,12 @@ export declare namespace Shred {
30
30
  type Category = TCategory;
31
31
  }
32
32
  }
33
+ export declare namespace Schemas { }
34
+ export declare namespace Goal {
35
+ type WeeklyMilestone = TWeeklyMilestone;
36
+ type DailyMilestone = TDailyMilestone;
37
+ type Month = TGoal;
38
+ }
33
39
  export declare namespace Notification {
34
40
  enum Frequency {
35
41
  DAILY = "daily",
@@ -74,4 +80,180 @@ export declare namespace Notification {
74
80
  }
75
81
  export declare namespace User {
76
82
  type Preferences = UserPreferences;
83
+ type Note = TUserNote;
77
84
  }
85
+ export declare const Schemas: {
86
+ Asset: import("zod").ZodObject<{
87
+ assetId: import("zod").ZodString;
88
+ fileName: import("zod").ZodString;
89
+ extension: import("zod").ZodString;
90
+ fileSize: import("zod").ZodNumber;
91
+ assetUrl: import("zod").ZodString;
92
+ thumbnailUrl: import("zod").ZodString;
93
+ type: import("zod").ZodString;
94
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
95
+ progress: import("zod").ZodOptional<import("zod").ZodNumber>;
96
+ error: import("zod").ZodOptional<import("zod").ZodString>;
97
+ authorId: import("zod").ZodString;
98
+ uploadedAt: import("zod").ZodNumber;
99
+ }, "strip", import("zod").ZodTypeAny, {
100
+ assetId: string;
101
+ fileName: string;
102
+ extension: string;
103
+ fileSize: number;
104
+ assetUrl: string;
105
+ thumbnailUrl: string;
106
+ type: string;
107
+ authorId: string;
108
+ uploadedAt: number;
109
+ duration?: number | undefined;
110
+ progress?: number | undefined;
111
+ error?: string | undefined;
112
+ }, {
113
+ assetId: string;
114
+ fileName: string;
115
+ extension: string;
116
+ fileSize: number;
117
+ assetUrl: string;
118
+ thumbnailUrl: string;
119
+ type: string;
120
+ authorId: string;
121
+ uploadedAt: number;
122
+ duration?: number | undefined;
123
+ progress?: number | undefined;
124
+ error?: string | undefined;
125
+ }>;
126
+ Note: import("zod").ZodObject<{
127
+ id: import("zod").ZodString;
128
+ authorEmail: import("zod").ZodString;
129
+ content: import("zod").ZodString;
130
+ createdAt: import("zod").ZodNumber;
131
+ modified: import("zod").ZodNumber;
132
+ }, "strip", import("zod").ZodTypeAny, {
133
+ id: string;
134
+ authorEmail: string;
135
+ content: string;
136
+ createdAt: number;
137
+ modified: number;
138
+ }, {
139
+ id: string;
140
+ authorEmail: string;
141
+ content: string;
142
+ createdAt: number;
143
+ modified: number;
144
+ }>;
145
+ UserNote: import("zod").ZodObject<{
146
+ userId: import("zod").ZodString;
147
+ notes: import("zod").ZodArray<import("zod").ZodObject<{
148
+ id: import("zod").ZodString;
149
+ authorEmail: import("zod").ZodString;
150
+ content: import("zod").ZodString;
151
+ createdAt: import("zod").ZodNumber;
152
+ modified: import("zod").ZodNumber;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ id: string;
155
+ authorEmail: string;
156
+ content: string;
157
+ createdAt: number;
158
+ modified: number;
159
+ }, {
160
+ id: string;
161
+ authorEmail: string;
162
+ content: string;
163
+ createdAt: number;
164
+ modified: number;
165
+ }>, "many">;
166
+ assets: import("zod").ZodArray<import("zod").ZodObject<{
167
+ assetId: import("zod").ZodString;
168
+ fileName: import("zod").ZodString;
169
+ extension: import("zod").ZodString;
170
+ fileSize: import("zod").ZodNumber;
171
+ assetUrl: import("zod").ZodString;
172
+ thumbnailUrl: import("zod").ZodString;
173
+ type: import("zod").ZodString;
174
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
175
+ progress: import("zod").ZodOptional<import("zod").ZodNumber>;
176
+ error: import("zod").ZodOptional<import("zod").ZodString>;
177
+ authorId: import("zod").ZodString;
178
+ uploadedAt: import("zod").ZodNumber;
179
+ }, "strip", import("zod").ZodTypeAny, {
180
+ assetId: string;
181
+ fileName: string;
182
+ extension: string;
183
+ fileSize: number;
184
+ assetUrl: string;
185
+ thumbnailUrl: string;
186
+ type: string;
187
+ authorId: string;
188
+ uploadedAt: number;
189
+ duration?: number | undefined;
190
+ progress?: number | undefined;
191
+ error?: string | undefined;
192
+ }, {
193
+ assetId: string;
194
+ fileName: string;
195
+ extension: string;
196
+ fileSize: number;
197
+ assetUrl: string;
198
+ thumbnailUrl: string;
199
+ type: string;
200
+ authorId: string;
201
+ uploadedAt: number;
202
+ duration?: number | undefined;
203
+ progress?: number | undefined;
204
+ error?: string | undefined;
205
+ }>, "many">;
206
+ createdAt: import("zod").ZodNumber;
207
+ modified: import("zod").ZodNumber;
208
+ }, "strip", import("zod").ZodTypeAny, {
209
+ createdAt: number;
210
+ modified: number;
211
+ userId: string;
212
+ notes: {
213
+ id: string;
214
+ authorEmail: string;
215
+ content: string;
216
+ createdAt: number;
217
+ modified: number;
218
+ }[];
219
+ assets: {
220
+ assetId: string;
221
+ fileName: string;
222
+ extension: string;
223
+ fileSize: number;
224
+ assetUrl: string;
225
+ thumbnailUrl: string;
226
+ type: string;
227
+ authorId: string;
228
+ uploadedAt: number;
229
+ duration?: number | undefined;
230
+ progress?: number | undefined;
231
+ error?: string | undefined;
232
+ }[];
233
+ }, {
234
+ createdAt: number;
235
+ modified: number;
236
+ userId: string;
237
+ notes: {
238
+ id: string;
239
+ authorEmail: string;
240
+ content: string;
241
+ createdAt: number;
242
+ modified: number;
243
+ }[];
244
+ assets: {
245
+ assetId: string;
246
+ fileName: string;
247
+ extension: string;
248
+ fileSize: number;
249
+ assetUrl: string;
250
+ thumbnailUrl: string;
251
+ type: string;
252
+ authorId: string;
253
+ uploadedAt: number;
254
+ duration?: number | undefined;
255
+ progress?: number | undefined;
256
+ error?: string | undefined;
257
+ }[];
258
+ }>;
259
+ };
package/dist/namespace.js CHANGED
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Notification = void 0;
3
+ exports.Schemas = exports.Notification = void 0;
4
+ const User_schema_1 = require("./model/User.schema");
5
+ const Asset_schema_1 = require("./model/Asset.schema");
4
6
  var Notification;
5
7
  (function (Notification) {
6
8
  let Frequency;
@@ -43,3 +45,9 @@ var Notification;
43
45
  Status["EXPIRED"] = "expired";
44
46
  })(Status = Notification.Status || (Notification.Status = {}));
45
47
  })(Notification || (exports.Notification = Notification = {}));
48
+ //Schemas
49
+ exports.Schemas = {
50
+ Asset: Asset_schema_1.AssetSchema,
51
+ Note: User_schema_1.NoteSchema,
52
+ UserNote: User_schema_1.UserNoteSchema,
53
+ };
@@ -0,0 +1,2 @@
1
+ import { QueryOptions } from "../model/Api";
2
+ export declare const buildQueryString: <T>(query: Partial<QueryOptions<T>>) => string;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.buildQueryString = void 0;
4
+ const buildQueryString = (query) => {
5
+ const params = {};
6
+ if (query.perPage) {
7
+ params["perPage"] = [String(query.perPage)];
8
+ }
9
+ if (query.cursor !== undefined && query.cursor !== null) {
10
+ params["cursor"] = [String(query.cursor)];
11
+ }
12
+ if (query.orderBy) {
13
+ params["orderBy"] = [
14
+ `${String(query.orderBy.field)}:${query.orderBy.direction}`,
15
+ ];
16
+ }
17
+ if (query.wheres && query.wheres.length > 0) {
18
+ params["wheres"] = query.wheres.map((w) => `${String(w.field)}:${String(w.operation)}:${String(w.value)}`);
19
+ }
20
+ const queryString = Object.entries(params)
21
+ .flatMap(([key, values]) => values.map((value) => `${key}=${encodeURIComponent(value)}`))
22
+ .join("&");
23
+ return queryString ? `?${queryString}` : "";
24
+ };
25
+ exports.buildQueryString = buildQueryString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shred-api-client",
3
- "version": "1.14.1",
3
+ "version": "1.14.3",
4
4
  "description": "API Client for Shred",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,11 +17,12 @@
17
17
  "dependencies": {
18
18
  "axios": "1.7.2",
19
19
  "uuid": "^10.0.0",
20
- "winston": "^3.13.0"
20
+ "winston": "^3.13.0",
21
+ "zod": "^3.24.3"
21
22
  },
22
23
  "devDependencies": {
23
- "@types/uuid": "^10.0.0",
24
24
  "@types/node": "^20.12.7",
25
+ "@types/uuid": "^10.0.0",
25
26
  "tscpaths": "^0.0.9",
26
27
  "tsup": "^8.0.2",
27
28
  "typescript": "^5.4.5"