@keystrokehq/rocketadmin 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.
Files changed (143) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/check-api-key.cjs +1 -1
  4. package/dist/actions/check-api-key.cjs.map +1 -1
  5. package/dist/actions/check-api-key.d.cts +5 -3
  6. package/dist/actions/check-api-key.d.cts.map +1 -1
  7. package/dist/actions/check-api-key.d.mts +5 -3
  8. package/dist/actions/check-api-key.d.mts.map +1 -1
  9. package/dist/actions/check-api-key.mjs +1 -1
  10. package/dist/actions/check-api-key.mjs.map +1 -1
  11. package/dist/actions/delete-table-row.cjs +1 -1
  12. package/dist/actions/delete-table-row.cjs.map +1 -1
  13. package/dist/actions/delete-table-row.d.cts +13 -3
  14. package/dist/actions/delete-table-row.d.cts.map +1 -1
  15. package/dist/actions/delete-table-row.d.mts +13 -3
  16. package/dist/actions/delete-table-row.d.mts.map +1 -1
  17. package/dist/actions/delete-table-row.mjs +1 -1
  18. package/dist/actions/delete-table-row.mjs.map +1 -1
  19. package/dist/actions/get-company-invite-verify.cjs +1 -1
  20. package/dist/actions/get-company-invite-verify.cjs.map +1 -1
  21. package/dist/actions/get-company-invite-verify.d.cts +10 -3
  22. package/dist/actions/get-company-invite-verify.d.cts.map +1 -1
  23. package/dist/actions/get-company-invite-verify.d.mts +10 -3
  24. package/dist/actions/get-company-invite-verify.d.mts.map +1 -1
  25. package/dist/actions/get-company-invite-verify.mjs +1 -1
  26. package/dist/actions/get-company-invite-verify.mjs.map +1 -1
  27. package/dist/actions/get-connection-tables-v2.cjs +3 -3
  28. package/dist/actions/get-connection-tables-v2.cjs.map +1 -1
  29. package/dist/actions/get-connection-tables-v2.d.cts +23 -3
  30. package/dist/actions/get-connection-tables-v2.d.cts.map +1 -1
  31. package/dist/actions/get-connection-tables-v2.d.mts +23 -3
  32. package/dist/actions/get-connection-tables-v2.d.mts.map +1 -1
  33. package/dist/actions/get-connection-tables-v2.mjs +3 -3
  34. package/dist/actions/get-connection-tables-v2.mjs.map +1 -1
  35. package/dist/actions/get-connection-token.cjs +1 -1
  36. package/dist/actions/get-connection-token.cjs.map +1 -1
  37. package/dist/actions/get-connection-token.d.cts +5 -3
  38. package/dist/actions/get-connection-token.d.cts.map +1 -1
  39. package/dist/actions/get-connection-token.d.mts +5 -3
  40. package/dist/actions/get-connection-token.d.mts.map +1 -1
  41. package/dist/actions/get-connection-token.mjs +1 -1
  42. package/dist/actions/get-connection-token.mjs.map +1 -1
  43. package/dist/actions/get-connections.cjs +2 -2
  44. package/dist/actions/get-connections.cjs.map +1 -1
  45. package/dist/actions/get-connections.d.cts +19 -3
  46. package/dist/actions/get-connections.d.cts.map +1 -1
  47. package/dist/actions/get-connections.d.mts +19 -3
  48. package/dist/actions/get-connections.d.mts.map +1 -1
  49. package/dist/actions/get-connections.mjs +2 -2
  50. package/dist/actions/get-connections.mjs.map +1 -1
  51. package/dist/actions/get-hello.cjs +1 -1
  52. package/dist/actions/get-hello.cjs.map +1 -1
  53. package/dist/actions/get-hello.d.cts +5 -3
  54. package/dist/actions/get-hello.d.cts.map +1 -1
  55. package/dist/actions/get-hello.d.mts +5 -3
  56. package/dist/actions/get-hello.d.mts.map +1 -1
  57. package/dist/actions/get-hello.mjs +1 -1
  58. package/dist/actions/get-hello.mjs.map +1 -1
  59. package/dist/actions/get-saas-users-email.cjs +2 -2
  60. package/dist/actions/get-saas-users-email.cjs.map +1 -1
  61. package/dist/actions/get-saas-users-email.d.cts +14 -3
  62. package/dist/actions/get-saas-users-email.d.cts.map +1 -1
  63. package/dist/actions/get-saas-users-email.d.mts +14 -3
  64. package/dist/actions/get-saas-users-email.d.mts.map +1 -1
  65. package/dist/actions/get-saas-users-email.mjs +2 -2
  66. package/dist/actions/get-saas-users-email.mjs.map +1 -1
  67. package/dist/actions/get-table-row.cjs.map +1 -1
  68. package/dist/actions/get-table-row.d.cts +11 -3
  69. package/dist/actions/get-table-row.d.cts.map +1 -1
  70. package/dist/actions/get-table-row.d.mts +11 -3
  71. package/dist/actions/get-table-row.d.mts.map +1 -1
  72. package/dist/actions/get-table-row.mjs.map +1 -1
  73. package/dist/actions/get-table-structure.cjs +1 -1
  74. package/dist/actions/get-table-structure.cjs.map +1 -1
  75. package/dist/actions/get-table-structure.d.cts +31 -3
  76. package/dist/actions/get-table-structure.d.cts.map +1 -1
  77. package/dist/actions/get-table-structure.d.mts +31 -3
  78. package/dist/actions/get-table-structure.d.mts.map +1 -1
  79. package/dist/actions/get-table-structure.mjs +1 -1
  80. package/dist/actions/get-table-structure.mjs.map +1 -1
  81. package/dist/actions/get-user-email-verify.cjs +1 -1
  82. package/dist/actions/get-user-email-verify.cjs.map +1 -1
  83. package/dist/actions/get-user-email-verify.d.cts +11 -3
  84. package/dist/actions/get-user-email-verify.d.cts.map +1 -1
  85. package/dist/actions/get-user-email-verify.d.mts +11 -3
  86. package/dist/actions/get-user-email-verify.d.mts.map +1 -1
  87. package/dist/actions/get-user-email-verify.mjs +1 -1
  88. package/dist/actions/get-user-email-verify.mjs.map +1 -1
  89. package/dist/actions/post-table-csv-export.cjs +3 -3
  90. package/dist/actions/post-table-csv-export.cjs.map +1 -1
  91. package/dist/actions/post-table-csv-export.d.cts +26 -3
  92. package/dist/actions/post-table-csv-export.d.cts.map +1 -1
  93. package/dist/actions/post-table-csv-export.d.mts +26 -3
  94. package/dist/actions/post-table-csv-export.d.mts.map +1 -1
  95. package/dist/actions/post-table-csv-export.mjs +3 -3
  96. package/dist/actions/post-table-csv-export.mjs.map +1 -1
  97. package/dist/actions/post-table-row.cjs +1 -1
  98. package/dist/actions/post-table-row.cjs.map +1 -1
  99. package/dist/actions/post-table-row.d.cts +11 -3
  100. package/dist/actions/post-table-row.d.cts.map +1 -1
  101. package/dist/actions/post-table-row.d.mts +11 -3
  102. package/dist/actions/post-table-row.d.mts.map +1 -1
  103. package/dist/actions/post-table-row.mjs +1 -1
  104. package/dist/actions/post-table-row.mjs.map +1 -1
  105. package/dist/actions/post-table-rows-find.cjs +1 -1
  106. package/dist/actions/post-table-rows-find.cjs.map +1 -1
  107. package/dist/actions/post-table-rows-find.d.cts +15 -3
  108. package/dist/actions/post-table-rows-find.d.cts.map +1 -1
  109. package/dist/actions/post-table-rows-find.d.mts +15 -3
  110. package/dist/actions/post-table-rows-find.d.mts.map +1 -1
  111. package/dist/actions/post-table-rows-find.mjs +1 -1
  112. package/dist/actions/post-table-rows-find.mjs.map +1 -1
  113. package/dist/actions/put-table-row.cjs +1 -1
  114. package/dist/actions/put-table-row.cjs.map +1 -1
  115. package/dist/actions/put-table-row.d.cts +13 -3
  116. package/dist/actions/put-table-row.d.cts.map +1 -1
  117. package/dist/actions/put-table-row.d.mts +13 -3
  118. package/dist/actions/put-table-row.d.mts.map +1 -1
  119. package/dist/actions/put-table-row.mjs +1 -1
  120. package/dist/actions/put-table-row.mjs.map +1 -1
  121. package/dist/actions/put-table-rows-delete.cjs +2 -2
  122. package/dist/actions/put-table-rows-delete.cjs.map +1 -1
  123. package/dist/actions/put-table-rows-delete.d.cts +13 -3
  124. package/dist/actions/put-table-rows-delete.d.cts.map +1 -1
  125. package/dist/actions/put-table-rows-delete.d.mts +13 -3
  126. package/dist/actions/put-table-rows-delete.d.mts.map +1 -1
  127. package/dist/actions/put-table-rows-delete.mjs +2 -2
  128. package/dist/actions/put-table-rows-delete.mjs.map +1 -1
  129. package/dist/actions/put-table-rows-update.cjs +3 -3
  130. package/dist/actions/put-table-rows-update.cjs.map +1 -1
  131. package/dist/actions/put-table-rows-update.d.cts +15 -3
  132. package/dist/actions/put-table-rows-update.d.cts.map +1 -1
  133. package/dist/actions/put-table-rows-update.d.mts +15 -3
  134. package/dist/actions/put-table-rows-update.d.mts.map +1 -1
  135. package/dist/actions/put-table-rows-update.mjs +3 -3
  136. package/dist/actions/put-table-rows-update.mjs.map +1 -1
  137. package/dist/catalog.cjs +7 -1
  138. package/dist/catalog.cjs.map +1 -1
  139. package/dist/catalog.d.cts +8 -0
  140. package/dist/catalog.d.mts +8 -0
  141. package/dist/catalog.mjs +7 -1
  142. package/dist/catalog.mjs.map +1 -1
  143. package/package.json +2 -2
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/put-table-row.d.ts
4
- declare const RocketadminPutTableRowInput: z.ZodTypeAny;
5
- declare const RocketadminPutTableRowOutput: z.ZodTypeAny;
6
- declare const rocketadminPutTableRow: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RocketadminPutTableRowInput: z.ZodObject<{
5
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
6
+ row_data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
+ tableName: z.ZodString;
8
+ connectionId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RocketadminPutTableRowOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
+ declare const rocketadminPutTableRow: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ id: string | number;
13
+ row_data: Record<string, unknown>;
14
+ tableName: string;
15
+ connectionId: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { rocketadminPutTableRow };
9
19
  //# sourceMappingURL=put-table-row.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-row.d.mts","names":[],"sources":["../../src/actions/put-table-row.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAK8B;AAAA,cAC7D,4BAAA,EAA8B,CAAA,CAAE,UAAuQ;AAAA,cAEvS,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"put-table-row.d.mts","names":[],"sources":["../../src/actions/put-table-row.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE5B,sBAAA,gCAAsB,wBAAA;;YAMjC,MAAA"}
@@ -6,7 +6,7 @@ const rocketadminPutTableRow = action("ROCKETADMIN_PUT_TABLE_ROW", {
6
6
  description: "Tool to update a row in a database table by its primary key. Use when you need to modify existing row data in a RocketAdmin connection. This is an API+ feature.",
7
7
  input: z.object({
8
8
  id: z.union([z.string(), z.number().int()]),
9
- row_data: z.object({}).describe("The row data to update. Keys should match table column names and values should match expected data types. Only include fields that need to be updated."),
9
+ row_data: z.record(z.string(), z.unknown()).describe("The row data to update. Keys should match table column names and values should match expected data types. Only include fields that need to be updated."),
10
10
  tableName: z.string().describe("The name of the database table containing the row to update."),
11
11
  connectionId: z.string().describe("The unique identifier for the database connection where the row will be updated.")
12
12
  }).describe("Request model for updating a row in a table by primary key."),
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-row.mjs","names":[],"sources":["../../src/actions/put-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowInput: z.ZodTypeAny = z.object({\n id: z.union([z.string(), z.number().int()]),\n row_data: z.object({}).describe(\"The row data to update. Keys should match table column names and values should match expected data types. Only include fields that need to be updated.\"),\n tableName: z.string().describe(\"The name of the database table containing the row to update.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the row will be updated.\"),\n}).describe(\"Request model for updating a row in a table by primary key.\");\nexport const RocketadminPutTableRowOutput: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Response model containing the updated row data from the specified table.\\nThe response structure is dynamic and depends on the table schema.\\nAll columns and their values are returned as top-level fields.\");\n\nexport const rocketadminPutTableRow = action(\"ROCKETADMIN_PUT_TABLE_ROW\", {\n slug: \"rocketadmin-put-table-row\",\n name: \"Update Table Row by Primary Key\",\n description: \"Tool to update a row in a database table by its primary key. Use when you need to modify existing row data in a RocketAdmin connection. This is an API+ feature.\",\n input: RocketadminPutTableRowInput,\n output: RocketadminPutTableRowOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO;EAChE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wJAAwJ;EACxL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,6DAOH;CACP,QAPwD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8MAO3F;AACV,CAAC"}
1
+ {"version":3,"file":"put-table-row.mjs","names":[],"sources":["../../src/actions/put-table-row.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowInput = z.object({\n id: z.union([z.string(), z.number().int()]),\n row_data: z.record(z.string(), z.unknown()).describe(\"The row data to update. Keys should match table column names and values should match expected data types. Only include fields that need to be updated.\"),\n tableName: z.string().describe(\"The name of the database table containing the row to update.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the row will be updated.\"),\n}).describe(\"Request model for updating a row in a table by primary key.\");\nexport const RocketadminPutTableRowOutput = z.record(z.string(), z.unknown()).describe(\"Response model containing the updated row data from the specified table.\\nThe response structure is dynamic and depends on the table schema.\\nAll columns and their values are returned as top-level fields.\");\n\nexport const rocketadminPutTableRow = action(\"ROCKETADMIN_PUT_TABLE_ROW\", {\n slug: \"rocketadmin-put-table-row\",\n name: \"Update Table Row by Primary Key\",\n description: \"Tool to update a row in a database table by its primary key. Use when you need to modify existing row data in a RocketAdmin connection. This is an API+ feature.\",\n input: RocketadminPutTableRowInput,\n output: RocketadminPutTableRowOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO;EAClD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;EAC1C,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wJAAwJ;EAC7M,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,6DAOH;CACP,QAP0C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8MAO7E;AACV,CAAC"}
@@ -2,11 +2,11 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/put-table-rows-delete.ts
4
4
  const RocketadminPutTableRowsDeleteInput = zod.z.object({
5
- rows: zod.z.array(zod.z.object({})).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
5
+ rows: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
6
6
  tableName: zod.z.string().describe("The name of the table from which rows will be deleted."),
7
7
  connectionId: zod.z.string().describe("The unique identifier for the database connection where the deletion will occur.")
8
8
  }).describe("Request model for deleting multiple rows from a table by primary key.");
9
- const RocketadminPutTableRowsDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of table rows.");
9
+ const RocketadminPutTableRowsDeleteOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for successful deletion of table rows.");
10
10
  const rocketadminPutTableRowsDelete = require_action.action("ROCKETADMIN_PUT_TABLE_ROWS_DELETE", {
11
11
  slug: "rocketadmin-put-table-rows-delete",
12
12
  name: "Delete Multiple Table Rows",
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-delete.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput: z.ZodTypeAny = z.object({\n rows: z.array(z.object({})).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CAClN,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"put-table-rows-delete.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CACvO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;AACtH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/put-table-rows-delete.d.ts
4
- declare const RocketadminPutTableRowsDeleteInput: z.ZodTypeAny;
5
- declare const RocketadminPutTableRowsDeleteOutput: z.ZodTypeAny;
6
- declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RocketadminPutTableRowsDeleteInput: z.ZodObject<{
5
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ tableName: z.ZodString;
7
+ connectionId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RocketadminPutTableRowsDeleteOutput: z.ZodObject<{
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ rows: Record<string, unknown>[];
14
+ tableName: string;
15
+ connectionId: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { rocketadminPutTableRowsDelete };
9
19
  //# sourceMappingURL=put-table-rows-delete.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-delete.d.cts","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIiC;AAAA,cACvE,mCAAA,EAAqC,CAAA,CAAE,UAEgB;AAAA,cAEvD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"put-table-rows-delete.d.cts","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;QAMxC,MAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/put-table-rows-delete.d.ts
4
- declare const RocketadminPutTableRowsDeleteInput: z.ZodTypeAny;
5
- declare const RocketadminPutTableRowsDeleteOutput: z.ZodTypeAny;
6
- declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RocketadminPutTableRowsDeleteInput: z.ZodObject<{
5
+ rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ tableName: z.ZodString;
7
+ connectionId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const RocketadminPutTableRowsDeleteOutput: z.ZodObject<{
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const rocketadminPutTableRowsDelete: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ rows: Record<string, unknown>[];
14
+ tableName: string;
15
+ connectionId: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { rocketadminPutTableRowsDelete };
9
19
  //# sourceMappingURL=put-table-rows-delete.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-delete.d.mts","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAIiC;AAAA,cACvE,mCAAA,EAAqC,CAAA,CAAE,UAEgB;AAAA,cAEvD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"put-table-rows-delete.d.mts","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAKlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;QAMxC,MAAA"}
@@ -5,11 +5,11 @@ const rocketadminPutTableRowsDelete = action("ROCKETADMIN_PUT_TABLE_ROWS_DELETE"
5
5
  name: "Delete Multiple Table Rows",
6
6
  description: "Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.",
7
7
  input: z.object({
8
- rows: z.array(z.object({})).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
8
+ rows: z.array(z.record(z.string(), z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row."),
9
9
  tableName: z.string().describe("The name of the table from which rows will be deleted."),
10
10
  connectionId: z.string().describe("The unique identifier for the database connection where the deletion will occur.")
11
11
  }).describe("Request model for deleting multiple rows from a table by primary key."),
12
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).describe("Response model for successful deletion of table rows.")
12
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the deletion was successful.").nullable().optional() }).passthrough().describe("Response model for successful deletion of table rows.")
13
13
  });
14
14
  //#endregion
15
15
  export { rocketadminPutTableRowsDelete };
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-delete.mjs","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput: z.ZodTypeAny = z.object({\n rows: z.array(z.object({})).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EAClN,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"put-table-rows-delete.mjs","names":[],"sources":["../../src/actions/put-table-rows-delete.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsDeleteInput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be deleted. Each object must include the primary key field name(s) that identify the row.\"),\n tableName: z.string().describe(\"The name of the table from which rows will be deleted.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the deletion will occur.\"),\n}).describe(\"Request model for deleting multiple rows from a table by primary key.\");\nexport const RocketadminPutTableRowsDeleteOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the deletion was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful deletion of table rows.\");\n\nexport const rocketadminPutTableRowsDelete = action(\"ROCKETADMIN_PUT_TABLE_ROWS_DELETE\", {\n slug: \"rocketadmin-put-table-rows-delete\",\n name: \"Delete Multiple Table Rows\",\n description: \"Tool to delete multiple rows from a table by primary key. Use when you need to batch delete rows identified by their primary keys. This is an API+ feature.\",\n input: RocketadminPutTableRowsDeleteInput,\n output: RocketadminPutTableRowsDeleteOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EACvO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACvF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CACtH,CAAC,CAAC,CAAC,SAAS,uEASH;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -2,12 +2,12 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/put-table-rows-update.ts
4
4
  const RocketadminPutTableRowsUpdateInput = zod.z.object({
5
- newValues: zod.z.object({}).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
5
+ newValues: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
6
6
  tableName: zod.z.string().describe("The name of the table where rows will be updated."),
7
- primaryKeys: zod.z.array(zod.z.object({})).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
7
+ primaryKeys: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
8
8
  connectionId: zod.z.string().describe("The unique identifier for the database connection where the update will occur.")
9
9
  }).describe("Request model for updating multiple rows in a table by primary key.");
10
- const RocketadminPutTableRowsUpdateOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).describe("Response model for successful update of table rows.");
10
+ const RocketadminPutTableRowsUpdateOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).passthrough().describe("Response model for successful update of table rows.");
11
11
  const rocketadminPutTableRowsUpdate = require_action.action("ROCKETADMIN_PUT_TABLE_ROWS_UPDATE", {
12
12
  slug: "rocketadmin-put-table-rows-update",
13
13
  name: "Update Multiple Table Rows",
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-update.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput: z.ZodTypeAny = z.object({\n newValues: z.object({}).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.object({})).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;CAC5J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CACzN,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACpH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"put-table-rows-update.cjs","names":["z","action"],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.record(z.string(), z.unknown()).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H;CACjL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAClF,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;CAC9O,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;AACpH,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,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/put-table-rows-update.d.ts
4
- declare const RocketadminPutTableRowsUpdateInput: z.ZodTypeAny;
5
- declare const RocketadminPutTableRowsUpdateOutput: z.ZodTypeAny;
6
- declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RocketadminPutTableRowsUpdateInput: z.ZodObject<{
5
+ newValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ tableName: z.ZodString;
7
+ primaryKeys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ connectionId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RocketadminPutTableRowsUpdateOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, z.core.$loose>;
13
+ declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ newValues: Record<string, unknown>;
15
+ tableName: string;
16
+ primaryKeys: Record<string, unknown>[];
17
+ connectionId: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rocketadminPutTableRowsUpdate };
9
21
  //# sourceMappingURL=put-table-rows-update.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-update.d.cts","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAK+B;AAAA,cACrE,mCAAA,EAAqC,CAAA,CAAE,UAEc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"put-table-rows-update.d.cts","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;aAMxC,MAAA;;eAAA,MAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/put-table-rows-update.d.ts
4
- declare const RocketadminPutTableRowsUpdateInput: z.ZodTypeAny;
5
- declare const RocketadminPutTableRowsUpdateOutput: z.ZodTypeAny;
6
- declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RocketadminPutTableRowsUpdateInput: z.ZodObject<{
5
+ newValues: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ tableName: z.ZodString;
7
+ primaryKeys: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8
+ connectionId: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RocketadminPutTableRowsUpdateOutput: z.ZodObject<{
11
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
12
+ }, z.core.$loose>;
13
+ declare const rocketadminPutTableRowsUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ newValues: Record<string, unknown>;
15
+ tableName: string;
16
+ primaryKeys: Record<string, unknown>[];
17
+ connectionId: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rocketadminPutTableRowsUpdate };
9
21
  //# sourceMappingURL=put-table-rows-update.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-update.d.mts","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAK+B;AAAA,cACrE,mCAAA,EAAqC,CAAA,CAAE,UAEc;AAAA,cAErD,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"put-table-rows-update.d.mts","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAMlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAInC,6BAAA,gCAA6B,wBAAA;aAMxC,MAAA;;eAAA,MAAA"}
@@ -5,12 +5,12 @@ const rocketadminPutTableRowsUpdate = action("ROCKETADMIN_PUT_TABLE_ROWS_UPDATE"
5
5
  name: "Update Multiple Table Rows",
6
6
  description: "Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.",
7
7
  input: z.object({
8
- newValues: z.object({}).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
8
+ newValues: z.record(z.string(), z.unknown()).describe("Object containing the field names and new values to be set for all identified rows. Keys should match table column names."),
9
9
  tableName: z.string().describe("The name of the table where rows will be updated."),
10
- primaryKeys: z.array(z.object({})).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
10
+ primaryKeys: z.array(z.record(z.string(), z.unknown())).describe("Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row."),
11
11
  connectionId: z.string().describe("The unique identifier for the database connection where the update will occur.")
12
12
  }).describe("Request model for updating multiple rows in a table by primary key."),
13
- output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).describe("Response model for successful update of table rows.")
13
+ output: z.object({ success: z.boolean().default(true).describe("Indicates whether the update was successful.").nullable().optional() }).passthrough().describe("Response model for successful update of table rows.")
14
14
  });
15
15
  //#endregion
16
16
  export { rocketadminPutTableRowsUpdate };
@@ -1 +1 @@
1
- {"version":3,"file":"put-table-rows-update.mjs","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput: z.ZodTypeAny = z.object({\n newValues: z.object({}).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.object({})).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8D,EAAE,OAAO;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2HAA2H;EAC5J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EACzN,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACpH,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QAT+D,EAAE,OAAO,EACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"put-table-rows-update.mjs","names":[],"sources":["../../src/actions/put-table-rows-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RocketadminPutTableRowsUpdateInput = z.object({\n newValues: z.record(z.string(), z.unknown()).describe(\"Object containing the field names and new values to be set for all identified rows. Keys should match table column names.\"),\n tableName: z.string().describe(\"The name of the table where rows will be updated.\"),\n primaryKeys: z.array(z.record(z.string(), z.unknown())).describe(\"Array of objects containing the primary key field(s) and their values for rows to be updated. Each object must include the primary key field name(s) that identify the row.\"),\n connectionId: z.string().describe(\"The unique identifier for the database connection where the update will occur.\"),\n}).describe(\"Request model for updating multiple rows in a table by primary key.\");\nexport const RocketadminPutTableRowsUpdateOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response model for successful update of table rows.\");\n\nexport const rocketadminPutTableRowsUpdate = action(\"ROCKETADMIN_PUT_TABLE_ROWS_UPDATE\", {\n slug: \"rocketadmin-put-table-rows-update\",\n name: \"Update Multiple Table Rows\",\n description: \"Tool to update multiple rows in a table by primary key. Use when you need to batch update rows identified by their primary keys with the same new values. This is an API+ feature.\",\n input: RocketadminPutTableRowsUpdateInput,\n output: RocketadminPutTableRowsUpdateOutput,\n});\n"],"mappings":";;AAcA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdgD,EAAE,OAAO;EACzD,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H;EACjL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAClF,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6KAA6K;EAC9O,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CACpH,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const rocketadminCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/rocketadmin",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.rocketadminCatalog = rocketadminCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const rocketadminCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/rocketadmin";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { rocketadminCatalog };
@@ -8,6 +8,14 @@ declare const rocketadminCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/rocketadmin";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { rocketadminCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const rocketadminCatalog = {
7
7
  "category": "Developer Tools",
8
8
  "logo": "https://logos.composio.dev/api/rocketadmin",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings"
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { rocketadminCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const rocketadminCatalog = {\n \"slug\": \"rocketadmin\",\n \"name\": \"Rocketadmin\",\n \"description\": \"Save months of work developing custom admin panels with our secure solution for your MySQL, PostgreSQL, MSSQL, Oracle DB or MongoDB project.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/rocketadmin\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your secret RocketAdmin API key. Sign in, then create or copy it in your account settings: https://app.rocketadmin.com/user-settings\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,qBAAqB;CAChC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/rocketadmin",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {