@keystrokehq/rollbar 0.1.4 → 0.1.6
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-team-project-assignment.cjs +1 -0
- package/dist/actions/check-team-project-assignment.cjs.map +1 -1
- package/dist/actions/check-team-project-assignment.d.cts +3 -4
- package/dist/actions/check-team-project-assignment.d.cts.map +1 -1
- package/dist/actions/check-team-project-assignment.d.mts +3 -4
- package/dist/actions/check-team-project-assignment.d.mts.map +1 -1
- package/dist/actions/check-team-project-assignment.mjs +1 -0
- package/dist/actions/check-team-project-assignment.mjs.map +1 -1
- package/dist/actions/check-user-team-assignment.cjs +1 -0
- package/dist/actions/check-user-team-assignment.cjs.map +1 -1
- package/dist/actions/check-user-team-assignment.d.cts +3 -4
- package/dist/actions/check-user-team-assignment.d.cts.map +1 -1
- package/dist/actions/check-user-team-assignment.d.mts +3 -4
- package/dist/actions/check-user-team-assignment.d.mts.map +1 -1
- package/dist/actions/check-user-team-assignment.mjs +1 -0
- package/dist/actions/check-user-team-assignment.mjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.cjs +1 -0
- package/dist/actions/get-occurrences-metrics.cjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.cts +3 -25
- package/dist/actions/get-occurrences-metrics.d.cts.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.mts +3 -25
- package/dist/actions/get-occurrences-metrics.d.mts.map +1 -1
- package/dist/actions/get-occurrences-metrics.mjs +1 -0
- package/dist/actions/get-occurrences-metrics.mjs.map +1 -1
- package/dist/actions/get-project.cjs +1 -0
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +3 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +1 -0
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-team.cjs +1 -0
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +3 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +3 -3
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs +1 -0
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/get-ttr-metrics.cjs +1 -0
- package/dist/actions/get-ttr-metrics.cjs.map +1 -1
- package/dist/actions/get-ttr-metrics.d.cts +3 -11
- package/dist/actions/get-ttr-metrics.d.cts.map +1 -1
- package/dist/actions/get-ttr-metrics.d.mts +3 -11
- package/dist/actions/get-ttr-metrics.d.mts.map +1 -1
- package/dist/actions/get-ttr-metrics.mjs +1 -0
- package/dist/actions/get-ttr-metrics.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-all-projects.cjs +1 -0
- package/dist/actions/list-all-projects.cjs.map +1 -1
- package/dist/actions/list-all-projects.d.cts +3 -1
- package/dist/actions/list-all-projects.d.cts.map +1 -1
- package/dist/actions/list-all-projects.d.mts +3 -1
- package/dist/actions/list-all-projects.d.mts.map +1 -1
- package/dist/actions/list-all-projects.mjs +1 -0
- package/dist/actions/list-all-projects.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +1 -0
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +3 -1
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -1
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs +1 -0
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +3 -3
- package/dist/actions/list-all-users.d.mts.map +1 -1
- package/dist/actions/list-all-users.mjs +1 -0
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/list-project-teams.cjs +1 -0
- package/dist/actions/list-project-teams.cjs.map +1 -1
- package/dist/actions/list-project-teams.d.cts +3 -4
- package/dist/actions/list-project-teams.d.cts.map +1 -1
- package/dist/actions/list-project-teams.d.mts +3 -4
- package/dist/actions/list-project-teams.d.mts.map +1 -1
- package/dist/actions/list-project-teams.mjs +1 -0
- package/dist/actions/list-project-teams.mjs.map +1 -1
- package/dist/actions/list-rql-jobs.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/list-rql-jobs.d.mts +3 -3
- package/dist/actions/list-rql-jobs.d.mts.map +1 -1
- package/dist/actions/list-rql-jobs.mjs +1 -0
- package/dist/actions/list-rql-jobs.mjs.map +1 -1
- package/dist/actions/list-team-invitations.cjs +1 -0
- package/dist/actions/list-team-invitations.cjs.map +1 -1
- package/dist/actions/list-team-invitations.d.cts +3 -4
- package/dist/actions/list-team-invitations.d.cts.map +1 -1
- package/dist/actions/list-team-invitations.d.mts +3 -4
- package/dist/actions/list-team-invitations.d.mts.map +1 -1
- package/dist/actions/list-team-invitations.mjs +1 -0
- package/dist/actions/list-team-invitations.mjs.map +1 -1
- package/dist/actions/list-team-projects.cjs +1 -0
- package/dist/actions/list-team-projects.cjs.map +1 -1
- package/dist/actions/list-team-projects.d.cts +3 -3
- package/dist/actions/list-team-projects.d.cts.map +1 -1
- package/dist/actions/list-team-projects.d.mts +3 -3
- package/dist/actions/list-team-projects.d.mts.map +1 -1
- package/dist/actions/list-team-projects.mjs +1 -0
- package/dist/actions/list-team-projects.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +1 -0
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +3 -4
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -4
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +1 -0
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-user-projects.cjs +1 -0
- 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.cts.map +1 -1
- package/dist/actions/list-user-projects.d.mts +3 -3
- package/dist/actions/list-user-projects.d.mts.map +1 -1
- package/dist/actions/list-user-projects.mjs +1 -0
- package/dist/actions/list-user-projects.mjs.map +1 -1
- package/dist/actions/list-user-teams.cjs +1 -0
- package/dist/actions/list-user-teams.cjs.map +1 -1
- package/dist/actions/list-user-teams.d.cts +3 -3
- package/dist/actions/list-user-teams.d.cts.map +1 -1
- package/dist/actions/list-user-teams.d.mts +3 -3
- package/dist/actions/list-user-teams.d.mts.map +1 -1
- package/dist/actions/list-user-teams.mjs +1 -0
- package/dist/actions/list-user-teams.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["rollbar","executeRollbarTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rollbar } from \"./app\";\nimport { executeRollbarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["rollbar","executeRollbarTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { rollbar } from \"./app\";\nimport { executeRollbarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof rollbar.credential> {\n return rollbar.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRollbarTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rollbar } from \"./app\";\nimport { executeRollbarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { rollbar } from \"./app\";\nimport { executeRollbarTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof rollbar.credential> {\n return rollbar.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRollbarTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-team-project-assignment.cjs","names":["z","action"],"sources":["../../src/actions/check-team-project-assignment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarCheckTeamProjectAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n project_id: z.number().int().describe(\"The unique identifier of the project to check\"),\n}).describe(\"Request model for checking if a team is assigned to a project.\");\nconst RollbarCheckTeamProjectAssignment_TeamProjectResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID assigned to the project\").nullable().optional(),\n project_id: z.number().int().describe(\"The project ID associated with the assignment\").nullable().optional(),\n}).passthrough().describe(\"Result object containing team and project assignment information.\");\nexport const RollbarCheckTeamProjectAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success, non-zero indicates error)\").nullable(),\n result: RollbarCheckTeamProjectAssignment_TeamProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking team project assignment.\");\n\nexport const rollbarCheckTeamProjectAssignment = action(\"ROLLBAR_CHECK_TEAM_PROJECT_ASSIGNMENT\", {\n slug: \"rollbar-check-team-project-assignment\",\n name: \"Check Team Project Assignment\",\n description: \"Tool to check if a team is assigned to a project in Rollbar. Use when you need to verify team-project relationships or validate access permissions. Returns 404 if the project is not assigned to the team.\",\n input: RollbarCheckTeamProjectAssignmentInput,\n output: RollbarCheckTeamProjectAssignmentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-team-project-assignment.cjs","names":["z","action"],"sources":["../../src/actions/check-team-project-assignment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarCheckTeamProjectAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n project_id: z.number().int().describe(\"The unique identifier of the project to check\"),\n}).describe(\"Request model for checking if a team is assigned to a project.\");\nconst RollbarCheckTeamProjectAssignment_TeamProjectResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID assigned to the project\").nullable().optional(),\n project_id: z.number().int().describe(\"The project ID associated with the assignment\").nullable().optional(),\n}).passthrough().describe(\"Result object containing team and project assignment information.\");\nexport const RollbarCheckTeamProjectAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success, non-zero indicates error)\").nullable(),\n result: RollbarCheckTeamProjectAssignment_TeamProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking team project assignment.\");\n\nexport const rollbarCheckTeamProjectAssignment: AppAction<\n typeof RollbarCheckTeamProjectAssignmentInput,\n typeof RollbarCheckTeamProjectAssignmentOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_CHECK_TEAM_PROJECT_ASSIGNMENT\", {\n slug: \"rollbar-check-team-project-assignment\",\n name: \"Check Team Project Assignment\",\n description: \"Tool to check if a team is assigned to a project in Rollbar. Use when you need to verify team-project relationships or validate access permissions. Returns 404 if the project is not assigned to the team.\",\n input: RollbarCheckTeamProjectAssignmentInput,\n output: RollbarCheckTeamProjectAssignmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACvF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,4DAA4DA,IAAAA,EAAE,OAAO;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,QAAQ,0DAA0D,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-team-project-assignment.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RollbarCheckTeamProjectAssignmentOutput: z.ZodObject<{
|
|
|
12
14
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rollbarCheckTeamProjectAssignment:
|
|
16
|
-
team_id: number;
|
|
17
|
-
project_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rollbarCheckTeamProjectAssignment: AppAction<typeof RollbarCheckTeamProjectAssignmentInput, typeof RollbarCheckTeamProjectAssignmentOutput, typeof rollbar.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rollbarCheckTeamProjectAssignment };
|
|
21
20
|
//# sourceMappingURL=check-team-project-assignment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-team-project-assignment.d.cts","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-team-project-assignment.d.cts","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-team-project-assignment.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RollbarCheckTeamProjectAssignmentOutput: z.ZodObject<{
|
|
|
12
14
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rollbarCheckTeamProjectAssignment:
|
|
16
|
-
team_id: number;
|
|
17
|
-
project_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rollbarCheckTeamProjectAssignment: AppAction<typeof RollbarCheckTeamProjectAssignmentInput, typeof RollbarCheckTeamProjectAssignmentOutput, typeof rollbar.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rollbarCheckTeamProjectAssignment };
|
|
21
20
|
//# sourceMappingURL=check-team-project-assignment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-team-project-assignment.d.mts","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-team-project-assignment.d.mts","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-team-project-assignment.mjs","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarCheckTeamProjectAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n project_id: z.number().int().describe(\"The unique identifier of the project to check\"),\n}).describe(\"Request model for checking if a team is assigned to a project.\");\nconst RollbarCheckTeamProjectAssignment_TeamProjectResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID assigned to the project\").nullable().optional(),\n project_id: z.number().int().describe(\"The project ID associated with the assignment\").nullable().optional(),\n}).passthrough().describe(\"Result object containing team and project assignment information.\");\nexport const RollbarCheckTeamProjectAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success, non-zero indicates error)\").nullable(),\n result: RollbarCheckTeamProjectAssignment_TeamProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking team project assignment.\");\n\nexport const rollbarCheckTeamProjectAssignment = action(\"ROLLBAR_CHECK_TEAM_PROJECT_ASSIGNMENT\", {\n slug: \"rollbar-check-team-project-assignment\",\n name: \"Check Team Project Assignment\",\n description: \"Tool to check if a team is assigned to a project in Rollbar. Use when you need to verify team-project relationships or validate access permissions. Returns 404 if the project is not assigned to the team.\",\n input: RollbarCheckTeamProjectAssignmentInput,\n output: RollbarCheckTeamProjectAssignmentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-team-project-assignment.mjs","names":[],"sources":["../../src/actions/check-team-project-assignment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarCheckTeamProjectAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n project_id: z.number().int().describe(\"The unique identifier of the project to check\"),\n}).describe(\"Request model for checking if a team is assigned to a project.\");\nconst RollbarCheckTeamProjectAssignment_TeamProjectResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID assigned to the project\").nullable().optional(),\n project_id: z.number().int().describe(\"The project ID associated with the assignment\").nullable().optional(),\n}).passthrough().describe(\"Result object containing team and project assignment information.\");\nexport const RollbarCheckTeamProjectAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success, non-zero indicates error)\").nullable(),\n result: RollbarCheckTeamProjectAssignment_TeamProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking team project assignment.\");\n\nexport const rollbarCheckTeamProjectAssignment: AppAction<\n typeof RollbarCheckTeamProjectAssignmentInput,\n typeof RollbarCheckTeamProjectAssignmentOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_CHECK_TEAM_PROJECT_ASSIGNMENT\", {\n slug: \"rollbar-check-team-project-assignment\",\n name: \"Check Team Project Assignment\",\n description: \"Tool to check if a team is assigned to a project in Rollbar. Use when you need to verify team-project relationships or validate access permissions. Returns 404 if the project is not assigned to the team.\",\n input: RollbarCheckTeamProjectAssignmentInput,\n output: RollbarCheckTeamProjectAssignmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACvF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,4DAA4D,EAAE,OAAO;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAM7F,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACtG,QAAQ,0DAA0D,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-user-team-assignment.cjs","names":["z","action"],"sources":["../../src/actions/check-user-team-assignment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarCheckUserTeamAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n user_id: z.number().int().describe(\"The unique identifier of the user to check\"),\n}).describe(\"Request model for checking if a user is assigned to a team.\");\nconst RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID\").nullable(),\n user_id: z.number().int().describe(\"The user ID\").nullable(),\n}).passthrough().describe(\"Result object containing team and user IDs.\");\nexport const RollbarCheckUserTeamAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking if a user is assigned to a team.\\nReturns error code and result object if user is on the team.\");\n\nexport const rollbarCheckUserTeamAssignment = action(\"ROLLBAR_CHECK_USER_TEAM_ASSIGNMENT\", {\n slug: \"rollbar-check-user-team-assignment\",\n name: \"Check User Team Assignment\",\n description: \"Tool to check if a user is assigned to a team in Rollbar. Use when you need to verify team membership for a specific user.\",\n input: RollbarCheckUserTeamAssignmentInput,\n output: RollbarCheckUserTeamAssignmentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-user-team-assignment.cjs","names":["z","action"],"sources":["../../src/actions/check-user-team-assignment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarCheckUserTeamAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n user_id: z.number().int().describe(\"The unique identifier of the user to check\"),\n}).describe(\"Request model for checking if a user is assigned to a team.\");\nconst RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID\").nullable(),\n user_id: z.number().int().describe(\"The user ID\").nullable(),\n}).passthrough().describe(\"Result object containing team and user IDs.\");\nexport const RollbarCheckUserTeamAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking if a user is assigned to a team.\\nReturns error code and result object if user is on the team.\");\n\nexport const rollbarCheckUserTeamAssignment: AppAction<\n typeof RollbarCheckUserTeamAssignmentInput,\n typeof RollbarCheckUserTeamAssignmentOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_CHECK_USER_TEAM_ASSIGNMENT\", {\n slug: \"rollbar-check-user-team-assignment\",\n name: \"Check User Team Assignment\",\n description: \"Tool to check if a user is assigned to a team in Rollbar. Use when you need to verify team membership for a specific user.\",\n input: RollbarCheckUserTeamAssignmentInput,\n output: RollbarCheckUserTeamAssignmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACjF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qEAAqEA,IAAAA,EAAE,OAAO;CAClF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQ,mEAAmE,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAA4H;AAEtJ,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-user-team-assignment.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RollbarCheckUserTeamAssignmentOutput: z.ZodObject<{
|
|
|
12
14
|
user_id: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rollbarCheckUserTeamAssignment:
|
|
16
|
-
team_id: number;
|
|
17
|
-
user_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rollbarCheckUserTeamAssignment: AppAction<typeof RollbarCheckUserTeamAssignmentInput, typeof RollbarCheckUserTeamAssignmentOutput, typeof rollbar.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rollbarCheckUserTeamAssignment };
|
|
21
20
|
//# sourceMappingURL=check-user-team-assignment.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-user-team-assignment.d.cts","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-user-team-assignment.d.cts","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/check-user-team-assignment.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RollbarCheckUserTeamAssignmentOutput: z.ZodObject<{
|
|
|
12
14
|
user_id: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rollbarCheckUserTeamAssignment:
|
|
16
|
-
team_id: number;
|
|
17
|
-
user_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rollbarCheckUserTeamAssignment: AppAction<typeof RollbarCheckUserTeamAssignmentInput, typeof RollbarCheckUserTeamAssignmentOutput, typeof rollbar.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rollbarCheckUserTeamAssignment };
|
|
21
20
|
//# sourceMappingURL=check-user-team-assignment.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-user-team-assignment.d.mts","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-user-team-assignment.d.mts","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-user-team-assignment.mjs","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarCheckUserTeamAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n user_id: z.number().int().describe(\"The unique identifier of the user to check\"),\n}).describe(\"Request model for checking if a user is assigned to a team.\");\nconst RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID\").nullable(),\n user_id: z.number().int().describe(\"The user ID\").nullable(),\n}).passthrough().describe(\"Result object containing team and user IDs.\");\nexport const RollbarCheckUserTeamAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking if a user is assigned to a team.\\nReturns error code and result object if user is on the team.\");\n\nexport const rollbarCheckUserTeamAssignment = action(\"ROLLBAR_CHECK_USER_TEAM_ASSIGNMENT\", {\n slug: \"rollbar-check-user-team-assignment\",\n name: \"Check User Team Assignment\",\n description: \"Tool to check if a user is assigned to a team in Rollbar. Use when you need to verify team membership for a specific user.\",\n input: RollbarCheckUserTeamAssignmentInput,\n output: RollbarCheckUserTeamAssignmentOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-user-team-assignment.mjs","names":[],"sources":["../../src/actions/check-user-team-assignment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarCheckUserTeamAssignmentInput = z.object({\n team_id: z.number().int().describe(\"The unique identifier of the team to check\"),\n user_id: z.number().int().describe(\"The unique identifier of the user to check\"),\n}).describe(\"Request model for checking if a user is assigned to a team.\");\nconst RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema = z.object({\n team_id: z.number().int().describe(\"The team ID\").nullable(),\n user_id: z.number().int().describe(\"The user ID\").nullable(),\n}).passthrough().describe(\"Result object containing team and user IDs.\");\nexport const RollbarCheckUserTeamAssignmentOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarCheckUserTeamAssignment_CheckUserTeamAssignmentResultSchema.nullable(),\n}).passthrough().describe(\"Response model for checking if a user is assigned to a team.\\nReturns error code and result object if user is on the team.\");\n\nexport const rollbarCheckUserTeamAssignment: AppAction<\n typeof RollbarCheckUserTeamAssignmentInput,\n typeof RollbarCheckUserTeamAssignmentOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_CHECK_USER_TEAM_ASSIGNMENT\", {\n slug: \"rollbar-check-user-team-assignment\",\n name: \"Check User Team Assignment\",\n description: \"Tool to check if a user is assigned to a team in Rollbar. Use when you need to verify team membership for a specific user.\",\n input: RollbarCheckUserTeamAssignmentInput,\n output: RollbarCheckUserTeamAssignmentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;AACjF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qEAAqE,EAAE,OAAO;CAClF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;AAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAMvE,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,mEAAmE,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4HAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-occurrences-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-occurrences-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetOccurrencesMetricsInput = z.object({\n sort: z.object({\n field: z.string().describe(\"Name of the column/field to sort on\"),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: asc (ascending) or desc (descending)\"),\n}).describe(\"Sort configuration for query results.\").optional(),\n limit: z.number().int().describe(\"Total rows/groups to return in the result set\").optional(),\n offset: z.number().int().describe(\"Specific offset/starting point for pagination\").optional(),\n filters: z.array(z.object({\n field: z.string().describe(\"Column name to filter on\"),\n values: z.array(z.union([z.string(), z.number().int()])).describe(\"Array of values to match. For 'between' and 'not_between', provide exactly two values [min, max]\"),\n operator: z.enum([\"eq\", \"ne\", \"gt\", \"gte\", \"lt\", \"lte\", \"not_like\", \"between\", \"not_between\"]).describe(\"Filter operator: eq, ne, gt, gte, lt, lte, not_like, between, or not_between. eq and ne support multiple values\"),\n}).passthrough().describe(\"Filter condition for occurrence metrics query.\")).describe(\"Array of filter conditions to apply to the query. Filters narrow results by specific field values\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive\"),\n group_by: z.array(z.enum([\"project_id\", \"item_id\", \"environment\", \"browser_family\", \"browser_version\", \"os_family\", \"os_version\", \"device_brand\", \"device_model\", \"ip_address\", \"item_status\", \"item_level\", \"item_group_item_id\", \"item_title\", \"item_counter\", \"person_username\", \"person_email\", \"person_id\", \"code_version\", \"count\", \"occurrence_id\", \"uuid\", \"context\", \"platform\", \"framework\", \"platform_canonical\", \"framework_canonical\", \"language\", \"language_name\", \"notifier_name\", \"notifier_version\", \"occurrence_count\", \"message_body\", \"timestamp\", \"fingerprint\", \"server_host\", \"server_root\", \"server_pid\", \"server_cpu\", \"scm_branch\", \"request_url\", \"request_method\", \"request_query_string\", \"request_body\"]).describe(\"Available fields for grouping results.\")).describe(\"Array of column names on which to group the results\").optional(),\n timezone: z.string().describe(\"Timezone for the query results. Default is US/Pacific. Examples: Europe/London, Japan\").optional(),\n aggregates: z.array(z.object({\n alias: z.string().describe(\"Optional alias name for the aggregate result in the response\").optional(),\n field: z.string().describe(\"Column name on which to perform the aggregate function (required for count_distinct, max, min)\").optional(),\n \"function\": z.enum([\"count_all\", \"count_distinct\", \"max\", \"min\"]).describe(\"Aggregate function to perform: count_all, count_distinct, max, or min\"),\n}).passthrough().describe(\"Aggregate function configuration.\")).describe(\"Array of aggregate functions to perform for each group. Supports count_all, count_distinct, max, and min\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size for returned results.\").optional(),\n}).describe(\"Request model for getting occurrence counts over a time span.\");\nconst RollbarGetOccurrencesMetrics_MetricFieldSchema = z.object({\n field: z.string().describe(\"The field name of the metric\").nullable(),\n value: z.union([z.string(), z.number().int(), z.number()]),\n}).passthrough().describe(\"A single metric field with its value.\");\nconst RollbarGetOccurrencesMetrics_TimepointSchema = z.object({\n timestamp: z.union([z.number().int(), z.number()]),\n metrics_rows: z.array(z.array(RollbarGetOccurrencesMetrics_MetricFieldSchema)).describe(\"Nested array of metric fields grouped by occurrence\").nullable().optional(),\n}).passthrough().describe(\"A single timepoint containing timestamp and metrics data.\");\nconst RollbarGetOccurrencesMetrics_MetricsResultSchema = z.object({\n timepoints: z.array(RollbarGetOccurrencesMetrics_TimepointSchema).describe(\"Array of timepoints containing occurrence data grouped by requested criteria\").nullable().optional(),\n query_execution: z.number().describe(\"Query execution time in seconds\").nullable().optional(),\n last_occurrence_id: z.number().int().describe(\"The occurrence id of the last occurrence in the result set\").nullable().optional(),\n last_occurrence_timestamp: z.number().int().describe(\"The timestamp of the last occurrence in the result set\").nullable().optional(),\n}).passthrough().describe(\"Result object containing occurrence metrics data.\");\nexport const RollbarGetOccurrencesMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: RollbarGetOccurrencesMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for occurrence metrics query.\");\n\nexport const rollbarGetOccurrencesMetrics = action(\"ROLLBAR_GET_OCCURRENCES_METRICS\", {\n slug: \"rollbar-get-occurrences-metrics\",\n name: \"Get Occurrences Metrics\",\n description: \"Get occurrence counts over a span of time with flexible grouping, filtering, and aggregation. Use this to analyze error patterns, track occurrence metrics across time periods, and generate custom reports by grouping on fields like environment, platform, or user attributes.\",\n input: RollbarGetOccurrencesMetricsInput,\n output: RollbarGetOccurrencesMetricsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-occurrences-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-occurrences-metrics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarGetOccurrencesMetricsInput = z.object({\n sort: z.object({\n field: z.string().describe(\"Name of the column/field to sort on\"),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: asc (ascending) or desc (descending)\"),\n}).describe(\"Sort configuration for query results.\").optional(),\n limit: z.number().int().describe(\"Total rows/groups to return in the result set\").optional(),\n offset: z.number().int().describe(\"Specific offset/starting point for pagination\").optional(),\n filters: z.array(z.object({\n field: z.string().describe(\"Column name to filter on\"),\n values: z.array(z.union([z.string(), z.number().int()])).describe(\"Array of values to match. For 'between' and 'not_between', provide exactly two values [min, max]\"),\n operator: z.enum([\"eq\", \"ne\", \"gt\", \"gte\", \"lt\", \"lte\", \"not_like\", \"between\", \"not_between\"]).describe(\"Filter operator: eq, ne, gt, gte, lt, lte, not_like, between, or not_between. eq and ne support multiple values\"),\n}).passthrough().describe(\"Filter condition for occurrence metrics query.\")).describe(\"Array of filter conditions to apply to the query. Filters narrow results by specific field values\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive\"),\n group_by: z.array(z.enum([\"project_id\", \"item_id\", \"environment\", \"browser_family\", \"browser_version\", \"os_family\", \"os_version\", \"device_brand\", \"device_model\", \"ip_address\", \"item_status\", \"item_level\", \"item_group_item_id\", \"item_title\", \"item_counter\", \"person_username\", \"person_email\", \"person_id\", \"code_version\", \"count\", \"occurrence_id\", \"uuid\", \"context\", \"platform\", \"framework\", \"platform_canonical\", \"framework_canonical\", \"language\", \"language_name\", \"notifier_name\", \"notifier_version\", \"occurrence_count\", \"message_body\", \"timestamp\", \"fingerprint\", \"server_host\", \"server_root\", \"server_pid\", \"server_cpu\", \"scm_branch\", \"request_url\", \"request_method\", \"request_query_string\", \"request_body\"]).describe(\"Available fields for grouping results.\")).describe(\"Array of column names on which to group the results\").optional(),\n timezone: z.string().describe(\"Timezone for the query results. Default is US/Pacific. Examples: Europe/London, Japan\").optional(),\n aggregates: z.array(z.object({\n alias: z.string().describe(\"Optional alias name for the aggregate result in the response\").optional(),\n field: z.string().describe(\"Column name on which to perform the aggregate function (required for count_distinct, max, min)\").optional(),\n \"function\": z.enum([\"count_all\", \"count_distinct\", \"max\", \"min\"]).describe(\"Aggregate function to perform: count_all, count_distinct, max, or min\"),\n}).passthrough().describe(\"Aggregate function configuration.\")).describe(\"Array of aggregate functions to perform for each group. Supports count_all, count_distinct, max, and min\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size for returned results.\").optional(),\n}).describe(\"Request model for getting occurrence counts over a time span.\");\nconst RollbarGetOccurrencesMetrics_MetricFieldSchema = z.object({\n field: z.string().describe(\"The field name of the metric\").nullable(),\n value: z.union([z.string(), z.number().int(), z.number()]),\n}).passthrough().describe(\"A single metric field with its value.\");\nconst RollbarGetOccurrencesMetrics_TimepointSchema = z.object({\n timestamp: z.union([z.number().int(), z.number()]),\n metrics_rows: z.array(z.array(RollbarGetOccurrencesMetrics_MetricFieldSchema)).describe(\"Nested array of metric fields grouped by occurrence\").nullable().optional(),\n}).passthrough().describe(\"A single timepoint containing timestamp and metrics data.\");\nconst RollbarGetOccurrencesMetrics_MetricsResultSchema = z.object({\n timepoints: z.array(RollbarGetOccurrencesMetrics_TimepointSchema).describe(\"Array of timepoints containing occurrence data grouped by requested criteria\").nullable().optional(),\n query_execution: z.number().describe(\"Query execution time in seconds\").nullable().optional(),\n last_occurrence_id: z.number().int().describe(\"The occurrence id of the last occurrence in the result set\").nullable().optional(),\n last_occurrence_timestamp: z.number().int().describe(\"The timestamp of the last occurrence in the result set\").nullable().optional(),\n}).passthrough().describe(\"Result object containing occurrence metrics data.\");\nexport const RollbarGetOccurrencesMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: RollbarGetOccurrencesMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for occurrence metrics query.\");\n\nexport const rollbarGetOccurrencesMetrics: AppAction<\n typeof RollbarGetOccurrencesMetricsInput,\n typeof RollbarGetOccurrencesMetricsOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_GET_OCCURRENCES_METRICS\", {\n slug: \"rollbar-get-occurrences-metrics\",\n name: \"Get Occurrences Metrics\",\n description: \"Get occurrence counts over a span of time with flexible grouping, filtering, and aggregation. Use this to analyze error patterns, track occurrence metrics across time periods, and generate custom reports by grouping on fields like environment, platform, or user attributes.\",\n input: RollbarGetOccurrencesMetricsInput,\n output: RollbarGetOccurrencesMetricsOutput,\n});\n"],"mappings":";;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,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-occurrences-metrics.d.ts
|
|
@@ -110,31 +112,7 @@ declare const RollbarGetOccurrencesMetricsOutput: z.ZodObject<{
|
|
|
110
112
|
last_occurrence_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
113
|
}, z.core.$loose>>>;
|
|
112
114
|
}, z.core.$loose>;
|
|
113
|
-
declare const rollbarGetOccurrencesMetrics:
|
|
114
|
-
end_time: number;
|
|
115
|
-
start_time: number;
|
|
116
|
-
sort?: {
|
|
117
|
-
field: string;
|
|
118
|
-
order: "asc" | "desc";
|
|
119
|
-
} | undefined;
|
|
120
|
-
limit?: number | undefined;
|
|
121
|
-
offset?: number | undefined;
|
|
122
|
-
filters?: {
|
|
123
|
-
[x: string]: unknown;
|
|
124
|
-
field: string;
|
|
125
|
-
values: (string | number)[];
|
|
126
|
-
operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "not_like" | "between" | "not_between";
|
|
127
|
-
}[] | undefined;
|
|
128
|
-
group_by?: ("project_id" | "item_id" | "environment" | "browser_family" | "browser_version" | "os_family" | "os_version" | "device_brand" | "device_model" | "ip_address" | "item_status" | "item_level" | "item_group_item_id" | "item_title" | "item_counter" | "person_username" | "person_email" | "person_id" | "code_version" | "count" | "occurrence_id" | "uuid" | "context" | "platform" | "framework" | "platform_canonical" | "framework_canonical" | "language" | "language_name" | "notifier_name" | "notifier_version" | "occurrence_count" | "message_body" | "timestamp" | "fingerprint" | "server_host" | "server_root" | "server_pid" | "server_cpu" | "scm_branch" | "request_url" | "request_method" | "request_query_string" | "request_body")[] | undefined;
|
|
129
|
-
timezone?: string | undefined;
|
|
130
|
-
aggregates?: {
|
|
131
|
-
[x: string]: unknown;
|
|
132
|
-
function: "count_all" | "count_distinct" | "max" | "min";
|
|
133
|
-
alias?: string | undefined;
|
|
134
|
-
field?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
granularity?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
|
|
137
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
115
|
+
declare const rollbarGetOccurrencesMetrics: AppAction<typeof RollbarGetOccurrencesMetricsInput, typeof RollbarGetOccurrencesMetricsOutput, typeof rollbar.credential>;
|
|
138
116
|
//#endregion
|
|
139
117
|
export { rollbarGetOccurrencesMetrics };
|
|
140
118
|
//# sourceMappingURL=get-occurrences-metrics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-occurrences-metrics.d.cts","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-occurrences-metrics.d.cts","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-occurrences-metrics.d.ts
|
|
@@ -110,31 +112,7 @@ declare const RollbarGetOccurrencesMetricsOutput: z.ZodObject<{
|
|
|
110
112
|
last_occurrence_timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
111
113
|
}, z.core.$loose>>>;
|
|
112
114
|
}, z.core.$loose>;
|
|
113
|
-
declare const rollbarGetOccurrencesMetrics:
|
|
114
|
-
end_time: number;
|
|
115
|
-
start_time: number;
|
|
116
|
-
sort?: {
|
|
117
|
-
field: string;
|
|
118
|
-
order: "asc" | "desc";
|
|
119
|
-
} | undefined;
|
|
120
|
-
limit?: number | undefined;
|
|
121
|
-
offset?: number | undefined;
|
|
122
|
-
filters?: {
|
|
123
|
-
[x: string]: unknown;
|
|
124
|
-
field: string;
|
|
125
|
-
values: (string | number)[];
|
|
126
|
-
operator: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "not_like" | "between" | "not_between";
|
|
127
|
-
}[] | undefined;
|
|
128
|
-
group_by?: ("project_id" | "item_id" | "environment" | "browser_family" | "browser_version" | "os_family" | "os_version" | "device_brand" | "device_model" | "ip_address" | "item_status" | "item_level" | "item_group_item_id" | "item_title" | "item_counter" | "person_username" | "person_email" | "person_id" | "code_version" | "count" | "occurrence_id" | "uuid" | "context" | "platform" | "framework" | "platform_canonical" | "framework_canonical" | "language" | "language_name" | "notifier_name" | "notifier_version" | "occurrence_count" | "message_body" | "timestamp" | "fingerprint" | "server_host" | "server_root" | "server_pid" | "server_cpu" | "scm_branch" | "request_url" | "request_method" | "request_query_string" | "request_body")[] | undefined;
|
|
129
|
-
timezone?: string | undefined;
|
|
130
|
-
aggregates?: {
|
|
131
|
-
[x: string]: unknown;
|
|
132
|
-
function: "count_all" | "count_distinct" | "max" | "min";
|
|
133
|
-
alias?: string | undefined;
|
|
134
|
-
field?: string | undefined;
|
|
135
|
-
}[] | undefined;
|
|
136
|
-
granularity?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
|
|
137
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
115
|
+
declare const rollbarGetOccurrencesMetrics: AppAction<typeof RollbarGetOccurrencesMetricsInput, typeof RollbarGetOccurrencesMetricsOutput, typeof rollbar.credential>;
|
|
138
116
|
//#endregion
|
|
139
117
|
export { rollbarGetOccurrencesMetrics };
|
|
140
118
|
//# sourceMappingURL=get-occurrences-metrics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-occurrences-metrics.d.mts","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-occurrences-metrics.d.mts","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-occurrences-metrics.mjs","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetOccurrencesMetricsInput = z.object({\n sort: z.object({\n field: z.string().describe(\"Name of the column/field to sort on\"),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: asc (ascending) or desc (descending)\"),\n}).describe(\"Sort configuration for query results.\").optional(),\n limit: z.number().int().describe(\"Total rows/groups to return in the result set\").optional(),\n offset: z.number().int().describe(\"Specific offset/starting point for pagination\").optional(),\n filters: z.array(z.object({\n field: z.string().describe(\"Column name to filter on\"),\n values: z.array(z.union([z.string(), z.number().int()])).describe(\"Array of values to match. For 'between' and 'not_between', provide exactly two values [min, max]\"),\n operator: z.enum([\"eq\", \"ne\", \"gt\", \"gte\", \"lt\", \"lte\", \"not_like\", \"between\", \"not_between\"]).describe(\"Filter operator: eq, ne, gt, gte, lt, lte, not_like, between, or not_between. eq and ne support multiple values\"),\n}).passthrough().describe(\"Filter condition for occurrence metrics query.\")).describe(\"Array of filter conditions to apply to the query. Filters narrow results by specific field values\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive\"),\n group_by: z.array(z.enum([\"project_id\", \"item_id\", \"environment\", \"browser_family\", \"browser_version\", \"os_family\", \"os_version\", \"device_brand\", \"device_model\", \"ip_address\", \"item_status\", \"item_level\", \"item_group_item_id\", \"item_title\", \"item_counter\", \"person_username\", \"person_email\", \"person_id\", \"code_version\", \"count\", \"occurrence_id\", \"uuid\", \"context\", \"platform\", \"framework\", \"platform_canonical\", \"framework_canonical\", \"language\", \"language_name\", \"notifier_name\", \"notifier_version\", \"occurrence_count\", \"message_body\", \"timestamp\", \"fingerprint\", \"server_host\", \"server_root\", \"server_pid\", \"server_cpu\", \"scm_branch\", \"request_url\", \"request_method\", \"request_query_string\", \"request_body\"]).describe(\"Available fields for grouping results.\")).describe(\"Array of column names on which to group the results\").optional(),\n timezone: z.string().describe(\"Timezone for the query results. Default is US/Pacific. Examples: Europe/London, Japan\").optional(),\n aggregates: z.array(z.object({\n alias: z.string().describe(\"Optional alias name for the aggregate result in the response\").optional(),\n field: z.string().describe(\"Column name on which to perform the aggregate function (required for count_distinct, max, min)\").optional(),\n \"function\": z.enum([\"count_all\", \"count_distinct\", \"max\", \"min\"]).describe(\"Aggregate function to perform: count_all, count_distinct, max, or min\"),\n}).passthrough().describe(\"Aggregate function configuration.\")).describe(\"Array of aggregate functions to perform for each group. Supports count_all, count_distinct, max, and min\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size for returned results.\").optional(),\n}).describe(\"Request model for getting occurrence counts over a time span.\");\nconst RollbarGetOccurrencesMetrics_MetricFieldSchema = z.object({\n field: z.string().describe(\"The field name of the metric\").nullable(),\n value: z.union([z.string(), z.number().int(), z.number()]),\n}).passthrough().describe(\"A single metric field with its value.\");\nconst RollbarGetOccurrencesMetrics_TimepointSchema = z.object({\n timestamp: z.union([z.number().int(), z.number()]),\n metrics_rows: z.array(z.array(RollbarGetOccurrencesMetrics_MetricFieldSchema)).describe(\"Nested array of metric fields grouped by occurrence\").nullable().optional(),\n}).passthrough().describe(\"A single timepoint containing timestamp and metrics data.\");\nconst RollbarGetOccurrencesMetrics_MetricsResultSchema = z.object({\n timepoints: z.array(RollbarGetOccurrencesMetrics_TimepointSchema).describe(\"Array of timepoints containing occurrence data grouped by requested criteria\").nullable().optional(),\n query_execution: z.number().describe(\"Query execution time in seconds\").nullable().optional(),\n last_occurrence_id: z.number().int().describe(\"The occurrence id of the last occurrence in the result set\").nullable().optional(),\n last_occurrence_timestamp: z.number().int().describe(\"The timestamp of the last occurrence in the result set\").nullable().optional(),\n}).passthrough().describe(\"Result object containing occurrence metrics data.\");\nexport const RollbarGetOccurrencesMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: RollbarGetOccurrencesMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for occurrence metrics query.\");\n\nexport const rollbarGetOccurrencesMetrics = action(\"ROLLBAR_GET_OCCURRENCES_METRICS\", {\n slug: \"rollbar-get-occurrences-metrics\",\n name: \"Get Occurrences Metrics\",\n description: \"Get occurrence counts over a span of time with flexible grouping, filtering, and aggregation. Use this to analyze error patterns, track occurrence metrics across time periods, and generate custom reports by grouping on fields like environment, platform, or user attributes.\",\n input: RollbarGetOccurrencesMetricsInput,\n output: RollbarGetOccurrencesMetricsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-occurrences-metrics.mjs","names":[],"sources":["../../src/actions/get-occurrences-metrics.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarGetOccurrencesMetricsInput = z.object({\n sort: z.object({\n field: z.string().describe(\"Name of the column/field to sort on\"),\n order: z.enum([\"asc\", \"desc\"]).describe(\"Sort direction: asc (ascending) or desc (descending)\"),\n}).describe(\"Sort configuration for query results.\").optional(),\n limit: z.number().int().describe(\"Total rows/groups to return in the result set\").optional(),\n offset: z.number().int().describe(\"Specific offset/starting point for pagination\").optional(),\n filters: z.array(z.object({\n field: z.string().describe(\"Column name to filter on\"),\n values: z.array(z.union([z.string(), z.number().int()])).describe(\"Array of values to match. For 'between' and 'not_between', provide exactly two values [min, max]\"),\n operator: z.enum([\"eq\", \"ne\", \"gt\", \"gte\", \"lt\", \"lte\", \"not_like\", \"between\", \"not_between\"]).describe(\"Filter operator: eq, ne, gt, gte, lt, lte, not_like, between, or not_between. eq and ne support multiple values\"),\n}).passthrough().describe(\"Filter condition for occurrence metrics query.\")).describe(\"Array of filter conditions to apply to the query. Filters narrow results by specific field values\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive\"),\n group_by: z.array(z.enum([\"project_id\", \"item_id\", \"environment\", \"browser_family\", \"browser_version\", \"os_family\", \"os_version\", \"device_brand\", \"device_model\", \"ip_address\", \"item_status\", \"item_level\", \"item_group_item_id\", \"item_title\", \"item_counter\", \"person_username\", \"person_email\", \"person_id\", \"code_version\", \"count\", \"occurrence_id\", \"uuid\", \"context\", \"platform\", \"framework\", \"platform_canonical\", \"framework_canonical\", \"language\", \"language_name\", \"notifier_name\", \"notifier_version\", \"occurrence_count\", \"message_body\", \"timestamp\", \"fingerprint\", \"server_host\", \"server_root\", \"server_pid\", \"server_cpu\", \"scm_branch\", \"request_url\", \"request_method\", \"request_query_string\", \"request_body\"]).describe(\"Available fields for grouping results.\")).describe(\"Array of column names on which to group the results\").optional(),\n timezone: z.string().describe(\"Timezone for the query results. Default is US/Pacific. Examples: Europe/London, Japan\").optional(),\n aggregates: z.array(z.object({\n alias: z.string().describe(\"Optional alias name for the aggregate result in the response\").optional(),\n field: z.string().describe(\"Column name on which to perform the aggregate function (required for count_distinct, max, min)\").optional(),\n \"function\": z.enum([\"count_all\", \"count_distinct\", \"max\", \"min\"]).describe(\"Aggregate function to perform: count_all, count_distinct, max, or min\"),\n}).passthrough().describe(\"Aggregate function configuration.\")).describe(\"Array of aggregate functions to perform for each group. Supports count_all, count_distinct, max, and min\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size for returned results.\").optional(),\n}).describe(\"Request model for getting occurrence counts over a time span.\");\nconst RollbarGetOccurrencesMetrics_MetricFieldSchema = z.object({\n field: z.string().describe(\"The field name of the metric\").nullable(),\n value: z.union([z.string(), z.number().int(), z.number()]),\n}).passthrough().describe(\"A single metric field with its value.\");\nconst RollbarGetOccurrencesMetrics_TimepointSchema = z.object({\n timestamp: z.union([z.number().int(), z.number()]),\n metrics_rows: z.array(z.array(RollbarGetOccurrencesMetrics_MetricFieldSchema)).describe(\"Nested array of metric fields grouped by occurrence\").nullable().optional(),\n}).passthrough().describe(\"A single timepoint containing timestamp and metrics data.\");\nconst RollbarGetOccurrencesMetrics_MetricsResultSchema = z.object({\n timepoints: z.array(RollbarGetOccurrencesMetrics_TimepointSchema).describe(\"Array of timepoints containing occurrence data grouped by requested criteria\").nullable().optional(),\n query_execution: z.number().describe(\"Query execution time in seconds\").nullable().optional(),\n last_occurrence_id: z.number().int().describe(\"The occurrence id of the last occurrence in the result set\").nullable().optional(),\n last_occurrence_timestamp: z.number().int().describe(\"The timestamp of the last occurrence in the result set\").nullable().optional(),\n}).passthrough().describe(\"Result object containing occurrence metrics data.\");\nexport const RollbarGetOccurrencesMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: RollbarGetOccurrencesMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for occurrence metrics query.\");\n\nexport const rollbarGetOccurrencesMetrics: AppAction<\n typeof RollbarGetOccurrencesMetricsInput,\n typeof RollbarGetOccurrencesMetricsOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_GET_OCCURRENCES_METRICS\", {\n slug: \"rollbar-get-occurrences-metrics\",\n name: \"Get Occurrences Metrics\",\n description: \"Get occurrence counts over a span of time with flexible grouping, filtering, and aggregation. Use this to analyze error patterns, track occurrence metrics across time periods, and generate custom reports by grouping on fields like environment, platform, or user attributes.\",\n input: RollbarGetOccurrencesMetricsInput,\n output: RollbarGetOccurrencesMetricsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,OAAO,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,sDAAsD;CAChG,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACrD,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kGAAkG;EACpK,UAAU,EAAE,KAAK;GAAC;GAAM;GAAM;GAAM;GAAO;GAAM;GAAO;GA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,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,QAAQ,iDAAiD,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetProjectInput = z.object({\n project_id: z.number().int().describe(\"The unique identifier of the project to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar project by ID.\");\nconst RollbarGetProject_ProjectSettingsDataSchema = z.object({\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n time_format: z.string().describe(\"Time format setting\").nullable().optional(),\n}).passthrough().describe(\"Settings data for a Rollbar project.\\nNote: Complex nested fields (encryption_at_rest, grouping, integrations) are\\nomitted as their schemas are not fully documented.\");\nconst RollbarGetProject_ProjectResultSchema = z.object({\n id: z.number().int().describe(\"Project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: z.string().describe(\"Project status (e.g., 'enabled')\").nullable(),\n account_id: z.number().int().describe(\"Account ID that owns this project\").nullable(),\n date_created: z.number().int().describe(\"Unix timestamp when project was created\").nullable(),\n date_modified: z.number().int().describe(\"Unix timestamp when project was last modified\").nullable(),\n settings_data: RollbarGetProject_ProjectSettingsDataSchema.nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const RollbarGetProjectOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetProject_ProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar project.\");\n\nexport const rollbarGetProject = action(\"ROLLBAR_GET_PROJECT\", {\n slug: \"rollbar-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details of a specific Rollbar project by its ID. Use when you need to get project information including name, status, settings, and timestamps.\",\n input: RollbarGetProjectInput,\n output: RollbarGetProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.cjs","names":["z","action"],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarGetProjectInput = z.object({\n project_id: z.number().int().describe(\"The unique identifier of the project to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar project by ID.\");\nconst RollbarGetProject_ProjectSettingsDataSchema = z.object({\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n time_format: z.string().describe(\"Time format setting\").nullable().optional(),\n}).passthrough().describe(\"Settings data for a Rollbar project.\\nNote: Complex nested fields (encryption_at_rest, grouping, integrations) are\\nomitted as their schemas are not fully documented.\");\nconst RollbarGetProject_ProjectResultSchema = z.object({\n id: z.number().int().describe(\"Project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: z.string().describe(\"Project status (e.g., 'enabled')\").nullable(),\n account_id: z.number().int().describe(\"Account ID that owns this project\").nullable(),\n date_created: z.number().int().describe(\"Unix timestamp when project was created\").nullable(),\n date_modified: z.number().int().describe(\"Unix timestamp when project was last modified\").nullable(),\n settings_data: RollbarGetProject_ProjectSettingsDataSchema.nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const RollbarGetProjectOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetProject_ProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar project.\");\n\nexport const rollbarGetProject: AppAction<\n typeof RollbarGetProjectInput,\n typeof RollbarGetProjectOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_GET_PROJECT\", {\n slug: \"rollbar-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details of a specific Rollbar project by its ID. Use when you need to get project information including name, status, settings, and timestamps.\",\n input: RollbarGetProjectInput,\n output: RollbarGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wKAAwK;AAClM,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnG,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQ,sCAAsC,SAAS;AACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project.d.ts
|
|
@@ -19,9 +21,7 @@ declare const RollbarGetProjectOutput: z.ZodObject<{
|
|
|
19
21
|
}, z.core.$loose>>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rollbarGetProject:
|
|
23
|
-
project_id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const rollbarGetProject: AppAction<typeof RollbarGetProjectInput, typeof RollbarGetProjectOutput, typeof rollbar.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { rollbarGetProject };
|
|
27
27
|
//# sourceMappingURL=get-project.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.d.cts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-project.d.ts
|
|
@@ -19,9 +21,7 @@ declare const RollbarGetProjectOutput: z.ZodObject<{
|
|
|
19
21
|
}, z.core.$loose>>>;
|
|
20
22
|
}, z.core.$loose>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rollbarGetProject:
|
|
23
|
-
project_id: number;
|
|
24
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
24
|
+
declare const rollbarGetProject: AppAction<typeof RollbarGetProjectInput, typeof RollbarGetProjectOutput, typeof rollbar.credential>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { rollbarGetProject };
|
|
27
27
|
//# sourceMappingURL=get-project.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.d.mts","names":[],"sources":["../../src/actions/get-project.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAgBtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAKvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetProjectInput = z.object({\n project_id: z.number().int().describe(\"The unique identifier of the project to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar project by ID.\");\nconst RollbarGetProject_ProjectSettingsDataSchema = z.object({\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n time_format: z.string().describe(\"Time format setting\").nullable().optional(),\n}).passthrough().describe(\"Settings data for a Rollbar project.\\nNote: Complex nested fields (encryption_at_rest, grouping, integrations) are\\nomitted as their schemas are not fully documented.\");\nconst RollbarGetProject_ProjectResultSchema = z.object({\n id: z.number().int().describe(\"Project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: z.string().describe(\"Project status (e.g., 'enabled')\").nullable(),\n account_id: z.number().int().describe(\"Account ID that owns this project\").nullable(),\n date_created: z.number().int().describe(\"Unix timestamp when project was created\").nullable(),\n date_modified: z.number().int().describe(\"Unix timestamp when project was last modified\").nullable(),\n settings_data: RollbarGetProject_ProjectSettingsDataSchema.nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const RollbarGetProjectOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetProject_ProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar project.\");\n\nexport const rollbarGetProject = action(\"ROLLBAR_GET_PROJECT\", {\n slug: \"rollbar-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details of a specific Rollbar project by its ID. Use when you need to get project information including name, status, settings, and timestamps.\",\n input: RollbarGetProjectInput,\n output: RollbarGetProjectOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project.mjs","names":[],"sources":["../../src/actions/get-project.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\n\nexport const RollbarGetProjectInput = z.object({\n project_id: z.number().int().describe(\"The unique identifier of the project to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar project by ID.\");\nconst RollbarGetProject_ProjectSettingsDataSchema = z.object({\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n time_format: z.string().describe(\"Time format setting\").nullable().optional(),\n}).passthrough().describe(\"Settings data for a Rollbar project.\\nNote: Complex nested fields (encryption_at_rest, grouping, integrations) are\\nomitted as their schemas are not fully documented.\");\nconst RollbarGetProject_ProjectResultSchema = z.object({\n id: z.number().int().describe(\"Project ID\").nullable(),\n name: z.string().describe(\"Project name\").nullable(),\n status: z.string().describe(\"Project status (e.g., 'enabled')\").nullable(),\n account_id: z.number().int().describe(\"Account ID that owns this project\").nullable(),\n date_created: z.number().int().describe(\"Unix timestamp when project was created\").nullable(),\n date_modified: z.number().int().describe(\"Unix timestamp when project was last modified\").nullable(),\n settings_data: RollbarGetProject_ProjectSettingsDataSchema.nullable().optional(),\n}).passthrough().describe(\"Project details returned by the API.\");\nexport const RollbarGetProjectOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetProject_ProjectResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar project.\");\n\nexport const rollbarGetProject: AppAction<\n typeof RollbarGetProjectInput,\n typeof RollbarGetProjectOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_GET_PROJECT\", {\n slug: \"rollbar-get-project\",\n name: \"Get Project\",\n description: \"Tool to retrieve details of a specific Rollbar project by its ID. Use when you need to get project information including name, status, settings, and timestamps.\",\n input: RollbarGetProjectInput,\n output: RollbarGetProjectOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC1F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,8CAA8C,EAAE,OAAO;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wKAAwK;AAClM,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACnG,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqC,EAAE,OAAO;EAC9C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,sCAAsC,SAAS;CACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rollbar } from \"../app\";\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: AppAction<\n typeof RollbarGetTeamInput,\n typeof RollbarGetTeamOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-team.d.ts
|
|
@@ -13,9 +15,7 @@ declare const RollbarGetTeamOutput: z.ZodObject<{
|
|
|
13
15
|
access_level: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const rollbarGetTeam:
|
|
17
|
-
team_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const rollbarGetTeam: AppAction<typeof RollbarGetTeamInput, typeof RollbarGetTeamOutput, typeof rollbar.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { rollbarGetTeam };
|
|
21
21
|
//# sourceMappingURL=get-team.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rollbar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-team.d.ts
|
|
@@ -13,9 +15,7 @@ declare const RollbarGetTeamOutput: z.ZodObject<{
|
|
|
13
15
|
access_level: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const rollbarGetTeam:
|
|
17
|
-
team_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const rollbarGetTeam: AppAction<typeof RollbarGetTeamInput, typeof RollbarGetTeamOutput, typeof rollbar.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { rollbarGetTeam };
|
|
21
21
|
//# sourceMappingURL=get-team.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,OAAA,CAAQ,UAAA"}
|