@keystrokehq/rollbar 0.1.0 → 0.1.2

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.
Files changed (141) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-team-project-assignment.cjs +1 -1
  4. package/dist/actions/check-team-project-assignment.cjs.map +1 -1
  5. package/dist/actions/check-team-project-assignment.d.cts +15 -3
  6. package/dist/actions/check-team-project-assignment.d.cts.map +1 -1
  7. package/dist/actions/check-team-project-assignment.d.mts +15 -3
  8. package/dist/actions/check-team-project-assignment.d.mts.map +1 -1
  9. package/dist/actions/check-team-project-assignment.mjs +1 -1
  10. package/dist/actions/check-team-project-assignment.mjs.map +1 -1
  11. package/dist/actions/check-user-team-assignment.cjs +3 -3
  12. package/dist/actions/check-user-team-assignment.cjs.map +1 -1
  13. package/dist/actions/check-user-team-assignment.d.cts +15 -3
  14. package/dist/actions/check-user-team-assignment.d.cts.map +1 -1
  15. package/dist/actions/check-user-team-assignment.d.mts +15 -3
  16. package/dist/actions/check-user-team-assignment.d.mts.map +1 -1
  17. package/dist/actions/check-user-team-assignment.mjs +3 -3
  18. package/dist/actions/check-user-team-assignment.mjs.map +1 -1
  19. package/dist/actions/get-occurrences-metrics.cjs +2 -2
  20. package/dist/actions/get-occurrences-metrics.cjs.map +1 -1
  21. package/dist/actions/get-occurrences-metrics.d.cts +132 -3
  22. package/dist/actions/get-occurrences-metrics.d.cts.map +1 -1
  23. package/dist/actions/get-occurrences-metrics.d.mts +132 -3
  24. package/dist/actions/get-occurrences-metrics.d.mts.map +1 -1
  25. package/dist/actions/get-occurrences-metrics.mjs +2 -2
  26. package/dist/actions/get-occurrences-metrics.mjs.map +1 -1
  27. package/dist/actions/get-project.cjs +7 -7
  28. package/dist/actions/get-project.cjs.map +1 -1
  29. package/dist/actions/get-project.d.cts +21 -3
  30. package/dist/actions/get-project.d.cts.map +1 -1
  31. package/dist/actions/get-project.d.mts +21 -3
  32. package/dist/actions/get-project.d.mts.map +1 -1
  33. package/dist/actions/get-project.mjs +7 -7
  34. package/dist/actions/get-project.mjs.map +1 -1
  35. package/dist/actions/get-team.cjs +5 -5
  36. package/dist/actions/get-team.cjs.map +1 -1
  37. package/dist/actions/get-team.d.cts +15 -3
  38. package/dist/actions/get-team.d.cts.map +1 -1
  39. package/dist/actions/get-team.d.mts +15 -3
  40. package/dist/actions/get-team.d.mts.map +1 -1
  41. package/dist/actions/get-team.mjs +5 -5
  42. package/dist/actions/get-team.mjs.map +1 -1
  43. package/dist/actions/get-ttr-metrics.cjs.map +1 -1
  44. package/dist/actions/get-ttr-metrics.d.cts +55 -3
  45. package/dist/actions/get-ttr-metrics.d.cts.map +1 -1
  46. package/dist/actions/get-ttr-metrics.d.mts +55 -3
  47. package/dist/actions/get-ttr-metrics.d.mts.map +1 -1
  48. package/dist/actions/get-ttr-metrics.mjs.map +1 -1
  49. package/dist/actions/get-user.cjs +1 -1
  50. package/dist/actions/get-user.cjs.map +1 -1
  51. package/dist/actions/get-user.d.cts +15 -3
  52. package/dist/actions/get-user.d.cts.map +1 -1
  53. package/dist/actions/get-user.d.mts +15 -3
  54. package/dist/actions/get-user.d.mts.map +1 -1
  55. package/dist/actions/get-user.mjs +1 -1
  56. package/dist/actions/get-user.mjs.map +1 -1
  57. package/dist/actions/list-all-projects.cjs +1 -1
  58. package/dist/actions/list-all-projects.cjs.map +1 -1
  59. package/dist/actions/list-all-projects.d.cts +14 -3
  60. package/dist/actions/list-all-projects.d.cts.map +1 -1
  61. package/dist/actions/list-all-projects.d.mts +14 -3
  62. package/dist/actions/list-all-projects.d.mts.map +1 -1
  63. package/dist/actions/list-all-projects.mjs +1 -1
  64. package/dist/actions/list-all-projects.mjs.map +1 -1
  65. package/dist/actions/list-all-teams.cjs +5 -5
  66. package/dist/actions/list-all-teams.cjs.map +1 -1
  67. package/dist/actions/list-all-teams.d.cts +11 -3
  68. package/dist/actions/list-all-teams.d.cts.map +1 -1
  69. package/dist/actions/list-all-teams.d.mts +11 -3
  70. package/dist/actions/list-all-teams.d.mts.map +1 -1
  71. package/dist/actions/list-all-teams.mjs +5 -5
  72. package/dist/actions/list-all-teams.mjs.map +1 -1
  73. package/dist/actions/list-all-users.cjs +4 -4
  74. package/dist/actions/list-all-users.cjs.map +1 -1
  75. package/dist/actions/list-all-users.d.cts +16 -3
  76. package/dist/actions/list-all-users.d.cts.map +1 -1
  77. package/dist/actions/list-all-users.d.mts +16 -3
  78. package/dist/actions/list-all-users.d.mts.map +1 -1
  79. package/dist/actions/list-all-users.mjs +4 -4
  80. package/dist/actions/list-all-users.mjs.map +1 -1
  81. package/dist/actions/list-project-teams.cjs +3 -3
  82. package/dist/actions/list-project-teams.cjs.map +1 -1
  83. package/dist/actions/list-project-teams.d.cts +15 -3
  84. package/dist/actions/list-project-teams.d.cts.map +1 -1
  85. package/dist/actions/list-project-teams.d.mts +15 -3
  86. package/dist/actions/list-project-teams.d.mts.map +1 -1
  87. package/dist/actions/list-project-teams.mjs +3 -3
  88. package/dist/actions/list-project-teams.mjs.map +1 -1
  89. package/dist/actions/list-rql-jobs.cjs +2 -2
  90. package/dist/actions/list-rql-jobs.cjs.map +1 -1
  91. package/dist/actions/list-rql-jobs.d.cts +21 -3
  92. package/dist/actions/list-rql-jobs.d.cts.map +1 -1
  93. package/dist/actions/list-rql-jobs.d.mts +21 -3
  94. package/dist/actions/list-rql-jobs.d.mts.map +1 -1
  95. package/dist/actions/list-rql-jobs.mjs +2 -2
  96. package/dist/actions/list-rql-jobs.mjs.map +1 -1
  97. package/dist/actions/list-team-invitations.cjs +7 -7
  98. package/dist/actions/list-team-invitations.cjs.map +1 -1
  99. package/dist/actions/list-team-invitations.d.cts +20 -3
  100. package/dist/actions/list-team-invitations.d.cts.map +1 -1
  101. package/dist/actions/list-team-invitations.d.mts +20 -3
  102. package/dist/actions/list-team-invitations.d.mts.map +1 -1
  103. package/dist/actions/list-team-invitations.mjs +7 -7
  104. package/dist/actions/list-team-invitations.mjs.map +1 -1
  105. package/dist/actions/list-team-projects.cjs +3 -3
  106. package/dist/actions/list-team-projects.cjs.map +1 -1
  107. package/dist/actions/list-team-projects.d.cts +13 -3
  108. package/dist/actions/list-team-projects.d.cts.map +1 -1
  109. package/dist/actions/list-team-projects.d.mts +13 -3
  110. package/dist/actions/list-team-projects.d.mts.map +1 -1
  111. package/dist/actions/list-team-projects.mjs +3 -3
  112. package/dist/actions/list-team-projects.mjs.map +1 -1
  113. package/dist/actions/list-team-users.cjs.map +1 -1
  114. package/dist/actions/list-team-users.d.cts +15 -3
  115. package/dist/actions/list-team-users.d.cts.map +1 -1
  116. package/dist/actions/list-team-users.d.mts +15 -3
  117. package/dist/actions/list-team-users.d.mts.map +1 -1
  118. package/dist/actions/list-team-users.mjs.map +1 -1
  119. package/dist/actions/list-user-projects.cjs +5 -5
  120. package/dist/actions/list-user-projects.cjs.map +1 -1
  121. package/dist/actions/list-user-projects.d.cts +17 -3
  122. package/dist/actions/list-user-projects.d.cts.map +1 -1
  123. package/dist/actions/list-user-projects.d.mts +17 -3
  124. package/dist/actions/list-user-projects.d.mts.map +1 -1
  125. package/dist/actions/list-user-projects.mjs +5 -5
  126. package/dist/actions/list-user-projects.mjs.map +1 -1
  127. package/dist/actions/list-user-teams.cjs +1 -1
  128. package/dist/actions/list-user-teams.cjs.map +1 -1
  129. package/dist/actions/list-user-teams.d.cts +15 -3
  130. package/dist/actions/list-user-teams.d.cts.map +1 -1
  131. package/dist/actions/list-user-teams.d.mts +15 -3
  132. package/dist/actions/list-user-teams.d.mts.map +1 -1
  133. package/dist/actions/list-user-teams.mjs +1 -1
  134. package/dist/actions/list-user-teams.mjs.map +1 -1
  135. package/dist/catalog.cjs +7 -1
  136. package/dist/catalog.cjs.map +1 -1
  137. package/dist/catalog.d.cts +8 -0
  138. package/dist/catalog.d.mts +8 -0
  139. package/dist/catalog.mjs +7 -1
  140. package/dist/catalog.mjs.map +1 -1
  141. package/package.json +2 -2
