@keystrokehq/softr 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 (177) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-database.cjs +1 -1
  4. package/dist/actions/create-database.cjs.map +1 -1
  5. package/dist/actions/create-database.d.cts +18 -3
  6. package/dist/actions/create-database.d.cts.map +1 -1
  7. package/dist/actions/create-database.d.mts +18 -3
  8. package/dist/actions/create-database.d.mts.map +1 -1
  9. package/dist/actions/create-database.mjs +1 -1
  10. package/dist/actions/create-database.mjs.map +1 -1
  11. package/dist/actions/create-record.cjs +7 -7
  12. package/dist/actions/create-record.cjs.map +1 -1
  13. package/dist/actions/create-record.d.cts +18 -3
  14. package/dist/actions/create-record.d.cts.map +1 -1
  15. package/dist/actions/create-record.d.mts +18 -3
  16. package/dist/actions/create-record.d.mts.map +1 -1
  17. package/dist/actions/create-record.mjs +7 -7
  18. package/dist/actions/create-record.mjs.map +1 -1
  19. package/dist/actions/create-table-field.cjs +13 -13
  20. package/dist/actions/create-table-field.cjs.map +1 -1
  21. package/dist/actions/create-table-field.d.cts +61 -3
  22. package/dist/actions/create-table-field.d.cts.map +1 -1
  23. package/dist/actions/create-table-field.d.mts +61 -3
  24. package/dist/actions/create-table-field.d.mts.map +1 -1
  25. package/dist/actions/create-table-field.mjs +13 -13
  26. package/dist/actions/create-table-field.mjs.map +1 -1
  27. package/dist/actions/create-table.cjs +11 -11
  28. package/dist/actions/create-table.cjs.map +1 -1
  29. package/dist/actions/create-table.d.cts +80 -3
  30. package/dist/actions/create-table.d.cts.map +1 -1
  31. package/dist/actions/create-table.d.mts +80 -3
  32. package/dist/actions/create-table.d.mts.map +1 -1
  33. package/dist/actions/create-table.mjs +11 -11
  34. package/dist/actions/create-table.mjs.map +1 -1
  35. package/dist/actions/delete-database.cjs +2 -2
  36. package/dist/actions/delete-database.cjs.map +1 -1
  37. package/dist/actions/delete-database.d.cts +12 -3
  38. package/dist/actions/delete-database.d.cts.map +1 -1
  39. package/dist/actions/delete-database.d.mts +12 -3
  40. package/dist/actions/delete-database.d.mts.map +1 -1
  41. package/dist/actions/delete-database.mjs +2 -2
  42. package/dist/actions/delete-database.mjs.map +1 -1
  43. package/dist/actions/delete-record.cjs +1 -1
  44. package/dist/actions/delete-record.cjs.map +1 -1
  45. package/dist/actions/delete-record.d.cts +13 -3
  46. package/dist/actions/delete-record.d.cts.map +1 -1
  47. package/dist/actions/delete-record.d.mts +13 -3
  48. package/dist/actions/delete-record.d.mts.map +1 -1
  49. package/dist/actions/delete-record.mjs +1 -1
  50. package/dist/actions/delete-record.mjs.map +1 -1
  51. package/dist/actions/delete-table-field.cjs +3 -3
  52. package/dist/actions/delete-table-field.cjs.map +1 -1
  53. package/dist/actions/delete-table-field.d.cts +14 -3
  54. package/dist/actions/delete-table-field.d.cts.map +1 -1
  55. package/dist/actions/delete-table-field.d.mts +14 -3
  56. package/dist/actions/delete-table-field.d.mts.map +1 -1
  57. package/dist/actions/delete-table-field.mjs +3 -3
  58. package/dist/actions/delete-table-field.mjs.map +1 -1
  59. package/dist/actions/delete-table.cjs +3 -3
  60. package/dist/actions/delete-table.cjs.map +1 -1
  61. package/dist/actions/delete-table.d.cts +14 -3
  62. package/dist/actions/delete-table.d.cts.map +1 -1
  63. package/dist/actions/delete-table.d.mts +14 -3
  64. package/dist/actions/delete-table.d.mts.map +1 -1
  65. package/dist/actions/delete-table.mjs +3 -3
  66. package/dist/actions/delete-table.mjs.map +1 -1
  67. package/dist/actions/get-database.cjs +7 -7
  68. package/dist/actions/get-database.cjs.map +1 -1
  69. package/dist/actions/get-database.d.cts +16 -3
  70. package/dist/actions/get-database.d.cts.map +1 -1
  71. package/dist/actions/get-database.d.mts +16 -3
  72. package/dist/actions/get-database.d.mts.map +1 -1
  73. package/dist/actions/get-database.mjs +7 -7
  74. package/dist/actions/get-database.mjs.map +1 -1
  75. package/dist/actions/get-databases.cjs +7 -7
  76. package/dist/actions/get-databases.cjs.map +1 -1
  77. package/dist/actions/get-databases.d.cts +18 -3
  78. package/dist/actions/get-databases.d.cts.map +1 -1
  79. package/dist/actions/get-databases.d.mts +18 -3
  80. package/dist/actions/get-databases.d.mts.map +1 -1
  81. package/dist/actions/get-databases.mjs +7 -7
  82. package/dist/actions/get-databases.mjs.map +1 -1
  83. package/dist/actions/get-record.cjs +6 -6
  84. package/dist/actions/get-record.cjs.map +1 -1
  85. package/dist/actions/get-record.d.cts +19 -3
  86. package/dist/actions/get-record.d.cts.map +1 -1
  87. package/dist/actions/get-record.d.mts +19 -3
  88. package/dist/actions/get-record.d.mts.map +1 -1
  89. package/dist/actions/get-record.mjs +6 -6
  90. package/dist/actions/get-record.mjs.map +1 -1
  91. package/dist/actions/get-records.cjs +3 -3
  92. package/dist/actions/get-records.cjs.map +1 -1
  93. package/dist/actions/get-records.d.cts +26 -3
  94. package/dist/actions/get-records.d.cts.map +1 -1
  95. package/dist/actions/get-records.d.mts +26 -3
  96. package/dist/actions/get-records.d.mts.map +1 -1
  97. package/dist/actions/get-records.mjs +3 -3
  98. package/dist/actions/get-records.mjs.map +1 -1
  99. package/dist/actions/get-table-field.cjs +5 -5
  100. package/dist/actions/get-table-field.cjs.map +1 -1
  101. package/dist/actions/get-table-field.d.cts +25 -3
  102. package/dist/actions/get-table-field.d.cts.map +1 -1
  103. package/dist/actions/get-table-field.d.mts +25 -3
  104. package/dist/actions/get-table-field.d.mts.map +1 -1
  105. package/dist/actions/get-table-field.mjs +5 -5
  106. package/dist/actions/get-table-field.mjs.map +1 -1
  107. package/dist/actions/get-table-views.cjs +2 -2
  108. package/dist/actions/get-table-views.cjs.map +1 -1
  109. package/dist/actions/get-table-views.d.cts +18 -3
  110. package/dist/actions/get-table-views.d.cts.map +1 -1
  111. package/dist/actions/get-table-views.d.mts +18 -3
  112. package/dist/actions/get-table-views.d.mts.map +1 -1
  113. package/dist/actions/get-table-views.mjs +2 -2
  114. package/dist/actions/get-table-views.mjs.map +1 -1
  115. package/dist/actions/get-table.cjs +11 -11
  116. package/dist/actions/get-table.cjs.map +1 -1
  117. package/dist/actions/get-table.d.cts +64 -3
  118. package/dist/actions/get-table.d.cts.map +1 -1
  119. package/dist/actions/get-table.d.mts +64 -3
  120. package/dist/actions/get-table.d.mts.map +1 -1
  121. package/dist/actions/get-table.mjs +11 -11
  122. package/dist/actions/get-table.mjs.map +1 -1
  123. package/dist/actions/get-tables.cjs +4 -4
  124. package/dist/actions/get-tables.cjs.map +1 -1
  125. package/dist/actions/get-tables.d.cts +17 -3
  126. package/dist/actions/get-tables.d.cts.map +1 -1
  127. package/dist/actions/get-tables.d.mts +17 -3
  128. package/dist/actions/get-tables.d.mts.map +1 -1
  129. package/dist/actions/get-tables.mjs +4 -4
  130. package/dist/actions/get-tables.mjs.map +1 -1
  131. package/dist/actions/search-records.cjs +9 -9
  132. package/dist/actions/search-records.cjs.map +1 -1
  133. package/dist/actions/search-records.d.cts +32 -3
  134. package/dist/actions/search-records.d.cts.map +1 -1
  135. package/dist/actions/search-records.d.mts +32 -3
  136. package/dist/actions/search-records.d.mts.map +1 -1
  137. package/dist/actions/search-records.mjs +9 -9
  138. package/dist/actions/search-records.mjs.map +1 -1
  139. package/dist/actions/update-database.cjs +7 -7
  140. package/dist/actions/update-database.cjs.map +1 -1
  141. package/dist/actions/update-database.d.cts +20 -3
  142. package/dist/actions/update-database.d.cts.map +1 -1
  143. package/dist/actions/update-database.d.mts +20 -3
  144. package/dist/actions/update-database.d.mts.map +1 -1
  145. package/dist/actions/update-database.mjs +7 -7
  146. package/dist/actions/update-database.mjs.map +1 -1
  147. package/dist/actions/update-record.cjs +2 -2
  148. package/dist/actions/update-record.cjs.map +1 -1
  149. package/dist/actions/update-record.d.cts +21 -3
  150. package/dist/actions/update-record.d.cts.map +1 -1
  151. package/dist/actions/update-record.d.mts +21 -3
  152. package/dist/actions/update-record.d.mts.map +1 -1
  153. package/dist/actions/update-record.mjs +2 -2
  154. package/dist/actions/update-record.mjs.map +1 -1
  155. package/dist/actions/update-table-field.cjs +1 -1
  156. package/dist/actions/update-table-field.cjs.map +1 -1
  157. package/dist/actions/update-table-field.d.cts +61 -3
  158. package/dist/actions/update-table-field.d.cts.map +1 -1
  159. package/dist/actions/update-table-field.d.mts +61 -3
  160. package/dist/actions/update-table-field.d.mts.map +1 -1
  161. package/dist/actions/update-table-field.mjs +1 -1
  162. package/dist/actions/update-table-field.mjs.map +1 -1
  163. package/dist/actions/update-table.cjs +12 -12
  164. package/dist/actions/update-table.cjs.map +1 -1
  165. package/dist/actions/update-table.d.cts +36 -3
  166. package/dist/actions/update-table.d.cts.map +1 -1
  167. package/dist/actions/update-table.d.mts +36 -3
  168. package/dist/actions/update-table.d.mts.map +1 -1
  169. package/dist/actions/update-table.mjs +12 -12
  170. package/dist/actions/update-table.mjs.map +1 -1
  171. package/dist/catalog.cjs +13 -1
  172. package/dist/catalog.cjs.map +1 -1
  173. package/dist/catalog.d.cts +12 -0
  174. package/dist/catalog.d.mts +12 -0
  175. package/dist/catalog.mjs +13 -1
  176. package/dist/catalog.mjs.map +1 -1
  177. package/package.json +2 -2
