@n8n/api-types 0.33.0 → 0.34.0

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.
@@ -7,87 +7,413 @@ export declare const ROLE: {
7
7
  };
8
8
  export type Role = (typeof ROLE)[keyof typeof ROLE];
9
9
  export declare const roleSchema: z.ZodEnum<[Role, ...Role[]]>;
10
+ export declare const userProjectSchema: z.ZodObject<{
11
+ id: z.ZodString;
12
+ role: z.ZodEnum<["project:personalOwner", "project:admin", "project:editor", "project:viewer"]>;
13
+ name: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ id: string;
16
+ name: string;
17
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
18
+ }, {
19
+ id: string;
20
+ name: string;
21
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
22
+ }>;
10
23
  export declare const userListItemSchema: z.ZodObject<{
11
24
  id: z.ZodString;
12
- firstName: z.ZodNullable<z.ZodString>;
13
- lastName: z.ZodNullable<z.ZodString>;
14
- email: z.ZodNullable<z.ZodString>;
15
- role: z.ZodEnum<[Role, ...Role[]]>;
16
- isPending: z.ZodBoolean;
17
- lastActive: z.ZodNullable<z.ZodString>;
18
- projects: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
25
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ role: z.ZodOptional<z.ZodEnum<[Role, ...Role[]]>>;
29
+ isPending: z.ZodOptional<z.ZodBoolean>;
30
+ isOwner: z.ZodOptional<z.ZodBoolean>;
31
+ signInType: z.ZodOptional<z.ZodString>;
32
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ isOnboarded: z.ZodOptional<z.ZodBoolean>;
34
+ firstSuccessfulWorkflowId: z.ZodOptional<z.ZodString>;
35
+ userActivated: z.ZodOptional<z.ZodBoolean>;
36
+ userActivatedAt: z.ZodOptional<z.ZodNumber>;
37
+ allowSSOManualLogin: z.ZodOptional<z.ZodBoolean>;
38
+ npsSurvey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
39
+ lastShownAt: z.ZodNumber;
40
+ responded: z.ZodLiteral<true>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ lastShownAt: number;
43
+ responded: true;
44
+ }, {
45
+ lastShownAt: number;
46
+ responded: true;
47
+ }>, z.ZodObject<{
48
+ lastShownAt: z.ZodNumber;
49
+ waitingForResponse: z.ZodLiteral<true>;
50
+ ignoredCount: z.ZodNumber;
51
+ }, "strip", z.ZodTypeAny, {
52
+ lastShownAt: number;
53
+ waitingForResponse: true;
54
+ ignoredCount: number;
55
+ }, {
56
+ lastShownAt: number;
57
+ waitingForResponse: true;
58
+ ignoredCount: number;
59
+ }>]>>;
60
+ easyAIWorkflowOnboarded: z.ZodOptional<z.ZodBoolean>;
61
+ userClaimedAiCredits: z.ZodOptional<z.ZodBoolean>;
62
+ dismissedCallouts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
63
+ }, "strip", z.ZodTypeAny, {
64
+ userActivated?: boolean | undefined;
65
+ allowSSOManualLogin?: boolean | undefined;
66
+ easyAIWorkflowOnboarded?: boolean | undefined;
67
+ dismissedCallouts?: Record<string, boolean> | undefined;
68
+ isOnboarded?: boolean | undefined;
69
+ firstSuccessfulWorkflowId?: string | undefined;
70
+ userActivatedAt?: number | undefined;
71
+ npsSurvey?: {
72
+ lastShownAt: number;
73
+ responded: true;
74
+ } | {
75
+ lastShownAt: number;
76
+ waitingForResponse: true;
77
+ ignoredCount: number;
78
+ } | undefined;
79
+ userClaimedAiCredits?: boolean | undefined;
80
+ }, {
81
+ userActivated?: boolean | undefined;
82
+ allowSSOManualLogin?: boolean | undefined;
83
+ easyAIWorkflowOnboarded?: boolean | undefined;
84
+ dismissedCallouts?: Record<string, boolean> | undefined;
85
+ isOnboarded?: boolean | undefined;
86
+ firstSuccessfulWorkflowId?: string | undefined;
87
+ userActivatedAt?: number | undefined;
88
+ npsSurvey?: {
89
+ lastShownAt: number;
90
+ responded: true;
91
+ } | {
92
+ lastShownAt: number;
93
+ waitingForResponse: true;
94
+ ignoredCount: number;
95
+ } | undefined;
96
+ userClaimedAiCredits?: boolean | undefined;
97
+ }>>>;
98
+ personalizationAnswers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
99
+ lastActive: z.ZodOptional<z.ZodString>;
100
+ projectRelations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
101
+ id: z.ZodString;
102
+ role: z.ZodEnum<["project:personalOwner", "project:admin", "project:editor", "project:viewer"]>;
103
+ name: z.ZodString;
104
+ }, "strip", z.ZodTypeAny, {
105
+ id: string;
106
+ name: string;
107
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
108
+ }, {
109
+ id: string;
110
+ name: string;
111
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
112
+ }>, "many">>>;
19
113
  }, "strip", z.ZodTypeAny, {
20
- email: string | null;
21
114
  id: string;
22
- role: Role;
23
- firstName: string | null;
24
- lastName: string | null;
25
- isPending: boolean;
26
- lastActive: string | null;
27
- projects: string[] | null;
115
+ email?: string | null | undefined;
116
+ role?: Role | undefined;
117
+ firstName?: string | null | undefined;
118
+ lastName?: string | null | undefined;
119
+ isOwner?: boolean | undefined;
120
+ projectRelations?: {
121
+ id: string;
122
+ name: string;
123
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
124
+ }[] | null | undefined;
125
+ isPending?: boolean | undefined;
126
+ signInType?: string | undefined;
127
+ settings?: {
128
+ userActivated?: boolean | undefined;
129
+ allowSSOManualLogin?: boolean | undefined;
130
+ easyAIWorkflowOnboarded?: boolean | undefined;
131
+ dismissedCallouts?: Record<string, boolean> | undefined;
132
+ isOnboarded?: boolean | undefined;
133
+ firstSuccessfulWorkflowId?: string | undefined;
134
+ userActivatedAt?: number | undefined;
135
+ npsSurvey?: {
136
+ lastShownAt: number;
137
+ responded: true;
138
+ } | {
139
+ lastShownAt: number;
140
+ waitingForResponse: true;
141
+ ignoredCount: number;
142
+ } | undefined;
143
+ userClaimedAiCredits?: boolean | undefined;
144
+ } | null | undefined;
145
+ personalizationAnswers?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
146
+ lastActive?: string | undefined;
28
147
  }, {
29
- email: string | null;
30
148
  id: string;
31
- role: Role;
32
- firstName: string | null;
33
- lastName: string | null;
34
- isPending: boolean;
35
- lastActive: string | null;
36
- projects: string[] | null;
149
+ email?: string | null | undefined;
150
+ role?: Role | undefined;
151
+ firstName?: string | null | undefined;
152
+ lastName?: string | null | undefined;
153
+ isOwner?: boolean | undefined;
154
+ projectRelations?: {
155
+ id: string;
156
+ name: string;
157
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
158
+ }[] | null | undefined;
159
+ isPending?: boolean | undefined;
160
+ signInType?: string | undefined;
161
+ settings?: {
162
+ userActivated?: boolean | undefined;
163
+ allowSSOManualLogin?: boolean | undefined;
164
+ easyAIWorkflowOnboarded?: boolean | undefined;
165
+ dismissedCallouts?: Record<string, boolean> | undefined;
166
+ isOnboarded?: boolean | undefined;
167
+ firstSuccessfulWorkflowId?: string | undefined;
168
+ userActivatedAt?: number | undefined;
169
+ npsSurvey?: {
170
+ lastShownAt: number;
171
+ responded: true;
172
+ } | {
173
+ lastShownAt: number;
174
+ waitingForResponse: true;
175
+ ignoredCount: number;
176
+ } | undefined;
177
+ userClaimedAiCredits?: boolean | undefined;
178
+ } | null | undefined;
179
+ personalizationAnswers?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
180
+ lastActive?: string | undefined;
37
181
  }>;