@@ -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.ZodTypeAny;
5
- declare const RollbarGetTtrMetricsOutput: z.ZodTypeAny;
6
- declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>>>;
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.$strip>>>;
46
+ }, z.core.$strip>>>;
47
+ }, z.core.$strip>;
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,EAA2B,CAAA,CAAE,UAU4B;AAAA,cAoBzD,0BAAA,EAA4B,CAAA,CAAE,UAGmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const RollbarGetTtrMetricsOutput: z.ZodTypeAny;
6
- declare const rollbarGetTtrMetrics: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>>>;
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.$strip>>>;
46
+ }, z.core.$strip>>>;
47
+ }, z.core.$strip>;
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,EAA2B,CAAA,CAAE,UAU4B;AAAA,cAoBzD,0BAAA,EAA4B,CAAA,CAAE,UAGmB;AAAA,cAEjD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema: z.ZodTypeAny = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema: z.ZodTypeAny = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"get-ttr-metrics.mjs","names":[],"sources":["../../src/actions/get-ttr-metrics.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetTtrMetricsInput = z.object({\n levels: z.array(z.string()).describe(\"List of level names to filter by (e.g., error, warning, info).\").optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time for the query, inclusive. Default is the current timestamp.\").optional(),\n \"function\": z.enum([\"mean\", \"median\", \"min\", \"max\"]).describe(\"Function to aggregate time-to-resolution metrics.\").optional(),\n timezone: z.string().describe(\"Timezone for the results. Default is US/Pacific. Examples: Europe/London, Japan, UTC.\").optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names to filter by.\").optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time for the query. Required.\"),\n granularity: z.enum([\"second\", \"minute\", \"hour\", \"day\", \"week\", \"month\", \"year\"]).describe(\"Timepoint size of the returned results.\").optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs. Requires Account Access Token.\").optional(),\n environments: z.array(z.string()).describe(\"List of environment names to filter by.\").optional(),\n}).describe(\"Request parameters for getting resolution time metrics.\");\nconst RollbarGetTtrMetrics_MetricsDataPointSchema = z.object({\n value: z.number().describe(\"The metric value (resolution time) for this data point.\").nullable().optional(),\n timestamp: z.number().int().describe(\"Unix timestamp for this data point.\").nullable().optional(),\n}).describe(\"A single data point in the metrics result.\");\nconst RollbarGetTtrMetrics_MetricsParamsSchema = z.object({\n levels: z.array(z.string()).describe(\"List of level names used in the query.\").nullable().optional(),\n end_time: z.number().int().describe(\"Unix timestamp of end time used in the query.\").nullable().optional(),\n \"function\": z.string().describe(\"Aggregate function used in the query.\").nullable().optional(),\n timezone: z.string().describe(\"Timezone used in the query.\").nullable().optional(),\n frameworks: z.array(z.string()).describe(\"List of framework names used in the query.\").nullable().optional(),\n start_time: z.number().int().describe(\"Unix timestamp of start time used in the query.\").nullable().optional(),\n granularity: z.string().describe(\"Granularity used in the query.\").nullable().optional(),\n project_ids: z.array(z.number().int()).describe(\"List of project IDs used in the query.\").nullable().optional(),\n environments: z.array(z.string()).describe(\"List of environment names used in the query.\").nullable().optional(),\n}).describe(\"Parameters used in the metrics query.\");\nconst RollbarGetTtrMetrics_MetricsResultSchema = z.object({\n data: z.array(RollbarGetTtrMetrics_MetricsDataPointSchema).describe(\"List of time-to-resolution metrics data points.\").nullable().optional(),\n params: RollbarGetTtrMetrics_MetricsParamsSchema.nullable().optional(),\n}).describe(\"Result containing metrics data and parameters.\");\nexport const RollbarGetTtrMetricsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable().optional(),\n result: RollbarGetTtrMetrics_MetricsResultSchema.nullable().optional(),\n}).describe(\"Response containing time-to-resolution metrics.\");\n\nexport const rollbarGetTtrMetrics = action(\"ROLLBAR_GET_TTR_METRICS\", {\n slug: \"rollbar-get-ttr-metrics\",\n name: \"Get TTR metrics\",\n description: \"Get resolution time metrics for a list of projects. Use when you need to analyze how long it takes to resolve issues in Rollbar projects.\",\n input: RollbarGetTtrMetricsInput,\n output: RollbarGetTtrMetricsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAChH,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACvI,YAAY,EAAE,KAAK;EAAC;EAAQ;EAAU;EAAO;CAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,aAAa,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;EAAO;EAAQ;EAAS;CAAM,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAChH,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAA2C,EAAE,OAAO;CACxD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,2CAA2C,EAAE,OAAO;CACxD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACvE,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -9,7 +9,7 @@ const RollbarGetUser_UserResultSchema = zod.z.object({
9
9
  email_enabled: zod.z.number().int().describe("Whether email notifications are enabled (1 for enabled, 0 for disabled)").nullable().optional()
10
10
  }).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