@@ -9,7 +9,7 @@ const softrDeleteRecord = action("SOFTR_DELETE_RECORD", {
9
9
  record_id: z.string().describe("The unique identifier of the record to delete"),
10
10
  database_id: z.string().describe("The unique identifier of the database containing the table")
11
11
  }).describe("Request parameters for deleting a record from a Softr table."),
12
- output: z.object({ message: z.string().describe("Confirmation message indicating the record was successfully deleted") }).describe("Response confirming successful record deletion.")
12
+ output: z.object({ message: z.string().describe("Confirmation message indicating the record was successfully deleted").nullable() }).passthrough().describe("Response confirming successful record deletion.")
13
13
  });
14
14
  //#endregion
15
15
  export { softrDeleteRecord };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput: z.ZodTypeAny = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\"),\n}).describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO;EAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.mjs","names":[],"sources":["../../src/actions/delete-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteRecordInput = z.object({\n table_id: z.string().describe(\"The unique identifier of the table containing the record\"),\n record_id: z.string().describe(\"The unique identifier of the record to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table\"),\n}).describe(\"Request parameters for deleting a record from a Softr table.\");\nexport const SoftrDeleteRecordOutput = z.object({\n message: z.string().describe(\"Confirmation message indicating the record was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response confirming successful record deletion.\");\n\nexport const softrDeleteRecord = action(\"SOFTR_DELETE_RECORD\", {\n slug: \"softr-delete-record\",\n name: \"Delete Record\",\n description: \"Tool to delete a record from a Softr database table. Use when you need to permanently remove a specific record.\",\n input: SoftrDeleteRecordInput,\n output: SoftrDeleteRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboC,EAAE,OAAO;EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC/F,CAAC,CAAC,CAAC,SAAS,8DASH;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -7,9 +7,9 @@ const SoftrDeleteTableFieldInput = zod.z.object({
7
7
  database_id: zod.z.string().describe("The unique identifier of the database")
8
8
  });
9
9
  const SoftrDeleteTableFieldOutput = zod.z.object({
10
- message: zod.z.string().describe("Confirmation message for the deletion"),
11
- success: zod.z.boolean().describe("Indicates if the field deletion was successful")
12
- });
10
+ message: zod.z.string().describe("Confirmation message for the deletion").nullable(),
11
+ success: zod.z.boolean().describe("Indicates if the field deletion was successful").nullable()
12
+ }).passthrough();
13
13
  const softrDeleteTableField = require_action.action("SOFTR_DELETE_TABLE_FIELD", {
14
14
  slug: "softr-delete-table-field",
15
15
  name: "Delete Table Field",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput: z.ZodTypeAny = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\"),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\"),\n});\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACpE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAChF,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAClE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,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/delete-table-field.d.ts
4
- declare const SoftrDeleteTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableFieldOutput: z.ZodTypeAny;
6
- declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableFieldInput: z.ZodObject<{
5
+ field_id: z.ZodString;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$loose>;
13
+ declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ field_id: string;
15
+ table_id: string;
16
+ database_id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { softrDeleteTableField };
9
20
  //# sourceMappingURL=delete-table-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-table-field.d.cts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-table-field.d.ts
4
- declare const SoftrDeleteTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableFieldOutput: z.ZodTypeAny;
6
- declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableFieldInput: z.ZodObject<{
5
+ field_id: z.ZodString;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableFieldOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$loose>;
13
+ declare const softrDeleteTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ field_id: string;
15
+ table_id: string;
16
+ database_id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { softrDeleteTableField };
9
20
  //# sourceMappingURL=delete-table-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cACW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-table-field.d.mts","names":[],"sources":["../../src/actions/delete-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAK1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -10,9 +10,9 @@ const softrDeleteTableField = action("SOFTR_DELETE_TABLE_FIELD", {
10
10
  database_id: z.string().describe("The unique identifier of the database")
11
11
  }),
12
12
  output: z.object({
13
- message: z.string().describe("Confirmation message for the deletion"),
14
- success: z.boolean().describe("Indicates if the field deletion was successful")
15
- })
13
+ message: z.string().describe("Confirmation message for the deletion").nullable(),
14
+ success: z.boolean().describe("Indicates if the field deletion was successful").nullable()
15
+ }).passthrough()
16
16
  });
17
17
  //#endregion
18
18
  export { softrDeleteTableField };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput: z.ZodTypeAny = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\"),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\"),\n});\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdsD,EAAE,OAAO;EAC/D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAChF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table-field.mjs","names":[],"sources":["../../src/actions/delete-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableFieldInput = z.object({\n field_id: z.string().describe(\"The unique identifier of the field to delete\"),\n table_id: z.string().describe(\"The unique identifier of the table\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableFieldOutput = z.object({\n message: z.string().describe(\"Confirmation message for the deletion\").nullable(),\n success: z.boolean().describe(\"Indicates if the field deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTableField = action(\"SOFTR_DELETE_TABLE_FIELD\", {\n slug: \"softr-delete-table-field\",\n name: \"Delete Table Field\",\n description: \"Tool to delete a field from a Softr database table. Use when you need to remove a field from a table. Returns success confirmation upon completion.\",\n input: SoftrDeleteTableFieldInput,\n output: SoftrDeleteTableFieldOutput,\n});\n"],"mappings":";;AAcA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdwC,EAAE,OAAO;EACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,9 +7,9 @@ const SoftrDeleteTableInput = zod.z.object({
7
7
  database_id: zod.z.string().describe("The unique identifier of the database")
8
8
  });
9
9
  const SoftrDeleteTableOutput = zod.z.object({
10
- message: zod.z.string().describe("A message describing the outcome of the deletion operation"),
11
- success: zod.z.boolean().describe("Indicates if the table deletion was successful")
12
- });
10
+ message: zod.z.string().describe("A message describing the outcome of the deletion operation").nullable(),
11
+ success: zod.z.boolean().describe("Indicates if the table deletion was successful").nullable()
12
+ }).passthrough();
13
13
  const softrDeleteTable = require_action.action("SOFTR_DELETE_TABLE", {
14
14
  slug: "softr-delete-table",
15
15
  name: "Delete Table",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput: z.ZodTypeAny = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\"),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\"),\n});\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAChF,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table.cjs","names":["z","action"],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACzK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;AAC1E,CAAC;AACD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,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/delete-table.d.ts
4
- declare const SoftrDeleteTableInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableOutput: z.ZodTypeAny;
6
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$loose>;
13
+ declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ table_id: string;
15
+ database_id: string;
16
+ force?: boolean | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { softrDeleteTable };
9
20
  //# sourceMappingURL=delete-table.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-table.d.cts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-table.d.ts
4
- declare const SoftrDeleteTableInput: z.ZodTypeAny;
5
- declare const SoftrDeleteTableOutput: z.ZodTypeAny;
6
- declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteTableInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ table_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteTableOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ success: z.ZodNullable<z.ZodBoolean>;
12
+ }, z.core.$loose>;
13
+ declare const softrDeleteTable: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ table_id: string;
15
+ database_id: string;
16
+ force?: boolean | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { softrDeleteTable };
9
20
  //# sourceMappingURL=delete-table.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIpC;AAAA,cACW,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-table.d.mts","names":[],"sources":["../../src/actions/delete-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAKrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
@@ -10,9 +10,9 @@ const softrDeleteTable = action("SOFTR_DELETE_TABLE", {
10
10
  database_id: z.string().describe("The unique identifier of the database")
11
11
  }),
12
12
  output: z.object({
13
- message: z.string().describe("A message describing the outcome of the deletion operation"),
14
- success: z.boolean().describe("Indicates if the table deletion was successful")
15
- })
13
+ message: z.string().describe("A message describing the outcome of the deletion operation").nullable(),
14
+ success: z.boolean().describe("Indicates if the table deletion was successful").nullable()
15
+ }).passthrough()
16
16
  });
