@keystrokehq/rollbar 0.1.5 → 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 -16
- package/dist/actions/check-team-project-assignment.d.cts.map +1 -1
- package/dist/actions/check-team-project-assignment.d.mts +3 -16
- 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 -16
- package/dist/actions/check-user-team-assignment.d.cts.map +1 -1
- package/dist/actions/check-user-team-assignment.d.mts +3 -16
- 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 -37
- package/dist/actions/get-occurrences-metrics.d.cts.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.mts +3 -37
- 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 -15
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +3 -15
- 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 -15
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +3 -15
- 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 -23
- package/dist/actions/get-ttr-metrics.d.cts.map +1 -1
- package/dist/actions/get-ttr-metrics.d.mts +3 -23
- 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 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- 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 -13
- package/dist/actions/list-all-projects.d.cts.map +1 -1
- package/dist/actions/list-all-projects.d.mts +3 -13
- 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 -13
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -13
- 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 -15
- package/dist/actions/list-all-users.d.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +3 -15
- 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 -16
- package/dist/actions/list-project-teams.d.cts.map +1 -1
- package/dist/actions/list-project-teams.d.mts +3 -16
- 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 -15
- package/dist/actions/list-rql-jobs.d.cts.map +1 -1
- package/dist/actions/list-rql-jobs.d.mts +3 -15
- 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 -16
- package/dist/actions/list-team-invitations.d.cts.map +1 -1
- package/dist/actions/list-team-invitations.d.mts +3 -16
- 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 -15
- package/dist/actions/list-team-projects.d.cts.map +1 -1
- package/dist/actions/list-team-projects.d.mts +3 -15
- 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 -16
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +3 -16
- 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 -15
- package/dist/actions/list-user-projects.d.cts.map +1 -1
- package/dist/actions/list-user-projects.d.mts +3 -15
- 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 -15
- package/dist/actions/list-user-teams.d.cts.map +1 -1
- package/dist/actions/list-user-teams.d.mts +3 -15
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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
|
@@ -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,21 +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<"rollbar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const rollbarGetTeam: AppAction<typeof RollbarGetTeamInput, typeof RollbarGetTeamOutput, typeof rollbar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { rollbarGetTeam };
|
|
33
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,21 +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<"rollbar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const rollbarGetTeam: AppAction<typeof RollbarGetTeamInput, typeof RollbarGetTeamOutput, typeof rollbar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { rollbarGetTeam };
|
|
33
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"}
|
|
@@ -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}).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.mjs","names":[],"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,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,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,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,oCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-ttr-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 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: AppAction<\n typeof RollbarGetTtrMetricsInput,\n typeof RollbarGetTtrMetricsOutput,\n typeof rollbar.credential\n> = 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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"}
|
|
@@ -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-ttr-metrics.d.ts
|
|
@@ -45,29 +47,7 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
45
47
|
}, z.core.$loose>>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const rollbarGetTtrMetrics:
|
|
49
|
-
start_time: number;
|
|
50
|
-
levels?: string[] | undefined;
|
|
51
|
-
end_time?: number | undefined;
|
|
52
|
-
function?: "max" | "min" | "mean" | "median" | undefined;
|
|
53
|
-
timezone?: string | undefined;
|
|
54
|
-
frameworks?: string[] | undefined;
|
|
55
|
-
granularity?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
|
|
56
|
-
project_ids?: number[] | undefined;
|
|
57
|
-
environments?: string[] | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const rollbarGetTtrMetrics: AppAction<typeof RollbarGetTtrMetricsInput, typeof RollbarGetTtrMetricsOutput, typeof rollbar.credential>;
|
|
71
51
|
//#endregion
|
|
72
52
|
export { rollbarGetTtrMetrics };
|
|
73
53
|
//# sourceMappingURL=get-ttr-metrics.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.d.cts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.d.cts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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-ttr-metrics.d.ts
|
|
@@ -45,29 +47,7 @@ declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
|
45
47
|
}, z.core.$loose>>>;
|
|
46
48
|
}, z.core.$loose>>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const rollbarGetTtrMetrics:
|
|
49
|
-
start_time: number;
|
|
50
|
-
levels?: string[] | undefined;
|
|
51
|
-
end_time?: number | undefined;
|
|
52
|
-
function?: "max" | "min" | "mean" | "median" | undefined;
|
|
53
|
-
timezone?: string | undefined;
|
|
54
|
-
frameworks?: string[] | undefined;
|
|
55
|
-
granularity?: "second" | "minute" | "hour" | "day" | "week" | "month" | "year" | undefined;
|
|
56
|
-
project_ids?: number[] | undefined;
|
|
57
|
-
environments?: string[] | undefined;
|
|
58
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
59
|
-
connectionId: z.ZodString;
|
|
60
|
-
entityId: z.ZodString;
|
|
61
|
-
instanceId: z.ZodString;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
generic_api_key: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
65
|
-
connectionId: z.ZodString;
|
|
66
|
-
entityId: z.ZodString;
|
|
67
|
-
instanceId: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
generic_api_key: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const rollbarGetTtrMetrics: AppAction<typeof RollbarGetTtrMetricsInput, typeof RollbarGetTtrMetricsOutput, typeof rollbar.credential>;
|
|
71
51
|
//#endregion
|
|
72
52
|
export { rollbarGetTtrMetrics };
|
|
73
53
|
//# sourceMappingURL=get-ttr-metrics.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.d.mts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.d.mts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-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 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: AppAction<\n typeof RollbarGetTtrMetricsInput,\n typeof RollbarGetTtrMetricsOutput,\n typeof rollbar.credential\n> = 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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"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.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 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: AppAction<\n typeof RollbarGetUserInput,\n typeof RollbarGetUserOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,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-user.d.ts
|
|
@@ -13,21 +15,7 @@ declare const RollbarGetUserOutput: z.ZodObject<{
|
|
|
13
15
|
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const rollbarGetUser:
|
|
17
|
-
user_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const rollbarGetUser: AppAction<typeof RollbarGetUserInput, typeof RollbarGetUserOutput, typeof rollbar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { rollbarGetUser };
|
|
33
21
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.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-user.d.ts
|
|
@@ -13,21 +15,7 @@ declare const RollbarGetUserOutput: z.ZodObject<{
|
|
|
13
15
|
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const rollbarGetUser:
|
|
17
|
-
user_id: number;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const rollbarGetUser: AppAction<typeof RollbarGetUserInput, typeof RollbarGetUserOutput, typeof rollbar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { rollbarGetUser };
|
|
33
21
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.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 +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}).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":"
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.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 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: AppAction<\n typeof RollbarGetUserInput,\n typeof RollbarGetUserOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,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,sDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.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 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: AppAction<\n typeof RollbarListAllProjectsInput,\n typeof RollbarListAllProjectsOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,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/list-all-projects.d.ts
|
|
@@ -14,19 +16,7 @@ declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
|
14
16
|
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rollbarListAllProjects:
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const rollbarListAllProjects: AppAction<typeof RollbarListAllProjectsInput, typeof RollbarListAllProjectsOutput, typeof rollbar.credential>;
|
|
30
20
|
//#endregion
|
|
31
21
|
export { rollbarListAllProjects };
|
|
32
22
|
//# sourceMappingURL=list-all-projects.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.d.cts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-projects.d.cts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/list-all-projects.d.ts
|
|
@@ -14,19 +16,7 @@ declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
|
14
16
|
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rollbarListAllProjects:
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const rollbarListAllProjects: AppAction<typeof RollbarListAllProjectsInput, typeof RollbarListAllProjectsOutput, typeof rollbar.credential>;
|
|
30
20
|
//#endregion
|
|
31
21
|
export { rollbarListAllProjects };
|
|
32
22
|
//# sourceMappingURL=list-all-projects.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.d.mts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-projects.d.mts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.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 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: AppAction<\n typeof RollbarListAllProjectsInput,\n typeof RollbarListAllProjectsOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,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,2CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.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 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: AppAction<\n typeof RollbarListAllTeamsInput,\n typeof RollbarListAllTeamsOutput,\n typeof rollbar.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,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/list-all-teams.d.ts
|
|
@@ -11,19 +13,7 @@ declare const RollbarListAllTeamsOutput: z.ZodObject<{
|
|
|
11
13
|
access_level: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const rollbarListAllTeams:
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rollbar", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const rollbarListAllTeams: AppAction<typeof RollbarListAllTeamsInput, typeof RollbarListAllTeamsOutput, typeof rollbar.credential>;
|
|
27
17
|
//#endregion
|
|
28
18
|
export { rollbarListAllTeams };
|
|
29
19
|
//# sourceMappingURL=list-all-teams.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.d.cts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.d.cts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|