@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
|
@@ -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,17 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const rollbarGetTtrMetrics: AppAction<typeof RollbarGetTtrMetricsInput, typeof RollbarGetTtrMetricsOutput, typeof rollbar.credential>;
|
|
59
51
|
//#endregion
|
|
60
52
|
export { rollbarGetTtrMetrics };
|
|
61
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,17 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
50
|
+
declare const rollbarGetTtrMetrics: AppAction<typeof RollbarGetTtrMetricsInput, typeof RollbarGetTtrMetricsOutput, typeof rollbar.credential>;
|
|
59
51
|
//#endregion
|
|
60
52
|
export { rollbarGetTtrMetrics };
|
|
61
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const rollbarGetUser: AppAction<typeof RollbarGetUserInput, typeof RollbarGetUserOutput, typeof rollbar.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { rollbarGetUser };
|
|
21
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const rollbarGetUser: AppAction<typeof RollbarGetUserInput, typeof RollbarGetUserOutput, typeof rollbar.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { rollbarGetUser };
|
|
21
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,7 +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:
|
|
19
|
+
declare const rollbarListAllProjects: AppAction<typeof RollbarListAllProjectsInput, typeof RollbarListAllProjectsOutput, typeof rollbar.credential>;
|
|
18
20
|
//#endregion
|
|
19
21
|
export { rollbarListAllProjects };
|
|
20
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,7 +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:
|
|
19
|
+
declare const rollbarListAllProjects: AppAction<typeof RollbarListAllProjectsInput, typeof RollbarListAllProjectsOutput, typeof rollbar.credential>;
|
|
18
20
|
//#endregion
|
|
19
21
|
export { rollbarListAllProjects };
|
|
20
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,7 +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:
|
|
16
|
+
declare const rollbarListAllTeams: AppAction<typeof RollbarListAllTeamsInput, typeof RollbarListAllTeamsOutput, typeof rollbar.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { rollbarListAllTeams };
|
|
17
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"}
|
|
@@ -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-teams.d.ts
|
|
@@ -11,7 +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:
|
|
16
|
+
declare const rollbarListAllTeams: AppAction<typeof RollbarListAllTeamsInput, typeof RollbarListAllTeamsOutput, typeof rollbar.credential>;
|
|
15
17
|
//#endregion
|
|
16
18
|
export { rollbarListAllTeams };
|
|
17
19
|
//# sourceMappingURL=list-all-teams.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.d.mts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-teams.d.mts","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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).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.mjs","names":[],"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,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAMjE,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).passthrough().describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).passthrough().describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.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 RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).passthrough().describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).passthrough().describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers: AppAction<\n typeof RollbarListAllUsersInput,\n typeof RollbarListAllUsersOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,QAAQ,wCAAwC,SAAS;AAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,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-users.d.ts
|
|
@@ -14,9 +16,7 @@ declare const RollbarListAllUsersOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rollbarListAllUsers:
|
|
18
|
-
email?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const rollbarListAllUsers: AppAction<typeof RollbarListAllUsersInput, typeof RollbarListAllUsersOutput, typeof rollbar.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { rollbarListAllUsers };
|
|
22
22
|
//# sourceMappingURL=list-all-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-users.d.cts","names":[],"sources":["../../src/actions/list-all-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-users.d.cts","names":[],"sources":["../../src/actions/list-all-users.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,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-users.d.ts
|
|
@@ -14,9 +16,7 @@ declare const RollbarListAllUsersOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const rollbarListAllUsers:
|
|
18
|
-
email?: string | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const rollbarListAllUsers: AppAction<typeof RollbarListAllUsersInput, typeof RollbarListAllUsersOutput, typeof rollbar.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { rollbarListAllUsers };
|
|
22
22
|
//# sourceMappingURL=list-all-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-users.d.mts","names":[],"sources":["../../src/actions/list-all-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-users.d.mts","names":[],"sources":["../../src/actions/list-all-users.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAWxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-users.mjs","names":[],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).passthrough().describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).passthrough().describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-all-users.mjs","names":[],"sources":["../../src/actions/list-all-users.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 RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).passthrough().describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).passthrough().describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).passthrough().describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers: AppAction<\n typeof RollbarListAllUsersInput,\n typeof RollbarListAllUsersOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,0CAA0C,EAAE,OAAO,EACvD,OAAO,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACzG,QAAQ,wCAAwC,SAAS;CAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-project-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListProjectTeamsInput = z.object({\n project_id: z.number().int().describe(\"Unique identifier of the Rollbar project to list teams for.\"),\n exclude_builtin_teams: z.number().int().describe(\"When set to 1 or true, excludes built-in teams (Owners, Everyone) from the response. Set to 0 or omit to include all teams.\").optional(),\n}).describe(\"Request model for listing teams with access to a project.\");\nconst RollbarListProjectTeams_TeamAssignmentSchema = z.object({\n team_id: z.number().int().describe(\"Unique identifier of the team.\").nullable(),\n project_id: z.number().int().describe(\"Unique identifier of the project.\").nullable(),\n}).passthrough().describe(\"Represents a team assignment to a project.\");\nexport const RollbarListProjectTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListProjectTeams_TeamAssignmentSchema).describe(\"List of team assignments for the project.\"),\n}).passthrough().describe(\"Response model containing the list of teams with access to a project.\");\n\nexport const rollbarListProjectTeams = action(\"ROLLBAR_LIST_PROJECT_TEAMS\", {\n slug: \"rollbar-list-project-teams\",\n name: \"List Project Teams\",\n description: \"Tool to list all teams with access to a Rollbar project. Use when you need to retrieve teams associated with a specific project.\",\n input: RollbarListProjectTeamsInput,\n output: RollbarListProjectTeamsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-project-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 RollbarListProjectTeamsInput = z.object({\n project_id: z.number().int().describe(\"Unique identifier of the Rollbar project to list teams for.\"),\n exclude_builtin_teams: z.number().int().describe(\"When set to 1 or true, excludes built-in teams (Owners, Everyone) from the response. Set to 0 or omit to include all teams.\").optional(),\n}).describe(\"Request model for listing teams with access to a project.\");\nconst RollbarListProjectTeams_TeamAssignmentSchema = z.object({\n team_id: z.number().int().describe(\"Unique identifier of the team.\").nullable(),\n project_id: z.number().int().describe(\"Unique identifier of the project.\").nullable(),\n}).passthrough().describe(\"Represents a team assignment to a project.\");\nexport const RollbarListProjectTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListProjectTeams_TeamAssignmentSchema).describe(\"List of team assignments for the project.\"),\n}).passthrough().describe(\"Response model containing the list of teams with access to a project.\");\n\nexport const rollbarListProjectTeams: AppAction<\n typeof RollbarListProjectTeamsInput,\n typeof RollbarListProjectTeamsOutput,\n typeof rollbar.credential\n> = action(\"ROLLBAR_LIST_PROJECT_TEAMS\", {\n slug: \"rollbar-list-project-teams\",\n name: \"List Project Teams\",\n description: \"Tool to list all teams with access to a Rollbar project. Use when you need to retrieve teams associated with a specific project.\",\n input: RollbarListProjectTeamsInput,\n output: RollbarListProjectTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D;CACnG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;AAC3L,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,2CAA2C;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,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-project-teams.d.ts
|
|
@@ -12,10 +14,7 @@ declare const RollbarListProjectTeamsOutput: z.ZodObject<{
|
|
|
12
14
|
project_id: z.ZodNullable<z.ZodNumber>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const rollbarListProjectTeams:
|
|
16
|
-
project_id: number;
|
|
17
|
-
exclude_builtin_teams?: number | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const rollbarListProjectTeams: AppAction<typeof RollbarListProjectTeamsInput, typeof RollbarListProjectTeamsOutput, typeof rollbar.credential>;
|
|
19
18
|
//#endregion
|
|
20
19
|
export { rollbarListProjectTeams };
|
|
21
20
|
//# sourceMappingURL=list-project-teams.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-project-teams.d.cts","names":[],"sources":["../../src/actions/list-project-teams.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-project-teams.d.cts","names":[],"sources":["../../src/actions/list-project-teams.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAQ5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|