17
17
  //#endregion
18
18
  export { softrDeleteTable };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput: z.ZodTypeAny = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\"),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\"),\n});\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAChF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-table.mjs","names":[],"sources":["../../src/actions/delete-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteTableInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the table even if it contains records. If false (default), deletion fails if table is not empty.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to delete\"),\n database_id: z.string().describe(\"The unique identifier of the database\"),\n});\nexport const SoftrDeleteTableOutput = z.object({\n message: z.string().describe(\"A message describing the outcome of the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates if the table deletion was successful\").nullable(),\n}).passthrough();\n\nexport const softrDeleteTable = action(\"SOFTR_DELETE_TABLE\", {\n slug: \"softr-delete-table\",\n name: \"Delete Table\",\n description: \"Tool to delete a specific table by its ID from a database. Use when you need to remove a table. The table must be empty unless the force parameter is set to true.\",\n input: SoftrDeleteTableInput,\n output: SoftrDeleteTableOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;EACzK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC1E,CAUS;CACP,QAVoC,EAAE,OAAO;EAC7C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -3,14 +3,14 @@ let zod = require("zod");
3
3
  //#region src/actions/get-database.ts
4
4
  const SoftrGetDatabaseInput = zod.z.object({ database_id: zod.z.string().describe("The unique identifier of the database to retrieve.") }).describe("Request model for retrieving a specific database by ID.");
5
5
  const SoftrGetDatabase_DatabaseDataSchema = zod.z.object({
6
- id: zod.z.string().describe("The unique identifier of the database."),
7
- name: zod.z.string().describe("The name of the database."),
8
- createdAt: zod.z.string().describe("The timestamp when the database was created (ISO 8601 format)."),
9
- updatedAt: zod.z.string().describe("The timestamp when the database was last updated (ISO 8601 format)."),
6
+ id: zod.z.string().describe("The unique identifier of the database.").nullable(),
7
+ name: zod.z.string().describe("The name of the database.").nullable(),
8
+ createdAt: zod.z.string().describe("The timestamp when the database was created (ISO 8601 format).").nullable(),
9
+ updatedAt: zod.z.string().describe("The timestamp when the database was last updated (ISO 8601 format).").nullable(),
10
10
  description: zod.z.string().describe("The description of the database.").nullable().optional(),
11
- workspaceId: zod.z.string().describe("The unique identifier of the workspace this database belongs to.")
12
- }).describe("Database details returned by the API.");
13
- const SoftrGetDatabaseOutput = zod.z.object({ data: SoftrGetDatabase_DatabaseDataSchema.nullable() }).describe("Response model for retrieving a specific database.");
11
+ workspaceId: zod.z.string().describe("The unique identifier of the workspace this database belongs to.").nullable()
12
+ }).passthrough().describe("Database details returned by the API.");
13
+ const SoftrGetDatabaseOutput = zod.z.object({ data: SoftrGetDatabase_DatabaseDataSchema.nullable() }).passthrough().describe("Response model for retrieving a specific database.");
14
14
  const softrGetDatabase = require_action.action("SOFTR_GET_DATABASE", {
15
15
  slug: "softr-get-database",
16
16
  name: "Get Database",
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput: z.ZodTypeAny = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the database.\"),\n name: z.string().describe(\"The name of the database.\"),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\"),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\"),\n}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.cjs","names":["z","action"],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-database.d.ts
4
- declare const SoftrGetDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabaseOutput: z.ZodTypeAny;
6
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabaseInput: z.ZodObject<{
5
+ database_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SoftrGetDatabaseOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ workspaceId: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ database_id: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { softrGetDatabase };
9
22
  //# sourceMappingURL=get-database.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEgC;AAAA,cASzD,sBAAA,EAAwB,CAAA,CAAE,UAE0B;AAAA,cAEpD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-database.d.cts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-database.d.ts
4
- declare const SoftrGetDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabaseOutput: z.ZodTypeAny;
6
- declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabaseInput: z.ZodObject<{
5
+ database_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SoftrGetDatabaseOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ createdAt: z.ZodNullable<z.ZodString>;
12
+ updatedAt: z.ZodNullable<z.ZodString>;
13
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ workspaceId: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const softrGetDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ database_id: string;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { softrGetDatabase };
9
22
  //# sourceMappingURL=get-database.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEgC;AAAA,cASzD,sBAAA,EAAwB,CAAA,CAAE,UAE0B;AAAA,cAEpD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-database.d.mts","names":[],"sources":["../../src/actions/get-database.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAWrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA"}
@@ -3,19 +3,19 @@ import { z } from "zod";
3
3
  //#region src/actions/get-database.ts
4
4
  const SoftrGetDatabaseInput = z.object({ database_id: z.string().describe("The unique identifier of the database to retrieve.") }).describe("Request model for retrieving a specific database by ID.");
5
5
  const SoftrGetDatabase_DatabaseDataSchema = z.object({
6
- id: z.string().describe("The unique identifier of the database."),
7
- name: z.string().describe("The name of the database."),
8
- createdAt: z.string().describe("The timestamp when the database was created (ISO 8601 format)."),
9
- updatedAt: z.string().describe("The timestamp when the database was last updated (ISO 8601 format)."),
6
+ id: z.string().describe("The unique identifier of the database.").nullable(),
7
+ name: z.string().describe("The name of the database.").nullable(),
8
+ createdAt: z.string().describe("The timestamp when the database was created (ISO 8601 format).").nullable(),
9
+ updatedAt: z.string().describe("The timestamp when the database was last updated (ISO 8601 format).").nullable(),
10
10
  description: z.string().describe("The description of the database.").nullable().optional(),
11
- workspaceId: z.string().describe("The unique identifier of the workspace this database belongs to.")
12
- }).describe("Database details returned by the API.");
11
+ workspaceId: z.string().describe("The unique identifier of the workspace this database belongs to.").nullable()
12
+ }).passthrough().describe("Database details returned by the API.");
13
13
  const softrGetDatabase = action("SOFTR_GET_DATABASE", {
14
14
  slug: "softr-get-database",
15
15
  name: "Get Database",
16
16
  description: "Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.",
17
17
  input: SoftrGetDatabaseInput,
18
- output: z.object({ data: SoftrGetDatabase_DatabaseDataSchema.nullable() }).describe("Response model for retrieving a specific database.")
18
+ output: z.object({ data: SoftrGetDatabase_DatabaseDataSchema.nullable() }).passthrough().describe("Response model for retrieving a specific database.")
19
19
  });
20
20
  //#endregion
21
21
  export { softrGetDatabase };
@@ -1 +1 @@
1
- {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput: z.ZodTypeAny = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the database.\"),\n name: z.string().describe(\"The name of the database.\"),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\"),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\"),\n}).describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;AACrG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-database.mjs","names":[],"sources":["../../src/actions/get-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabaseInput = z.object({\n database_id: z.string().describe(\"The unique identifier of the database to retrieve.\"),\n}).describe(\"Request model for retrieving a specific database by ID.\");\nconst SoftrGetDatabase_DatabaseDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the database.\").nullable(),\n name: z.string().describe(\"The name of the database.\").nullable(),\n createdAt: z.string().describe(\"The timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"The timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"The description of the database.\").nullable().optional(),\n workspaceId: z.string().describe(\"The unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Database details returned by the API.\");\nexport const SoftrGetDatabaseOutput = z.object({\n data: SoftrGetDatabase_DatabaseDataSchema.nullable(),\n}).passthrough().describe(\"Response model for retrieving a specific database.\");\n\nexport const softrGetDatabase = action(\"SOFTR_GET_DATABASE\", {\n slug: \"softr-get-database\",\n name: \"Get Database\",\n description: \"Tool to retrieve details for a specific database by ID. Use when you need to fetch information about a particular database in Softr.\",\n input: SoftrGetDatabaseInput,\n output: SoftrGetDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,EACvF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC/G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -6,14 +6,14 @@ const SoftrGetDatabasesInput = zod.z.object({
6
6
  offset: zod.z.number().int().describe("Number of databases to skip for pagination. Defaults to 0 if not specified.").optional()
7
7
  }).describe("Request model for retrieving all databases in the workspace.");
8
8
  const SoftrGetDatabases_DatabaseSchema = zod.z.object({
9
- id: zod.z.string().describe("Unique identifier of the database."),
10
- name: zod.z.string().describe("Name of the database."),
11
- createdAt: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format)."),
12
- updatedAt: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format)."),
9
+ id: zod.z.string().describe("Unique identifier of the database.").nullable(),
10
+ name: zod.z.string().describe("Name of the database.").nullable(),
11
+ createdAt: zod.z.string().describe("Timestamp when the database was created (ISO 8601 format).").nullable(),
12
+ updatedAt: zod.z.string().describe("Timestamp when the database was last updated (ISO 8601 format).").nullable(),
13
13
  description: zod.z.string().describe("Description of the database, if provided.").nullable().optional(),
14
- workspaceId: zod.z.string().describe("Unique identifier of the workspace this database belongs to.")
15
- }).describe("Model representing a single database in the workspace.");
16
- const SoftrGetDatabasesOutput = zod.z.object({ data: zod.z.array(SoftrGetDatabases_DatabaseSchema).describe("List of all databases available in the workspace.") }).describe("Response model containing the list of databases in the workspace.");
14
+ workspaceId: zod.z.string().describe("Unique identifier of the workspace this database belongs to.").nullable()
15
+ }).passthrough().describe("Model representing a single database in the workspace.");
16
+ const SoftrGetDatabasesOutput = zod.z.object({ data: zod.z.array(SoftrGetDatabases_DatabaseSchema).describe("List of all databases available in the workspace.") }).passthrough().describe("Response model containing the list of databases in the workspace.");
17
17
  const softrGetDatabases = require_action.action("SOFTR_GET_DATABASES", {
18
18
  slug: "softr-get-databases",
19
19
  name: "Get Databases",
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the database.\"),\n name: z.string().describe(\"Name of the database.\"),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\"),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\"),\n}).describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.cjs","names":["z","action"],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-databases.d.ts
4
- declare const SoftrGetDatabasesInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabasesOutput: z.ZodTypeAny;
6
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabasesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetDatabasesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ workspaceId: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ limit?: number | undefined;
20
+ offset?: number | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { softrGetDatabases };
9
24
  //# sourceMappingURL=get-databases.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGoC;AAAA,cAS9D,uBAAA,EAAyB,CAAA,CAAE,UAEwC;AAAA,cAEnE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-databases.d.cts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-databases.d.ts
4
- declare const SoftrGetDatabasesInput: z.ZodTypeAny;
5
- declare const SoftrGetDatabasesOutput: z.ZodTypeAny;
6
- declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrGetDatabasesInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ offset: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const SoftrGetDatabasesOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ createdAt: z.ZodNullable<z.ZodString>;
13
+ updatedAt: z.ZodNullable<z.ZodString>;
14
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ workspaceId: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$loose>;
18
+ declare const softrGetDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ limit?: number | undefined;
20
+ offset?: number | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { softrGetDatabases };
9
24
  //# sourceMappingURL=get-databases.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGoC;AAAA,cAS9D,uBAAA,EAAyB,CAAA,CAAE,UAEwC;AAAA,cAEnE,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-databases.d.mts","names":[],"sources":["../../src/actions/get-databases.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;cAYtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -6,19 +6,19 @@ const SoftrGetDatabasesInput = z.object({
6
6
  offset: z.number().int().describe("Number of databases to skip for pagination. Defaults to 0 if not specified.").optional()
7
7
  }).describe("Request model for retrieving all databases in the workspace.");
