@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
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/search-records.d.ts
4
- declare const SoftrSearchRecordsInput: z.ZodTypeAny;
5
- declare const SoftrSearchRecordsOutput: z.ZodTypeAny;
6
- declare const softrSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrSearchRecordsInput: z.ZodObject<{
5
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ paging: z.ZodOptional<z.ZodObject<{
7
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
8
+ offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
9
+ }, z.core.$strip>>;
10
+ table_id: z.ZodString;
11
+ database_id: z.ZodString;
12
+ }, z.core.$strip>;
13
+ declare const SoftrSearchRecordsOutput: z.ZodObject<{
14
+ data: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ fields: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ createdAt: z.ZodNullable<z.ZodString>;
19
+ updatedAt: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$loose>>;
21
+ metadata: z.ZodNullable<z.ZodObject<{
22
+ limit: z.ZodNullable<z.ZodNumber>;
23
+ total: z.ZodNullable<z.ZodNumber>;
24
+ offset: z.ZodNullable<z.ZodNumber>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const softrSearchRecords: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ table_id: string;
29
+ database_id: string;
30
+ filter?: Record<string, unknown> | undefined;
31
+ paging?: {
32
+ limit?: number | undefined;
33
+ offset?: number | undefined;
34
+ } | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { softrSearchRecords };
9
38
  //# sourceMappingURL=search-records.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.d.mts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAQqC;AAAA,cAchE,wBAAA,EAA0B,CAAA,CAAE,UAG4B;AAAA,cAExD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"search-records.d.mts","names":[],"sources":["../../src/actions/search-records.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAsBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA;;;WAM7B,MAAA"}
@@ -12,17 +12,17 @@ const SoftrSearchRecordsInput = z.object({
12
12
  }).describe("Request model for searching records in a Softr database table.");
13
13
  const SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe("Custom fields for a record. Structure varies based on the table schema.");
14
14
  const SoftrSearchRecords_RecordSchema = z.object({
15
- id: z.string().describe("Unique identifier of the record."),
15
+ id: z.string().describe("Unique identifier of the record.").nullable(),
16
16
  fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),
17
17
  tableId: z.string().describe("Identifier of the table this record belongs to.").nullable().optional(),
18
- createdAt: z.string().describe("ISO 8601 timestamp when the record was created."),
19
- updatedAt: z.string().describe("ISO 8601 timestamp when the record was last updated.")
20
- }).describe("Represents a single record from a Softr table.");
18
+ createdAt: z.string().describe("ISO 8601 timestamp when the record was created.").nullable(),
19
+ updatedAt: z.string().describe("ISO 8601 timestamp when the record was last updated.").nullable()
20
+ }).passthrough().describe("Represents a single record from a Softr table.");
21
21
  const SoftrSearchRecords_SearchMetadataSchema = z.object({
22
- limit: z.number().int().describe("Maximum number of records requested."),
23
- total: z.number().int().describe("Total number of records matching the filter criteria."),
24
- offset: z.number().int().describe("Number of records skipped in this result set.")
25
- }).describe("Metadata about the search results and pagination.");
22
+ limit: z.number().int().describe("Maximum number of records requested.").nullable(),
23
+ total: z.number().int().describe("Total number of records matching the filter criteria.").nullable(),
24
+ offset: z.number().int().describe("Number of records skipped in this result set.").nullable()
25
+ }).passthrough().describe("Metadata about the search results and pagination.");
26
26
  const softrSearchRecords = action("SOFTR_SEARCH_RECORDS", {
27
27
  slug: "softr-search-records",
28
28
  name: "Search Records",
@@ -31,7 +31,7 @@ const softrSearchRecords = action("SOFTR_SEARCH_RECORDS", {
31
31
  output: z.object({
32
32
  data: z.array(SoftrSearchRecords_RecordSchema).describe("List of records matching the search criteria."),
33
33
  metadata: SoftrSearchRecords_SearchMetadataSchema.nullable()
34
- }).describe("Response model containing search results and metadata.")
34
+ }).passthrough().describe("Response model containing search results and metadata.")
35
35
  });
36
36
  //#endregion
37
37
  export { softrSearchRecords };