14
  }).describe("Response model for fetching a specific Rollbar user.");
15
15
  const rollbarGetUser = require_action.action("ROLLBAR_GET_USER", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\"),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACjE,QAAQ,gCAAgC,SAAS;AACnD,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,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,SAAS,sDAAsD;AAElE,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.ZodTypeAny;
5
- declare const RollbarGetUserOutput: z.ZodTypeAny;
6
- declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
15
+ }, z.core.$strip>;
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,EAAqB,CAAA,CAAE,UAEoC;AAAA,cAO3D,oBAAA,EAAsB,CAAA,CAAE,UAG8B;AAAA,cAEtD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const RollbarGetUserOutput: z.ZodTypeAny;
6
- declare const rollbarGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
15
+ }, z.core.$strip>;
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,EAAqB,CAAA,CAAE,UAEoC;AAAA,cAO3D,oBAAA,EAAsB,CAAA,CAAE,UAG8B;AAAA,cAEtD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -14,7 +14,7 @@ const rollbarGetUser = action("ROLLBAR_GET_USER", {
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
19
  }).describe("Response model for fetching a specific Rollbar user.")
20
20
  });
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\"),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAM3D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACjE,QAAQ,gCAAgC,SAAS;CACnD,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarGetUserInput = z.object({\n user_id: z.number().int().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for fetching a specific Rollbar user by ID.\");\nconst RollbarGetUser_UserResultSchema = z.object({\n id: z.number().int().describe(\"The unique user ID\").nullable().optional(),\n email: z.string().describe(\"The email address of the user\").nullable().optional(),\n username: z.string().describe(\"The username of the user\").nullable().optional(),\n email_enabled: z.number().int().describe(\"Whether email notifications are enabled (1 for enabled, 0 for disabled)\").nullable().optional(),\n}).describe(\"User information returned by the Rollbar API.\");\nexport const RollbarGetUserOutput = z.object({\n err: z.number().int().describe(\"Error code (0 indicates success)\").nullable(),\n result: RollbarGetUser_UserResultSchema.nullable(),\n}).describe(\"Response model for fetching a specific Rollbar user.\");\n\nexport const rollbarGetUser = action(\"ROLLBAR_GET_USER\", {\n slug: \"rollbar-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a specific user from Rollbar by their user ID. Use when you need to fetch user details including username, email, and notification settings.\",\n input: RollbarGetUserInput,\n output: RollbarGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAM3D,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,SAAS,sDAOF;AACV,CAAC"}
@@ -12,7 +12,7 @@ const RollbarListAllProjects_ProjectSchema = zod.z.object({
12
12
  settings_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional settings data for the project.").nullable().optional()
13
13
  }).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