8
8
  const SoftrGetDatabases_DatabaseSchema = z.object({
9
- id: z.string().describe("Unique identifier of the database."),
10
- name: z.string().describe("Name of the database."),
11
- createdAt: z.string().describe("Timestamp when the database was created (ISO 8601 format)."),
12
- updatedAt: z.string().describe("Timestamp when the database was last updated (ISO 8601 format)."),
9
+ id: z.string().describe("Unique identifier of the database.").nullable(),
10
+ name: z.string().describe("Name of the database.").nullable(),
11
+ createdAt: z.string().describe("Timestamp when the database was created (ISO 8601 format).").nullable(),
12
+ updatedAt: z.string().describe("Timestamp when the database was last updated (ISO 8601 format).").nullable(),
13
13
  description: z.string().describe("Description of the database, if provided.").nullable().optional(),
14
- workspaceId: z.string().describe("Unique identifier of the workspace this database belongs to.")
15
- }).describe("Model representing a single database in the workspace.");
14
+ workspaceId: z.string().describe("Unique identifier of the workspace this database belongs to.").nullable()
15
+ }).passthrough().describe("Model representing a single database in the workspace.");
16
16
  const softrGetDatabases = action("SOFTR_GET_DATABASES", {
17
17
  slug: "softr-get-databases",
18
18
  name: "Get Databases",
19
19
  description: "Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.",
20
20
  input: SoftrGetDatabasesInput,
21
- output: z.object({ data: z.array(SoftrGetDatabases_DatabaseSchema).describe("List of all databases available in the workspace.") }).describe("Response model containing the list of databases in the workspace.")
21
+ output: z.object({ data: z.array(SoftrGetDatabases_DatabaseSchema).describe("List of all databases available in the workspace.") }).passthrough().describe("Response model containing the list of databases in the workspace.")
22
22
  });