@@ -1 +1 @@
1
- {"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput: z.ZodTypeAny = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema: z.ZodTypeAny = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the record.\"),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\"),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\"),\n}).describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\"),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\"),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\"),\n}).describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput: z.ZodTypeAny = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,wCAAsD,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAChL,MAAM,kCAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,QAAQ,sCAAsC,SAAS;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACvF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,0CAAwD,EAAE,OAAO;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AACnF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C;EACvG,UAAU,wCAAwC,SAAS;CAC7D,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"search-records.mjs","names":[],"sources":["../../src/actions/search-records.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrSearchRecordsInput = z.object({\n filter: z.record(z.string(), z.unknown()).describe(\"Filter conditions for searching records. Structure varies based on table schema and filter requirements.\").optional(),\n paging: z.object({\n limit: z.number().int().default(10).describe(\"Maximum number of records to return per request. Must be between 1 and 100. Defaults to 10.\").optional(),\n offset: z.number().int().default(0).describe(\"Number of records to skip. Use for pagination. Defaults to 0.\").optional(),\n}).describe(\"Pagination options for record search.\").optional(),\n table_id: z.string().describe(\"The unique identifier of the table to search records in.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for searching records in a Softr database table.\");\nconst SoftrSearchRecords_RecordFieldsSchema = z.record(z.string(), z.unknown()).describe(\"Custom fields for a record. Structure varies based on the table schema.\");\nconst SoftrSearchRecords_RecordSchema = z.object({\n id: z.string().describe(\"Unique identifier of the record.\").nullable(),\n fields: SoftrSearchRecords_RecordFieldsSchema.nullable(),\n tableId: z.string().describe(\"Identifier of the table this record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the record was created.\").nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the record was last updated.\").nullable(),\n}).passthrough().describe(\"Represents a single record from a Softr table.\");\nconst SoftrSearchRecords_SearchMetadataSchema = z.object({\n limit: z.number().int().describe(\"Maximum number of records requested.\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the filter criteria.\").nullable(),\n offset: z.number().int().describe(\"Number of records skipped in this result set.\").nullable(),\n}).passthrough().describe(\"Metadata about the search results and pagination.\");\nexport const SoftrSearchRecordsOutput = z.object({\n data: z.array(SoftrSearchRecords_RecordSchema).describe(\"List of records matching the search criteria.\"),\n metadata: SoftrSearchRecords_SearchMetadataSchema.nullable(),\n}).passthrough().describe(\"Response model containing search results and metadata.\");\n\nexport const softrSearchRecords = action(\"SOFTR_SEARCH_RECORDS\", {\n slug: \"softr-search-records\",\n name: \"Search Records\",\n description: \"Tool to search records in a Softr database table with filtering and pagination. Use when you need to retrieve records from a specific table, optionally filtered by field values and paginated for large result sets.\",\n input: SoftrSearchRecordsInput,\n output: SoftrSearchRecordsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACxK,QAAQ,EAAE,OAAO;EACjB,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SA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C,CAAC,SAAS,+CAA+C;EACvG,UAAU,wCAAwC,SAAS;CAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -7,14 +7,14 @@ const SoftrUpdateDatabaseInput = zod.z.object({
7
7
  description: zod.z.string().describe("The new description for the database").optional()
8
8
  }).describe("Request model for updating a database's name and/or description.");
9
9
  const SoftrUpdateDatabase_DatabaseSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier of the database"),
11
- name: zod.z.string().describe("Name of the database"),
12
- createdAt: zod.z.string().describe("Timestamp when the database was created"),
13
- updatedAt: zod.z.string().describe("Timestamp when the database was last updated"),
10
+ id: zod.z.string().describe("Unique identifier of the database").nullable(),
11
+ name: zod.z.string().describe("Name of the database").nullable(),
12
+ createdAt: zod.z.string().describe("Timestamp when the database was created").nullable(),
13
+ updatedAt: zod.z.string().describe("Timestamp when the database was last updated").nullable(),
14
14
  description: zod.z.string().describe("Description of the database").nullable().optional(),
15
- workspaceId: zod.z.string().describe("ID of the workspace this database belongs to")
16
- }).describe("Database object model");
17
- const SoftrUpdateDatabaseOutput = zod.z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).describe("Response model for update database action");
15
+ workspaceId: zod.z.string().describe("ID of the workspace this database belongs to").nullable()
16
+ }).passthrough().describe("Database object model");
17
+ const SoftrUpdateDatabaseOutput = zod.z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).passthrough().describe("Response model for update database action");
18
18
  const softrUpdateDatabase = require_action.action("SOFTR_UPDATE_DATABASE", {
19
19
  slug: "softr-update-database",
20
20
  name: "Update Database",
@@ -1 +1 @@
1
- {"version":3,"file":"update-database.cjs","names":["z","action"],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\"),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\"),\n}).describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-database.cjs","names":["z","action"],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).passthrough().describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).passthrough().describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],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
5
- declare const SoftrUpdateDatabaseOutput: z.ZodTypeAny;
6
- declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateDatabaseInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ database_id: z.ZodString;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SoftrUpdateDatabaseOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ createdAt: z.ZodNullable<z.ZodString>;
14
+ updatedAt: z.ZodNullable<z.ZodString>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ workspaceId: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ database_id: string;
21
+ name?: string | undefined;
22
+ description?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { softrUpdateDatabase };
9
26
  //# sourceMappingURL=update-database.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-database.d.cts","names":[],"sources":["../../src/actions/update-database.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIsC;AAAA,cASlE,yBAAA,EAA2B,CAAA,CAAE,UAEc;AAAA,cAE3C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-database.d.cts","names":[],"sources":["../../src/actions/update-database.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-database.d.ts
