@panoptic-it-solutions/zoho-projects-client 0.1.4 → 0.2.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.
- package/dist/__tests__/fixtures/attachments.d.ts +126 -0
- package/dist/__tests__/fixtures/attachments.d.ts.map +1 -0
- package/dist/__tests__/fixtures/attachments.js +60 -0
- package/dist/__tests__/fixtures/attachments.js.map +1 -0
- package/dist/__tests__/fixtures/blueprints.d.ts +114 -0
- package/dist/__tests__/fixtures/blueprints.d.ts.map +1 -0
- package/dist/__tests__/fixtures/blueprints.js +102 -0
- package/dist/__tests__/fixtures/blueprints.js.map +1 -0
- package/dist/__tests__/fixtures/comments.d.ts +92 -0
- package/dist/__tests__/fixtures/comments.d.ts.map +1 -0
- package/dist/__tests__/fixtures/comments.js +42 -0
- package/dist/__tests__/fixtures/comments.js.map +1 -0
- package/dist/__tests__/fixtures/customviews.d.ts +5 -0
- package/dist/__tests__/fixtures/customviews.d.ts.map +1 -0
- package/dist/__tests__/fixtures/customviews.js +55 -0
- package/dist/__tests__/fixtures/customviews.js.map +1 -0
- package/dist/__tests__/fixtures/events.d.ts +133 -0
- package/dist/__tests__/fixtures/events.d.ts.map +1 -0
- package/dist/__tests__/fixtures/events.js +75 -0
- package/dist/__tests__/fixtures/events.js.map +1 -0
- package/dist/__tests__/fixtures/forums.d.ts +114 -0
- package/dist/__tests__/fixtures/forums.d.ts.map +1 -0
- package/dist/__tests__/fixtures/forums.js +53 -0
- package/dist/__tests__/fixtures/forums.js.map +1 -0
- package/dist/__tests__/fixtures/groups.d.ts +25 -0
- package/dist/__tests__/fixtures/groups.d.ts.map +1 -0
- package/dist/__tests__/fixtures/groups.js +36 -0
- package/dist/__tests__/fixtures/groups.js.map +1 -0
- package/dist/__tests__/fixtures/index.d.ts +22 -0
- package/dist/__tests__/fixtures/index.d.ts.map +1 -0
- package/dist/__tests__/fixtures/index.js +22 -0
- package/dist/__tests__/fixtures/index.js.map +1 -0
- package/dist/__tests__/fixtures/issues.d.ts +196 -0
- package/dist/__tests__/fixtures/issues.d.ts.map +1 -0
- package/dist/__tests__/fixtures/issues.js +80 -0
- package/dist/__tests__/fixtures/issues.js.map +1 -0
- package/dist/__tests__/fixtures/modules.d.ts +6 -0
- package/dist/__tests__/fixtures/modules.d.ts.map +1 -0
- package/dist/__tests__/fixtures/modules.js +103 -0
- package/dist/__tests__/fixtures/modules.js.map +1 -0
- package/dist/__tests__/fixtures/phases.d.ts +123 -0
- package/dist/__tests__/fixtures/phases.d.ts.map +1 -0
- package/dist/__tests__/fixtures/phases.js +68 -0
- package/dist/__tests__/fixtures/phases.js.map +1 -0
- package/dist/__tests__/fixtures/portals.d.ts +4 -0
- package/dist/__tests__/fixtures/portals.d.ts.map +1 -0
- package/dist/__tests__/fixtures/portals.js +48 -0
- package/dist/__tests__/fixtures/portals.js.map +1 -0
- package/dist/__tests__/fixtures/projects.d.ts +298 -0
- package/dist/__tests__/fixtures/projects.d.ts.map +1 -0
- package/dist/__tests__/fixtures/projects.js +44 -0
- package/dist/__tests__/fixtures/projects.js.map +1 -0
- package/dist/__tests__/fixtures/tags.d.ts +22 -0
- package/dist/__tests__/fixtures/tags.d.ts.map +1 -0
- package/dist/__tests__/fixtures/tags.js +33 -0
- package/dist/__tests__/fixtures/tags.js.map +1 -0
- package/dist/__tests__/fixtures/tasklists.d.ts +107 -0
- package/dist/__tests__/fixtures/tasklists.d.ts.map +1 -0
- package/dist/__tests__/fixtures/tasklists.js +31 -0
- package/dist/__tests__/fixtures/tasklists.js.map +1 -0
- package/dist/__tests__/fixtures/tasks.d.ts +209 -0
- package/dist/__tests__/fixtures/tasks.d.ts.map +1 -0
- package/dist/__tests__/fixtures/tasks.js +69 -0
- package/dist/__tests__/fixtures/tasks.js.map +1 -0
- package/dist/__tests__/fixtures/timelogs.d.ts +151 -0
- package/dist/__tests__/fixtures/timelogs.d.ts.map +1 -0
- package/dist/__tests__/fixtures/timelogs.js +79 -0
- package/dist/__tests__/fixtures/timelogs.js.map +1 -0
- package/dist/__tests__/fixtures/timers.d.ts +5 -0
- package/dist/__tests__/fixtures/timers.d.ts.map +1 -0
- package/dist/__tests__/fixtures/timers.js +50 -0
- package/dist/__tests__/fixtures/timers.js.map +1 -0
- package/dist/__tests__/fixtures/users.d.ts +55 -0
- package/dist/__tests__/fixtures/users.d.ts.map +1 -0
- package/dist/__tests__/fixtures/users.js +47 -0
- package/dist/__tests__/fixtures/users.js.map +1 -0
- package/dist/__tests__/integration/setup.d.ts +14 -0
- package/dist/__tests__/integration/setup.d.ts.map +1 -0
- package/dist/__tests__/integration/setup.js +52 -0
- package/dist/__tests__/integration/setup.js.map +1 -0
- package/dist/__tests__/mocks/handlers.d.ts +34 -0
- package/dist/__tests__/mocks/handlers.d.ts.map +1 -0
- package/dist/__tests__/mocks/handlers.js +49 -0
- package/dist/__tests__/mocks/handlers.js.map +1 -0
- package/dist/__tests__/mocks/server.d.ts +2 -0
- package/dist/__tests__/mocks/server.d.ts.map +1 -0
- package/dist/__tests__/mocks/server.js +7 -0
- package/dist/__tests__/mocks/server.js.map +1 -0
- package/dist/__tests__/setup.d.ts +2 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/__tests__/setup.js +18 -0
- package/dist/__tests__/setup.js.map +1 -0
- package/dist/__tests__/unit/client/attachments.test.d.ts +2 -0
- package/dist/__tests__/unit/client/attachments.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/attachments.test.js +55 -0
- package/dist/__tests__/unit/client/attachments.test.js.map +1 -0
- package/dist/__tests__/unit/client/blueprints.test.d.ts +2 -0
- package/dist/__tests__/unit/client/blueprints.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/blueprints.test.js +127 -0
- package/dist/__tests__/unit/client/blueprints.test.js.map +1 -0
- package/dist/__tests__/unit/client/comments.test.d.ts +2 -0
- package/dist/__tests__/unit/client/comments.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/comments.test.js +95 -0
- package/dist/__tests__/unit/client/comments.test.js.map +1 -0
- package/dist/__tests__/unit/client/customviews.test.d.ts +2 -0
- package/dist/__tests__/unit/client/customviews.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/customviews.test.js +112 -0
- package/dist/__tests__/unit/client/customviews.test.js.map +1 -0
- package/dist/__tests__/unit/client/events.test.d.ts +2 -0
- package/dist/__tests__/unit/client/events.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/events.test.js +79 -0
- package/dist/__tests__/unit/client/events.test.js.map +1 -0
- package/dist/__tests__/unit/client/forums.test.d.ts +2 -0
- package/dist/__tests__/unit/client/forums.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/forums.test.js +75 -0
- package/dist/__tests__/unit/client/forums.test.js.map +1 -0
- package/dist/__tests__/unit/client/groups.test.d.ts +2 -0
- package/dist/__tests__/unit/client/groups.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/groups.test.js +74 -0
- package/dist/__tests__/unit/client/groups.test.js.map +1 -0
- package/dist/__tests__/unit/client/issues.test.d.ts +2 -0
- package/dist/__tests__/unit/client/issues.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/issues.test.js +75 -0
- package/dist/__tests__/unit/client/issues.test.js.map +1 -0
- package/dist/__tests__/unit/client/modules.test.d.ts +2 -0
- package/dist/__tests__/unit/client/modules.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/modules.test.js +92 -0
- package/dist/__tests__/unit/client/modules.test.js.map +1 -0
- package/dist/__tests__/unit/client/phases.test.d.ts +2 -0
- package/dist/__tests__/unit/client/phases.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/phases.test.js +79 -0
- package/dist/__tests__/unit/client/phases.test.js.map +1 -0
- package/dist/__tests__/unit/client/portals.test.d.ts +2 -0
- package/dist/__tests__/unit/client/portals.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/portals.test.js +54 -0
- package/dist/__tests__/unit/client/portals.test.js.map +1 -0
- package/dist/__tests__/unit/client/projects.test.d.ts +2 -0
- package/dist/__tests__/unit/client/projects.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/projects.test.js +171 -0
- package/dist/__tests__/unit/client/projects.test.js.map +1 -0
- package/dist/__tests__/unit/client/tags.test.d.ts +2 -0
- package/dist/__tests__/unit/client/tags.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/tags.test.js +99 -0
- package/dist/__tests__/unit/client/tags.test.js.map +1 -0
- package/dist/__tests__/unit/client/tasklists.test.d.ts +2 -0
- package/dist/__tests__/unit/client/tasklists.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/tasklists.test.js +75 -0
- package/dist/__tests__/unit/client/tasklists.test.js.map +1 -0
- package/dist/__tests__/unit/client/tasks.test.d.ts +2 -0
- package/dist/__tests__/unit/client/tasks.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/tasks.test.js +157 -0
- package/dist/__tests__/unit/client/tasks.test.js.map +1 -0
- package/dist/__tests__/unit/client/timers.test.d.ts +2 -0
- package/dist/__tests__/unit/client/timers.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/timers.test.js +122 -0
- package/dist/__tests__/unit/client/timers.test.js.map +1 -0
- package/dist/__tests__/unit/client/users.test.d.ts +2 -0
- package/dist/__tests__/unit/client/users.test.d.ts.map +1 -0
- package/dist/__tests__/unit/client/users.test.js +89 -0
- package/dist/__tests__/unit/client/users.test.js.map +1 -0
- package/dist/cli/init.d.ts +3 -0
- package/dist/cli/init.d.ts.map +1 -0
- package/dist/cli/init.js +130 -0
- package/dist/cli/init.js.map +1 -0
- package/dist/client.d.ts +2613 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1623 -1
- package/dist/client.js.map +1 -1
- package/dist/types/attachments.d.ts +1545 -0
- package/dist/types/attachments.d.ts.map +1 -0
- package/dist/types/attachments.js +78 -0
- package/dist/types/attachments.js.map +1 -0
- package/dist/types/blueprints.d.ts +5070 -0
- package/dist/types/blueprints.d.ts.map +1 -0
- package/dist/types/blueprints.js +111 -0
- package/dist/types/blueprints.js.map +1 -0
- package/dist/types/clients.d.ts +384 -0
- package/dist/types/clients.d.ts.map +1 -0
- package/dist/types/clients.js +77 -0
- package/dist/types/clients.js.map +1 -0
- package/dist/types/comments.d.ts +1111 -0
- package/dist/types/comments.d.ts.map +1 -0
- package/dist/types/comments.js +73 -0
- package/dist/types/comments.js.map +1 -0
- package/dist/types/contacts.d.ts +444 -0
- package/dist/types/contacts.d.ts.map +1 -0
- package/dist/types/contacts.js +86 -0
- package/dist/types/contacts.js.map +1 -0
- package/dist/types/customviews.d.ts +1593 -0
- package/dist/types/customviews.d.ts.map +1 -0
- package/dist/types/customviews.js +117 -0
- package/dist/types/customviews.js.map +1 -0
- package/dist/types/dashboards.d.ts +1675 -0
- package/dist/types/dashboards.d.ts.map +1 -0
- package/dist/types/dashboards.js +77 -0
- package/dist/types/dashboards.js.map +1 -0
- package/dist/types/documents.d.ts +2322 -0
- package/dist/types/documents.d.ts.map +1 -0
- package/dist/types/documents.js +121 -0
- package/dist/types/documents.js.map +1 -0
- package/dist/types/events.d.ts +1747 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/events.js +122 -0
- package/dist/types/events.js.map +1 -0
- package/dist/types/followers.d.ts +198 -0
- package/dist/types/followers.d.ts.map +1 -0
- package/dist/types/followers.js +44 -0
- package/dist/types/followers.js.map +1 -0
- package/dist/types/forums.d.ts +1443 -0
- package/dist/types/forums.d.ts.map +1 -0
- package/dist/types/forums.js +89 -0
- package/dist/types/forums.js.map +1 -0
- package/dist/types/groups.d.ts +237 -0
- package/dist/types/groups.d.ts.map +1 -0
- package/dist/types/groups.js +52 -0
- package/dist/types/groups.js.map +1 -0
- package/dist/types/index.d.ts +31 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +58 -4
- package/dist/types/index.js.map +1 -1
- package/dist/types/issues.d.ts +2600 -0
- package/dist/types/issues.d.ts.map +1 -0
- package/dist/types/issues.js +147 -0
- package/dist/types/issues.js.map +1 -0
- package/dist/types/leaves.d.ts +435 -0
- package/dist/types/leaves.d.ts.map +1 -0
- package/dist/types/leaves.js +92 -0
- package/dist/types/leaves.js.map +1 -0
- package/dist/types/modules.d.ts +469 -0
- package/dist/types/modules.d.ts.map +1 -0
- package/dist/types/modules.js +91 -0
- package/dist/types/modules.js.map +1 -0
- package/dist/types/phases.d.ts +1564 -0
- package/dist/types/phases.d.ts.map +1 -0
- package/dist/types/phases.js +98 -0
- package/dist/types/phases.js.map +1 -0
- package/dist/types/portals.d.ts +1050 -0
- package/dist/types/portals.d.ts.map +1 -0
- package/dist/types/portals.js +58 -0
- package/dist/types/portals.js.map +1 -0
- package/dist/types/profiles.d.ts +243 -0
- package/dist/types/profiles.d.ts.map +1 -0
- package/dist/types/profiles.js +59 -0
- package/dist/types/profiles.js.map +1 -0
- package/dist/types/projects.d.ts +128 -0
- package/dist/types/projects.d.ts.map +1 -1
- package/dist/types/projects.js +44 -0
- package/dist/types/projects.js.map +1 -1
- package/dist/types/reports.d.ts +2010 -0
- package/dist/types/reports.d.ts.map +1 -0
- package/dist/types/reports.js +110 -0
- package/dist/types/reports.js.map +1 -0
- package/dist/types/roles.d.ts +243 -0
- package/dist/types/roles.d.ts.map +1 -0
- package/dist/types/roles.js +59 -0
- package/dist/types/roles.js.map +1 -0
- package/dist/types/search.d.ts +1091 -0
- package/dist/types/search.d.ts.map +1 -0
- package/dist/types/search.js +83 -0
- package/dist/types/search.js.map +1 -0
- package/dist/types/tags.d.ts +198 -0
- package/dist/types/tags.d.ts.map +1 -0
- package/dist/types/tags.js +49 -0
- package/dist/types/tags.js.map +1 -0
- package/dist/types/tasklists.d.ts +1317 -0
- package/dist/types/tasklists.d.ts.map +1 -0
- package/dist/types/tasklists.js +78 -0
- package/dist/types/tasklists.js.map +1 -0
- package/dist/types/tasks.d.ts +182 -0
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +52 -0
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +504 -0
- package/dist/types/teams.d.ts.map +1 -0
- package/dist/types/teams.js +75 -0
- package/dist/types/teams.js.map +1 -0
- package/dist/types/timelogs.d.ts +245 -0
- package/dist/types/timelogs.d.ts.map +1 -1
- package/dist/types/timelogs.js +53 -0
- package/dist/types/timelogs.js.map +1 -1
- package/dist/types/timers.d.ts +1334 -0
- package/dist/types/timers.d.ts.map +1 -0
- package/dist/types/timers.js +108 -0
- package/dist/types/timers.js.map +1 -0
- package/dist/types/trash.d.ts +1447 -0
- package/dist/types/trash.d.ts.map +1 -0
- package/dist/types/trash.js +77 -0
- package/dist/types/trash.js.map +1 -0
- package/dist/types/users.d.ts +100 -0
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +56 -0
- package/dist/types/users.js.map +1 -1
- package/dist/types/widgets.d.ts +1083 -0
- package/dist/types/widgets.d.ts.map +1 -0
- package/dist/types/widgets.js +87 -0
- package/dist/types/widgets.js.map +1 -0
- package/package.json +15 -3
- package/templates/CLAUDE.md +66 -0
- package/templates/commands/zoho-auth.md +195 -0
- package/templates/commands/zoho-examples.md +375 -0
- package/templates/commands/zoho-projects.md +183 -0
- package/templates/types/zoho-projects-api.d.ts +364 -0
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import type { Issue } from "../../types/index.js";
|
|
2
|
+
export declare function createIssueFixture(overrides?: Partial<Issue>): Issue;
|
|
3
|
+
export declare function createIssueListFixture(count?: number): Issue[];
|
|
4
|
+
export declare function createIssueListResponse(issues: Issue[], hasMore?: boolean): {
|
|
5
|
+
bugs: import("zod").objectOutputType<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
id_string: import("zod").ZodString;
|
|
8
|
+
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
|
+
title: import("zod").ZodString;
|
|
10
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
11
|
+
status: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
12
|
+
id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
13
|
+
name: import("zod").ZodString;
|
|
14
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
15
|
+
color_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
17
|
+
id: string | number;
|
|
18
|
+
name: string;
|
|
19
|
+
type?: string | undefined;
|
|
20
|
+
color_code?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
id: string | number;
|
|
23
|
+
name: string;
|
|
24
|
+
type?: string | undefined;
|
|
25
|
+
color_code?: string | undefined;
|
|
26
|
+
}>>;
|
|
27
|
+
severity: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
28
|
+
id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
29
|
+
name: import("zod").ZodString;
|
|
30
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
31
|
+
id: string | number;
|
|
32
|
+
name: string;
|
|
33
|
+
}, {
|
|
34
|
+
id: string | number;
|
|
35
|
+
name: string;
|
|
36
|
+
}>>;
|
|
37
|
+
classification: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
38
|
+
id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
39
|
+
name: import("zod").ZodString;
|
|
40
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
41
|
+
id: string | number;
|
|
42
|
+
name: string;
|
|
43
|
+
}, {
|
|
44
|
+
id: string | number;
|
|
45
|
+
name: string;
|
|
46
|
+
}>>;
|
|
47
|
+
reproducible: import("zod").ZodOptional<import("zod").ZodEnum<["Always", "Sometimes", "Rarely", "Unable"]>>;
|
|
48
|
+
module: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
49
|
+
id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
50
|
+
name: import("zod").ZodString;
|
|
51
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
52
|
+
id: string | number;
|
|
53
|
+
name: string;
|
|
54
|
+
}, {
|
|
55
|
+
id: string | number;
|
|
56
|
+
name: string;
|
|
57
|
+
}>>;
|
|
58
|
+
priority: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
due_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
60
|
+
due_date_long: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
61
|
+
created_time: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
created_time_long: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
63
|
+
last_updated_time: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
last_updated_time_long: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
65
|
+
closed_time: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
66
|
+
closed_time_long: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
67
|
+
reported_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
68
|
+
reported_person: import("zod").ZodOptional<import("zod").ZodString>;
|
|
69
|
+
reporter: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
70
|
+
id: import("zod").ZodString;
|
|
71
|
+
name: import("zod").ZodString;
|
|
72
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
zpuid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
email?: string | undefined;
|
|
78
|
+
zpuid?: string | undefined;
|
|
79
|
+
}, {
|
|
80
|
+
id: string;
|
|
81
|
+
name: string;
|
|
82
|
+
email?: string | undefined;
|
|
83
|
+
zpuid?: string | undefined;
|
|
84
|
+
}>>;
|
|
85
|
+
assignee: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
86
|
+
id: import("zod").ZodString;
|
|
87
|
+
name: import("zod").ZodString;
|
|
88
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
89
|
+
zpuid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
90
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
91
|
+
id: string;
|
|
92
|
+
name: string;
|
|
93
|
+
email?: string | undefined;
|
|
94
|
+
zpuid?: string | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
id: string;
|
|
97
|
+
name: string;
|
|
98
|
+
email?: string | undefined;
|
|
99
|
+
zpuid?: string | undefined;
|
|
100
|
+
}>>;
|
|
101
|
+
assignee_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
102
|
+
milestone: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
103
|
+
id: import("zod").ZodNumber;
|
|
104
|
+
id_string: import("zod").ZodOptional<import("zod").ZodString>;
|
|
105
|
+
name: import("zod").ZodString;
|
|
106
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
107
|
+
id: number;
|
|
108
|
+
name: string;
|
|
109
|
+
id_string?: string | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
id: number;
|
|
112
|
+
name: string;
|
|
113
|
+
id_string?: string | undefined;
|
|
114
|
+
}>>>;
|
|
115
|
+
flag: import("zod").ZodOptional<import("zod").ZodEnum<["internal", "external"]>>;
|
|
116
|
+
project: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
117
|
+
id: import("zod").ZodNumber;
|
|
118
|
+
id_string: import("zod").ZodOptional<import("zod").ZodString>;
|
|
119
|
+
name: import("zod").ZodString;
|
|
120
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
121
|
+
id: number;
|
|
122
|
+
name: string;
|
|
123
|
+
id_string?: string | undefined;
|
|
124
|
+
}, {
|
|
125
|
+
id: number;
|
|
126
|
+
name: string;
|
|
127
|
+
id_string?: string | undefined;
|
|
128
|
+
}>>;
|
|
129
|
+
linked_tasks_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
130
|
+
attachment_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
131
|
+
comment_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
132
|
+
link: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
133
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
134
|
+
url: import("zod").ZodString;
|
|
135
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
136
|
+
url: string;
|
|
137
|
+
}, {
|
|
138
|
+
url: string;
|
|
139
|
+
}>>;
|
|
140
|
+
timesheet: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
141
|
+
url: import("zod").ZodString;
|
|
142
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
143
|
+
url: string;
|
|
144
|
+
}, {
|
|
145
|
+
url: string;
|
|
146
|
+
}>>;
|
|
147
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
148
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
149
|
+
url: import("zod").ZodString;
|
|
150
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
151
|
+
url: string;
|
|
152
|
+
}, {
|
|
153
|
+
url: string;
|
|
154
|
+
}>>;
|
|
155
|
+
timesheet: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
156
|
+
url: import("zod").ZodString;
|
|
157
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
158
|
+
url: string;
|
|
159
|
+
}, {
|
|
160
|
+
url: string;
|
|
161
|
+
}>>;
|
|
162
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
163
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
164
|
+
url: import("zod").ZodString;
|
|
165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
166
|
+
url: string;
|
|
167
|
+
}, {
|
|
168
|
+
url: string;
|
|
169
|
+
}>>;
|
|
170
|
+
timesheet: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
171
|
+
url: import("zod").ZodString;
|
|
172
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
173
|
+
url: string;
|
|
174
|
+
}, {
|
|
175
|
+
url: string;
|
|
176
|
+
}>>;
|
|
177
|
+
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
178
|
+
custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
179
|
+
label_name: import("zod").ZodString;
|
|
180
|
+
value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodNull]>;
|
|
181
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
182
|
+
value: string | number | boolean | null;
|
|
183
|
+
label_name: string;
|
|
184
|
+
}, {
|
|
185
|
+
value: string | number | boolean | null;
|
|
186
|
+
label_name: string;
|
|
187
|
+
}>, "many">>;
|
|
188
|
+
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
189
|
+
page_info: {
|
|
190
|
+
page: number;
|
|
191
|
+
per_page: number;
|
|
192
|
+
has_more_page: boolean;
|
|
193
|
+
total_count: number;
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
//# sourceMappingURL=issues.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"issues.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/issues.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,wBAAgB,kBAAkB,CAAC,SAAS,GAAE,OAAO,CAAC,KAAK,CAAM,GAAG,KAAK,CA4DxE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,GAAE,MAAU,GAAG,KAAK,EAAE,CAEjE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,GAAE,OAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhF"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Issue (Bug) fixtures for testing
|
|
3
|
+
*/
|
|
4
|
+
import { faker } from "@faker-js/faker";
|
|
5
|
+
export function createIssueFixture(overrides = {}) {
|
|
6
|
+
const id = faker.number.int({ min: 100000, max: 999999 });
|
|
7
|
+
return {
|
|
8
|
+
id,
|
|
9
|
+
id_string: id.toString(),
|
|
10
|
+
key: `PROJ-B${faker.number.int({ min: 1, max: 999 })}`,
|
|
11
|
+
title: faker.lorem.sentence(4),
|
|
12
|
+
description: faker.lorem.paragraph(),
|
|
13
|
+
status: {
|
|
14
|
+
id: faker.number.int({ min: 1, max: 5 }),
|
|
15
|
+
name: faker.helpers.arrayElement(["Open", "In Progress", "Fixed", "Closed"]),
|
|
16
|
+
type: faker.helpers.arrayElement(["open", "closed"]),
|
|
17
|
+
color_code: faker.color.rgb(),
|
|
18
|
+
},
|
|
19
|
+
severity: {
|
|
20
|
+
id: faker.number.int({ min: 1, max: 5 }),
|
|
21
|
+
name: faker.helpers.arrayElement(["Critical", "Major", "Minor", "Trivial"]),
|
|
22
|
+
},
|
|
23
|
+
classification: {
|
|
24
|
+
id: faker.number.int({ min: 1, max: 5 }),
|
|
25
|
+
name: faker.helpers.arrayElement(["Bug", "Feature", "Enhancement", "Task"]),
|
|
26
|
+
},
|
|
27
|
+
reproducible: faker.helpers.arrayElement(["Always", "Sometimes", "Rarely", "Unable"]),
|
|
28
|
+
module: {
|
|
29
|
+
id: faker.number.int({ min: 1, max: 10 }),
|
|
30
|
+
name: faker.helpers.arrayElement(["Core", "UI", "API", "Database", "Auth"]),
|
|
31
|
+
},
|
|
32
|
+
priority: faker.helpers.arrayElement(["None", "Low", "Medium", "High"]),
|
|
33
|
+
due_date: faker.date.future().toLocaleDateString("en-US", {
|
|
34
|
+
month: "2-digit",
|
|
35
|
+
day: "2-digit",
|
|
36
|
+
year: "numeric",
|
|
37
|
+
}),
|
|
38
|
+
due_date_long: faker.date.future().getTime(),
|
|
39
|
+
created_time: faker.date.past().toISOString(),
|
|
40
|
+
created_time_long: faker.date.past().getTime(),
|
|
41
|
+
last_updated_time: faker.date.recent().toISOString(),
|
|
42
|
+
last_updated_time_long: faker.date.recent().getTime(),
|
|
43
|
+
reported_by: faker.string.numeric(10),
|
|
44
|
+
reported_person: faker.person.fullName(),
|
|
45
|
+
reporter: {
|
|
46
|
+
id: faker.string.numeric(10),
|
|
47
|
+
name: faker.person.fullName(),
|
|
48
|
+
},
|
|
49
|
+
assignee: {
|
|
50
|
+
id: faker.string.numeric(10),
|
|
51
|
+
name: faker.person.fullName(),
|
|
52
|
+
},
|
|
53
|
+
assignee_name: faker.person.fullName(),
|
|
54
|
+
flag: faker.helpers.arrayElement(["internal", "external"]),
|
|
55
|
+
project: {
|
|
56
|
+
id: faker.number.int({ min: 100000, max: 999999 }),
|
|
57
|
+
id_string: faker.string.numeric(10),
|
|
58
|
+
name: faker.company.name() + " Project",
|
|
59
|
+
},
|
|
60
|
+
linked_tasks_count: faker.number.int({ min: 0, max: 10 }),
|
|
61
|
+
attachment_count: faker.number.int({ min: 0, max: 5 }),
|
|
62
|
+
comment_count: faker.number.int({ min: 0, max: 20 }),
|
|
63
|
+
...overrides,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export function createIssueListFixture(count = 5) {
|
|
67
|
+
return Array.from({ length: count }, () => createIssueFixture());
|
|
68
|
+
}
|
|
69
|
+
export function createIssueListResponse(issues, hasMore = false) {
|
|
70
|
+
return {
|
|
71
|
+
bugs: issues,
|
|
72
|
+
page_info: {
|
|
73
|
+
page: 1,
|
|
74
|
+
per_page: 100,
|
|
75
|
+
has_more_page: hasMore,
|
|
76
|
+
total_count: issues.length,
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+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AE,CAAC;QACtD,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;QACpD,GAAG,SAAS;KACb,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,QAAgB,CAAC;IACtD,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC;AACnE,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,MAAe,EAAE,UAAmB,KAAK;IAC/E,OAAO;QACL,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE;YACT,IAAI,EAAE,CAAC;YACP,QAAQ,EAAE,GAAG;YACb,aAAa,EAAE,OAAO;YACtB,WAAW,EAAE,MAAM,CAAC,MAAM;SAC3B;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Module, ModuleField } from "../../types/index.js";
|
|
2
|
+
export declare const mockModule: Module;
|
|
3
|
+
export declare const mockModules: Module[];
|
|
4
|
+
export declare const mockModuleField: ModuleField;
|
|
5
|
+
export declare const mockModuleFields: ModuleField[];
|
|
6
|
+
//# sourceMappingURL=modules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/modules.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEhE,eAAO,MAAM,UAAU,EAAE,MAaxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,MAAM,EA4B/B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WAqB7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAAW,EAoCzC,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
export const mockModule = {
|
|
2
|
+
id: "1001",
|
|
3
|
+
id_string: "1001",
|
|
4
|
+
name: "Tasks",
|
|
5
|
+
api_name: "tasks",
|
|
6
|
+
plural_name: "Tasks",
|
|
7
|
+
is_customized: false,
|
|
8
|
+
is_default: true,
|
|
9
|
+
is_web_tab: false,
|
|
10
|
+
is_enabled: true,
|
|
11
|
+
is_visible: true,
|
|
12
|
+
sequence: 1,
|
|
13
|
+
icon: "task_icon",
|
|
14
|
+
};
|
|
15
|
+
export const mockModules = [
|
|
16
|
+
mockModule,
|
|
17
|
+
{
|
|
18
|
+
id: "1002",
|
|
19
|
+
id_string: "1002",
|
|
20
|
+
name: "Bugs",
|
|
21
|
+
api_name: "bugs",
|
|
22
|
+
plural_name: "Bugs",
|
|
23
|
+
is_customized: false,
|
|
24
|
+
is_default: true,
|
|
25
|
+
is_web_tab: false,
|
|
26
|
+
is_enabled: true,
|
|
27
|
+
is_visible: true,
|
|
28
|
+
sequence: 2,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
id: "1003",
|
|
32
|
+
id_string: "1003",
|
|
33
|
+
name: "Custom Module",
|
|
34
|
+
api_name: "custom_module",
|
|
35
|
+
plural_name: "Custom Modules",
|
|
36
|
+
is_customized: true,
|
|
37
|
+
is_default: false,
|
|
38
|
+
is_web_tab: false,
|
|
39
|
+
is_enabled: true,
|
|
40
|
+
is_visible: true,
|
|
41
|
+
sequence: 10,
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
export const mockModuleField = {
|
|
45
|
+
id: "cf_100",
|
|
46
|
+
id_string: "cf_100",
|
|
47
|
+
name: "Priority",
|
|
48
|
+
api_name: "priority",
|
|
49
|
+
display_name: "Task Priority",
|
|
50
|
+
field_type: "picklist",
|
|
51
|
+
data_type: "string",
|
|
52
|
+
is_custom_field: true,
|
|
53
|
+
is_mandatory: false,
|
|
54
|
+
is_visible: true,
|
|
55
|
+
is_editable: true,
|
|
56
|
+
is_searchable: true,
|
|
57
|
+
sequence: 5,
|
|
58
|
+
pick_list_values: [
|
|
59
|
+
{ id: "1", value: "High", sequence: 1, color_code: "#FF0000" },
|
|
60
|
+
{ id: "2", value: "Medium", sequence: 2, color_code: "#FFFF00" },
|
|
61
|
+
{ id: "3", value: "Low", sequence: 3, color_code: "#00FF00" },
|
|
62
|
+
],
|
|
63
|
+
default_value: "Medium",
|
|
64
|
+
tooltip: "Select the priority level",
|
|
65
|
+
};
|
|
66
|
+
export const mockModuleFields = [
|
|
67
|
+
mockModuleField,
|
|
68
|
+
{
|
|
69
|
+
id: "cf_101",
|
|
70
|
+
id_string: "cf_101",
|
|
71
|
+
name: "Estimated Hours",
|
|
72
|
+
api_name: "estimated_hours",
|
|
73
|
+
display_name: "Estimated Hours",
|
|
74
|
+
field_type: "number",
|
|
75
|
+
data_type: "number",
|
|
76
|
+
is_custom_field: true,
|
|
77
|
+
is_mandatory: false,
|
|
78
|
+
is_visible: true,
|
|
79
|
+
is_editable: true,
|
|
80
|
+
is_searchable: false,
|
|
81
|
+
sequence: 6,
|
|
82
|
+
decimal_places: 2,
|
|
83
|
+
max_length: 10,
|
|
84
|
+
default_value: null,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: "name",
|
|
88
|
+
id_string: "name",
|
|
89
|
+
name: "Name",
|
|
90
|
+
api_name: "name",
|
|
91
|
+
display_name: "Task Name",
|
|
92
|
+
field_type: "text",
|
|
93
|
+
data_type: "string",
|
|
94
|
+
is_custom_field: false,
|
|
95
|
+
is_mandatory: true,
|
|
96
|
+
is_visible: true,
|
|
97
|
+
is_editable: true,
|
|
98
|
+
is_searchable: true,
|
|
99
|
+
sequence: 1,
|
|
100
|
+
max_length: 255,
|
|
101
|
+
},
|
|
102
|
+
];
|
|
103
|
+
//# sourceMappingURL=modules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modules.js","sourceRoot":"","sources":["../../../src/__tests__/fixtures/modules.ts"],"names":[],"mappings":"AAEA,MAAM,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IAAI;QACnB,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,GAAG;KAChB;CACF,CAAC"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { Phase } from "../../types/index.js";
|
|
2
|
+
export declare function createPhaseFixture(overrides?: Partial<Phase>): Phase;
|
|
3
|
+
export declare function createPhaseListFixture(count?: number): Phase[];
|
|
4
|
+
export declare function createPhaseListResponse(phases: Phase[], hasMore?: boolean): {
|
|
5
|
+
milestones: import("zod").objectOutputType<{
|
|
6
|
+
id: import("zod").ZodNumber;
|
|
7
|
+
id_string: import("zod").ZodString;
|
|
8
|
+
name: import("zod").ZodString;
|
|
9
|
+
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
10
|
+
sequence: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
11
|
+
start_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
12
|
+
start_date_long: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
13
|
+
end_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
|
+
end_date_long: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
15
|
+
status: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
16
|
+
id: import("zod").ZodUnion<[import("zod").ZodNumber, import("zod").ZodString]>;
|
|
17
|
+
name: import("zod").ZodString;
|
|
18
|
+
color_code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
19
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
20
|
+
id: string | number;
|
|
21
|
+
name: string;
|
|
22
|
+
color_code?: string | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
id: string | number;
|
|
25
|
+
name: string;
|
|
26
|
+
color_code?: string | undefined;
|
|
27
|
+
}>>;
|
|
28
|
+
status_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
29
|
+
completed: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
30
|
+
percent_complete: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
31
|
+
owner: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32
|
+
id: import("zod").ZodString;
|
|
33
|
+
name: import("zod").ZodString;
|
|
34
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
zpuid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
36
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
37
|
+
id: string;
|
|
38
|
+
name: string;
|
|
39
|
+
email?: string | undefined;
|
|
40
|
+
zpuid?: string | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
email?: string | undefined;
|
|
45
|
+
zpuid?: string | undefined;
|
|
46
|
+
}>>;
|
|
47
|
+
owner_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
48
|
+
owner_name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
|
+
flag: import("zod").ZodOptional<import("zod").ZodEnum<["internal", "external"]>>;
|
|
50
|
+
open_task_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
51
|
+
closed_task_count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
52
|
+
project: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
53
|
+
id: import("zod").ZodNumber;
|
|
54
|
+
id_string: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
|
+
name: import("zod").ZodString;
|
|
56
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
57
|
+
id: number;
|
|
58
|
+
name: string;
|
|
59
|
+
id_string?: string | undefined;
|
|
60
|
+
}, {
|
|
61
|
+
id: number;
|
|
62
|
+
name: string;
|
|
63
|
+
id_string?: string | undefined;
|
|
64
|
+
}>>;
|
|
65
|
+
link: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
66
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
67
|
+
url: import("zod").ZodString;
|
|
68
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
69
|
+
url: string;
|
|
70
|
+
}, {
|
|
71
|
+
url: string;
|
|
72
|
+
}>>;
|
|
73
|
+
task: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
74
|
+
url: import("zod").ZodString;
|
|
75
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
76
|
+
url: string;
|
|
77
|
+
}, {
|
|
78
|
+
url: string;
|
|
79
|
+
}>>;
|
|
80
|
+
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
|
|
81
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
82
|
+
url: import("zod").ZodString;
|
|
83
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
84
|
+
url: string;
|
|
85
|
+
}, {
|
|
86
|
+
url: string;
|
|
87
|
+
}>>;
|
|
88
|
+
task: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
89
|
+
url: import("zod").ZodString;
|
|
90
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
91
|
+
url: string;
|
|
92
|
+
}, {
|
|
93
|
+
url: string;
|
|
94
|
+
}>>;
|
|
95
|
+
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
|
|
96
|
+
self: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
97
|
+
url: import("zod").ZodString;
|
|
98
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
99
|
+
url: string;
|
|
100
|
+
}, {
|
|
101
|
+
url: string;
|
|
102
|
+
}>>;
|
|
103
|
+
task: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
104
|
+
url: import("zod").ZodString;
|
|
105
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
106
|
+
url: string;
|
|
107
|
+
}, {
|
|
108
|
+
url: string;
|
|
109
|
+
}>>;
|
|
110
|
+
}, import("zod").ZodTypeAny, "passthrough">>>;
|
|
111
|
+
created_time: import("zod").ZodOptional<import("zod").ZodString>;
|
|
112
|
+
created_time_long: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
113
|
+
last_updated_time: import("zod").ZodOptional<import("zod").ZodString>;
|
|
114
|
+
last_updated_time_long: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
115
|
+
}, import("zod").ZodTypeAny, "passthrough">[];
|
|
116
|
+
page_info: {
|
|
117
|
+
page: number;
|
|
118
|
+
per_page: number;
|
|
119
|
+
has_more_page: boolean;
|
|
120
|
+
total_count: number;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
//# sourceMappingURL=phases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phases.d.ts","sourceRoot":"","sources":["../../../src/__tests__/fixtures/phases.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAElD,wBAAgB,kBAAkB,CAAC,SAAS,GAAE,OAAO,CAAC,KAAK,CAAM,GAAG,KAAK,CAgDxE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,GAAE,MAAU,GAAG,KAAK,EAAE,CAEjE;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,GAAE,OAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUhF"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Phase (Milestone) fixtures for testing
|
|
3
|
+
*/
|
|
4
|
+
import { faker } from "@faker-js/faker";
|
|
5
|
+
export function createPhaseFixture(overrides = {}) {
|
|
6
|
+
const id = faker.number.int({ min: 100000, max: 999999 });
|
|
7
|
+
return {
|
|
8
|
+
id,
|
|
9
|
+
id_string: id.toString(),
|
|
10
|
+
name: faker.company.buzzNoun() + " Milestone",
|
|
11
|
+
description: faker.lorem.sentence(),
|
|
12
|
+
sequence: faker.number.int({ min: 1, max: 100 }),
|
|
13
|
+
start_date: faker.date.past().toLocaleDateString("en-US", {
|
|
14
|
+
month: "2-digit",
|
|
15
|
+
day: "2-digit",
|
|
16
|
+
year: "numeric",
|
|
17
|
+
}),
|
|
18
|
+
start_date_long: faker.date.past().getTime(),
|
|
19
|
+
end_date: faker.date.future().toLocaleDateString("en-US", {
|
|
20
|
+
month: "2-digit",
|
|
21
|
+
day: "2-digit",
|
|
22
|
+
year: "numeric",
|
|
23
|
+
}),
|
|
24
|
+
end_date_long: faker.date.future().getTime(),
|
|
25
|
+
status: {
|
|
26
|
+
id: faker.number.int({ min: 1, max: 5 }),
|
|
27
|
+
name: faker.helpers.arrayElement(["Open", "In Progress", "Completed"]),
|
|
28
|
+
color_code: faker.color.rgb(),
|
|
29
|
+
},
|
|
30
|
+
status_name: faker.helpers.arrayElement(["Open", "In Progress", "Completed"]),
|
|
31
|
+
completed: faker.datatype.boolean(),
|
|
32
|
+
percent_complete: faker.number.int({ min: 0, max: 100 }),
|
|
33
|
+
owner: {
|
|
34
|
+
id: faker.string.numeric(10),
|
|
35
|
+
name: faker.person.fullName(),
|
|
36
|
+
},
|
|
37
|
+
owner_id: faker.string.numeric(10),
|
|
38
|
+
owner_name: faker.person.fullName(),
|
|
39
|
+
flag: faker.helpers.arrayElement(["internal", "external"]),
|
|
40
|
+
open_task_count: faker.number.int({ min: 0, max: 50 }),
|
|
41
|
+
closed_task_count: faker.number.int({ min: 0, max: 50 }),
|
|
42
|
+
project: {
|
|
43
|
+
id: faker.number.int({ min: 100000, max: 999999 }),
|
|
44
|
+
id_string: faker.string.numeric(10),
|
|
45
|
+
name: faker.company.name() + " Project",
|
|
46
|
+
},
|
|
47
|
+
created_time: faker.date.past().toISOString(),
|
|
48
|
+
created_time_long: faker.date.past().getTime(),
|
|
49
|
+
last_updated_time: faker.date.recent().toISOString(),
|
|
50
|
+
last_updated_time_long: faker.date.recent().getTime(),
|
|
51
|
+
...overrides,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function createPhaseListFixture(count = 5) {
|
|
55
|
+
return Array.from({ length: count }, () => createPhaseFixture());
|
|
56
|
+
}
|
|
57
|
+
export function createPhaseListResponse(phases, hasMore = false) {
|
|
58
|
+
return {
|
|
59
|
+
milestones: phases,
|
|
60
|
+
page_info: {
|
|
61
|
+
page: 1,
|
|
62
|
+
per_page: 100,
|
|
63
|
+
has_more_page: hasMore,
|
|
64
|
+
total_count: phases.length,
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=phases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phases.js","sourceRoot":"","sources":["../../../src/__tests__/fixtures/phases.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAGxC,MAAM,UAAU,kBAAkB,CAAC,YAA4B,EAAE;IAC/D,MAAM,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC;IAC1D,OAAO;QACL,EAAE;QACF,SAAS,EAAE,EAAE,CAAC,QAAQ,EAAE;QACxB,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,YAAY;QAC7C,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE;QACnC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QAChD,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE;YACxD,KAAK,EAAE,SAAS;YAChB,GAAG,EAAE,SAAS;YACd,IAAI,EAAE,SAAS;SAChB,CAAC;QACF,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,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