23
23
  //#endregion
24
24
  export { softrGetDatabases };
@@ -1 +1 @@
1
- {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the database.\"),\n name: z.string().describe(\"Name of the database.\"),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\"),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\"),\n}).describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAKpE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-databases.mjs","names":[],"sources":["../../src/actions/get-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrGetDatabasesInput = z.object({\n limit: z.number().int().describe(\"Maximum number of databases to return per request. Defaults to returning all if not specified.\").optional(),\n offset: z.number().int().describe(\"Number of databases to skip for pagination. Defaults to 0 if not specified.\").optional(),\n}).describe(\"Request model for retrieving all databases in the workspace.\");\nconst SoftrGetDatabases_DatabaseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the database.\").nullable(),\n name: z.string().describe(\"Name of the database.\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the database was created (ISO 8601 format).\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated (ISO 8601 format).\").nullable(),\n description: z.string().describe(\"Description of the database, if provided.\").nullable().optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace this database belongs to.\").nullable(),\n}).passthrough().describe(\"Model representing a single database in the workspace.\");\nexport const SoftrGetDatabasesOutput = z.object({\n data: z.array(SoftrGetDatabases_DatabaseSchema).describe(\"List of all databases available in the workspace.\"),\n}).passthrough().describe(\"Response model containing the list of databases in the workspace.\");\n\nexport const softrGetDatabases = action(\"SOFTR_GET_DATABASES\", {\n slug: \"softr-get-databases\",\n name: \"Get Databases\",\n description: \"Tool to retrieve all databases available in the workspace. Use when you need to list or discover available databases for further operations.\",\n input: SoftrGetDatabasesInput,\n output: SoftrGetDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,mDAAmD,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -7,13 +7,13 @@ const SoftrGetRecordInput = zod.z.object({
7
7
  databaseId: zod.z.string().describe("The unique identifier of the database")
8
8
  }).describe("Request model for retrieving a single record by its ID from a Softr database table.");