17
  }).describe("Response schema for listing all projects.");
18
18
  const rollbarListAllProjects = require_action.action("ROLLBAR_LIST_ALL_PROJECTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput: z.ZodTypeAny = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\"),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5K,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;CACjE,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;AACnG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-projects.cjs","names":["z","action"],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,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,SAAS,2CAA2C;AAEvD,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.ZodTypeAny;
5
- declare const RollbarListAllProjectsOutput: z.ZodTypeAny;
6
- declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
16
+ }, z.core.$strip>;
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,EAA6B,CAAA,CAAE,UAAiI;AAAA,cAUhK,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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.ZodTypeAny;
5
- declare const RollbarListAllProjectsOutput: z.ZodTypeAny;
6
- declare const rollbarListAllProjects: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
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.$strip>>;
16
+ }, z.core.$strip>;
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,EAA6B,CAAA,CAAE,UAAiI;AAAA,cAUhK,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -17,7 +17,7 @@ const rollbarListAllProjects = action("ROLLBAR_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
22
  }).describe("Response schema for listing all projects.")
23
23
  });
@@ -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.ZodTypeAny = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\"),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC5K,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAM3C,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC;EACjE,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kCAAkC;CACnG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-projects.mjs","names":[],"sources":["../../src/actions/list-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllProjectsInput = z.object({}).describe(\"Request parameters for listing all projects. This endpoint does not require any parameters.\");\nconst RollbarListAllProjects_ProjectSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the project.\").nullable().optional(),\n name: z.string().describe(\"Name of the project.\").nullable().optional(),\n status: z.string().describe(\"Current status of the project (e.g., enabled, disabled).\").nullable().optional(),\n account_id: z.number().int().describe(\"Account ID that owns this project.\").nullable().optional(),\n date_created: z.number().int().describe(\"Unix timestamp when the project was created.\").nullable().optional(),\n date_modified: z.number().int().describe(\"Unix timestamp when the project was last modified.\").nullable().optional(),\n settings_data: z.record(z.string(), z.unknown()).describe(\"Additional settings data for the project.\").nullable().optional(),\n}).describe(\"Represents a Rollbar project.\");\nexport const RollbarListAllProjectsOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success.\").nullable(),\n result: z.array(RollbarListAllProjects_ProjectSchema).describe(\"List of projects in the account.\"),\n}).describe(\"Response schema for listing all projects.\");\n\nexport const rollbarListAllProjects = action(\"ROLLBAR_LIST_ALL_PROJECTS\", {\n slug: \"rollbar-list-all-projects\",\n name: \"List All Projects\",\n description: \"Tool to list all projects in the Rollbar account. Use when you need to retrieve all projects associated with the account.\",\n input: RollbarListAllProjectsInput,\n output: RollbarListAllProjectsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC9J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAM3C,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,SAAS,2CAOF;AACV,CAAC"}
@@ -3,13 +3,13 @@ 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")
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
10
  }).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
