@keystrokehq/rollbar 0.1.2 → 0.1.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.
- package/dist/actions/check-team-project-assignment.cjs +2 -2
- package/dist/actions/check-team-project-assignment.cjs.map +1 -1
- package/dist/actions/check-team-project-assignment.d.cts +2 -2
- package/dist/actions/check-team-project-assignment.d.mts +2 -2
- package/dist/actions/check-team-project-assignment.mjs +2 -2
- package/dist/actions/check-team-project-assignment.mjs.map +1 -1
- package/dist/actions/check-user-team-assignment.cjs +2 -2
- package/dist/actions/check-user-team-assignment.cjs.map +1 -1
- package/dist/actions/check-user-team-assignment.d.cts +2 -2
- package/dist/actions/check-user-team-assignment.d.mts +2 -2
- package/dist/actions/check-user-team-assignment.mjs +2 -2
- package/dist/actions/check-user-team-assignment.mjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.cjs +6 -6
- package/dist/actions/get-occurrences-metrics.cjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.cts +8 -6
- package/dist/actions/get-occurrences-metrics.d.mts +8 -6
- package/dist/actions/get-occurrences-metrics.mjs +6 -6
- package/dist/actions/get-occurrences-metrics.mjs.map +1 -1
- package/dist/actions/get-project.cjs +3 -3
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -3
- package/dist/actions/get-project.d.mts +3 -3
- package/dist/actions/get-project.mjs +3 -3
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-team.cjs +2 -2
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +2 -2
- package/dist/actions/get-team.d.mts +2 -2
- package/dist/actions/get-team.mjs +2 -2
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/get-ttr-metrics.cjs +4 -4
- package/dist/actions/get-ttr-metrics.cjs.map +1 -1
- package/dist/actions/get-ttr-metrics.d.cts +4 -4
- package/dist/actions/get-ttr-metrics.d.mts +4 -4
- package/dist/actions/get-ttr-metrics.mjs +4 -4
- package/dist/actions/get-ttr-metrics.mjs.map +1 -1
- package/dist/actions/get-user.cjs +2 -2
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +2 -2
- package/dist/actions/get-user.d.mts +2 -2
- package/dist/actions/get-user.mjs +2 -2
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-all-projects.cjs +2 -2
- package/dist/actions/list-all-projects.cjs.map +1 -1
- package/dist/actions/list-all-projects.d.cts +2 -2
- package/dist/actions/list-all-projects.d.mts +2 -2
- package/dist/actions/list-all-projects.mjs +2 -2
- package/dist/actions/list-all-projects.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +2 -2
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +2 -2
- package/dist/actions/list-all-teams.d.mts +2 -2
- package/dist/actions/list-all-teams.mjs +2 -2
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +3 -3
- package/dist/actions/list-all-users.cjs.map +1 -1
- package/dist/actions/list-all-users.d.cts +3 -3
- package/dist/actions/list-all-users.d.mts +3 -3
- package/dist/actions/list-all-users.mjs +3 -3
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/list-project-teams.cjs +2 -2
- package/dist/actions/list-project-teams.cjs.map +1 -1
- package/dist/actions/list-project-teams.d.cts +2 -2
- package/dist/actions/list-project-teams.d.mts +2 -2
- package/dist/actions/list-project-teams.mjs +2 -2
- package/dist/actions/list-project-teams.mjs.map +1 -1
- package/dist/actions/list-rql-jobs.cjs +3 -3
- package/dist/actions/list-rql-jobs.cjs.map +1 -1
- package/dist/actions/list-rql-jobs.d.cts +3 -3
- package/dist/actions/list-rql-jobs.d.mts +3 -3
- package/dist/actions/list-rql-jobs.mjs +3 -3
- package/dist/actions/list-rql-jobs.mjs.map +1 -1
- package/dist/actions/list-team-invitations.cjs +2 -2
- package/dist/actions/list-team-invitations.cjs.map +1 -1
- package/dist/actions/list-team-invitations.d.cts +2 -2
- package/dist/actions/list-team-invitations.d.mts +2 -2
- package/dist/actions/list-team-invitations.mjs +2 -2
- package/dist/actions/list-team-invitations.mjs.map +1 -1
- package/dist/actions/list-team-projects.cjs +2 -2
- package/dist/actions/list-team-projects.cjs.map +1 -1
- package/dist/actions/list-team-projects.d.cts +2 -2
- package/dist/actions/list-team-projects.d.mts +2 -2
- package/dist/actions/list-team-projects.mjs +2 -2
- package/dist/actions/list-team-projects.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +2 -2
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +2 -2
- package/dist/actions/list-team-users.d.mts +2 -2
- package/dist/actions/list-team-users.mjs +2 -2
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-user-projects.cjs +3 -3
- package/dist/actions/list-user-projects.cjs.map +1 -1
- package/dist/actions/list-user-projects.d.cts +3 -3
- package/dist/actions/list-user-projects.d.mts +3 -3
- package/dist/actions/list-user-projects.mjs +3 -3
- package/dist/actions/list-user-projects.mjs.map +1 -1
- package/dist/actions/list-user-teams.cjs +2 -2
- package/dist/actions/list-user-teams.cjs.map +1 -1
- package/dist/actions/list-user-teams.d.cts +2 -2
- package/dist/actions/list-user-teams.d.mts +2 -2
- package/dist/actions/list-user-teams.mjs +2 -2
- package/dist/actions/list-user-teams.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,11 +7,11 @@ const RollbarGetTeam_TeamResultSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the team").nullable(),
|
|
8
8
|
account_id: zod.z.number().int().describe("Account ID the team belongs to").nullable(),
|
|
9
9
|
access_level: zod.z.string().describe("Access level of the team (e.g., 'owner', 'standard', etc.)").nullable()
|
|
10
|
-
}).describe("Represents team information returned by the API.");
|
|
10
|
+
}).passthrough().describe("Represents team information returned by the API.");
|
|
11
11
|
const RollbarGetTeamOutput = zod.z.object({
|
|
12
12
|
err: zod.z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
13
13
|
result: RollbarGetTeam_TeamResultSchema.nullable()
|
|
14
|
-
}).describe("Response model for GetTeam action.");
|
|
14
|
+
}).passthrough().describe("Response model for GetTeam action.");
|
|
15
15
|
const rollbarGetTeam = require_action.action("ROLLBAR_GET_TEAM", {
|
|
16
16
|
slug: "rollbar-get-team",
|
|
17
17
|
name: "Get Team by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTeamInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to retrieve\"),\n}).describe(\"Request model for fetching a specific team by ID.\");\nconst RollbarGetTeam_TeamResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID the team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team (e.g., 'owner', 'standard', etc.)\").nullable(),\n}).describe(\"Represents team information returned by the API.\");\nexport const RollbarGetTeamOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetTeam_TeamResultSchema.nullable(),\n}).describe(\"Response model for GetTeam action.\");\n\nexport const rollbarGetTeam = action(\"ROLLBAR_GET_TEAM\", {\n slug: \"rollbar-get-team\",\n name: \"Get Team by ID\",\n description: \"Tool to retrieve details of a specific team by ID. Use when you need to fetch information about a team including its name, account ID, and access level.\",\n input: RollbarGetTeamInput,\n output: RollbarGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTeamInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to retrieve\"),\n}).describe(\"Request model for fetching a specific team by ID.\");\nconst RollbarGetTeam_TeamResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID the team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team (e.g., 'owner', 'standard', etc.)\").nullable(),\n}).passthrough().describe(\"Represents team information returned by the API.\");\nexport const RollbarGetTeamOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetTeam_TeamResultSchema.nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const rollbarGetTeam = action(\"ROLLBAR_GET_TEAM\", {\n slug: \"rollbar-get-team\",\n name: \"Get Team by ID\",\n description: \"Tool to retrieve details of a specific team by ID. Use when you need to fetch information about a team including its name, account ID, and access level.\",\n input: RollbarGetTeamInput,\n output: RollbarGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const RollbarGetTeamOutput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
account_id: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
access_level: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const rollbarGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
team_id: number;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const RollbarGetTeamOutput: z.ZodObject<{
|
|
|
11
11
|
name: z.ZodNullable<z.ZodString>;
|
|
12
12
|
account_id: z.ZodNullable<z.ZodNumber>;
|
|
13
13
|
access_level: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const rollbarGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
team_id: number;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ const RollbarGetTeam_TeamResultSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the team").nullable(),
|
|
8
8
|
account_id: z.number().int().describe("Account ID the team belongs to").nullable(),
|
|
9
9
|
access_level: z.string().describe("Access level of the team (e.g., 'owner', 'standard', etc.)").nullable()
|
|
10
|
-
}).describe("Represents team information returned by the API.");
|
|
10
|
+
}).passthrough().describe("Represents team information returned by the API.");
|
|
11
11
|
const rollbarGetTeam = action("ROLLBAR_GET_TEAM", {
|
|
12
12
|
slug: "rollbar-get-team",
|
|
13
13
|
name: "Get Team by ID",
|
|
@@ -16,7 +16,7 @@ const rollbarGetTeam = action("ROLLBAR_GET_TEAM", {
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
err: z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
18
18
|
result: RollbarGetTeam_TeamResultSchema.nullable()
|
|
19
|
-
}).describe("Response model for GetTeam action.")
|
|
19
|
+
}).passthrough().describe("Response model for GetTeam action.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { rollbarGetTeam };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTeamInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to retrieve\"),\n}).describe(\"Request model for fetching a specific team by ID.\");\nconst RollbarGetTeam_TeamResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID the team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team (e.g., 'owner', 'standard', etc.)\").nullable(),\n}).describe(\"Represents team information returned by the API.\");\nexport const RollbarGetTeamOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetTeam_TeamResultSchema.nullable(),\n}).describe(\"Response model for GetTeam action.\");\n\nexport const rollbarGetTeam = action(\"ROLLBAR_GET_TEAM\", {\n slug: \"rollbar-get-team\",\n name: \"Get Team by ID\",\n description: \"Tool to retrieve details of a specific team by ID. Use when you need to fetch information about a team including its name, account ID, and access level.\",\n input: RollbarGetTeamInput,\n output: RollbarGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTeamInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to retrieve\"),\n}).describe(\"Request model for fetching a specific team by ID.\");\nconst RollbarGetTeam_TeamResultSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID the team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team (e.g., 'owner', 'standard', etc.)\").nullable(),\n}).passthrough().describe(\"Represents team information returned by the API.\");\nexport const RollbarGetTeamOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetTeam_TeamResultSchema.nullable(),\n}).passthrough().describe(\"Response model for GetTeam action.\");\n\nexport const rollbarGetTeam = action(\"ROLLBAR_GET_TEAM\", {\n slug: \"rollbar-get-team\",\n name: \"Get Team by ID\",\n description: \"Tool to retrieve details of a specific team by ID. Use when you need to fetch information about a team including its name, account ID, and access level.\",\n input: RollbarGetTeamInput,\n output: RollbarGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ const RollbarGetTtrMetricsInput = zod.z.object({
|
|
|
28
28
|
const RollbarGetTtrMetrics_MetricsDataPointSchema = zod.z.object({
|
|
29
29
|
value: zod.z.number().describe("The metric value (resolution time) for this data point.").nullable().optional(),
|
|
30
30
|
timestamp: zod.z.number().int().describe("Unix timestamp for this data point.").nullable().optional()
|
|
31
|
-
}).describe("A single data point in the metrics result.");
|
|
31
|
+
}).passthrough().describe("A single data point in the metrics result.");
|
|
32
32
|
const RollbarGetTtrMetrics_MetricsParamsSchema = zod.z.object({
|
|
33
33
|
levels: zod.z.array(zod.z.string()).describe("List of level names used in the query.").nullable().optional(),
|
|
34
34
|
end_time: zod.z.number().int().describe("Unix timestamp of end time used in the query.").nullable().optional(),
|
|
@@ -39,15 +39,15 @@ const RollbarGetTtrMetrics_MetricsParamsSchema = zod.z.object({
|
|
|
39
39
|
granularity: zod.z.string().describe("Granularity used in the query.").nullable().optional(),
|
|
40
40
|
project_ids: zod.z.array(zod.z.number().int()).describe("List of project IDs used in the query.").nullable().optional(),
|
|
41
41
|
environments: zod.z.array(zod.z.string()).describe("List of environment names used in the query.").nullable().optional()
|
|
42
|
-
}).describe("Parameters used in the metrics query.");
|
|
42
|
+
}).passthrough().describe("Parameters used in the metrics query.");
|
|
43
43
|
const RollbarGetTtrMetrics_MetricsResultSchema = zod.z.object({
|
|
44
44
|
data: zod.z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe("List of time-to-resolution metrics data points.").nullable().optional(),
|
|
45
45
|
params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional()
|
|
46
|
-
}).describe("Result containing metrics data and parameters.");
|
|
46
|
+
}).passthrough().describe("Result containing metrics data and parameters.");
|
|
47
47
|
const RollbarGetTtrMetricsOutput = zod.z.object({
|
|
48
48
|
err: zod.z.number().int().describe("Error code. 0 indicates success.").nullable().optional(),
|
|
49
49
|
result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional()
|
|
50
|
-
}).describe("Response containing time-to-resolution metrics.");
|
|
50
|
+
}).passthrough().describe("Response containing time-to-resolution metrics.");
|
|
51
51
|
const rollbarGetTtrMetrics = require_action.action("ROLLBAR_GET_TTR_METRICS", {
|
|
52
52
|
slug: "rollbar-get-ttr-metrics",
|
|
53
53
|
name: "Get TTR metrics",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;EAAO;EAAQ;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChH,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).passthrough().describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).passthrough().describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -31,7 +31,7 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
31
31
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
32
|
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
37
|
end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -42,9 +42,9 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
42
42
|
granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
project_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
44
44
|
environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
start_time: number;
|
|
50
50
|
levels?: string[] | undefined;
|
|
@@ -31,7 +31,7 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
31
31
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
32
|
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
33
|
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
-
}, z.core.$
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
35
|
params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
36
|
levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
37
|
end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -42,9 +42,9 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
42
42
|
granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
project_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
44
44
|
environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
45
|
-
}, z.core.$
|
|
46
|
-
}, z.core.$
|
|
47
|
-
}, z.core.$
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
48
|
declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
start_time: number;
|
|
50
50
|
levels?: string[] | undefined;
|
|
@@ -28,7 +28,7 @@ const RollbarGetTtrMetricsInput = z.object({
|
|
|
28
28
|
const RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({
|
|
29
29
|
value: z.number().describe("The metric value (resolution time) for this data point.").nullable().optional(),
|
|
30
30
|
timestamp: z.number().int().describe("Unix timestamp for this data point.").nullable().optional()
|
|
31
|
-
}).describe("A single data point in the metrics result.");
|
|
31
|
+
}).passthrough().describe("A single data point in the metrics result.");
|
|
32
32
|
const RollbarGetTtrMetrics_MetricsParamsSchema = z.object({
|
|
33
33
|
levels: z.array(z.string()).describe("List of level names used in the query.").nullable().optional(),
|
|
34
34
|
end_time: z.number().int().describe("Unix timestamp of end time used in the query.").nullable().optional(),
|
|
@@ -39,11 +39,11 @@ const RollbarGetTtrMetrics_MetricsParamsSchema = z.object({
|
|
|
39
39
|
granularity: z.string().describe("Granularity used in the query.").nullable().optional(),
|
|
40
40
|
project_ids: z.array(z.number().int()).describe("List of project IDs used in the query.").nullable().optional(),
|
|
41
41
|
environments: z.array(z.string()).describe("List of environment names used in the query.").nullable().optional()
|
|
42
|
-
}).describe("Parameters used in the metrics query.");
|
|
42
|
+
}).passthrough().describe("Parameters used in the metrics query.");
|
|
43
43
|
const RollbarGetTtrMetrics_MetricsResultSchema = z.object({
|
|
44
44
|
data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe("List of time-to-resolution metrics data points.").nullable().optional(),
|
|
45
45
|
params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional()
|
|
46
|
-
}).describe("Result containing metrics data and parameters.");
|
|
46
|
+
}).passthrough().describe("Result containing metrics data and parameters.");
|
|
47
47
|
const rollbarGetTtrMetrics = action("ROLLBAR_GET_TTR_METRICS", {
|
|
48
48
|
slug: "rollbar-get-ttr-metrics",
|
|
49
49
|
name: "Get TTR metrics",
|
|
@@ -52,7 +52,7 @@ const rollbarGetTtrMetrics = action("ROLLBAR_GET_TTR_METRICS", {
|
|
|
52
52
|
output: z.object({
|
|
53
53
|
err: z.number().int().describe("Error code. 0 indicates success.").nullable().optional(),
|
|
54
54
|
result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional()
|
|
55
|
-
}).describe("Response containing time-to-resolution metrics.")
|
|
55
|
+
}).passthrough().describe("Response containing time-to-resolution metrics.")
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { rollbarGetTtrMetrics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,YAAY,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;EAAO;EAAQ;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).passthrough().describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).passthrough().describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -7,11 +7,11 @@ const RollbarGetUser_UserResultSchema = zod.z.object({
|
|
|
7
7
|
email: zod.z.string().describe("The email address of the user").nullable().optional(),
|
|
8
8
|
username: zod.z.string().describe("The username of the user").nullable().optional(),
|
|
9
9
|
email_enabled: zod.z.number().int().describe("Whether email notifications are enabled (1 for enabled, 0 for disabled)").nullable().optional()
|
|
10
|
-
}).describe("User information returned by the Rollbar API.");
|
|
10
|
+
}).passthrough().describe("User information returned by the Rollbar API.");
|
|
11
11
|
const RollbarGetUserOutput = zod.z.object({
|
|
12
12
|
err: zod.z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
13
13
|
result: RollbarGetUser_UserResultSchema.nullable()
|
|
14
|
-
}).describe("Response model for fetching a specific Rollbar user.");
|
|
14
|
+
}).passthrough().describe("Response model for fetching a specific Rollbar user.");
|
|
15
15
|
const rollbarGetUser = require_action.action("ROLLBAR_GET_USER", {
|
|
16
16
|
slug: "rollbar-get-user",
|
|
17
17
|
name: "Get User by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).passthrough().describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const RollbarGetUserOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
user_id: number;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const RollbarGetUserOutput: z.ZodObject<{
|
|
|
11
11
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
user_id: number;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ const RollbarGetUser_UserResultSchema = z.object({
|
|
|
7
7
|
email: z.string().describe("The email address of the user").nullable().optional(),
|
|
8
8
|
username: z.string().describe("The username of the user").nullable().optional(),
|
|
9
9
|
email_enabled: z.number().int().describe("Whether email notifications are enabled (1 for enabled, 0 for disabled)").nullable().optional()
|
|
10
|
-
}).describe("User information returned by the Rollbar API.");
|
|
10
|
+
}).passthrough().describe("User information returned by the Rollbar API.");
|
|
11
11
|
const rollbarGetUser = action("ROLLBAR_GET_USER", {
|
|
12
12
|
slug: "rollbar-get-user",
|
|
13
13
|
name: "Get User by ID",
|
|
@@ -16,7 +16,7 @@ const rollbarGetUser = action("ROLLBAR_GET_USER", {
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
err: z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
18
18
|
result: RollbarGetUser_UserResultSchema.nullable()
|
|
19
|
-
}).describe("Response model for fetching a specific Rollbar user.")
|
|
19
|
+
}).passthrough().describe("Response model for fetching a specific Rollbar user.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { rollbarGetUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).passthrough().describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAMzE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -10,11 +10,11 @@ const RollbarListAllProjects_ProjectSchema = zod.z.object({
|
|
|
10
10
|
date_created: zod.z.number().int().describe("Unix timestamp when the project was created.").nullable().optional(),
|
|
11
11
|
date_modified: zod.z.number().int().describe("Unix timestamp when the project was last modified.").nullable().optional(),
|
|
12
12
|
settings_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional settings data for the project.").nullable().optional()
|
|
13
|
-
}).describe("Represents a Rollbar project.");
|
|
13
|
+
}).passthrough().describe("Represents a Rollbar project.");
|
|
14
14
|
const RollbarListAllProjectsOutput = zod.z.object({
|
|
15
15
|
err: zod.z.number().int().describe("Error code. 0 indicates success.").nullable(),
|
|
16
16
|
result: zod.z.array(RollbarListAllProjects_ProjectSchema).describe("List of projects in the account.")
|
|
17
|
-
}).describe("Response schema for listing all projects.");
|
|
17
|
+
}).passthrough().describe("Response schema for listing all projects.");
|
|
18
18
|
const rollbarListAllProjects = require_action.action("ROLLBAR_LIST_ALL_PROJECTS", {
|
|
19
19
|
slug: "rollbar-list-all-projects",
|
|
20
20
|
name: "List All Projects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;
|
|
1
|
+
{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).passthrough().describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
|
12
12
|
date_created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
date_modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { rollbarListAllProjects };
|
|
@@ -12,8 +12,8 @@ declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
|
12
12
|
date_created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
date_modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
14
|
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { rollbarListAllProjects };
|
|
@@ -10,7 +10,7 @@ const RollbarListAllProjects_ProjectSchema = z.object({
|
|
|
10
10
|
date_created: z.number().int().describe("Unix timestamp when the project was created.").nullable().optional(),
|
|
11
11
|
date_modified: z.number().int().describe("Unix timestamp when the project was last modified.").nullable().optional(),
|
|
12
12
|
settings_data: z.record(z.string(), z.unknown()).describe("Additional settings data for the project.").nullable().optional()
|
|
13
|
-
}).describe("Represents a Rollbar project.");
|
|
13
|
+
}).passthrough().describe("Represents a Rollbar project.");
|
|
14
14
|
const rollbarListAllProjects = action("ROLLBAR_LIST_ALL_PROJECTS", {
|
|
15
15
|
slug: "rollbar-list-all-projects",
|
|
16
16
|
name: "List All Projects",
|
|
@@ -19,7 +19,7 @@ const rollbarListAllProjects = action("ROLLBAR_LIST_ALL_PROJECTS", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
err: z.number().int().describe("Error code. 0 indicates success.").nullable(),
|
|
21
21
|
result: z.array(RollbarListAllProjects_ProjectSchema).describe("List of projects in the account.")
|
|
22
|
-
}).describe("Response schema for listing all projects.")
|
|
22
|
+
}).passthrough().describe("Response schema for listing all projects.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { rollbarListAllProjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;
|
|
1
|
+
{"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).passthrough().describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -7,11 +7,11 @@ const RollbarListAllTeams_TeamSchema = zod.z.object({
|
|
|
7
7
|
name: zod.z.string().describe("Name of the team").nullable(),
|
|
8
8
|
account_id: zod.z.number().int().describe("Account ID this team belongs to").nullable(),
|
|
9
9
|
access_level: zod.z.string().describe("Access level of the team").nullable()
|
|
10
|
-
}).describe("Model representing a team in Rollbar.");
|
|
10
|
+
}).passthrough().describe("Model representing a team in Rollbar.");
|
|
11
11
|
const RollbarListAllTeamsOutput = zod.z.object({
|
|
12
12
|
err: zod.z.number().int().describe("Error code, 0 indicates success").nullable(),
|
|
13
13
|
result: zod.z.array(RollbarListAllTeams_TeamSchema).describe("List of teams in the account")
|
|
14
|
-
}).describe("Response model for listing all teams in a Rollbar account.");
|
|
14
|
+
}).passthrough().describe("Response model for listing all teams in a Rollbar account.");
|
|
15
15
|
const rollbarListAllTeams = require_action.action("ROLLBAR_LIST_ALL_TEAMS", {
|
|
16
16
|
slug: "rollbar-list-all-teams",
|
|
17
17
|
name: "List All Teams",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).passthrough().describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).passthrough().describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ declare const RollbarListAllTeamsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
account_id: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
access_level: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { rollbarListAllTeams };
|
|
@@ -9,8 +9,8 @@ declare const RollbarListAllTeamsOutput: z.ZodObject<{
|
|
|
9
9
|
name: z.ZodNullable<z.ZodString>;
|
|
10
10
|
account_id: z.ZodNullable<z.ZodNumber>;
|
|
11
11
|
access_level: z.ZodNullable<z.ZodString>;
|
|
12
|
-
}, z.core.$
|
|
13
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { rollbarListAllTeams };
|
|
@@ -7,7 +7,7 @@ const RollbarListAllTeams_TeamSchema = z.object({
|
|
|
7
7
|
name: z.string().describe("Name of the team").nullable(),
|
|
8
8
|
account_id: z.number().int().describe("Account ID this team belongs to").nullable(),
|
|
9
9
|
access_level: z.string().describe("Access level of the team").nullable()
|
|
10
|
-
}).describe("Model representing a team in Rollbar.");
|
|
10
|
+
}).passthrough().describe("Model representing a team in Rollbar.");
|
|
11
11
|
const rollbarListAllTeams = action("ROLLBAR_LIST_ALL_TEAMS", {
|
|
12
12
|
slug: "rollbar-list-all-teams",
|
|
13
13
|
name: "List All Teams",
|
|
@@ -16,7 +16,7 @@ const rollbarListAllTeams = action("ROLLBAR_LIST_ALL_TEAMS", {
|
|
|
16
16
|
output: z.object({
|
|
17
17
|
err: z.number().int().describe("Error code, 0 indicates success").nullable(),
|
|
18
18
|
result: z.array(RollbarListAllTeams_TeamSchema).describe("List of teams in the account")
|
|
19
|
-
}).describe("Response model for listing all teams in a Rollbar account.")
|
|
19
|
+
}).passthrough().describe("Response model for listing all teams in a Rollbar account.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { rollbarListAllTeams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,uCAAuC;
|
|
1
|
+
{"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).passthrough().describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).passthrough().describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -6,12 +6,12 @@ const RollbarListAllUsers_UserSchema = zod.z.object({
|
|
|
6
6
|
id: zod.z.number().int().describe("Unique identifier for the user.").nullable(),
|
|
7
7
|
email: zod.z.string().describe("Email address of the user.").nullable(),
|
|
8
8
|
username: zod.z.string().describe("Username of the user.").nullable()
|
|
9
|
-
}).describe("Represents a single user in the Rollbar account.");
|
|
10
|
-
const RollbarListAllUsers_ResultWrapperSchema = zod.z.object({ users: zod.z.array(RollbarListAllUsers_UserSchema).describe("List of user objects in the account.") }).describe("Wrapper for the result containing the users list.");
|
|
9
|
+
}).passthrough().describe("Represents a single user in the Rollbar account.");
|
|
10
|
+
const RollbarListAllUsers_ResultWrapperSchema = zod.z.object({ users: zod.z.array(RollbarListAllUsers_UserSchema).describe("List of user objects in the account.") }).passthrough().describe("Wrapper for the result containing the users list.");
|
|
11
11
|
const RollbarListAllUsersOutput = zod.z.object({
|
|
12
12
|
err: zod.z.number().int().describe("Error code. 0 indicates success, non-zero indicates an error.").nullable(),
|
|
13
13
|
result: RollbarListAllUsers_ResultWrapperSchema.nullable()
|
|
14
|
-
}).describe("Response containing the list of users and error status.");
|
|
14
|
+
}).passthrough().describe("Response containing the list of users and error status.");
|
|
15
15
|
const rollbarListAllUsers = require_action.action("ROLLBAR_LIST_ALL_USERS", {
|
|
16
16
|
slug: "rollbar-list-all-users",
|
|
17
17
|
name: "List All Users",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kDAAkD;
|
|
1
|
+
{"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).passthrough().describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).passthrough().describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,QAAQ,wCAAwC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,9 +11,9 @@ declare const RollbarListAllUsersOutput: z.ZodObject<{
|
|
|
11
11
|
id: z.ZodNullable<z.ZodNumber>;
|
|
12
12
|
email: z.ZodNullable<z.ZodString>;
|
|
13
13
|
username: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
16
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const rollbarListAllUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
email?: string | undefined;
|
|
19
19
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|