@keystrokehq/softr 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) 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.map +1 -1
  4. package/dist/actions/create-database.d.cts +18 -3
  5. package/dist/actions/create-database.d.cts.map +1 -1
  6. package/dist/actions/create-database.d.mts +18 -3
  7. package/dist/actions/create-database.d.mts.map +1 -1
  8. package/dist/actions/create-database.mjs.map +1 -1
  9. package/dist/actions/create-record.cjs +3 -3
  10. package/dist/actions/create-record.cjs.map +1 -1
  11. package/dist/actions/create-record.d.cts +18 -3
  12. package/dist/actions/create-record.d.cts.map +1 -1
  13. package/dist/actions/create-record.d.mts +18 -3
  14. package/dist/actions/create-record.d.mts.map +1 -1
  15. package/dist/actions/create-record.mjs +3 -3
  16. package/dist/actions/create-record.mjs.map +1 -1
  17. package/dist/actions/create-table-field.cjs +9 -9
  18. package/dist/actions/create-table-field.cjs.map +1 -1
  19. package/dist/actions/create-table-field.d.cts +61 -3
  20. package/dist/actions/create-table-field.d.cts.map +1 -1
  21. package/dist/actions/create-table-field.d.mts +61 -3
  22. package/dist/actions/create-table-field.d.mts.map +1 -1
  23. package/dist/actions/create-table-field.mjs +9 -9
  24. package/dist/actions/create-table-field.mjs.map +1 -1
  25. package/dist/actions/create-table.cjs +7 -7
  26. package/dist/actions/create-table.cjs.map +1 -1
  27. package/dist/actions/create-table.d.cts +79 -3
  28. package/dist/actions/create-table.d.cts.map +1 -1
  29. package/dist/actions/create-table.d.mts +79 -3
  30. package/dist/actions/create-table.d.mts.map +1 -1
  31. package/dist/actions/create-table.mjs +7 -7
  32. package/dist/actions/create-table.mjs.map +1 -1
  33. package/dist/actions/delete-database.cjs +1 -1
  34. package/dist/actions/delete-database.cjs.map +1 -1
  35. package/dist/actions/delete-database.d.cts +12 -3
  36. package/dist/actions/delete-database.d.cts.map +1 -1
  37. package/dist/actions/delete-database.d.mts +12 -3
  38. package/dist/actions/delete-database.d.mts.map +1 -1
  39. package/dist/actions/delete-database.mjs +1 -1
  40. package/dist/actions/delete-database.mjs.map +1 -1
  41. package/dist/actions/delete-record.cjs +1 -1
  42. package/dist/actions/delete-record.cjs.map +1 -1
  43. package/dist/actions/delete-record.d.cts +13 -3
  44. package/dist/actions/delete-record.d.cts.map +1 -1
  45. package/dist/actions/delete-record.d.mts +13 -3
  46. package/dist/actions/delete-record.d.mts.map +1 -1
  47. package/dist/actions/delete-record.mjs +1 -1
  48. package/dist/actions/delete-record.mjs.map +1 -1
  49. package/dist/actions/delete-table-field.cjs +2 -2
  50. package/dist/actions/delete-table-field.cjs.map +1 -1
  51. package/dist/actions/delete-table-field.d.cts +14 -3
  52. package/dist/actions/delete-table-field.d.cts.map +1 -1
  53. package/dist/actions/delete-table-field.d.mts +14 -3
  54. package/dist/actions/delete-table-field.d.mts.map +1 -1
  55. package/dist/actions/delete-table-field.mjs +2 -2
  56. package/dist/actions/delete-table-field.mjs.map +1 -1
  57. package/dist/actions/delete-table.cjs +2 -2
  58. package/dist/actions/delete-table.cjs.map +1 -1
  59. package/dist/actions/delete-table.d.cts +14 -3
  60. package/dist/actions/delete-table.d.cts.map +1 -1
  61. package/dist/actions/delete-table.d.mts +14 -3
  62. package/dist/actions/delete-table.d.mts.map +1 -1
  63. package/dist/actions/delete-table.mjs +2 -2
  64. package/dist/actions/delete-table.mjs.map +1 -1
  65. package/dist/actions/get-database.cjs +5 -5
  66. package/dist/actions/get-database.cjs.map +1 -1
  67. package/dist/actions/get-database.d.cts +16 -3
  68. package/dist/actions/get-database.d.cts.map +1 -1
  69. package/dist/actions/get-database.d.mts +16 -3
  70. package/dist/actions/get-database.d.mts.map +1 -1
  71. package/dist/actions/get-database.mjs +5 -5
  72. package/dist/actions/get-database.mjs.map +1 -1
  73. package/dist/actions/get-databases.cjs +5 -5
  74. package/dist/actions/get-databases.cjs.map +1 -1
  75. package/dist/actions/get-databases.d.cts +18 -3
  76. package/dist/actions/get-databases.d.cts.map +1 -1
  77. package/dist/actions/get-databases.d.mts +18 -3
  78. package/dist/actions/get-databases.d.mts.map +1 -1
  79. package/dist/actions/get-databases.mjs +5 -5
  80. package/dist/actions/get-databases.mjs.map +1 -1
  81. package/dist/actions/get-record.cjs +3 -3
  82. package/dist/actions/get-record.cjs.map +1 -1
  83. package/dist/actions/get-record.d.cts +19 -3
  84. package/dist/actions/get-record.d.cts.map +1 -1
  85. package/dist/actions/get-record.d.mts +19 -3
  86. package/dist/actions/get-record.d.mts.map +1 -1
  87. package/dist/actions/get-record.mjs +3 -3
  88. package/dist/actions/get-record.mjs.map +1 -1
  89. package/dist/actions/get-records.cjs.map +1 -1
  90. package/dist/actions/get-records.d.cts +26 -3
  91. package/dist/actions/get-records.d.cts.map +1 -1
  92. package/dist/actions/get-records.d.mts +26 -3
  93. package/dist/actions/get-records.d.mts.map +1 -1
  94. package/dist/actions/get-records.mjs.map +1 -1
  95. package/dist/actions/get-table-field.cjs +3 -3
  96. package/dist/actions/get-table-field.cjs.map +1 -1
  97. package/dist/actions/get-table-field.d.cts +25 -3
  98. package/dist/actions/get-table-field.d.cts.map +1 -1
  99. package/dist/actions/get-table-field.d.mts +25 -3
  100. package/dist/actions/get-table-field.d.mts.map +1 -1
  101. package/dist/actions/get-table-field.mjs +3 -3
  102. package/dist/actions/get-table-field.mjs.map +1 -1
  103. package/dist/actions/get-table-views.cjs.map +1 -1
  104. package/dist/actions/get-table-views.d.cts +18 -3
  105. package/dist/actions/get-table-views.d.cts.map +1 -1
  106. package/dist/actions/get-table-views.d.mts +18 -3
  107. package/dist/actions/get-table-views.d.mts.map +1 -1
  108. package/dist/actions/get-table-views.mjs.map +1 -1
  109. package/dist/actions/get-table.cjs +8 -8
  110. package/dist/actions/get-table.cjs.map +1 -1
  111. package/dist/actions/get-table.d.cts +64 -3
  112. package/dist/actions/get-table.d.cts.map +1 -1
  113. package/dist/actions/get-table.d.mts +64 -3
  114. package/dist/actions/get-table.d.mts.map +1 -1
  115. package/dist/actions/get-table.mjs +8 -8
  116. package/dist/actions/get-table.mjs.map +1 -1
  117. package/dist/actions/get-tables.cjs +2 -2
  118. package/dist/actions/get-tables.cjs.map +1 -1
  119. package/dist/actions/get-tables.d.cts +17 -3
  120. package/dist/actions/get-tables.d.cts.map +1 -1
  121. package/dist/actions/get-tables.d.mts +17 -3
  122. package/dist/actions/get-tables.d.mts.map +1 -1
  123. package/dist/actions/get-tables.mjs +2 -2
  124. package/dist/actions/get-tables.mjs.map +1 -1
  125. package/dist/actions/search-records.cjs +6 -6
  126. package/dist/actions/search-records.cjs.map +1 -1
  127. package/dist/actions/search-records.d.cts +32 -3
  128. package/dist/actions/search-records.d.cts.map +1 -1
  129. package/dist/actions/search-records.d.mts +32 -3
  130. package/dist/actions/search-records.d.mts.map +1 -1
  131. package/dist/actions/search-records.mjs +6 -6
  132. package/dist/actions/search-records.mjs.map +1 -1
  133. package/dist/actions/update-database.cjs +5 -5
  134. package/dist/actions/update-database.cjs.map +1 -1
  135. package/dist/actions/update-database.d.cts +20 -3
  136. package/dist/actions/update-database.d.cts.map +1 -1
  137. package/dist/actions/update-database.d.mts +20 -3
  138. package/dist/actions/update-database.d.mts.map +1 -1
  139. package/dist/actions/update-database.mjs +5 -5
  140. package/dist/actions/update-database.mjs.map +1 -1
  141. package/dist/actions/update-record.cjs.map +1 -1
  142. package/dist/actions/update-record.d.cts +21 -3
  143. package/dist/actions/update-record.d.cts.map +1 -1
  144. package/dist/actions/update-record.d.mts +21 -3
  145. package/dist/actions/update-record.d.mts.map +1 -1
  146. package/dist/actions/update-record.mjs.map +1 -1
  147. package/dist/actions/update-table-field.cjs.map +1 -1
  148. package/dist/actions/update-table-field.d.cts +61 -3
  149. package/dist/actions/update-table-field.d.cts.map +1 -1
  150. package/dist/actions/update-table-field.d.mts +61 -3
  151. package/dist/actions/update-table-field.d.mts.map +1 -1
  152. package/dist/actions/update-table-field.mjs.map +1 -1
  153. package/dist/actions/update-table.cjs +9 -9
  154. package/dist/actions/update-table.cjs.map +1 -1
  155. package/dist/actions/update-table.d.cts +36 -3
  156. package/dist/actions/update-table.d.cts.map +1 -1
  157. package/dist/actions/update-table.d.mts +36 -3
  158. package/dist/actions/update-table.d.mts.map +1 -1
  159. package/dist/actions/update-table.mjs +9 -9
  160. package/dist/actions/update-table.mjs.map +1 -1
  161. package/dist/catalog.cjs +13 -1
  162. package/dist/catalog.cjs.map +1 -1
  163. package/dist/catalog.d.cts +12 -0
  164. package/dist/catalog.d.mts +12 -0
  165. package/dist/catalog.mjs +13 -1
  166. package/dist/catalog.mjs.map +1 -1
  167. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-table.cjs","names":["z","action"],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the field.\"),\n name: z.string().describe(\"The name of the field.\"),\n type: z.string().describe(\"The type of the field.\"),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\"),\n name: z.string().describe(\"Name of the table.\"),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\"),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\"),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).describe(\"The created table data.\");\nexport const SoftrCreateTableOutput: z.ZodTypeAny = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;CACjL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AACvM,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CA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SAAS,yCAAyC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yBAAyB;AACrC,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-table.cjs","names":["z","action"],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\").nullable(),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHA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CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,85 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-table.d.ts