14
  }).describe("Response model for listing all teams in a Rollbar account.");
15
15
  const rollbarListAllTeams = require_action.action("ROLLBAR_LIST_ALL_TEAMS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\"),\n name: z.string().describe(\"Name of the team\"),\n account_id: z.number().int().describe(\"Account ID this team belongs to\"),\n access_level: z.string().describe(\"Access level of the team\"),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\"),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvI,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC9D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAChE,QAAQA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;AACzF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,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,SAAS,4DAA4D;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-teams.d.ts
4
- declare const RollbarListAllTeamsInput: z.ZodTypeAny;
5
- declare const RollbarListAllTeamsOutput: z.ZodTypeAny;
6
- declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RollbarListAllTeamsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RollbarListAllTeamsOutput: z.ZodObject<{
6
+ err: z.ZodNullable<z.ZodNumber>;
7
+ result: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ account_id: z.ZodNullable<z.ZodNumber>;
11
+ access_level: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { rollbarListAllTeams };
9
17
  //# 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":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA+F;AAAA,cAO3H,yBAAA,EAA2B,CAAA,CAAE,UAG+B;AAAA,cAE5D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-teams.d.cts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,17 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-all-teams.d.ts
4
- declare const RollbarListAllTeamsInput: z.ZodTypeAny;
5
- declare const RollbarListAllTeamsOutput: z.ZodTypeAny;
6
- declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RollbarListAllTeamsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const RollbarListAllTeamsOutput: z.ZodObject<{
6
+ err: z.ZodNullable<z.ZodNumber>;
7
+ result: z.ZodArray<z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodNumber>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ account_id: z.ZodNullable<z.ZodNumber>;
11
+ access_level: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const rollbarListAllTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
15
  //#endregion
8
16
  export { rollbarListAllTeams };
9
17
  //# 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":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA+F;AAAA,cAO3H,yBAAA,EAA2B,CAAA,CAAE,UAG+B;AAAA,cAE5D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-all-teams.d.mts","names":[],"sources":["../../src/actions/list-all-teams.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,10 +3,10 @@ import { z } from "zod";
3
3
  //#region src/actions/list-all-teams.ts
4
4
  const RollbarListAllTeamsInput = z.object({}).describe("Request model for listing all teams in a Rollbar account.");
5
5
  const RollbarListAllTeams_TeamSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the team"),
7
- name: z.string().describe("Name of the team"),
8
- account_id: z.number().int().describe("Account ID this team belongs to"),
9
- access_level: z.string().describe("Access level of the team")
6
+ id: z.number().int().describe("Unique identifier of the team").nullable(),
7
+ name: z.string().describe("Name of the team").nullable(),
8
+ account_id: z.number().int().describe("Account ID this team belongs to").nullable(),
9
+ access_level: z.string().describe("Access level of the team").nullable()
10
10
  }).describe("Model representing a team in Rollbar.");
11
11
  const rollbarListAllTeams = action("ROLLBAR_LIST_ALL_TEAMS", {
12
12
  slug: "rollbar-list-all-teams",
@@ -14,7 +14,7 @@ const rollbarListAllTeams = action("ROLLBAR_LIST_ALL_TEAMS", {
14
14
  description: "Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.",
15
15
  input: RollbarListAllTeamsInput,
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: z.array(RollbarListAllTeams_TeamSchema).describe("List of teams in the account")
19
19
  }).describe("Response model for listing all teams in a Rollbar account.")
20
20
  });
@@ -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.ZodTypeAny = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\"),\n name: z.string().describe(\"Name of the team\"),\n account_id: z.number().int().describe(\"Account ID this team belongs to\"),\n access_level: z.string().describe(\"Access level of the team\"),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\"),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvI,MAAM,iCAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC9D,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;EAChE,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;CACzF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-teams.mjs","names":[],"sources":["../../src/actions/list-all-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllTeamsInput = z.object({}).describe(\"Request model for listing all teams in a Rollbar account.\");\nconst RollbarListAllTeams_TeamSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the team\").nullable(),\n name: z.string().describe(\"Name of the team\").nullable(),\n account_id: z.number().int().describe(\"Account ID this team belongs to\").nullable(),\n access_level: z.string().describe(\"Access level of the team\").nullable(),\n}).describe(\"Model representing a team in Rollbar.\");\nexport const RollbarListAllTeamsOutput = z.object({\n err: z.number().int().describe(\"Error code, 0 indicates success\").nullable(),\n result: z.array(RollbarListAllTeams_TeamSchema).describe(\"List of teams in the account\"),\n}).describe(\"Response model for listing all teams in a Rollbar account.\");\n\nexport const rollbarListAllTeams = action(\"ROLLBAR_LIST_ALL_TEAMS\", {\n slug: \"rollbar-list-all-teams\",\n name: \"List All Teams\",\n description: \"Tool to list all teams in a Rollbar account. Use when you need to retrieve all teams for an account.\",\n input: RollbarListAllTeamsInput,\n output: RollbarListAllTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,QAAQ,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,8BAA8B;CACzF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
@@ -3,13 +3,13 @@ let zod = require("zod");
3
3
  //#region src/actions/list-all-users.ts
4
4
  const RollbarListAllUsersInput = zod.z.object({ email: zod.z.string().describe("Filter the list of users by email address. If provided, only users with matching email will be returned.").optional() }).describe("Request model for listing all users in the Rollbar account.");
5
5
  const RollbarListAllUsers_UserSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier for the user."),
7
- email: zod.z.string().describe("Email address of the user."),
8
- username: zod.z.string().describe("Username of the user.")
6
+ id: zod.z.number().int().describe("Unique identifier for the user.").nullable(),
7
+ email: zod.z.string().describe("Email address of the user.").nullable(),
8
+ username: zod.z.string().describe("Username of the user.").nullable()
9
9
  }).describe("Represents a single user in the Rollbar account.");
