@keystrokehq/rollbar 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/check-team-project-assignment.cjs +3 -3
- package/dist/actions/check-team-project-assignment.cjs.map +1 -1
- package/dist/actions/check-team-project-assignment.d.cts +15 -3
- package/dist/actions/check-team-project-assignment.d.cts.map +1 -1
- package/dist/actions/check-team-project-assignment.d.mts +15 -3
- package/dist/actions/check-team-project-assignment.d.mts.map +1 -1
- package/dist/actions/check-team-project-assignment.mjs +3 -3
- package/dist/actions/check-team-project-assignment.mjs.map +1 -1
- package/dist/actions/check-user-team-assignment.cjs +5 -5
- package/dist/actions/check-user-team-assignment.cjs.map +1 -1
- package/dist/actions/check-user-team-assignment.d.cts +15 -3
- package/dist/actions/check-user-team-assignment.d.cts.map +1 -1
- package/dist/actions/check-user-team-assignment.d.mts +15 -3
- package/dist/actions/check-user-team-assignment.d.mts.map +1 -1
- package/dist/actions/check-user-team-assignment.mjs +5 -5
- package/dist/actions/check-user-team-assignment.mjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.cjs +8 -8
- package/dist/actions/get-occurrences-metrics.cjs.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.cts +134 -3
- package/dist/actions/get-occurrences-metrics.d.cts.map +1 -1
- package/dist/actions/get-occurrences-metrics.d.mts +134 -3
- package/dist/actions/get-occurrences-metrics.d.mts.map +1 -1
- package/dist/actions/get-occurrences-metrics.mjs +8 -8
- package/dist/actions/get-occurrences-metrics.mjs.map +1 -1
- package/dist/actions/get-project.cjs +10 -10
- package/dist/actions/get-project.cjs.map +1 -1
- package/dist/actions/get-project.d.cts +21 -3
- package/dist/actions/get-project.d.cts.map +1 -1
- package/dist/actions/get-project.d.mts +21 -3
- package/dist/actions/get-project.d.mts.map +1 -1
- package/dist/actions/get-project.mjs +10 -10
- package/dist/actions/get-project.mjs.map +1 -1
- package/dist/actions/get-team.cjs +7 -7
- package/dist/actions/get-team.cjs.map +1 -1
- package/dist/actions/get-team.d.cts +15 -3
- package/dist/actions/get-team.d.cts.map +1 -1
- package/dist/actions/get-team.d.mts +15 -3
- package/dist/actions/get-team.d.mts.map +1 -1
- package/dist/actions/get-team.mjs +7 -7
- package/dist/actions/get-team.mjs.map +1 -1
- package/dist/actions/get-ttr-metrics.cjs +4 -4
- package/dist/actions/get-ttr-metrics.cjs.map +1 -1
- package/dist/actions/get-ttr-metrics.d.cts +55 -3
- package/dist/actions/get-ttr-metrics.d.cts.map +1 -1
- package/dist/actions/get-ttr-metrics.d.mts +55 -3
- package/dist/actions/get-ttr-metrics.d.mts.map +1 -1
- package/dist/actions/get-ttr-metrics.mjs +4 -4
- package/dist/actions/get-ttr-metrics.mjs.map +1 -1
- package/dist/actions/get-user.cjs +3 -3
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +15 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +15 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +3 -3
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-all-projects.cjs +3 -3
- package/dist/actions/list-all-projects.cjs.map +1 -1
- package/dist/actions/list-all-projects.d.cts +14 -3
- package/dist/actions/list-all-projects.d.cts.map +1 -1
- package/dist/actions/list-all-projects.d.mts +14 -3
- package/dist/actions/list-all-projects.d.mts.map +1 -1
- package/dist/actions/list-all-projects.mjs +3 -3
- package/dist/actions/list-all-projects.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +7 -7
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +11 -3
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +11 -3
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs +7 -7
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +7 -7
- package/dist/actions/list-all-users.cjs.map +1 -1
- package/dist/actions/list-all-users.d.cts +16 -3
- package/dist/actions/list-all-users.d.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +16 -3
- package/dist/actions/list-all-users.d.mts.map +1 -1
- package/dist/actions/list-all-users.mjs +7 -7
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/list-project-teams.cjs +5 -5
- package/dist/actions/list-project-teams.cjs.map +1 -1
- package/dist/actions/list-project-teams.d.cts +15 -3
- package/dist/actions/list-project-teams.d.cts.map +1 -1
- package/dist/actions/list-project-teams.d.mts +15 -3
- package/dist/actions/list-project-teams.d.mts.map +1 -1
- package/dist/actions/list-project-teams.mjs +5 -5
- package/dist/actions/list-project-teams.mjs.map +1 -1
- package/dist/actions/list-rql-jobs.cjs +5 -5
- package/dist/actions/list-rql-jobs.cjs.map +1 -1
- package/dist/actions/list-rql-jobs.d.cts +21 -3
- package/dist/actions/list-rql-jobs.d.cts.map +1 -1
- package/dist/actions/list-rql-jobs.d.mts +21 -3
- package/dist/actions/list-rql-jobs.d.mts.map +1 -1
- package/dist/actions/list-rql-jobs.mjs +5 -5
- package/dist/actions/list-rql-jobs.mjs.map +1 -1
- package/dist/actions/list-team-invitations.cjs +9 -9
- package/dist/actions/list-team-invitations.cjs.map +1 -1
- package/dist/actions/list-team-invitations.d.cts +20 -3
- package/dist/actions/list-team-invitations.d.cts.map +1 -1
- package/dist/actions/list-team-invitations.d.mts +20 -3
- package/dist/actions/list-team-invitations.d.mts.map +1 -1
- package/dist/actions/list-team-invitations.mjs +9 -9
- package/dist/actions/list-team-invitations.mjs.map +1 -1
- package/dist/actions/list-team-projects.cjs +5 -5
- package/dist/actions/list-team-projects.cjs.map +1 -1
- package/dist/actions/list-team-projects.d.cts +13 -3
- package/dist/actions/list-team-projects.d.cts.map +1 -1
- package/dist/actions/list-team-projects.d.mts +13 -3
- package/dist/actions/list-team-projects.d.mts.map +1 -1
- package/dist/actions/list-team-projects.mjs +5 -5
- package/dist/actions/list-team-projects.mjs.map +1 -1
- package/dist/actions/list-team-users.cjs +2 -2
- package/dist/actions/list-team-users.cjs.map +1 -1
- package/dist/actions/list-team-users.d.cts +15 -3
- package/dist/actions/list-team-users.d.cts.map +1 -1
- package/dist/actions/list-team-users.d.mts +15 -3
- package/dist/actions/list-team-users.d.mts.map +1 -1
- package/dist/actions/list-team-users.mjs +2 -2
- package/dist/actions/list-team-users.mjs.map +1 -1
- package/dist/actions/list-user-projects.cjs +8 -8
- package/dist/actions/list-user-projects.cjs.map +1 -1
- package/dist/actions/list-user-projects.d.cts +17 -3
- package/dist/actions/list-user-projects.d.cts.map +1 -1
- package/dist/actions/list-user-projects.d.mts +17 -3
- package/dist/actions/list-user-projects.d.mts.map +1 -1
- package/dist/actions/list-user-projects.mjs +8 -8
- package/dist/actions/list-user-projects.mjs.map +1 -1
- package/dist/actions/list-user-teams.cjs +3 -3
- package/dist/actions/list-user-teams.cjs.map +1 -1
- package/dist/actions/list-user-teams.d.cts +15 -3
- package/dist/actions/list-user-teams.d.cts.map +1 -1
- package/dist/actions/list-user-teams.d.mts +15 -3
- package/dist/actions/list-user-teams.d.mts.map +1 -1
- package/dist/actions/list-user-teams.mjs +3 -3
- package/dist/actions/list-user-teams.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ const RollbarGetTtrMetricsInput = zod.z.object({
|
|
|
28
28
|
const RollbarGetTtrMetrics_MetricsDataPointSchema = zod.z.object({
|
|
29
29
|
value: zod.z.number().describe("The metric value (resolution time) for this data point.").nullable().optional(),
|
|
30
30
|
timestamp: zod.z.number().int().describe("Unix timestamp for this data point.").nullable().optional()
|
|
31
|
-
}).describe("A single data point in the metrics result.");
|
|
31
|
+
}).passthrough().describe("A single data point in the metrics result.");
|
|
32
32
|
const RollbarGetTtrMetrics_MetricsParamsSchema = zod.z.object({
|
|
33
33
|
levels: zod.z.array(zod.z.string()).describe("List of level names used in the query.").nullable().optional(),
|
|
34
34
|
end_time: zod.z.number().int().describe("Unix timestamp of end time used in the query.").nullable().optional(),
|
|
@@ -39,15 +39,15 @@ const RollbarGetTtrMetrics_MetricsParamsSchema = zod.z.object({
|
|
|
39
39
|
granularity: zod.z.string().describe("Granularity used in the query.").nullable().optional(),
|
|
40
40
|
project_ids: zod.z.array(zod.z.number().int()).describe("List of project IDs used in the query.").nullable().optional(),
|
|
41
41
|
environments: zod.z.array(zod.z.string()).describe("List of environment names used in the query.").nullable().optional()
|
|
42
|
-
}).describe("Parameters used in the metrics query.");
|
|
42
|
+
}).passthrough().describe("Parameters used in the metrics query.");
|
|
43
43
|
const RollbarGetTtrMetrics_MetricsResultSchema = zod.z.object({
|
|
44
44
|
data: zod.z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe("List of time-to-resolution metrics data points.").nullable().optional(),
|
|
45
45
|
params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional()
|
|
46
|
-
}).describe("Result containing metrics data and parameters.");
|
|
46
|
+
}).passthrough().describe("Result containing metrics data and parameters.");
|
|
47
47
|
const RollbarGetTtrMetricsOutput = zod.z.object({
|
|
48
48
|
err: zod.z.number().int().describe("Error code. 0 indicates success.").nullable().optional(),
|
|
49
49
|
result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional()
|
|
50
|
-
}).describe("Response containing time-to-resolution metrics.");
|
|
50
|
+
}).passthrough().describe("Response containing time-to-resolution metrics.");
|
|
51
51
|
const rollbarGetTtrMetrics = require_action.action("ROLLBAR_GET_TTR_METRICS", {
|
|
52
52
|
slug: "rollbar-get-ttr-metrics",
|
|
53
53
|
name: "Get TTR metrics",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.cjs","names":["z","action"],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).passthrough().describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).passthrough().describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-ttr-metrics.d.ts
|
|
4
|
-
declare const RollbarGetTtrMetricsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RollbarGetTtrMetricsInput: z.ZodObject<{
|
|
5
|
+
levels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
|
+
end_time: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
function: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
max: "max";
|
|
9
|
+
min: "min";
|
|
10
|
+
mean: "mean";
|
|
11
|
+
median: "median";
|
|
12
|
+
}>>;
|
|
13
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
frameworks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
start_time: z.ZodNumber;
|
|
16
|
+
granularity: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
second: "second";
|
|
18
|
+
minute: "minute";
|
|
19
|
+
hour: "hour";
|
|
20
|
+
day: "day";
|
|
21
|
+
week: "week";
|
|
22
|
+
month: "month";
|
|
23
|
+
year: "year";
|
|
24
|
+
}>>;
|
|
25
|
+
project_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
26
|
+
environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
29
|
+
err: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
frameworks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
project_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
44
|
+
environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
|
+
declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { rollbarGetTtrMetrics };
|
|
9
61
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.d.cts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,61 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-ttr-metrics.d.ts
|
|
4
|
-
declare const RollbarGetTtrMetricsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RollbarGetTtrMetricsInput: z.ZodObject<{
|
|
5
|
+
levels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6
|
+
end_time: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
function: z.ZodOptional<z.ZodEnum<{
|
|
8
|
+
max: "max";
|
|
9
|
+
min: "min";
|
|
10
|
+
mean: "mean";
|
|
11
|
+
median: "median";
|
|
12
|
+
}>>;
|
|
13
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
14
|
+
frameworks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
start_time: z.ZodNumber;
|
|
16
|
+
granularity: z.ZodOptional<z.ZodEnum<{
|
|
17
|
+
second: "second";
|
|
18
|
+
minute: "minute";
|
|
19
|
+
hour: "hour";
|
|
20
|
+
day: "day";
|
|
21
|
+
week: "week";
|
|
22
|
+
month: "month";
|
|
23
|
+
year: "year";
|
|
24
|
+
}>>;
|
|
25
|
+
project_ids: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
26
|
+
environments: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const RollbarGetTtrMetricsOutput: z.ZodObject<{
|
|
29
|
+
err: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
32
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
+
timestamp: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
|
+
}, z.core.$loose>>>>;
|
|
35
|
+
params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
levels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
37
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
|
+
function: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
|
+
frameworks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
41
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
42
|
+
granularity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
project_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
44
|
+
environments: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
45
|
+
}, z.core.$loose>>>;
|
|
46
|
+
}, z.core.$loose>>>;
|
|
47
|
+
}, z.core.$loose>;
|
|
48
|
+
declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
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]>;
|
|
7
59
|
//#endregion
|
|
8
60
|
export { rollbarGetTtrMetrics };
|
|
9
61
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.d.mts","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cA8BzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -28,7 +28,7 @@ const RollbarGetTtrMetricsInput = z.object({
|
|
|
28
28
|
const RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({
|
|
29
29
|
value: z.number().describe("The metric value (resolution time) for this data point.").nullable().optional(),
|
|
30
30
|
timestamp: z.number().int().describe("Unix timestamp for this data point.").nullable().optional()
|
|
31
|
-
}).describe("A single data point in the metrics result.");
|
|
31
|
+
}).passthrough().describe("A single data point in the metrics result.");
|
|
32
32
|
const RollbarGetTtrMetrics_MetricsParamsSchema = z.object({
|
|
33
33
|
levels: z.array(z.string()).describe("List of level names used in the query.").nullable().optional(),
|
|
34
34
|
end_time: z.number().int().describe("Unix timestamp of end time used in the query.").nullable().optional(),
|
|
@@ -39,11 +39,11 @@ const RollbarGetTtrMetrics_MetricsParamsSchema = z.object({
|
|
|
39
39
|
granularity: z.string().describe("Granularity used in the query.").nullable().optional(),
|
|
40
40
|
project_ids: z.array(z.number().int()).describe("List of project IDs used in the query.").nullable().optional(),
|
|
41
41
|
environments: z.array(z.string()).describe("List of environment names used in the query.").nullable().optional()
|
|
42
|
-
}).describe("Parameters used in the metrics query.");
|
|
42
|
+
}).passthrough().describe("Parameters used in the metrics query.");
|
|
43
43
|
const RollbarGetTtrMetrics_MetricsResultSchema = z.object({
|
|
44
44
|
data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe("List of time-to-resolution metrics data points.").nullable().optional(),
|
|
45
45
|
params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional()
|
|
46
|
-
}).describe("Result containing metrics data and parameters.");
|
|
46
|
+
}).passthrough().describe("Result containing metrics data and parameters.");
|
|
47
47
|
const rollbarGetTtrMetrics = action("ROLLBAR_GET_TTR_METRICS", {
|
|
48
48
|
slug: "rollbar-get-ttr-metrics",
|
|
49
49
|
name: "Get TTR metrics",
|
|
@@ -52,7 +52,7 @@ const rollbarGetTtrMetrics = action("ROLLBAR_GET_TTR_METRICS", {
|
|
|
52
52
|
output: z.object({
|
|
53
53
|
err: z.number().int().describe("Error code. 0 indicates success.").nullable().optional(),
|
|
54
54
|
result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional()
|
|
55
|
-
}).describe("Response containing time-to-resolution metrics.")
|
|
55
|
+
}).passthrough().describe("Response containing time-to-resolution metrics.")
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { rollbarGetTtrMetrics };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput
|
|
1
|
+
{"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).passthrough().describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).passthrough().describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).passthrough().describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -7,11 +7,11 @@ const RollbarGetUser_UserResultSchema = zod.z.object({
|
|
|
7
7
|
email: zod.z.string().describe("The email address of the user").nullable().optional(),
|
|
8
8
|
username: zod.z.string().describe("The username of the user").nullable().optional(),
|
|
9
9
|
email_enabled: zod.z.number().int().describe("Whether email notifications are enabled (1 for enabled, 0 for disabled)").nullable().optional()
|
|
10
|
-
}).describe("User information returned by the Rollbar API.");
|
|
10
|
+
}).passthrough().describe("User information returned by the Rollbar API.");
|
|
11
11
|
const RollbarGetUserOutput = zod.z.object({
|
|
12
|
-
err: zod.z.number().int().describe("Error code (0 indicates success)"),
|
|
12
|
+
err: zod.z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
13
13
|
result: RollbarGetUser_UserResultSchema.nullable()
|
|
14
|
-
}).describe("Response model for fetching a specific Rollbar user.");
|
|
14
|
+
}).passthrough().describe("Response model for fetching a specific Rollbar user.");
|
|
15
15
|
const rollbarGetUser = require_action.action("ROLLBAR_GET_USER", {
|
|
16
16
|
slug: "rollbar-get-user",
|
|
17
17
|
name: "Get User by ID",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).passthrough().describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const RollbarGetUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RollbarGetUserInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RollbarGetUserOutput: z.ZodObject<{
|
|
8
|
+
err: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
user_id: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { rollbarGetUser };
|
|
9
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":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const RollbarGetUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RollbarGetUserInput: z.ZodObject<{
|
|
5
|
+
user_id: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RollbarGetUserOutput: z.ZodObject<{
|
|
8
|
+
err: z.ZodNullable<z.ZodNumber>;
|
|
9
|
+
result: z.ZodNullable<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
email_enabled: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
user_id: number;
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
19
|
//#endregion
|
|
8
20
|
export { rollbarGetUser };
|
|
9
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":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cASnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -7,16 +7,16 @@ const RollbarGetUser_UserResultSchema = z.object({
|
|
|
7
7
|
email: z.string().describe("The email address of the user").nullable().optional(),
|
|
8
8
|
username: z.string().describe("The username of the user").nullable().optional(),
|
|
9
9
|
email_enabled: z.number().int().describe("Whether email notifications are enabled (1 for enabled, 0 for disabled)").nullable().optional()
|
|
10
|
-
}).describe("User information returned by the Rollbar API.");
|
|
10
|
+
}).passthrough().describe("User information returned by the Rollbar API.");
|
|
11
11
|
const rollbarGetUser = action("ROLLBAR_GET_USER", {
|
|
12
12
|
slug: "rollbar-get-user",
|
|
13
13
|
name: "Get User by ID",
|
|
14
14
|
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.",
|
|
15
15
|
input: RollbarGetUserInput,
|
|
16
16
|
output: z.object({
|
|
17
|
-
err: z.number().int().describe("Error code (0 indicates success)"),
|
|
17
|
+
err: z.number().int().describe("Error code (0 indicates success)").nullable(),
|
|
18
18
|
result: RollbarGetUser_UserResultSchema.nullable()
|
|
19
|
-
}).describe("Response model for fetching a specific Rollbar user.")
|
|
19
|
+
}).passthrough().describe("Response model for fetching a specific Rollbar user.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { rollbarGetUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).passthrough().describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).passthrough().describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAMzE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -10,11 +10,11 @@ const RollbarListAllProjects_ProjectSchema = zod.z.object({
|
|
|
10
10
|
date_created: zod.z.number().int().describe("Unix timestamp when the project was created.").nullable().optional(),
|
|
11
11
|
date_modified: zod.z.number().int().describe("Unix timestamp when the project was last modified.").nullable().optional(),
|
|
12
12
|
settings_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional settings data for the project.").nullable().optional()
|
|
13
|
-
}).describe("Represents a Rollbar project.");
|
|
13
|
+
}).passthrough().describe("Represents a Rollbar project.");
|
|
14
14
|
const RollbarListAllProjectsOutput = zod.z.object({
|
|
15
|
-
err: zod.z.number().int().describe("Error code. 0 indicates success."),
|
|
15
|
+
err: zod.z.number().int().describe("Error code. 0 indicates success.").nullable(),
|
|
16
16
|
result: zod.z.array(RollbarListAllProjects_ProjectSchema).describe("List of projects in the account.")
|
|
17
|
-
}).describe("Response schema for listing all projects.");
|
|
17
|
+
}).passthrough().describe("Response schema for listing all projects.");
|
|
18
18
|
const rollbarListAllProjects = require_action.action("ROLLBAR_LIST_ALL_PROJECTS", {
|
|
19
19
|
slug: "rollbar-list-all-projects",
|
|
20
20
|
name: "List All Projects",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput
|
|
1
|
+
{"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).passthrough().describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-all-projects.d.ts
|
|
4
|
-
declare const RollbarListAllProjectsInput: z.
|
|
5
|
-
declare const RollbarListAllProjectsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RollbarListAllProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
6
|
+
err: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
result: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { rollbarListAllProjects };
|
|
9
20
|
//# 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":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-all-projects.d.cts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-all-projects.d.ts
|
|
4
|
-
declare const RollbarListAllProjectsInput: z.
|
|
5
|
-
declare const RollbarListAllProjectsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RollbarListAllProjectsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RollbarListAllProjectsOutput: z.ZodObject<{
|
|
6
|
+
err: z.ZodNullable<z.ZodNumber>;
|
|
7
|
+
result: z.ZodArray<z.ZodObject<{
|
|
8
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
account_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
date_created: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
date_modified: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
settings_data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
18
|
//#endregion
|
|
8
19
|
export { rollbarListAllProjects };
|
|
9
20
|
//# 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":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-all-projects.d.mts","names":[],"sources":["../../src/actions/list-all-projects.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -10,16 +10,16 @@ const RollbarListAllProjects_ProjectSchema = z.object({
|
|
|
10
10
|
date_created: z.number().int().describe("Unix timestamp when the project was created.").nullable().optional(),
|
|
11
11
|
date_modified: z.number().int().describe("Unix timestamp when the project was last modified.").nullable().optional(),
|
|
12
12
|
settings_data: z.record(z.string(), z.unknown()).describe("Additional settings data for the project.").nullable().optional()
|
|
13
|
-
}).describe("Represents a Rollbar project.");
|
|
13
|
+
}).passthrough().describe("Represents a Rollbar project.");
|
|
14
14
|
const rollbarListAllProjects = action("ROLLBAR_LIST_ALL_PROJECTS", {
|
|
15
15
|
slug: "rollbar-list-all-projects",
|
|
16
16
|
name: "List All Projects",
|
|
17
17
|
description: "Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.",
|
|
18
18
|
input: RollbarListAllProjectsInput,
|
|
19
19
|
output: z.object({
|
|
20
|
-
err: z.number().int().describe("Error code. 0 indicates success."),
|
|
20
|
+
err: z.number().int().describe("Error code. 0 indicates success.").nullable(),
|
|
21
21
|
result: z.array(RollbarListAllProjects_ProjectSchema).describe("List of projects in the account.")
|
|
22
|
-
}).describe("Response schema for listing all projects.")
|
|
22
|
+
}).passthrough().describe("Response schema for listing all projects.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { rollbarListAllProjects };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput
|
|
1
|
+
{"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).passthrough().describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).passthrough().describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC5E,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-all-teams.ts
|
|
4
4
|
const RollbarListAllTeamsInput = zod.z.object({}).describe("Request model for listing all teams in a Rollbar account.");
|
|
5
5
|
const RollbarListAllTeams_TeamSchema = zod.z.object({
|
|
6
|
-
id: zod.z.number().int().describe("Unique identifier of the team"),
|
|
7
|
-
name: zod.z.string().describe("Name of the team"),
|
|
8
|
-
account_id: zod.z.number().int().describe("Account ID this team belongs to"),
|
|
9
|
-
access_level: zod.z.string().describe("Access level of the team")
|
|
10
|
-
}).describe("Model representing a team in Rollbar.");
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the team").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the team").nullable(),
|
|
8
|
+
account_id: zod.z.number().int().describe("Account ID this team belongs to").nullable(),
|
|
9
|
+
access_level: zod.z.string().describe("Access level of the team").nullable()
|
|
10
|
+
}).passthrough().describe("Model representing a team in Rollbar.");
|
|
11
11
|
const RollbarListAllTeamsOutput = zod.z.object({
|
|
12
|
-
err: zod.z.number().int().describe("Error code, 0 indicates success"),
|
|
12
|
+
err: zod.z.number().int().describe("Error code, 0 indicates success").nullable(),
|
|
13
13
|
result: zod.z.array(RollbarListAllTeams_TeamSchema).describe("List of teams in the account")
|
|
14
|
-
}).describe("Response model for listing all teams in a Rollbar account.");
|
|
14
|
+
}).passthrough().describe("Response model for listing all teams in a Rollbar account.");
|
|
15
15
|
const rollbarListAllTeams = require_action.action("ROLLBAR_LIST_ALL_TEAMS", {
|
|
16
16
|
slug: "rollbar-list-all-teams",
|
|
17
17
|
name: "List All Teams",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput
|
|
1
|
+
{"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).passthrough().describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).passthrough().describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC3E,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|