4
- declare const SoftrUpdateDatabaseInput: z.ZodTypeAny;
5
- declare const SoftrUpdateDatabaseOutput: z.ZodTypeAny;
6
- declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateDatabaseInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ database_id: z.ZodString;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const SoftrUpdateDatabaseOutput: z.ZodObject<{
10
+ data: z.ZodNullable<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ name: z.ZodNullable<z.ZodString>;
13
+ createdAt: z.ZodNullable<z.ZodString>;
14
+ updatedAt: z.ZodNullable<z.ZodString>;
15
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ workspaceId: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>;
19
+ declare const softrUpdateDatabase: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ database_id: string;
21
+ name?: string | undefined;
22
+ description?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { softrUpdateDatabase };
9
26
  //# sourceMappingURL=update-database.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-database.d.mts","names":[],"sources":["../../src/actions/update-database.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIsC;AAAA,cASlE,yBAAA,EAA2B,CAAA,CAAE,UAEc;AAAA,cAE3C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-database.d.mts","names":[],"sources":["../../src/actions/update-database.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -7,19 +7,19 @@ const SoftrUpdateDatabaseInput = z.object({
7
7
  description: z.string().describe("The new description for the database").optional()
8
8
  }).describe("Request model for updating a database's name and/or description.");
9
9
  const SoftrUpdateDatabase_DatabaseSchema = z.object({
10
- id: z.string().describe("Unique identifier of the database"),
11
- name: z.string().describe("Name of the database"),
12
- createdAt: z.string().describe("Timestamp when the database was created"),
13
- updatedAt: z.string().describe("Timestamp when the database was last updated"),
10
+ id: z.string().describe("Unique identifier of the database").nullable(),
11
+ name: z.string().describe("Name of the database").nullable(),
12
+ createdAt: z.string().describe("Timestamp when the database was created").nullable(),
13
+ updatedAt: z.string().describe("Timestamp when the database was last updated").nullable(),
14
14
  description: z.string().describe("Description of the database").nullable().optional(),
15
- workspaceId: z.string().describe("ID of the workspace this database belongs to")
16
- }).describe("Database object model");
15
+ workspaceId: z.string().describe("ID of the workspace this database belongs to").nullable()
16
+ }).passthrough().describe("Database object model");
17
17
  const softrUpdateDatabase = action("SOFTR_UPDATE_DATABASE", {
18
18
  slug: "softr-update-database",
19
19
  name: "Update Database",
20
20
  description: "Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.",
21
21
  input: SoftrUpdateDatabaseInput,
22
- output: z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).describe("Response model for update database action")
22
+ output: z.object({ data: SoftrUpdateDatabase_DatabaseSchema.nullable() }).passthrough().describe("Response model for update database action")
23
23
  });