10
10
  const RollbarListAllUsers_ResultWrapperSchema = zod.z.object({ users: zod.z.array(RollbarListAllUsers_UserSchema).describe("List of user objects in the account.") }).describe("Wrapper for the result containing the users list.");
11
11
  const RollbarListAllUsersOutput = zod.z.object({
12
- err: zod.z.number().int().describe("Error code. 0 indicates success, non-zero indicates an error."),
12
+ err: zod.z.number().int().describe("Error code. 0 indicates success, non-zero indicates an error.").nullable(),
13
13
  result: RollbarListAllUsers_ResultWrapperSchema.nullable()
14
14
  }).describe("Response containing the list of users and error status.");
15
15
  const rollbarListAllUsers = require_action.action("ROLLBAR_LIST_ALL_USERS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\"),\n email: z.string().describe(\"Email address of the user.\"),\n username: z.string().describe(\"Username of the user.\"),\n}).describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema: z.ZodTypeAny = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput: z.ZodTypeAny = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\"),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACvD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,0CAAwDA,IAAAA,EAAE,OAAO,EACrE,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAChG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CAC9F,QAAQ,wCAAwC,SAAS;AAC3D,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-all-users.cjs","names":["z","action"],"sources":["../../src/actions/list-all-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RollbarListAllUsersInput = z.object({\n email: z.string().describe(\"Filter the list of users by email address. If provided, only users with matching email will be returned.\").optional(),\n}).describe(\"Request model for listing all users in the Rollbar account.\");\nconst RollbarListAllUsers_UserSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n username: z.string().describe(\"Username of the user.\").nullable(),\n}).describe(\"Represents a single user in the Rollbar account.\");\nconst RollbarListAllUsers_ResultWrapperSchema = z.object({\n users: z.array(RollbarListAllUsers_UserSchema).describe(\"List of user objects in the account.\"),\n}).describe(\"Wrapper for the result containing the users list.\");\nexport const RollbarListAllUsersOutput = z.object({\n err: z.number().int().describe(\"Error code. 0 indicates success, non-zero indicates an error.\").nullable(),\n result: RollbarListAllUsers_ResultWrapperSchema.nullable(),\n}).describe(\"Response containing the list of users and error status.\");\n\nexport const rollbarListAllUsers = action(\"ROLLBAR_LIST_ALL_USERS\", {\n slug: \"rollbar-list-all-users\",\n name: \"List All Users\",\n description: \"Tool to list all users in the Rollbar account. Use when you need to retrieve user information or filter users by email address.\",\n input: RollbarListAllUsersInput,\n output: RollbarListAllUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,EAClJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,sCAAsC,EAChG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,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,SAAS,yDAAyD;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}