9
9
  const SoftrGetRecord_RecordDataSchema = zod.z.object({
10
- id: zod.z.string().describe("Record identifier"),
11
- fields: zod.z.object({}).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
10
+ id: zod.z.string().describe("Record identifier").nullable(),
11
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A map of Field IDs to their values for this record. The structure depends on your table's schema."),
12
12
  tableId: zod.z.string().describe("Associated table identifier").nullable().optional(),
13
- createdAt: zod.z.string().describe("Record creation timestamp in ISO 8601 format"),
14
- updatedAt: zod.z.string().describe("Record last modification timestamp in ISO 8601 format")
15
- }).describe("Record data structure containing the record details.");
16
- const SoftrGetRecordOutput = zod.z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).describe("Response model for retrieving a single record from Softr database.");
13
+ createdAt: zod.z.string().describe("Record creation timestamp in ISO 8601 format").nullable(),
14
+ updatedAt: zod.z.string().describe("Record last modification timestamp in ISO 8601 format").nullable()
15
+ }).passthrough().describe("Record data structure containing the record details.");
16
+ const SoftrGetRecordOutput = zod.z.object({ data: SoftrGetRecord_RecordDataSchema.nullable() }).passthrough().describe("Response model for retrieving a single record from Softr database.");
17
17
  const softrGetRecord = require_action.action("SOFTR_GET_RECORD", {
18
18
  slug: "softr-get-record",
19
19
  name: "Get Record",