24
24
  //#endregion
25
25
  export { softrUpdateDatabase };
@@ -1 +1 @@
1
- {"version":3,"file":"update-database.mjs","names":[],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\"),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\"),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\"),\n}).describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput: z.ZodTypeAny = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAKnC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-database.mjs","names":[],"sources":["../../src/actions/update-database.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateDatabaseInput = z.object({\n name: z.string().describe(\"The new name for the database\").optional(),\n database_id: z.string().describe(\"The unique identifier of the database to update\"),\n description: z.string().describe(\"The new description for the database\").optional(),\n}).describe(\"Request model for updating a database's name and/or description.\");\nconst SoftrUpdateDatabase_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\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n description: z.string().describe(\"Description of the database\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace this database belongs to\").nullable(),\n}).passthrough().describe(\"Database object model\");\nexport const SoftrUpdateDatabaseOutput = z.object({\n data: SoftrUpdateDatabase_DatabaseSchema.nullable(),\n}).passthrough().describe(\"Response model for update database action\");\n\nexport const softrUpdateDatabase = action(\"SOFTR_UPDATE_DATABASE\", {\n slug: \"softr-update-database\",\n name: \"Update Database\",\n description: \"Tool to update an existing database's name and/or description. Use when you need to modify database metadata after creation.\",\n input: SoftrUpdateDatabaseInput,\n output: SoftrUpdateDatabaseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAKjD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,mCAAmC,SAAS,EACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -13,8 +13,8 @@ const SoftrUpdateRecord_RecordDataSchema = zod.z.object({
13
13
  tableId: zod.z.string().describe("The unique identifier of the table the record belongs to.").nullable().optional(),
14
14
  createdAt: zod.z.string().describe("The timestamp when the record was created (ISO 8601 format).").nullable().optional(),
15
15
  updatedAt: zod.z.string().describe("The timestamp when the record was last updated (ISO 8601 format).").nullable().optional()
16
- }).describe("Record data structure returned by the API.");
17
- const SoftrUpdateRecordOutput = zod.z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).describe("Response model containing the updated record data.");
16
+ }).passthrough().describe("Record data structure returned by the API.");
17
+ const SoftrUpdateRecordOutput = zod.z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).passthrough().describe("Response model containing the updated record data.");
18
18
  const softrUpdateRecord = require_action.action("SOFTR_UPDATE_RECORD", {
19
19
  slug: "softr-update-record",
20
20
  name: "Update a record",
@@ -1 +1 @@
1
- {"version":3,"file":"update-record.cjs","names":["z","action"],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\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 update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput: z.ZodTypeAny = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-record.cjs","names":["z","action"],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\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 update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database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AAE9E,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-record.d.ts
4
- declare const SoftrUpdateRecordInput: z.ZodTypeAny;
5
- declare const SoftrUpdateRecordOutput: z.ZodTypeAny;
6
- declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateRecordInput: z.ZodObject<{
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ table_id: z.ZodString;
7
+ record_id: z.ZodString;
8
+ database_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SoftrUpdateRecordOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>;
18
+ }, z.core.$loose>;
19
+ declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ fields: Record<string, unknown>;
21
+ table_id: string;
22
+ record_id: string;
23
+ database_id: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { softrUpdateRecord };
9
27
  //# sourceMappingURL=update-record.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-record.d.cts","names":[],"sources":["../../src/actions/update-record.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAKuC;AAAA,cAQjE,uBAAA,EAAyB,CAAA,CAAE,UAEyB;AAAA,cAEpD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-record.d.cts","names":[],"sources":["../../src/actions/update-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;UAM5B,MAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-record.d.ts
4
- declare const SoftrUpdateRecordInput: z.ZodTypeAny;
5
- declare const SoftrUpdateRecordOutput: z.ZodTypeAny;
6
- declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateRecordInput: z.ZodObject<{
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ table_id: z.ZodString;
7
+ record_id: z.ZodString;
8
+ database_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const SoftrUpdateRecordOutput: z.ZodObject<{
11
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ tableId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>;
18
+ }, z.core.$loose>;
19
+ declare const softrUpdateRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ fields: Record<string, unknown>;
21
+ table_id: string;
22
+ record_id: string;
23
+ database_id: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { softrUpdateRecord };
9
27
  //# sourceMappingURL=update-record.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-record.d.mts","names":[],"sources":["../../src/actions/update-record.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAKuC;AAAA,cAQjE,uBAAA,EAAyB,CAAA,CAAE,UAEyB;AAAA,cAEpD,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-record.d.mts","names":[],"sources":["../../src/actions/update-record.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cAatB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cAIvB,iBAAA,gCAAiB,wBAAA;UAM5B,MAAA"}
@@ -13,13 +13,13 @@ const SoftrUpdateRecord_RecordDataSchema = z.object({
13
13
  tableId: z.string().describe("The unique identifier of the table the record belongs to.").nullable().optional(),
14
14
  createdAt: z.string().describe("The timestamp when the record was created (ISO 8601 format).").nullable().optional(),
15
15
  updatedAt: z.string().describe("The timestamp when the record was last updated (ISO 8601 format).").nullable().optional()
16
- }).describe("Record data structure returned by the API.");
16
+ }).passthrough().describe("Record data structure returned by the API.");
17
17
  const softrUpdateRecord = action("SOFTR_UPDATE_RECORD", {
18
18
  slug: "softr-update-record",
19
19
  name: "Update a record",
20
20
  description: "Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.",
21
21
  input: SoftrUpdateRecordInput,
22
- output: z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).describe("Response model containing the updated record data.")
22
+ output: z.object({ data: SoftrUpdateRecord_RecordDataSchema.nullable().optional() }).passthrough().describe("Response model containing the updated record data.")
23
23
  });
24
24
  //#endregion
25
25
  export { softrUpdateRecord };
@@ -1 +1 @@
1
- {"version":3,"file":"update-record.mjs","names":[],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\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 update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput: z.ZodTypeAny = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmD,EAAE,OAAO,EAC5D,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-record.mjs","names":[],"sources":["../../src/actions/update-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateRecordInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their new values. Field IDs are unique identifiers for each column in the table (e.g., 'o0JWv'). The values can be strings, numbers, booleans, or other types depending on the field type in your Softr table schema.\"),\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 update.\"),\n database_id: z.string().describe(\"The unique identifier of the database containing the table.\"),\n}).describe(\"Request model for updating an existing record in a Softr table.\");\nconst SoftrUpdateRecord_RecordDataSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record.\").nullable().optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"A map of field IDs to their values for this record.\").nullable().optional(),\n tableId: z.string().describe(\"The unique identifier of the table the record belongs to.\").nullable().optional(),\n createdAt: z.string().describe(\"The timestamp when the record was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The timestamp when the record was last updated (ISO 8601 format).\").nullable().optional(),\n}).passthrough().describe(\"Record data structure returned by the API.\");\nexport const SoftrUpdateRecordOutput = z.object({\n data: SoftrUpdateRecord_RecordDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing the updated record data.\");\n\nexport const softrUpdateRecord = action(\"SOFTR_UPDATE_RECORD\", {\n slug: \"softr-update-record\",\n name: \"Update a record\",\n description: \"Tool to update an existing record's field values in a Softr table. Use when you need to modify specific fields of a record by providing the database ID, table ID, record ID, and the new field values.\",\n input: SoftrUpdateRecordInput,\n output: SoftrUpdateRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6OAA6O;CAChS,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAChG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS,EAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -53,7 +53,7 @@ const SoftrUpdateTableFieldOutput = zod.z.object({
53
53
  updatedAt: zod.z.string().describe("Timestamp when the field was last updated.").nullable().optional(),
54
54
  defaultValue: zod.z.unknown().describe("The default value for the field.").nullable().optional(),
55
55
  allowMultipleEntries: zod.z.boolean().describe("Whether the field allows multiple entries.").nullable().optional()
56
- }).describe("Response model for the updated table field.");
56
+ }).passthrough().describe("Response model for the updated table field.");
57
57
  const softrUpdateTableField = require_action.action("SOFTR_UPDATE_TABLE_FIELD", {
58
58
  slug: "softr-update-table-field",
59
59
  name: "Update table field",
@@ -1 +1 @@
1
- {"version":3,"file":"update-table-field.cjs","names":["z","action"],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\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 field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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 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.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;CAC5lB,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AAC3E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,IA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CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-table-field.cjs","names":["z","action"],"sources":["../../src/actions/update-table-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SoftrUpdateTableFieldInput = z.object({\n name: z.string().describe(\"The new name of the field. If not provided, the field name remains unchanged.\").optional(),\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 field type. Must be provided even if not changing the type. Common types: SINGLE_LINE_TEXT (text), EMAIL (email validation), NUMBER (numeric), CHECKBOX (boolean), SELECT (dropdown), LONG_TEXT (multi-line text).\"),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type. For SINGLE_LINE_TEXT: {minLength: 0, maxLength: 1024}. For NUMBER: {precision: 2}. For SELECT: {choices: ['Option1', 'Option2']}. Structure varies by field type.\"),\n field_id: z.string().describe(\"The unique identifier of the field to update.\"),\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}).describe(\"Request model for updating an existing field in a Softr table.\");\nexport const SoftrUpdateTableFieldOutput = z.object({\n id: z.string().describe(\"The unique identifier of the updated field.\").nullable().optional(),\n name: z.string().describe(\"The name of the updated field.\").nullable().optional(),\n type: z.string().describe(\"The type of the field.\").nullable().optional(),\n locked: z.boolean().describe(\"Whether the field is locked.\").nullable().optional(),\n options: z.record(z.string(), z.unknown()).describe(\"Configuration options specific to the field type.\").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 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.unknown().describe(\"The default value for the field.\").nullable().optional(),\n allowMultipleEntries: z.boolean().describe(\"Whether the field allows multiple entries.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated table field.\");\n\nexport const softrUpdateTableField = action(\"SOFTR_UPDATE_TABLE_FIELD\", {\n slug: \"softr-update-table-field\",\n name: \"Update table field\",\n description: \"Updates an existing field in a Softr table. Use when you need to modify a field's name, type, or configuration options. Note: The API requires both 'type' and 'options' fields even if only updating the name.\",\n input: SoftrUpdateTableFieldInput,\n output: SoftrUpdateTableFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAY;EAAY;EAAY;EAAS;EAAU;EAAU;EAAc;EAAU;EAAiB;EAAa;EAAO;EAAW;EAAU;EAAY;EAAS;EAAc;EAAW;EAAQ;EAAU;EAAU;EAAW;EAAS;EAAc;EAAc;EAAc;EAAc;EAAc;EAAa;CAAM,CAAC,CAAC,CAAC,SAAS,wNAAwN;CAC5lB,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qNAAqN;CACzQ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-table-field.d.ts
4
- declare const SoftrUpdateTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrUpdateTableFieldOutput: z.ZodTypeAny;
6
- declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateTableFieldInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodEnum<{
7
+ SINGLE_LINE_TEXT: "SINGLE_LINE_TEXT";
8
+ CHECKBOX: "CHECKBOX";
9
+ CURRENCY: "CURRENCY";
10
+ DATETIME: "DATETIME";
11
+ DURATION: "DURATION";
12
+ EMAIL: "EMAIL";
13
+ SELECT: "SELECT";
14
+ NUMBER: "NUMBER";
15
+ ATTACHMENT: "ATTACHMENT";
16
+ RATING: "RATING";
17
+ LINKED_RECORD: "LINKED_RECORD";
18
+ LONG_TEXT: "LONG_TEXT";
19
+ URL: "URL";
20
+ PERCENT: "PERCENT";
21
+ BUTTON: "BUTTON";
22
+ PROGRESS: "PROGRESS";
23
+ PHONE: "PHONE";
24
+ DATE_RANGE: "DATE_RANGE";
25
+ ADDRESS: "ADDRESS";
26
+ TIME: "TIME";
27
+ LOOKUP: "LOOKUP";
28
+ ROLLUP: "ROLLUP";
29
+ FORMULA: "FORMULA";
30
+ COUNT: "COUNT";
31
+ CREATED_AT: "CREATED_AT";
32
+ UPDATED_AT: "UPDATED_AT";
33
+ CREATED_BY: "CREATED_BY";
34
+ UPDATED_BY: "UPDATED_BY";
35
+ AUTONUMBER: "AUTONUMBER";
36
+ RECORD_ID: "RECORD_ID";
37
+ USER: "USER";
38
+ }>;
39
+ options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
40
+ field_id: z.ZodString;
41
+ table_id: z.ZodString;
42
+ database_id: z.ZodString;
43
+ }, z.core.$strip>;
44
+ declare const SoftrUpdateTableFieldOutput: z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
51
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
52
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
55
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
56
+ }, z.core.$loose>;
57
+ declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
58
+ 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";
59
+ options: Record<string, unknown>;
60
+ field_id: string;
61
+ table_id: string;
62
+ database_id: string;
63
+ name?: string | undefined;
64
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
65
  //#endregion
8
66
  export { softrUpdateTableField };
9
67
  //# sourceMappingURL=update-table-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-table-field.d.cts","names":[],"sources":["../../src/actions/update-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAYc;AAAA,cAE7C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-table-field.d.cts","names":[],"sources":["../../src/actions/update-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA;;WAMhC,MAAA"}
@@ -1,9 +1,67 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-table-field.d.ts
4
- declare const SoftrUpdateTableFieldInput: z.ZodTypeAny;
5
- declare const SoftrUpdateTableFieldOutput: z.ZodTypeAny;
6
- declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SoftrUpdateTableFieldInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ type: z.ZodEnum<{
7
+ SINGLE_LINE_TEXT: "SINGLE_LINE_TEXT";
8
+ CHECKBOX: "CHECKBOX";
9
+ CURRENCY: "CURRENCY";
10
+ DATETIME: "DATETIME";
11
+ DURATION: "DURATION";
12
+ EMAIL: "EMAIL";
13
+ SELECT: "SELECT";
14
+ NUMBER: "NUMBER";
15
+ ATTACHMENT: "ATTACHMENT";
16
+ RATING: "RATING";
17
+ LINKED_RECORD: "LINKED_RECORD";
18
+ LONG_TEXT: "LONG_TEXT";
19
+ URL: "URL";
20
+ PERCENT: "PERCENT";
21
+ BUTTON: "BUTTON";
22
+ PROGRESS: "PROGRESS";
23
+ PHONE: "PHONE";
24
+ DATE_RANGE: "DATE_RANGE";
25
+ ADDRESS: "ADDRESS";
26
+ TIME: "TIME";
27
+ LOOKUP: "LOOKUP";
28
+ ROLLUP: "ROLLUP";
29
+ FORMULA: "FORMULA";
30
+ COUNT: "COUNT";
31
+ CREATED_AT: "CREATED_AT";
32
+ UPDATED_AT: "UPDATED_AT";
33
+ CREATED_BY: "CREATED_BY";
34
+ UPDATED_BY: "UPDATED_BY";
35
+ AUTONUMBER: "AUTONUMBER";
36
+ RECORD_ID: "RECORD_ID";
37
+ USER: "USER";
38
+ }>;
39
+ options: z.ZodRecord<z.ZodString, z.ZodUnknown>;
40
+ field_id: z.ZodString;
41
+ table_id: z.ZodString;
42
+ database_id: z.ZodString;
43
+ }, z.core.$strip>;
44
+ declare const SoftrUpdateTableFieldOutput: z.ZodObject<{
45
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ locked: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ options: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
50
+ readonly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
51
+ required: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
52
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ defaultValue: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
55
+ allowMultipleEntries: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
56
+ }, z.core.$loose>;
57
+ declare const softrUpdateTableField: import("@keystrokehq/action").WorkflowActionDefinition<{
58
+ 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";
59
+ options: Record<string, unknown>;
60
+ field_id: string;
61
+ table_id: string;
62
+ database_id: string;
63
+ name?: string | undefined;
64
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
65
  //#endregion
8
66
  export { softrUpdateTableField };
9
67
  //# sourceMappingURL=update-table-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-table-field.d.mts","names":[],"sources":["../../src/actions/update-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOkC;AAAA,cAChE,2BAAA,EAA6B,CAAA,CAAE,UAYc;AAAA,cAE7C,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-table-field.d.mts","names":[],"sources":["../../src/actions/update-table-field.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQ1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAc3B,qBAAA,gCAAqB,wBAAA;;WAMhC,MAAA"}