4
- declare const SoftrCreateTableInput: z.ZodTypeAny;
5
- declare const SoftrCreateTableOutput: z.ZodTypeAny;
6
- declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrCreateTableInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ fields: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ type: z.ZodEnum<{
9
+ SINGLE_LINE_TEXT: "SINGLE_LINE_TEXT";
10
+ CHECKBOX: "CHECKBOX";
11
+ CURRENCY: "CURRENCY";
12
+ DATETIME: "DATETIME";
13
+ DURATION: "DURATION";
14
+ EMAIL: "EMAIL";
15
+ SELECT: "SELECT";
16
+ NUMBER: "NUMBER";
17
+ ATTACHMENT: "ATTACHMENT";
18
+ RATING: "RATING";
19
+ LINKED_RECORD: "LINKED_RECORD";
20
+ LONG_TEXT: "LONG_TEXT";
21
+ URL: "URL";
22
+ PERCENT: "PERCENT";
23
+ BUTTON: "BUTTON";
24
+ PROGRESS: "PROGRESS";
25
+ PHONE: "PHONE";
26
+ DATE_RANGE: "DATE_RANGE";
27
+ ADDRESS: "ADDRESS";
28
+ TIME: "TIME";
29
+ LOOKUP: "LOOKUP";
30
+ ROLLUP: "ROLLUP";
31
+ FORMULA: "FORMULA";
32
+ COUNT: "COUNT";
33
+ CREATED_AT: "CREATED_AT";
34
+ UPDATED_AT: "UPDATED_AT";
35
+ CREATED_BY: "CREATED_BY";
36
+ UPDATED_BY: "UPDATED_BY";
37
+ AUTONUMBER: "AUTONUMBER";
38
+ RECORD_ID: "RECORD_ID";
39
+ USER: "USER";
40
+ }>;
41
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ }, z.core.$strip>>;
43
+ database_id: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ primary_field_name: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ declare const SoftrCreateTableOutput: z.ZodObject<{
48
+ data: z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodNullable<z.ZodString>;
50
+ name: z.ZodNullable<z.ZodString>;
51
+ fields: z.ZodArray<z.ZodObject<{
52
+ id: z.ZodNullable<z.ZodString>;
53
+ name: z.ZodNullable<z.ZodString>;
54
+ type: z.ZodNullable<z.ZodString>;
55
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
56
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
58
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
59
+ aiOptions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
60
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
64
+ }, z.core.$strip>>;
65
+ createdAt: z.ZodNullable<z.ZodString>;
66
+ updatedAt: z.ZodNullable<z.ZodString>;
67
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>;
72
+ declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ name: string;
74
+ fields: {
75
+ name: string;
76
+ type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
77
+ options?: Record<string, unknown> | undefined;
78
+ }[];
79
+ database_id: string;
80
+ description?: string | undefined;
81
+ primary_field_name?: string | undefined;
82
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
83
  //#endregion
8
84
  export { softrCreateTable };
9
85
  //# sourceMappingURL=create-table.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-table.d.cts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAUyC;AAAA,cAyBlE,sBAAA,EAAwB,CAAA,CAAE,UAEyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-table.d.cts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA;;;;;cAM3B,MAAA;EAAA"}
@@ -1,9 +1,85 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-table.d.ts
4
- declare const SoftrCreateTableInput: z.ZodTypeAny;
5
- declare const SoftrCreateTableOutput: z.ZodTypeAny;
6
- declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrCreateTableInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ fields: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ type: z.ZodEnum<{
9
+ SINGLE_LINE_TEXT: "SINGLE_LINE_TEXT";
10
+ CHECKBOX: "CHECKBOX";
11
+ CURRENCY: "CURRENCY";
12
+ DATETIME: "DATETIME";
13
+ DURATION: "DURATION";
14
+ EMAIL: "EMAIL";
15
+ SELECT: "SELECT";
16
+ NUMBER: "NUMBER";
17
+ ATTACHMENT: "ATTACHMENT";
18
+ RATING: "RATING";
19
+ LINKED_RECORD: "LINKED_RECORD";
20
+ LONG_TEXT: "LONG_TEXT";
21
+ URL: "URL";
22
+ PERCENT: "PERCENT";
23
+ BUTTON: "BUTTON";
24
+ PROGRESS: "PROGRESS";
25
+ PHONE: "PHONE";
26
+ DATE_RANGE: "DATE_RANGE";
27
+ ADDRESS: "ADDRESS";
28
+ TIME: "TIME";
29
+ LOOKUP: "LOOKUP";
30
+ ROLLUP: "ROLLUP";
31
+ FORMULA: "FORMULA";
32
+ COUNT: "COUNT";
33
+ CREATED_AT: "CREATED_AT";
34
+ UPDATED_AT: "UPDATED_AT";
35
+ CREATED_BY: "CREATED_BY";
36
+ UPDATED_BY: "UPDATED_BY";
37
+ AUTONUMBER: "AUTONUMBER";
38
+ RECORD_ID: "RECORD_ID";
39
+ USER: "USER";
40
+ }>;
41
+ options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ }, z.core.$strip>>;
43
+ database_id: z.ZodString;
44
+ description: z.ZodOptional<z.ZodString>;
45
+ primary_field_name: z.ZodOptional<z.ZodString>;
46
+ }, z.core.$strip>;
47
+ declare const SoftrCreateTableOutput: z.ZodObject<{
48
+ data: z.ZodNullable<z.ZodObject<{
49
+ id: z.ZodNullable<z.ZodString>;
50
+ name: z.ZodNullable<z.ZodString>;
51
+ fields: z.ZodArray<z.ZodObject<{
52
+ id: z.ZodNullable<z.ZodString>;
53
+ name: z.ZodNullable<z.ZodString>;
54
+ type: z.ZodNullable<z.ZodString>;
55
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
56
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
57
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
58
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
59
+ aiOptions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
60
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
64
+ }, z.core.$strip>>;
65
+ createdAt: z.ZodNullable<z.ZodString>;
66
+ updatedAt: z.ZodNullable<z.ZodString>;
67
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ defaultViewId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ primaryFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ }, z.core.$strip>>;
71
+ }, z.core.$strip>;
72
+ declare const softrCreateTable: import("@keystrokehq/action").WorkflowActionDefinition<{
73
+ name: string;
74
+ fields: {
75
+ name: string;
76
+ type: "SINGLE_LINE_TEXT" | "CHECKBOX" | "CURRENCY" | "DATETIME" | "DURATION" | "EMAIL" | "SELECT" | "NUMBER" | "ATTACHMENT" | "RATING" | "LINKED_RECORD" | "LONG_TEXT" | "URL" | "PERCENT" | "BUTTON" | "PROGRESS" | "PHONE" | "DATE_RANGE" | "ADDRESS" | "TIME" | "LOOKUP" | "ROLLUP" | "FORMULA" | "COUNT" | "CREATED_AT" | "UPDATED_AT" | "CREATED_BY" | "UPDATED_BY" | "AUTONUMBER" | "RECORD_ID" | "USER";
77
+ options?: Record<string, unknown> | undefined;
78
+ }[];
79
+ database_id: string;
80
+ description?: string | undefined;
81
+ primary_field_name?: string | undefined;
82
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
83
  //#endregion
8
84
  export { softrCreateTable };
9
85
  //# sourceMappingURL=create-table.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-table.d.mts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAUyC;AAAA,cAyBlE,sBAAA,EAAwB,CAAA,CAAE,UAEyB;AAAA,cAEnD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-table.d.mts","names":[],"sources":["../../src/actions/create-table.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAItB,gBAAA,gCAAgB,wBAAA;;;;;cAM3B,MAAA;EAAA"}
@@ -45,9 +45,9 @@ const SoftrCreateTableInput = z.object({
45
45
  primary_field_name: z.string().describe("Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.").optional()
46
46
  }).describe("Request parameters for creating a new table in a Softr database.");
47
47
  const SoftrCreateTable_ResponseFieldSchema = z.object({
48
- id: z.string().describe("Unique identifier of the field."),
49
- name: z.string().describe("The name of the field."),
50
- type: z.string().describe("The type of the field."),
48
+ id: z.string().describe("Unique identifier of the field.").nullable(),
49
+ name: z.string().describe("The name of the field.").nullable(),
50
+ type: z.string().describe("The type of the field.").nullable(),
51
51
  locked: z.boolean().describe("Whether the field is locked.").nullable().optional(),
52
52
  options: z.record(z.string(), z.unknown()).describe("Configuration options for the field.").nullable().optional(),
53
53
  readonly: z.boolean().describe("Whether the field is read-only.").nullable().optional(),
@@ -59,11 +59,11 @@ const SoftrCreateTable_ResponseFieldSchema = z.object({
59
59
  allowMultipleEntries: z.boolean().describe("Whether multiple entries are allowed for this field.").nullable().optional()
60
60
  }).describe("Field information in the response.");
61
61
  const SoftrCreateTable_TableDataSchema = z.object({
62
- id: z.string().describe("Unique identifier of the created table."),
63
- name: z.string().describe("Name of the table."),
62
+ id: z.string().describe("Unique identifier of the created table.").nullable(),
63
+ name: z.string().describe("Name of the table.").nullable(),
64
64
  fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe("List of fields in the created table."),
65
- createdAt: z.string().describe("Timestamp when the table was created."),
66
- updatedAt: z.string().describe("Timestamp when the table was last updated."),
65
+ createdAt: z.string().describe("Timestamp when the table was created.").nullable(),
66
+ updatedAt: z.string().describe("Timestamp when the table was last updated.").nullable(),
67
67
  description: z.string().describe("Description of the table.").nullable().optional(),
68
68
  defaultViewId: z.string().describe("ID of the default view for this table.").nullable().optional(),
69
69
  primaryFieldId: z.string().describe("ID of the field designated as the primary identifier.").nullable().optional()
@@ -1 +1 @@
1
- {"version":3,"file":"create-table.mjs","names":[],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the field.\"),\n name: z.string().describe(\"The name of the field.\"),\n type: z.string().describe(\"The type of the field.\"),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\"),\n name: z.string().describe(\"Name of the table.\"),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\"),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\"),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).describe(\"The created table data.\");\nexport const SoftrCreateTableOutput: z.ZodTypeAny = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAC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CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,mCAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CAC9C,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yBAAyB;AAKrC,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-table.mjs","names":[],"sources":["../../src/actions/create-table.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrCreateTableInput = z.object({\n name: z.string().describe(\"The name of the new table.\"),\n fields: z.array(z.object({\n name: z.string().describe(\"The name of the field.\"),\n type: z.enum([\"SINGLE_LINE_TEXT\", \"CHECKBOX\", \"CURRENCY\", \"DATETIME\", \"DURATION\", \"EMAIL\", \"SELECT\", \"NUMBER\", \"ATTACHMENT\", \"RATING\", \"LINKED_RECORD\", \"LONG_TEXT\", \"URL\", \"PERCENT\", \"BUTTON\", \"PROGRESS\", \"PHONE\", \"DATE_RANGE\", \"ADDRESS\", \"TIME\", \"LOOKUP\", \"ROLLUP\", \"FORMULA\", \"COUNT\", \"CREATED_AT\", \"UPDATED_AT\", \"CREATED_BY\", \"UPDATED_BY\", \"AUTONUMBER\", \"RECORD_ID\", \"USER\"]).describe(\"The type of the field. Must be one of the supported field types.\"),\n options: z.record(z.string(), z.unknown()).describe(\"Optional configuration object for the field. Required for certain field types like SELECT (must contain 'choices' array).\").optional(),\n}).describe(\"Definition of a field in the table.\")).describe(\"Collection of field definitions for the table. At least one field is required. Each field must have a name and type.\"),\n database_id: z.string().describe(\"The unique identifier of the database where the table will be created.\"),\n description: z.string().describe(\"Optional description of the table to explain its purpose.\").optional(),\n primary_field_name: z.string().describe(\"Designates which field serves as the primary identifier for records in this table. Must match the name of one of the fields in the fields array.\").optional(),\n}).describe(\"Request parameters for creating a new table in a Softr database.\");\nconst SoftrCreateTable_ResponseFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier of the field.\").nullable(),\n name: z.string().describe(\"The name of the field.\").nullable(),\n type: z.string().describe(\"The type of the field.\").nullable(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options for the field.\").nullable().optional(),\n readonly: z.boolean().describe(\"Whether the field is read-only.\").nullable().optional(),\n required: z.boolean().describe(\"Whether the field is required.\").nullable().optional(),\n aiOptions: z.record(z.string(), z.unknown()).describe(\"AI configuration options for the field.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the field was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the field was last updated.\").nullable().optional(),\n defaultValue: z.string().describe(\"Default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether multiple entries are allowed for this field.\").nullable().optional(),\n}).describe(\"Field information in the response.\");\nconst SoftrCreateTable_TableDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the created table.\").nullable(),\n name: z.string().describe(\"Name of the table.\").nullable(),\n fields: z.array(SoftrCreateTable_ResponseFieldSchema).describe(\"List of fields in the created table.\"),\n createdAt: z.string().describe(\"Timestamp when the table was created.\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the table was last updated.\").nullable(),\n description: z.string().describe(\"Description of the table.\").nullable().optional(),\n defaultViewId: z.string().describe(\"ID of the default view for this table.\").nullable().optional(),\n primaryFieldId: z.string().describe(\"ID of the field designated as the primary identifier.\").nullable().optional(),\n}).describe(\"The created table data.\");\nexport const SoftrCreateTableOutput = z.object({\n data: SoftrCreateTable_TableDataSchema.nullable(),\n}).describe(\"Response from creating a table in Softr database.\");\n\nexport const softrCreateTable = action(\"SOFTR_CREATE_TABLE\", {\n slug: \"softr-create-table\",\n name: \"Create Table\",\n description: \"Tool to create a new table within a specified Softr database. Use when you need to add a new data structure with custom fields to organize information.\",\n input: SoftrCreateTableInput,\n output: SoftrCreateTableOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EAClD,MAAM,EAAE,KAAK;GAAC;GAAoB;GAAY;GAAY;GAAY;GAAY;GAAS;GAAU;GAAU;GAAc;GAAU;GAAiB;GAAa;GAAO;GAAW;GAAU;GAAY;GAAS;GAAc;GAAW;GAAQ;GAAU;GAAU;GAAW;GAAS;GAAc;GAAc;GAAc;GAAc;GAAc;GAAa;EAAM,CAAC,CAAC,CAAC,SAAS,kEAAkE;EACtc,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CAC5L,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,CAAC,SAAS,sHAAsH;CACjL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACzG,aAAa,EAAE,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,sCAAsC;CACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,yBAAyB;AAKrC,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,iCAAiC,SAAS,EAClD,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -6,7 +6,7 @@ const SoftrDeleteDatabaseInput = zod.z.object({
6
6
  database_id: zod.z.string().describe("The unique identifier of the database to delete. This is the database ID from Softr.")
7
7
  }).describe("Request model for deleting a database.");
8
8
  const SoftrDeleteDatabaseOutput = zod.z.object({
9
- message: zod.z.string().describe("A confirmation message indicating the outcome of the database deletion operation."),
9
+ message: zod.z.string().describe("A confirmation message indicating the outcome of the database deletion operation.").nullable(),
10
10
  success: zod.z.boolean().default(true).describe("Indicates whether the database was successfully deleted.").nullable().optional()
11
11
  }).describe("Response model for database deletion.");
12
12
  const softrDeleteDatabase = require_action.action("SOFTR_DELETE_DATABASE", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-database.cjs","names":["z","action"],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput: z.ZodTypeAny = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\"),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CACrP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAChH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-database.cjs","names":["z","action"],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;CACrP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;AACzH,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC3H,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-database.d.ts
4
- declare const SoftrDeleteDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrDeleteDatabaseOutput: z.ZodTypeAny;
6
- declare const softrDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteDatabaseInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ database_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SoftrDeleteDatabaseOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$strip>;
12
+ declare const softrDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ database_id: string;
14
+ force?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { softrDeleteDatabase };
9
18
  //# sourceMappingURL=delete-database.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGY;AAAA,cACxC,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-database.d.cts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-database.d.ts
4
- declare const SoftrDeleteDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrDeleteDatabaseOutput: z.ZodTypeAny;
6
- declare const softrDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteDatabaseInput: z.ZodObject<{
5
+ force: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6
+ database_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SoftrDeleteDatabaseOutput: z.ZodObject<{
9
+ message: z.ZodNullable<z.ZodString>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$strip>;
12
+ declare const softrDeleteDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ database_id: string;
14
+ force?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { softrDeleteDatabase };
9
18
  //# sourceMappingURL=delete-database.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGY;AAAA,cACxC,yBAAA,EAA2B,CAAA,CAAE,UAGU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-database.d.mts","names":[],"sources":["../../src/actions/delete-database.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -9,7 +9,7 @@ const softrDeleteDatabase = action("SOFTR_DELETE_DATABASE", {
9
9
  database_id: z.string().describe("The unique identifier of the database to delete. This is the database ID from Softr.")
10
10
  }).describe("Request model for deleting a database."),
11
11
  output: z.object({
12
- message: z.string().describe("A confirmation message indicating the outcome of the database deletion operation."),
12
+ message: z.string().describe("A confirmation message indicating the outcome of the database deletion operation.").nullable(),
13
13
  success: z.boolean().default(true).describe("Indicates whether the database was successfully deleted.").nullable().optional()
14
14
  }).describe("Response model for database deletion.")
15
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput: z.ZodTypeAny = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\"),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAboD,EAAE,OAAO;EAC7D,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;EACrP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACzH,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAChH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-database.mjs","names":[],"sources":["../../src/actions/delete-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrDeleteDatabaseInput = z.object({\n force: z.boolean().default(false).describe(\"If true, deletes the database even if it contains tables or records. If false (default), deletion will fail if the database is not empty. Use with caution as this operation is irreversible.\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to delete. This is the database ID from Softr.\"),\n}).describe(\"Request model for deleting a database.\");\nexport const SoftrDeleteDatabaseOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the database deletion operation.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the database was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for database deletion.\");\n\nexport const softrDeleteDatabase = action(\"SOFTR_DELETE_DATABASE\", {\n slug: \"softr-delete-database\",\n name: \"Delete database\",\n description: \"Tool to delete a specific database by its ID from Softr. Use when you need to remove a database. The database must be empty unless the 'force' parameter is set to true. This operation is irreversible.\",\n input: SoftrDeleteDatabaseInput,\n output: SoftrDeleteDatabaseOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO;EAC/C,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+LAA+L,CAAC,CAAC,SAAS;EACrP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACzH,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC3H,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -6,7 +6,7 @@ const SoftrDeleteRecordInput = zod.z.object({
6
6
  record_id: zod.z.string().describe("The unique identifier of the record to delete"),
7
7
  database_id: zod.z.string().describe("The unique identifier of the database containing the table")
8
8
  }).describe("Request parameters for deleting a record from a Softr table.");
9
- const SoftrDeleteRecordOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating the record was successfully deleted") }).describe("Response confirming successful record deletion.");
9
+ const SoftrDeleteRecordOutput = zod.z.object({ message: zod.z.string().describe("Confirmation message indicating the record was successfully deleted").nullable() }).describe("Response confirming successful record deletion.");
10
10
  const softrDeleteRecord = require_action.action("SOFTR_DELETE_RECORD", {
11
11
  slug: "softr-delete-record",
12
12
  name: "Delete Record",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.cjs","names":["z","action"],"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":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,EACpG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-record.cjs","names":["z","action"],"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}).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":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;AAC/F,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,EAC/G,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,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/delete-record.d.ts
4
- declare const SoftrDeleteRecordInput: z.ZodTypeAny;
5
- declare const SoftrDeleteRecordOutput: z.ZodTypeAny;
6
- declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteRecordInput: z.ZodObject<{
5
+ table_id: z.ZodString;
6
+ record_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteRecordOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ table_id: string;
14
+ record_id: string;
15
+ database_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { softrDeleteRecord };
9
19
  //# sourceMappingURL=delete-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIoC;AAAA,cAC9D,uBAAA,EAAyB,CAAA,CAAE,UAEsB;AAAA,cAEjD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-record.d.cts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/delete-record.d.ts
4
- declare const SoftrDeleteRecordInput: z.ZodTypeAny;
5
- declare const SoftrDeleteRecordOutput: z.ZodTypeAny;
6
- declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrDeleteRecordInput: z.ZodObject<{
5
+ table_id: z.ZodString;
6
+ record_id: z.ZodString;
7
+ database_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SoftrDeleteRecordOutput: z.ZodObject<{
10
+ message: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const softrDeleteRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ table_id: string;
14
+ record_id: string;
15
+ database_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { softrDeleteRecord };
9
19
  //# sourceMappingURL=delete-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAIoC;AAAA,cAC9D,uBAAA,EAAyB,CAAA,CAAE,UAEsB;AAAA,cAEjD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"delete-record.d.mts","names":[],"sources":["../../src/actions/delete-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAKtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
@@ -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() }).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}).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,SAAS,iDAOF;AACV,CAAC"}
@@ -7,8 +7,8 @@ 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")
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
12
  });
13
13
  const softrDeleteTableField = require_action.action("SOFTR_DELETE_TABLE_FIELD", {
14
14
  slug: "softr-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});\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;AAED,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.$strip>;
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.$strip>;
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,8 +10,8 @@ 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")
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
15
  })
16
16
  });
17
17
  //#endregion