38
182
  export declare const usersListSchema: z.ZodObject<{
39
183
  count: z.ZodNumber;
40
- data: z.ZodArray<z.ZodObject<{
184
+ items: z.ZodArray<z.ZodObject<{
41
185
  id: z.ZodString;
42
- firstName: z.ZodNullable<z.ZodString>;
43
- lastName: z.ZodNullable<z.ZodString>;
44
- email: z.ZodNullable<z.ZodString>;
45
- role: z.ZodEnum<[Role, ...Role[]]>;
46
- isPending: z.ZodBoolean;
47
- lastActive: z.ZodNullable<z.ZodString>;
48
- projects: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
186
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
189
+ role: z.ZodOptional<z.ZodEnum<[Role, ...Role[]]>>;
190
+ isPending: z.ZodOptional<z.ZodBoolean>;
191
+ isOwner: z.ZodOptional<z.ZodBoolean>;
192
+ signInType: z.ZodOptional<z.ZodString>;
193
+ settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
194
+ isOnboarded: z.ZodOptional<z.ZodBoolean>;
195
+ firstSuccessfulWorkflowId: z.ZodOptional<z.ZodString>;
196
+ userActivated: z.ZodOptional<z.ZodBoolean>;
197
+ userActivatedAt: z.ZodOptional<z.ZodNumber>;
198
+ allowSSOManualLogin: z.ZodOptional<z.ZodBoolean>;
199
+ npsSurvey: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
200
+ lastShownAt: z.ZodNumber;
201
+ responded: z.ZodLiteral<true>;
202
+ }, "strip", z.ZodTypeAny, {
203
+ lastShownAt: number;
204
+ responded: true;
205
+ }, {
206
+ lastShownAt: number;
207
+ responded: true;
208
+ }>, z.ZodObject<{
209
+ lastShownAt: z.ZodNumber;
210
+ waitingForResponse: z.ZodLiteral<true>;
211
+ ignoredCount: z.ZodNumber;
212
+ }, "strip", z.ZodTypeAny, {
213
+ lastShownAt: number;
214
+ waitingForResponse: true;
215
+ ignoredCount: number;
216
+ }, {
217
+ lastShownAt: number;
218
+ waitingForResponse: true;
219
+ ignoredCount: number;
220
+ }>]>>;
221
+ easyAIWorkflowOnboarded: z.ZodOptional<z.ZodBoolean>;
222
+ userClaimedAiCredits: z.ZodOptional<z.ZodBoolean>;
223
+ dismissedCallouts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ userActivated?: boolean | undefined;
226
+ allowSSOManualLogin?: boolean | undefined;
227
+ easyAIWorkflowOnboarded?: boolean | undefined;
228
+ dismissedCallouts?: Record<string, boolean> | undefined;
229
+ isOnboarded?: boolean | undefined;
230
+ firstSuccessfulWorkflowId?: string | undefined;
231
+ userActivatedAt?: number | undefined;
232
+ npsSurvey?: {
233
+ lastShownAt: number;
234
+ responded: true;
235
+ } | {
236
+ lastShownAt: number;
237
+ waitingForResponse: true;
238
+ ignoredCount: number;
239
+ } | undefined;
240
+ userClaimedAiCredits?: boolean | undefined;
241
+ }, {
242
+ userActivated?: boolean | undefined;
243
+ allowSSOManualLogin?: boolean | undefined;
244
+ easyAIWorkflowOnboarded?: boolean | undefined;
245
+ dismissedCallouts?: Record<string, boolean> | undefined;
246
+ isOnboarded?: boolean | undefined;
247
+ firstSuccessfulWorkflowId?: string | undefined;
248
+ userActivatedAt?: number | undefined;
249
+ npsSurvey?: {
250
+ lastShownAt: number;
251
+ responded: true;
252
+ } | {
253
+ lastShownAt: number;
254
+ waitingForResponse: true;
255
+ ignoredCount: number;
256
+ } | undefined;
257
+ userClaimedAiCredits?: boolean | undefined;
258
+ }>>>;
259
+ personalizationAnswers: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>>;
260
+ lastActive: z.ZodOptional<z.ZodString>;
261
+ projectRelations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
262
+ id: z.ZodString;
263
+ role: z.ZodEnum<["project:personalOwner", "project:admin", "project:editor", "project:viewer"]>;
264
+ name: z.ZodString;
265
+ }, "strip", z.ZodTypeAny, {
266
+ id: string;
267
+ name: string;
268
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
269
+ }, {
270
+ id: string;
271
+ name: string;
272
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
273
+ }>, "many">>>;
49
274
  }, "strip", z.ZodTypeAny, {
50
- email: string | null;
51
275
  id: string;
52
- role: Role;
53
- firstName: string | null;
54
- lastName: string | null;
55
- isPending: boolean;
56
- lastActive: string | null;
57
- projects: string[] | null;
276
+ email?: string | null | undefined;
277
+ role?: Role | undefined;
278
+ firstName?: string | null | undefined;
279
+ lastName?: string | null | undefined;
280
+ isOwner?: boolean | undefined;
281
+ projectRelations?: {
282
+ id: string;
283
+ name: string;
284
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
285
+ }[] | null | undefined;
286
+ isPending?: boolean | undefined;
287
+ signInType?: string | undefined;
288
+ settings?: {
289
+ userActivated?: boolean | undefined;
290
+ allowSSOManualLogin?: boolean | undefined;
291
+ easyAIWorkflowOnboarded?: boolean | undefined;
292
+ dismissedCallouts?: Record<string, boolean> | undefined;
293
+ isOnboarded?: boolean | undefined;
294
+ firstSuccessfulWorkflowId?: string | undefined;
295
+ userActivatedAt?: number | undefined;
296
+ npsSurvey?: {
297
+ lastShownAt: number;
298
+ responded: true;
299
+ } | {
300
+ lastShownAt: number;
301
+ waitingForResponse: true;
302
+ ignoredCount: number;
303
+ } | undefined;
304
+ userClaimedAiCredits?: boolean | undefined;
305
+ } | null | undefined;
306
+ personalizationAnswers?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
307
+ lastActive?: string | undefined;
58
308
  }, {
59
- email: string | null;
60
309
  id: string;
61
- role: Role;
62
- firstName: string | null;
63
- lastName: string | null;
64
- isPending: boolean;
65
- lastActive: string | null;
66
- projects: string[] | null;
310
+ email?: string | null | undefined;
311
+ role?: Role | undefined;
312
+ firstName?: string | null | undefined;
313
+ lastName?: string | null | undefined;
314
+ isOwner?: boolean | undefined;
315
+ projectRelations?: {
316
+ id: string;
317
+ name: string;
318
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
319
+ }[] | null | undefined;
320
+ isPending?: boolean | undefined;
321
+ signInType?: string | undefined;
322
+ settings?: {
323
+ userActivated?: boolean | undefined;
324
+ allowSSOManualLogin?: boolean | undefined;
325
+ easyAIWorkflowOnboarded?: boolean | undefined;
326
+ dismissedCallouts?: Record<string, boolean> | undefined;
327
+ isOnboarded?: boolean | undefined;
328
+ firstSuccessfulWorkflowId?: string | undefined;
329
+ userActivatedAt?: number | undefined;
330
+ npsSurvey?: {
331
+ lastShownAt: number;
332
+ responded: true;
333
+ } | {
334
+ lastShownAt: number;
335
+ waitingForResponse: true;
336
+ ignoredCount: number;
337
+ } | undefined;
338
+ userClaimedAiCredits?: boolean | undefined;
339
+ } | null | undefined;
340
+ personalizationAnswers?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
341
+ lastActive?: string | undefined;
67
342
  }>, "many">;
68
343
  }, "strip", z.ZodTypeAny, {
69
344
  count: number;
70
- data: {
71
- email: string | null;
345
+ items: {
72
346
  id: string;
73
- role: Role;
74
- firstName: string | null;
75
- lastName: string | null;
76
- isPending: boolean;
77
- lastActive: string | null;
78
- projects: string[] | null;
347
+ email?: string | null | undefined;
348
+ role?: Role | undefined;
349
+ firstName?: string | null | undefined;
350
+ lastName?: string | null | undefined;
351
+ isOwner?: boolean | undefined;
352
+ projectRelations?: {
353
+ id: string;
354
+ name: string;
355
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
356
+ }[] | null | undefined;
357
+ isPending?: boolean | undefined;
358
+ signInType?: string | undefined;
359
+ settings?: {
360
+ userActivated?: boolean | undefined;
361
+ allowSSOManualLogin?: boolean | undefined;
362
+ easyAIWorkflowOnboarded?: boolean | undefined;
363
+ dismissedCallouts?: Record<string, boolean> | undefined;
364
+ isOnboarded?: boolean | undefined;
365
+ firstSuccessfulWorkflowId?: string | undefined;
366
+ userActivatedAt?: number | undefined;
367
+ npsSurvey?: {
368
+ lastShownAt: number;
369
+ responded: true;
370
+ } | {
371
+ lastShownAt: number;
372
+ waitingForResponse: true;
373
+ ignoredCount: number;
374
+ } | undefined;
375
+ userClaimedAiCredits?: boolean | undefined;
376
+ } | null | undefined;
377
+ personalizationAnswers?: z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
378
+ lastActive?: string | undefined;
79
379
  }[];
80
380
  }, {
81
381
  count: number;
82
- data: {
83
- email: string | null;
382
+ items: {
84
383
  id: string;
85
- role: Role;
86
- firstName: string | null;
87
- lastName: string | null;
88
- isPending: boolean;
89
- lastActive: string | null;
90
- projects: string[] | null;
384
+ email?: string | null | undefined;
385
+ role?: Role | undefined;
386
+ firstName?: string | null | undefined;
387
+ lastName?: string | null | undefined;
388
+ isOwner?: boolean | undefined;
389
+ projectRelations?: {
390
+ id: string;
391
+ name: string;
392
+ role: "project:personalOwner" | "project:admin" | "project:editor" | "project:viewer";
393
+ }[] | null | undefined;
394
+ isPending?: boolean | undefined;
395
+ signInType?: string | undefined;
396
+ settings?: {
397
+ userActivated?: boolean | undefined;
398
+ allowSSOManualLogin?: boolean | undefined;
399
+ easyAIWorkflowOnboarded?: boolean | undefined;
400
+ dismissedCallouts?: Record<string, boolean> | undefined;
401
+ isOnboarded?: boolean | undefined;
402
+ firstSuccessfulWorkflowId?: string | undefined;
403
+ userActivatedAt?: number | undefined;
404
+ npsSurvey?: {
405
+ lastShownAt: number;
406
+ responded: true;
407
+ } | {
408
+ lastShownAt: number;
409
+ waitingForResponse: true;
410
+ ignoredCount: number;
411
+ } | undefined;
412
+ userClaimedAiCredits?: boolean | undefined;
413
+ } | null | undefined;
414
+ personalizationAnswers?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | null | undefined;
415
+ lastActive?: string | undefined;
91
416
  }[];
92
417
  }>;
418
+ export type User = z.infer<typeof userListItemSchema>;
93
419
  export type UsersList = z.infer<typeof usersListSchema>;
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.usersListSchema = exports.userListItemSchema = exports.roleSchema = exports.ROLE = void 0;
3
+ exports.usersListSchema = exports.userListItemSchema = exports.userProjectSchema = exports.roleSchema = exports.ROLE = void 0;
4
+ const permissions_1 = require("@n8n/permissions");
4
5
  const zod_1 = require("zod");
6
+ const user_settings_schema_1 = require("./user-settings.schema");
5
7
  exports.ROLE = {
6
8
  Owner: 'global:owner',
7
9
  Member: 'global:member',
@@ -10,18 +12,27 @@ exports.ROLE = {
10
12
  };
11
13
  const roleValuesForSchema = Object.values(exports.ROLE);
12
14
  exports.roleSchema = zod_1.z.enum(roleValuesForSchema);
15
+ exports.userProjectSchema = zod_1.z.object({
16
+ id: zod_1.z.string(),
17
+ role: permissions_1.projectRoleSchema,
18
+ name: zod_1.z.string(),
19
+ });
13
20
  exports.userListItemSchema = zod_1.z.object({
14
21
  id: zod_1.z.string(),
15
- firstName: zod_1.z.string().nullable(),
16
- lastName: zod_1.z.string().nullable(),
17
- email: zod_1.z.string().email().nullable(),
18
- role: exports.roleSchema,
19
- isPending: zod_1.z.boolean(),
20
- lastActive: zod_1.z.string().nullable(),
21
- projects: zod_1.z.array(zod_1.z.string()).nullable(),
22
+ firstName: zod_1.z.string().nullable().optional(),
23
+ lastName: zod_1.z.string().nullable().optional(),
24
+ email: zod_1.z.string().email().nullable().optional(),
25
+ role: exports.roleSchema.optional(),
26
+ isPending: zod_1.z.boolean().optional(),
27
+ isOwner: zod_1.z.boolean().optional(),
28
+ signInType: zod_1.z.string().optional(),
29
+ settings: user_settings_schema_1.userSettingsSchema.nullable().optional(),
30
+ personalizationAnswers: zod_1.z.object({}).passthrough().nullable().optional(),
31
+ lastActive: zod_1.z.string().optional(),
32
+ projectRelations: zod_1.z.array(exports.userProjectSchema).nullable().optional(),
22
33
  });
23
34
  exports.usersListSchema = zod_1.z.object({
24
35
  count: zod_1.z.number(),
25
- data: zod_1.z.array(exports.userListItemSchema),
36
+ items: zod_1.z.array(exports.userListItemSchema),
26
37
  });
27
38
  //# sourceMappingURL=user.schema.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.schema.js","sourceRoot":"","sources":["../../src/schemas/user.schema.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,IAAI,GAAG;IACnB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,SAAS;CACT,CAAC;AAKX,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAI,CAAsB,CAAC;AACxD,QAAA,UAAU,GAAG,OAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AAEzC,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC/B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IACpC,IAAI,EAAE,kBAAU;IAChB,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;IACtB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC;AAEU,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,0BAAkB,CAAC;CACjC,CAAC,CAAC"}
1
+ {"version":3,"file":"user.schema.js","sourceRoot":"","sources":["../../src/schemas/user.schema.ts"],"names":[],"mappings":";;;AAAA,kDAAqD;AACrD,6BAAwB;AAExB,iEAA4D;AAE/C,QAAA,IAAI,GAAG;IACnB,KAAK,EAAE,cAAc;IACrB,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,cAAc;IACrB,OAAO,EAAE,SAAS;CACT,CAAC;AAKX,MAAM,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,YAAI,CAAsB,CAAC;AACxD,QAAA,UAAU,GAAG,OAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AAEzC,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACzC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,IAAI,EAAE,+BAAiB;IACvB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC1C,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,IAAI,EAAE,kBAAU,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,QAAQ,EAAE,yCAAkB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,sBAAsB,EAAE,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CAAC,yBAAiB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAClE,CAAC,CAAC;AAEU,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,0BAAkB,CAAC;CAClC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@n8n/api-types",
3
- "version": "0.33.0",
3
+ "version": "0.34.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
- "LICENSE_EE.md",
10
- "LICENSE.md"
9
+ "LICENSE.md",
10
+ "LICENSE_EE.md"
11
11
  ],
12
12
  "devDependencies": {
13
13
  "@n8n/typescript-config": "1.2.0",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "xss": "1.0.15",
18
- "zod": "3.24.1",
18
+ "zod": "3.25.67",
19
19
  "zod-class": "0.0.16",
20
- "n8n-workflow": "1.96.0",
20
+ "n8n-workflow": "1.97.0",
21
21
  "@n8n/permissions": "0.28.0"
22
22
  },
23
23
  "license": "SEE LICENSE IN LICENSE.md",