@keystrokehq/salesforce_service_cloud 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 (179) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/chasitor-sneak-peek.cjs +1 -1
  4. package/dist/actions/chasitor-sneak-peek.cjs.map +1 -1
  5. package/dist/actions/chasitor-sneak-peek.d.cts +20 -3
  6. package/dist/actions/chasitor-sneak-peek.d.cts.map +1 -1
  7. package/dist/actions/chasitor-sneak-peek.d.mts +20 -3
  8. package/dist/actions/chasitor-sneak-peek.d.mts.map +1 -1
  9. package/dist/actions/chasitor-sneak-peek.mjs +1 -1
  10. package/dist/actions/chasitor-sneak-peek.mjs.map +1 -1
  11. package/dist/actions/composite-batch.cjs +5 -5
  12. package/dist/actions/composite-batch.cjs.map +1 -1
  13. package/dist/actions/composite-batch.d.cts +32 -3
  14. package/dist/actions/composite-batch.d.cts.map +1 -1
  15. package/dist/actions/composite-batch.d.mts +32 -3
  16. package/dist/actions/composite-batch.d.mts.map +1 -1
  17. package/dist/actions/composite-batch.mjs +5 -5
  18. package/dist/actions/composite-batch.mjs.map +1 -1
  19. package/dist/actions/composite-request.cjs +6 -6
  20. package/dist/actions/composite-request.cjs.map +1 -1
  21. package/dist/actions/composite-request.d.cts +34 -3
  22. package/dist/actions/composite-request.d.cts.map +1 -1
  23. package/dist/actions/composite-request.d.mts +34 -3
  24. package/dist/actions/composite-request.d.mts.map +1 -1
  25. package/dist/actions/composite-request.mjs +6 -6
  26. package/dist/actions/composite-request.mjs.map +1 -1
  27. package/dist/actions/composite-sobject-tree.cjs +6 -6
  28. package/dist/actions/composite-sobject-tree.cjs.map +1 -1
  29. package/dist/actions/composite-sobject-tree.d.cts +31 -3
  30. package/dist/actions/composite-sobject-tree.d.cts.map +1 -1
  31. package/dist/actions/composite-sobject-tree.d.mts +31 -3
  32. package/dist/actions/composite-sobject-tree.d.mts.map +1 -1
  33. package/dist/actions/composite-sobject-tree.mjs +6 -6
  34. package/dist/actions/composite-sobject-tree.mjs.map +1 -1
  35. package/dist/actions/create-case-record.cjs +5 -5
  36. package/dist/actions/create-case-record.cjs.map +1 -1
  37. package/dist/actions/create-case-record.d.cts +30 -3
  38. package/dist/actions/create-case-record.d.cts.map +1 -1
  39. package/dist/actions/create-case-record.d.mts +30 -3
  40. package/dist/actions/create-case-record.d.mts.map +1 -1
  41. package/dist/actions/create-case-record.mjs +5 -5
  42. package/dist/actions/create-case-record.mjs.map +1 -1
  43. package/dist/actions/delete-case-record.cjs +1 -1
  44. package/dist/actions/delete-case-record.cjs.map +1 -1
  45. package/dist/actions/delete-case-record.d.cts +9 -3
  46. package/dist/actions/delete-case-record.d.cts.map +1 -1
  47. package/dist/actions/delete-case-record.d.mts +9 -3
  48. package/dist/actions/delete-case-record.d.mts.map +1 -1
  49. package/dist/actions/delete-case-record.mjs +1 -1
  50. package/dist/actions/delete-case-record.mjs.map +1 -1
  51. package/dist/actions/describe-s-object.cjs +4 -4
  52. package/dist/actions/describe-s-object.cjs.map +1 -1
  53. package/dist/actions/describe-s-object.d.cts +21 -3
  54. package/dist/actions/describe-s-object.d.cts.map +1 -1
  55. package/dist/actions/describe-s-object.d.mts +21 -3
  56. package/dist/actions/describe-s-object.d.mts.map +1 -1
  57. package/dist/actions/describe-s-object.mjs +4 -4
  58. package/dist/actions/describe-s-object.mjs.map +1 -1
  59. package/dist/actions/generate-request-id.cjs +1 -1
  60. package/dist/actions/generate-request-id.cjs.map +1 -1
  61. package/dist/actions/generate-request-id.d.cts +5 -3
  62. package/dist/actions/generate-request-id.d.cts.map +1 -1
  63. package/dist/actions/generate-request-id.d.mts +5 -3
  64. package/dist/actions/generate-request-id.d.mts.map +1 -1
  65. package/dist/actions/generate-request-id.mjs +1 -1
  66. package/dist/actions/generate-request-id.mjs.map +1 -1
  67. package/dist/actions/generate-signed-jwt-assertion.cjs +1 -1
  68. package/dist/actions/generate-signed-jwt-assertion.cjs.map +1 -1
  69. package/dist/actions/generate-signed-jwt-assertion.d.cts +19 -3
  70. package/dist/actions/generate-signed-jwt-assertion.d.cts.map +1 -1
  71. package/dist/actions/generate-signed-jwt-assertion.d.mts +19 -3
  72. package/dist/actions/generate-signed-jwt-assertion.d.mts.map +1 -1
  73. package/dist/actions/generate-signed-jwt-assertion.mjs +1 -1
  74. package/dist/actions/generate-signed-jwt-assertion.mjs.map +1 -1
  75. package/dist/actions/get-case-record.cjs +3 -3
  76. package/dist/actions/get-case-record.cjs.map +1 -1
  77. package/dist/actions/get-case-record.d.cts +33 -3
  78. package/dist/actions/get-case-record.d.cts.map +1 -1
  79. package/dist/actions/get-case-record.d.mts +33 -3
  80. package/dist/actions/get-case-record.d.mts.map +1 -1
  81. package/dist/actions/get-case-record.mjs +3 -3
  82. package/dist/actions/get-case-record.mjs.map +1 -1
  83. package/dist/actions/get-chat-messages.cjs +3 -3
  84. package/dist/actions/get-chat-messages.cjs.map +1 -1
  85. package/dist/actions/get-chat-messages.d.cts +19 -3
  86. package/dist/actions/get-chat-messages.d.cts.map +1 -1
  87. package/dist/actions/get-chat-messages.d.mts +19 -3
  88. package/dist/actions/get-chat-messages.d.mts.map +1 -1
  89. package/dist/actions/get-chat-messages.mjs +3 -3
  90. package/dist/actions/get-chat-messages.mjs.map +1 -1
  91. package/dist/actions/get-live-agent-api-version.cjs +3 -3
  92. package/dist/actions/get-live-agent-api-version.cjs.map +1 -1
  93. package/dist/actions/get-live-agent-api-version.d.cts +6 -3
  94. package/dist/actions/get-live-agent-api-version.d.cts.map +1 -1
  95. package/dist/actions/get-live-agent-api-version.d.mts +6 -3
  96. package/dist/actions/get-live-agent-api-version.d.mts.map +1 -1
  97. package/dist/actions/get-live-agent-api-version.mjs +3 -3
  98. package/dist/actions/get-live-agent-api-version.mjs.map +1 -1
  99. package/dist/actions/list-einstein-bots.cjs +6 -6
  100. package/dist/actions/list-einstein-bots.cjs.map +1 -1
  101. package/dist/actions/list-einstein-bots.d.cts +15 -3
  102. package/dist/actions/list-einstein-bots.d.cts.map +1 -1
  103. package/dist/actions/list-einstein-bots.d.mts +15 -3
  104. package/dist/actions/list-einstein-bots.d.mts.map +1 -1
  105. package/dist/actions/list-einstein-bots.mjs +6 -6
  106. package/dist/actions/list-einstein-bots.mjs.map +1 -1
  107. package/dist/actions/query-all-soql.cjs +6 -6
  108. package/dist/actions/query-all-soql.cjs.map +1 -1
  109. package/dist/actions/query-all-soql.d.cts +17 -3
  110. package/dist/actions/query-all-soql.d.cts.map +1 -1
  111. package/dist/actions/query-all-soql.d.mts +17 -3
  112. package/dist/actions/query-all-soql.d.mts.map +1 -1
  113. package/dist/actions/query-all-soql.mjs +6 -6
  114. package/dist/actions/query-all-soql.mjs.map +1 -1
  115. package/dist/actions/query-soql.cjs +3 -3
  116. package/dist/actions/query-soql.cjs.map +1 -1
  117. package/dist/actions/query-soql.d.cts +12 -3
  118. package/dist/actions/query-soql.d.cts.map +1 -1
  119. package/dist/actions/query-soql.d.mts +12 -3
  120. package/dist/actions/query-soql.d.mts.map +1 -1
  121. package/dist/actions/query-soql.mjs +3 -3
  122. package/dist/actions/query-soql.mjs.map +1 -1
  123. package/dist/actions/reconnect-chat-session.cjs +2 -2
  124. package/dist/actions/reconnect-chat-session.cjs.map +1 -1
  125. package/dist/actions/reconnect-chat-session.d.cts +16 -3
  126. package/dist/actions/reconnect-chat-session.d.cts.map +1 -1
  127. package/dist/actions/reconnect-chat-session.d.mts +16 -3
  128. package/dist/actions/reconnect-chat-session.d.mts.map +1 -1
  129. package/dist/actions/reconnect-chat-session.mjs +2 -2
  130. package/dist/actions/reconnect-chat-session.mjs.map +1 -1
  131. package/dist/actions/resync-chasitor-state.cjs +1 -1
  132. package/dist/actions/resync-chasitor-state.cjs.map +1 -1
  133. package/dist/actions/resync-chasitor-state.d.cts +17 -3
  134. package/dist/actions/resync-chasitor-state.d.cts.map +1 -1
  135. package/dist/actions/resync-chasitor-state.d.mts +17 -3
  136. package/dist/actions/resync-chasitor-state.d.mts.map +1 -1
  137. package/dist/actions/resync-chasitor-state.mjs +1 -1
  138. package/dist/actions/resync-chasitor-state.mjs.map +1 -1
  139. package/dist/actions/retrieve-salesforce-username.cjs +1 -1
  140. package/dist/actions/retrieve-salesforce-username.cjs.map +1 -1
  141. package/dist/actions/retrieve-salesforce-username.d.cts +5 -3
  142. package/dist/actions/retrieve-salesforce-username.d.cts.map +1 -1
  143. package/dist/actions/retrieve-salesforce-username.d.mts +5 -3
  144. package/dist/actions/retrieve-salesforce-username.d.mts.map +1 -1
  145. package/dist/actions/retrieve-salesforce-username.mjs +1 -1
  146. package/dist/actions/retrieve-salesforce-username.mjs.map +1 -1
  147. package/dist/actions/send-custom-event.cjs +1 -1
  148. package/dist/actions/send-custom-event.cjs.map +1 -1
  149. package/dist/actions/send-custom-event.d.cts +19 -3
  150. package/dist/actions/send-custom-event.d.cts.map +1 -1
  151. package/dist/actions/send-custom-event.d.mts +19 -3
  152. package/dist/actions/send-custom-event.d.mts.map +1 -1
  153. package/dist/actions/send-custom-event.mjs +1 -1
  154. package/dist/actions/send-custom-event.mjs.map +1 -1
  155. package/dist/actions/set-breadcrumb.cjs +1 -1
  156. package/dist/actions/set-breadcrumb.cjs.map +1 -1
  157. package/dist/actions/set-breadcrumb.d.cts +17 -3
  158. package/dist/actions/set-breadcrumb.d.cts.map +1 -1
  159. package/dist/actions/set-breadcrumb.d.mts +17 -3
  160. package/dist/actions/set-breadcrumb.d.mts.map +1 -1
  161. package/dist/actions/set-breadcrumb.mjs +1 -1
  162. package/dist/actions/set-breadcrumb.mjs.map +1 -1
  163. package/dist/actions/upload-file-to-s3.cjs +5 -5
  164. package/dist/actions/upload-file-to-s3.cjs.map +1 -1
  165. package/dist/actions/upload-file-to-s3.d.cts +20 -3
  166. package/dist/actions/upload-file-to-s3.d.cts.map +1 -1
  167. package/dist/actions/upload-file-to-s3.d.mts +20 -3
  168. package/dist/actions/upload-file-to-s3.d.mts.map +1 -1
  169. package/dist/actions/upload-file-to-s3.mjs +5 -5
  170. package/dist/actions/upload-file-to-s3.mjs.map +1 -1
  171. package/dist/actions/visitor-sensitive-data-rule.cjs +2 -2
  172. package/dist/actions/visitor-sensitive-data-rule.cjs.map +1 -1
  173. package/dist/actions/visitor-sensitive-data-rule.d.cts +22 -3
  174. package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
  175. package/dist/actions/visitor-sensitive-data-rule.d.mts +22 -3
  176. package/dist/actions/visitor-sensitive-data-rule.d.mts.map +1 -1
  177. package/dist/actions/visitor-sensitive-data-rule.mjs +2 -2
  178. package/dist/actions/visitor-sensitive-data-rule.mjs.map +1 -1
  179. package/package.json +2 -2
@@ -8,9 +8,9 @@ const SalesforceServiceCloudGetChatMessagesInput = z.object({
8
8
  session_key: z.string().describe("Unique Chat session key")
9
9
  }).describe("Request model for GetChatMessages.");
10
10
  const SalesforceServiceCloudGetChatMessages_ChatMessageSchema = z.object({
11
- type: z.string().describe("The message/event type (e.g., ChatMessage)"),
11
+ type: z.string().describe("The message/event type (e.g., ChatMessage)").nullable(),
12
12
  message: z.record(z.string(), z.unknown()).describe("Payload for the specific message/event type")
13
- }).describe("Individual chat event/message item.");
13
+ }).passthrough().describe("Individual chat event/message item.");
14
14
  const salesforceServiceCloudGetChatMessages = action("SALESFORCE_SERVICE_CLOUD_GET_CHAT_MESSAGES", {
15
15
  slug: "salesforce_service_cloud-get-chat-messages",
16
16
  name: "Get Chat Messages",
@@ -19,7 +19,7 @@ const salesforceServiceCloudGetChatMessages = action("SALESFORCE_SERVICE_CLOUD_G
19
19
  output: z.object({
20
20
  messages: z.array(SalesforceServiceCloudGetChatMessages_ChatMessageSchema).describe("Array of chat events/messages for the session"),
21
21
  sequence: z.number().int().describe("Server-assigned sequence number for ordering; returned when new messages are available").nullable().optional()
22
- }).describe("Response model for GetChatMessages.")
22
+ }).passthrough().describe("Response model for GetChatMessages.")
23
23
  });
24
24
  //#endregion
25
25
  export { salesforceServiceCloudGetChatMessages };
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-messages.mjs","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetChatMessagesInput: z.ZodTypeAny = z.object({\n ack: z.number().int().default(-1).describe(\"Sequencing token for polling; use -1 for the first request\").optional(),\n affinity: z.string().describe(\"Affinity token identifying the session on Chat servers\"),\n api_version: z.string().describe(\"Salesforce API version for the request, e.g., '61.0'\"),\n session_key: z.string().describe(\"Unique Chat session key\"),\n}).describe(\"Request model for GetChatMessages.\");\nconst SalesforceServiceCloudGetChatMessages_ChatMessageSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"The message/event type (e.g., ChatMessage)\"),\n message: z.record(z.string(), z.unknown()).describe(\"Payload for the specific message/event type\"),\n}).describe(\"Individual chat event/message item.\");\nexport const SalesforceServiceCloudGetChatMessagesOutput: z.ZodTypeAny = z.object({\n messages: z.array(SalesforceServiceCloudGetChatMessages_ChatMessageSchema).describe(\"Array of chat events/messages for the session\"),\n sequence: z.number().int().describe(\"Server-assigned sequence number for ordering; returned when new messages are available\").nullable().optional(),\n}).describe(\"Response model for GetChatMessages.\");\n\nexport const salesforceServiceCloudGetChatMessages = action(\"SALESFORCE_SERVICE_CLOUD_GET_CHAT_MESSAGES\", {\n slug: \"salesforce_service_cloud-get-chat-messages\",\n name: \"Get Chat Messages\",\n description: \"Tool to long-poll for chat messages/events. Use after CreateChatSession to retrieve incoming chat events. Returns empty messages list when no new messages (HTTP 204). Call with ack from prior response to maintain sequence.\",\n input: SalesforceServiceCloudGetChatMessagesInput,\n output: SalesforceServiceCloudGetChatMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC5D,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0DAAwE,EAAE,OAAO;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACnG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAMjD,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuE,EAAE,OAAO;EAChF,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+CAA+C;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-chat-messages.mjs","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetChatMessagesInput = z.object({\n ack: z.number().int().default(-1).describe(\"Sequencing token for polling; use -1 for the first request\").optional(),\n affinity: z.string().describe(\"Affinity token identifying the session on Chat servers\"),\n api_version: z.string().describe(\"Salesforce API version for the request, e.g., '61.0'\"),\n session_key: z.string().describe(\"Unique Chat session key\"),\n}).describe(\"Request model for GetChatMessages.\");\nconst SalesforceServiceCloudGetChatMessages_ChatMessageSchema = z.object({\n type: z.string().describe(\"The message/event type (e.g., ChatMessage)\").nullable(),\n message: z.record(z.string(), z.unknown()).describe(\"Payload for the specific message/event type\"),\n}).passthrough().describe(\"Individual chat event/message item.\");\nexport const SalesforceServiceCloudGetChatMessagesOutput = z.object({\n messages: z.array(SalesforceServiceCloudGetChatMessages_ChatMessageSchema).describe(\"Array of chat events/messages for the session\"),\n sequence: z.number().int().describe(\"Server-assigned sequence number for ordering; returned when new messages are available\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetChatMessages.\");\n\nexport const salesforceServiceCloudGetChatMessages = action(\"SALESFORCE_SERVICE_CLOUD_GET_CHAT_MESSAGES\", {\n slug: \"salesforce_service_cloud-get-chat-messages\",\n name: \"Get Chat Messages\",\n description: \"Tool to long-poll for chat messages/events. Use after CreateChatSession to retrieve incoming chat events. Returns empty messages list when no new messages (HTTP 204). Call with ack from prior response to maintain sequence.\",\n input: SalesforceServiceCloudGetChatMessagesInput,\n output: SalesforceServiceCloudGetChatMessagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC5D,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAM/D,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,UAAU,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+CAA+C;EACnI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/get-live-agent-api-version.ts
4
4
  const SalesforceServiceCloudGetLiveAgentApiVersionInput = zod.z.object({}).describe("Request model for retrieving the current Live Agent API version.");
5
5
  const SalesforceServiceCloudGetLiveAgentApiVersionOutput = zod.z.object({
6
- url: zod.z.string().describe("Root URI for the latest API version (use this as base for versioned calls)."),
7
- version: zod.z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').")
8
- }).describe("Response model for the current Live Agent API version.");
6
+ url: zod.z.string().describe("Root URI for the latest API version (use this as base for versioned calls).").nullable(),
7
+ version: zod.z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').").nullable()
8
+ }).passthrough().describe("Response model for the current Live Agent API version.");
9
9
  const salesforceServiceCloudGetLiveAgentApiVersion = require_action.action("SALESFORCE_SERVICE_CLOUD_GET_LIVE_AGENT_API_VERSION", {
10
10
  slug: "salesforce_service_cloud-get-live-agent-api-version",
11
11
  name: "Get Live Agent API Version",
@@ -1 +1 @@
1
- {"version":3,"file":"get-live-agent-api-version.cjs","names":["z","action"],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the current Live Agent API version.\");\nexport const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Root URI for the latest API version (use this as base for versioned calls).\"),\n version: z.string().describe(\"The latest supported Live Agent API version identifier (e.g., '61.0').\"),\n}).describe(\"Response model for the current Live Agent API version.\");\n\nexport const salesforceServiceCloudGetLiveAgentApiVersion = action(\"SALESFORCE_SERVICE_CLOUD_GET_LIVE_AGENT_API_VERSION\", {\n slug: \"salesforce_service_cloud-get-live-agent-api-version\",\n name: \"Get Live Agent API Version\",\n description: \"Tool to retrieve current Live Agent API version. Use when initializing chat sessions to ensure subsequent calls target the correct REST API version.\",\n input: SalesforceServiceCloudGetLiveAgentApiVersionInput,\n output: SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAkEA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACvK,MAAa,qDAAmEA,IAAAA,EAAE,OAAO;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACtG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;AACvG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,+CAA+CC,eAAAA,OAAO,uDAAuD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-live-agent-api-version.cjs","names":["z","action"],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetLiveAgentApiVersionInput = z.object({}).describe(\"Request model for retrieving the current Live Agent API version.\");\nexport const SalesforceServiceCloudGetLiveAgentApiVersionOutput = z.object({\n url: z.string().describe(\"Root URI for the latest API version (use this as base for versioned calls).\").nullable(),\n version: z.string().describe(\"The latest supported Live Agent API version identifier (e.g., '61.0').\").nullable(),\n}).passthrough().describe(\"Response model for the current Live Agent API version.\");\n\nexport const salesforceServiceCloudGetLiveAgentApiVersion = action(\"SALESFORCE_SERVICE_CLOUD_GET_LIVE_AGENT_API_VERSION\", {\n slug: \"salesforce_service_cloud-get-live-agent-api-version\",\n name: \"Get Live Agent API Version\",\n description: \"Tool to retrieve current Live Agent API version. Use when initializing chat sessions to ensure subsequent calls target the correct REST API version.\",\n input: SalesforceServiceCloudGetLiveAgentApiVersionInput,\n output: SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AACzJ,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,+CAA+CC,eAAAA,OAAO,uDAAuD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-live-agent-api-version.d.ts
4
- declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
6
+ url: z.ZodNullable<z.ZodString>;
7
+ version: z.ZodNullable<z.ZodString>;
8
+ }, z.core.$loose>;
9
+ declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
10
  //#endregion
8
11
  export { salesforceServiceCloudGetLiveAgentApiVersion };
9
12
  //# sourceMappingURL=get-live-agent-api-version.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-live-agent-api-version.d.cts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAmD,CAAA,CAAE,UAAsG;AAAA,cAC3J,kDAAA,EAAoD,CAAA,CAAE,UAGE;AAAA,cAExD,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-live-agent-api-version.d.cts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-live-agent-api-version.d.ts
4
- declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
6
+ url: z.ZodNullable<z.ZodString>;
7
+ version: z.ZodNullable<z.ZodString>;
8
+ }, z.core.$loose>;
9
+ declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
10
  //#endregion
8
11
  export { salesforceServiceCloudGetLiveAgentApiVersion };
9
12
  //# sourceMappingURL=get-live-agent-api-version.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-live-agent-api-version.d.mts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAmD,CAAA,CAAE,UAAsG;AAAA,cAC3J,kDAAA,EAAoD,CAAA,CAAE,UAGE;AAAA,cAExD,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-live-agent-api-version.d.mts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,9 +6,9 @@ const salesforceServiceCloudGetLiveAgentApiVersion = action("SALESFORCE_SERVICE_
6
6
  description: "Tool to retrieve current Live Agent API version. Use when initializing chat sessions to ensure subsequent calls target the correct REST API version.",
7
7
  input: z.object({}).describe("Request model for retrieving the current Live Agent API version."),
8
8
  output: z.object({
9
- url: z.string().describe("Root URI for the latest API version (use this as base for versioned calls)."),
10
- version: z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').")
11
- }).describe("Response model for the current Live Agent API version.")
9
+ url: z.string().describe("Root URI for the latest API version (use this as base for versioned calls).").nullable(),
10
+ version: z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').").nullable()
11
+ }).passthrough().describe("Response model for the current Live Agent API version.")
12
12
  });
13
13
  //#endregion
14
14
  export { salesforceServiceCloudGetLiveAgentApiVersion };
@@ -1 +1 @@
1
- {"version":3,"file":"get-live-agent-api-version.mjs","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving the current Live Agent API version.\");\nexport const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"Root URI for the latest API version (use this as base for versioned calls).\"),\n version: z.string().describe(\"The latest supported Live Agent API version identifier (e.g., '61.0').\"),\n}).describe(\"Response model for the current Live Agent API version.\");\n\nexport const salesforceServiceCloudGetLiveAgentApiVersion = action(\"SALESFORCE_SERVICE_CLOUD_GET_LIVE_AGENT_API_VERSION\", {\n slug: \"salesforce_service_cloud-get-live-agent-api-version\",\n name: \"Get Live Agent API Version\",\n description: \"Tool to retrieve current Live Agent API version. Use when initializing chat sessions to ensure subsequent calls target the correct REST API version.\",\n input: SalesforceServiceCloudGetLiveAgentApiVersionInput,\n output: SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n});\n"],"mappings":";;AAUA,MAAa,+CAA+C,OAAO,uDAAuD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV6E,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAU5F;CACP,QAV8E,EAAE,OAAO;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACvG,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-live-agent-api-version.mjs","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetLiveAgentApiVersionInput = z.object({}).describe(\"Request model for retrieving the current Live Agent API version.\");\nexport const SalesforceServiceCloudGetLiveAgentApiVersionOutput = z.object({\n url: z.string().describe(\"Root URI for the latest API version (use this as base for versioned calls).\").nullable(),\n version: z.string().describe(\"The latest supported Live Agent API version identifier (e.g., '61.0').\").nullable(),\n}).passthrough().describe(\"Response model for the current Live Agent API version.\");\n\nexport const salesforceServiceCloudGetLiveAgentApiVersion = action(\"SALESFORCE_SERVICE_CLOUD_GET_LIVE_AGENT_API_VERSION\", {\n slug: \"salesforce_service_cloud-get-live-agent-api-version\",\n name: \"Get Live Agent API Version\",\n description: \"Tool to retrieve current Live Agent API version. Use when initializing chat sessions to ensure subsequent calls target the correct REST API version.\",\n input: SalesforceServiceCloudGetLiveAgentApiVersionInput,\n output: SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n});\n"],"mappings":";;AAUA,MAAa,+CAA+C,OAAO,uDAAuD;CACxH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAV+D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAU9E;CACP,QAVgE,EAAE,OAAO;EACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -3,19 +3,19 @@ let zod = require("zod");
3
3
  //#region src/actions/list-einstein-bots.ts
4
4
  const SalesforceServiceCloudListEinsteinBotsInput = zod.z.object({}).describe("Request model for listing Einstein Bots.\n\nThis action retrieves all Einstein Bot definitions from the Salesforce org\nby querying the BotDefinition object via the Tooling API.\nNo parameters are required.");
5
5
  const SalesforceServiceCloudListEinsteinBots_BotInfoSchema = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the Einstein Bot."),
7
- label: zod.z.string().describe("Display label of the Einstein Bot."),
6
+ id: zod.z.string().describe("Unique identifier for the Einstein Bot.").nullable(),
7
+ label: zod.z.string().describe("Display label of the Einstein Bot.").nullable(),
8
8
  active: zod.z.boolean().describe("Whether the bot is currently active/enabled.").nullable().optional(),
9
- developerName: zod.z.string().describe("API name of the Einstein Bot."),
9
+ developerName: zod.z.string().describe("API name of the Einstein Bot.").nullable(),
10
10
  defaultLanguage: zod.z.string().describe("Default language locale (e.g., en_US, fr_FR).").nullable().optional(),
11
11
  lastModifiedDate: zod.z.string().describe("ISO 8601 timestamp of the last modification.").nullable().optional(),
12
12
  publishedVersion: zod.z.number().int().describe("Published version number of the bot.").nullable().optional()
13
- }).describe("Metadata for an Einstein Bot.");
13
+ }).passthrough().describe("Metadata for an Einstein Bot.");
14
14
  const SalesforceServiceCloudListEinsteinBotsOutput = zod.z.object({
15
15
  items: zod.z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe("List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information."),
16
- totalSize: zod.z.number().int().describe("Total number of Einstein Bots returned in this response."),
16
+ totalSize: zod.z.number().int().describe("Total number of Einstein Bots returned in this response.").nullable(),
17
17
  nextPageUrl: zod.z.string().describe("URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.").nullable().optional()
18
- }).describe("Response model for listing Einstein Bots.\n\nContains a list of Einstein Bot definitions with their metadata.");
18
+ }).passthrough().describe("Response model for listing Einstein Bots.\n\nContains a list of Einstein Bot definitions with their metadata.");
19
19
  const salesforceServiceCloudListEinsteinBots = require_action.action("SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS", {
20
20
  slug: "salesforce_service_cloud-list-einstein-bots",
21
21
  name: "List Einstein Bots",
@@ -1 +1 @@
1
- {"version":3,"file":"list-einstein-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\"),\n label: z.string().describe(\"Display label of the Einstein Bot.\"),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\"),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodTypeAny = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\"),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC/S,MAAM,uDAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAClE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oHAAoH;CAClM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAE3H,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-einstein-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gNAAgN;AACjS,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oHAAoH;CAClM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+GAA+G;AAEzI,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-einstein-bots.d.ts
4
- declare const SalesforceServiceCloudListEinsteinBotsInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudListEinsteinBots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudListEinsteinBotsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
6
+ items: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ label: z.ZodNullable<z.ZodString>;
9
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ developerName: z.ZodNullable<z.ZodString>;
11
+ defaultLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ publishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>;
15
+ totalSize: z.ZodNullable<z.ZodNumber>;
16
+ nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const salesforceServiceCloudListEinsteinBots: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { salesforceServiceCloudListEinsteinBots };
9
21
  //# sourceMappingURL=list-einstein-bots.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-einstein-bots.d.cts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAAoP;AAAA,cAUnS,4CAAA,EAA8C,CAAA,CAAE,UAI+D;AAAA,cAE/G,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-einstein-bots.d.cts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5C,sCAAA,gCAAsC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-einstein-bots.d.ts
4
- declare const SalesforceServiceCloudListEinsteinBotsInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudListEinsteinBots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudListEinsteinBotsInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
6
+ items: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodString>;
8
+ label: z.ZodNullable<z.ZodString>;
9
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ developerName: z.ZodNullable<z.ZodString>;
11
+ defaultLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ publishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ }, z.core.$loose>>;
15
+ totalSize: z.ZodNullable<z.ZodNumber>;
16
+ nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const salesforceServiceCloudListEinsteinBots: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { salesforceServiceCloudListEinsteinBots };
9
21
  //# sourceMappingURL=list-einstein-bots.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-einstein-bots.d.mts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAAoP;AAAA,cAUnS,4CAAA,EAA8C,CAAA,CAAE,UAI+D;AAAA,cAE/G,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-einstein-bots.d.mts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5C,sCAAA,gCAAsC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,14 +3,14 @@ import { z } from "zod";
3
3
  //#region src/actions/list-einstein-bots.ts
4
4
  const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe("Request model for listing Einstein Bots.\n\nThis action retrieves all Einstein Bot definitions from the Salesforce org\nby querying the BotDefinition object via the Tooling API.\nNo parameters are required.");
5
5
  const SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({
6
- id: z.string().describe("Unique identifier for the Einstein Bot."),
7
- label: z.string().describe("Display label of the Einstein Bot."),
6
+ id: z.string().describe("Unique identifier for the Einstein Bot.").nullable(),
7
+ label: z.string().describe("Display label of the Einstein Bot.").nullable(),
8
8
  active: z.boolean().describe("Whether the bot is currently active/enabled.").nullable().optional(),
9
- developerName: z.string().describe("API name of the Einstein Bot."),
9
+ developerName: z.string().describe("API name of the Einstein Bot.").nullable(),
10
10
  defaultLanguage: z.string().describe("Default language locale (e.g., en_US, fr_FR).").nullable().optional(),
11
11
  lastModifiedDate: z.string().describe("ISO 8601 timestamp of the last modification.").nullable().optional(),
12
12
  publishedVersion: z.number().int().describe("Published version number of the bot.").nullable().optional()
13
- }).describe("Metadata for an Einstein Bot.");
13
+ }).passthrough().describe("Metadata for an Einstein Bot.");
14
14
  const salesforceServiceCloudListEinsteinBots = action("SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS", {
15
15
  slug: "salesforce_service_cloud-list-einstein-bots",
16
16
  name: "List Einstein Bots",
@@ -18,9 +18,9 @@ const salesforceServiceCloudListEinsteinBots = action("SALESFORCE_SERVICE_CLOUD_
18
18
  input: SalesforceServiceCloudListEinsteinBotsInput,
19
19
  output: z.object({
20
20
  items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe("List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information."),
21
- totalSize: z.number().int().describe("Total number of Einstein Bots returned in this response."),
21
+ totalSize: z.number().int().describe("Total number of Einstein Bots returned in this response.").nullable(),
22
22
  nextPageUrl: z.string().describe("URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.").nullable().optional()
23
- }).describe("Response model for listing Einstein Bots.\n\nContains a list of Einstein Bot definitions with their metadata.")
23
+ }).passthrough().describe("Response model for listing Einstein Bots.\n\nContains a list of Einstein Bot definitions with their metadata.")
24
24
  });
25
25
  //#endregion
26
26
  export { salesforceServiceCloudListEinsteinBots };
@@ -1 +1 @@
1
- {"version":3,"file":"list-einstein-bots.mjs","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\"),\n label: z.string().describe(\"Display label of the Einstein Bot.\"),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\"),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodTypeAny = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\"),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC/S,MAAM,uDAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAClE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAO3C,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXwE,EAAE,OAAO;EACjF,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oHAAoH;EAClM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,SAAS,+GAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-einstein-bots.mjs","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gNAAgN;AACjS,MAAM,uDAAuD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAOzD,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX0D,EAAE,OAAO;EACnE,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,oHAAoH;EAClM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+GAOhB;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/query-all-soql.ts
4
4
  const SalesforceServiceCloudQueryAllSoqlInput = zod.z.object({ q: zod.z.string().describe("SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.") }).describe("Request model for QueryAllSoql. Use \"ALL ROWS\" in your SOQL to include deleted and archived records.");
5
5
  const SalesforceServiceCloudQueryAllSoql_AttributesSchema = zod.z.object({
6
- url: zod.z.string().describe("URL for the record resource"),
7
- type: zod.z.string().describe("SObject type of the record")
8
- }).describe("Metadata about the SObject record.");
6
+ url: zod.z.string().describe("URL for the record resource").nullable(),
7
+ type: zod.z.string().describe("SObject type of the record").nullable()
8
+ }).passthrough().describe("Metadata about the SObject record.");
9
9
  const SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema = zod.z.object({ attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable() }).passthrough().describe("Individual record returned by the SOQL query.");
10
10
  const SalesforceServiceCloudQueryAllSoqlOutput = zod.z.object({
11
- done: zod.z.boolean().describe("True if all records have been returned in this batch"),
11
+ done: zod.z.boolean().describe("True if all records have been returned in this batch").nullable(),
12
12
  records: zod.z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe("List of returned records for this batch"),
13
- totalSize: zod.z.number().int().describe("Total number of records that match the query"),
13
+ totalSize: zod.z.number().int().describe("Total number of records that match the query").nullable(),
14
14
  nextRecordsUrl: zod.z.string().describe("URL to retrieve the next batch of records if done is false").nullable().optional()
15
- }).describe("Response model for QueryAllSoql.");
15
+ }).passthrough().describe("Response model for QueryAllSoql.");
16
16
  const salesforceServiceCloudQueryAllSoql = require_action.action("SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL", {
17
17
  slug: "salesforce_service_cloud-query-all-soql",
18
18
  name: "Query All SOQL",
@@ -1 +1 @@
1
- {"version":3,"file":"query-all-soql.cjs","names":["z","action"],"sources":["../../src/actions/query-all-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQueryAllSoqlInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.\"),\n}).describe(\"Request model for QueryAllSoql. Use \\\"ALL ROWS\\\" in your SOQL to include deleted and archived records.\");\nconst SalesforceServiceCloudQueryAllSoql_AttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for the record resource\"),\n type: z.string().describe(\"SObject type of the record\"),\n}).describe(\"Metadata about the SObject record.\");\nconst SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema: z.ZodTypeAny = z.object({\n attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable(),\n}).passthrough().describe(\"Individual record returned by the SOQL query.\");\nexport const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodTypeAny = z.object({\n done: z.boolean().describe(\"True if all records have been returned in this batch\"),\n records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe(\"List of returned records for this batch\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query\"),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records if done is false\").nullable().optional(),\n}).describe(\"Response model for QueryAllSoql.\");\n\nexport const salesforceServiceCloudQueryAllSoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL\", {\n slug: \"salesforce_service_cloud-query-all-soql\",\n name: \"Query All SOQL\",\n description: \"Tool to execute a SOQL query including deleted and archived records. Use when you need to fetch all rows including soft-deleted data in Salesforce.\",\n input: SalesforceServiceCloudQueryAllSoqlInput,\n output: SalesforceServiceCloudQueryAllSoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC1H,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO,EACjF,YAAY,oDAAoD,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACjF,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACnF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-all-soql.cjs","names":["z","action"],"sources":["../../src/actions/query-all-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQueryAllSoqlInput = z.object({\n q: z.string().describe(\"SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.\"),\n}).describe(\"Request model for QueryAllSoql. Use \\\"ALL ROWS\\\" in your SOQL to include deleted and archived records.\");\nconst SalesforceServiceCloudQueryAllSoql_AttributesSchema = z.object({\n url: z.string().describe(\"URL for the record resource\").nullable(),\n type: z.string().describe(\"SObject type of the record\").nullable(),\n}).passthrough().describe(\"Metadata about the SObject record.\");\nconst SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema = z.object({\n attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable(),\n}).passthrough().describe(\"Individual record returned by the SOQL query.\");\nexport const SalesforceServiceCloudQueryAllSoqlOutput = z.object({\n done: z.boolean().describe(\"True if all records have been returned in this batch\").nullable(),\n records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe(\"List of returned records for this batch\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records if done is false\").nullable().optional(),\n}).passthrough().describe(\"Response model for QueryAllSoql.\");\n\nexport const salesforceServiceCloudQueryAllSoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL\", {\n slug: \"salesforce_service_cloud-query-all-soql\",\n name: \"Query All SOQL\",\n description: \"Tool to execute a SOQL query including deleted and archived records. Use when you need to fetch all rows including soft-deleted data in Salesforce.\",\n input: SalesforceServiceCloudQueryAllSoqlInput,\n output: SalesforceServiceCloudQueryAllSoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC1H,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsDA,IAAAA,EAAE,OAAO,EACnE,YAAY,oDAAoD,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC9F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/query-all-soql.d.ts
4
- declare const SalesforceServiceCloudQueryAllSoqlInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudQueryAllSoqlInput: z.ZodObject<{
5
+ q: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodObject<{
8
+ done: z.ZodNullable<z.ZodBoolean>;
9
+ records: z.ZodArray<z.ZodObject<{
10
+ attributes: z.ZodNullable<z.ZodObject<{
11
+ url: z.ZodNullable<z.ZodString>;
12
+ type: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
+ totalSize: z.ZodNullable<z.ZodNumber>;
16
+ nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ q: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { salesforceServiceCloudQueryAllSoql };
9
23
  //# sourceMappingURL=query-all-soql.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-all-soql.d.cts","names":[],"sources":["../../src/actions/query-all-soql.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAE6D;AAAA,cAQxG,wCAAA,EAA0C,CAAA,CAAE,UAKV;AAAA,cAElC,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-all-soql.d.cts","names":[],"sources":["../../src/actions/query-all-soql.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAUvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/query-all-soql.d.ts
4
- declare const SalesforceServiceCloudQueryAllSoqlInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudQueryAllSoqlInput: z.ZodObject<{
5
+ q: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodObject<{
8
+ done: z.ZodNullable<z.ZodBoolean>;
9
+ records: z.ZodArray<z.ZodObject<{
10
+ attributes: z.ZodNullable<z.ZodObject<{
11
+ url: z.ZodNullable<z.ZodString>;
12
+ type: z.ZodNullable<z.ZodString>;
13
+ }, z.core.$loose>>;
14
+ }, z.core.$loose>>;
15
+ totalSize: z.ZodNullable<z.ZodNumber>;
16
+ nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>;
18
+ declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ q: string;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { salesforceServiceCloudQueryAllSoql };
9
23
  //# sourceMappingURL=query-all-soql.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-all-soql.d.mts","names":[],"sources":["../../src/actions/query-all-soql.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAE6D;AAAA,cAQxG,wCAAA,EAA0C,CAAA,CAAE,UAKV;AAAA,cAElC,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-all-soql.d.mts","names":[],"sources":["../../src/actions/query-all-soql.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAUvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;cAOxC,kCAAA,gCAAkC,wBAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/query-all-soql.ts
4
4
  const SalesforceServiceCloudQueryAllSoqlInput = z.object({ q: z.string().describe("SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.") }).describe("Request model for QueryAllSoql. Use \"ALL ROWS\" in your SOQL to include deleted and archived records.");
5
5
  const SalesforceServiceCloudQueryAllSoql_AttributesSchema = z.object({
6
- url: z.string().describe("URL for the record resource"),
7
- type: z.string().describe("SObject type of the record")
8
- }).describe("Metadata about the SObject record.");
6
+ url: z.string().describe("URL for the record resource").nullable(),
7
+ type: z.string().describe("SObject type of the record").nullable()
8
+ }).passthrough().describe("Metadata about the SObject record.");
9
9
  const SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema = z.object({ attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable() }).passthrough().describe("Individual record returned by the SOQL query.");
10
10
  const salesforceServiceCloudQueryAllSoql = action("SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL", {
11
11
  slug: "salesforce_service_cloud-query-all-soql",
@@ -13,11 +13,11 @@ const salesforceServiceCloudQueryAllSoql = action("SALESFORCE_SERVICE_CLOUD_QUER
13
13
  description: "Tool to execute a SOQL query including deleted and archived records. Use when you need to fetch all rows including soft-deleted data in Salesforce.",
14
14
  input: SalesforceServiceCloudQueryAllSoqlInput,
15
15
  output: z.object({
16
- done: z.boolean().describe("True if all records have been returned in this batch"),
16
+ done: z.boolean().describe("True if all records have been returned in this batch").nullable(),
17
17
  records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe("List of returned records for this batch"),
18
- totalSize: z.number().int().describe("Total number of records that match the query"),
18
+ totalSize: z.number().int().describe("Total number of records that match the query").nullable(),
19
19
  nextRecordsUrl: z.string().describe("URL to retrieve the next batch of records if done is false").nullable().optional()
20
- }).describe("Response model for QueryAllSoql.")
20
+ }).passthrough().describe("Response model for QueryAllSoql.")
21
21
  });
22
22
  //#endregion
23
23
  export { salesforceServiceCloudQueryAllSoql };
@@ -1 +1 @@
1
- {"version":3,"file":"query-all-soql.mjs","names":[],"sources":["../../src/actions/query-all-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQueryAllSoqlInput: z.ZodTypeAny = z.object({\n q: z.string().describe(\"SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.\"),\n}).describe(\"Request model for QueryAllSoql. Use \\\"ALL ROWS\\\" in your SOQL to include deleted and archived records.\");\nconst SalesforceServiceCloudQueryAllSoql_AttributesSchema: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL for the record resource\"),\n type: z.string().describe(\"SObject type of the record\"),\n}).describe(\"Metadata about the SObject record.\");\nconst SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema: z.ZodTypeAny = z.object({\n attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable(),\n}).passthrough().describe(\"Individual record returned by the SOQL query.\");\nexport const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodTypeAny = z.object({\n done: z.boolean().describe(\"True if all records have been returned in this batch\"),\n records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe(\"List of returned records for this batch\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query\"),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records if done is false\").nullable().optional(),\n}).describe(\"Response model for QueryAllSoql.\");\n\nexport const salesforceServiceCloudQueryAllSoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL\", {\n slug: \"salesforce_service_cloud-query-all-soql\",\n name: \"Query All SOQL\",\n description: \"Tool to execute a SOQL query including deleted and archived records. Use when you need to fetch all rows including soft-deleted data in Salesforce.\",\n input: SalesforceServiceCloudQueryAllSoqlInput,\n output: SalesforceServiceCloudQueryAllSoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwD,EAAE,OAAO,EAC5E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC1H,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,sDAAoE,EAAE,OAAO;CACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,sDAAoE,EAAE,OAAO,EACjF,YAAY,oDAAoD,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoE,EAAE,OAAO;EAC7E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;EACjF,SAAS,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;EACnF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-all-soql.mjs","names":[],"sources":["../../src/actions/query-all-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQueryAllSoqlInput = z.object({\n q: z.string().describe(\"SOQL query string to execute, must end with 'ALL ROWS' to include deleted and archived records.\"),\n}).describe(\"Request model for QueryAllSoql. Use \\\"ALL ROWS\\\" in your SOQL to include deleted and archived records.\");\nconst SalesforceServiceCloudQueryAllSoql_AttributesSchema = z.object({\n url: z.string().describe(\"URL for the record resource\").nullable(),\n type: z.string().describe(\"SObject type of the record\").nullable(),\n}).passthrough().describe(\"Metadata about the SObject record.\");\nconst SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema = z.object({\n attributes: SalesforceServiceCloudQueryAllSoql_AttributesSchema.nullable(),\n}).passthrough().describe(\"Individual record returned by the SOQL query.\");\nexport const SalesforceServiceCloudQueryAllSoqlOutput = z.object({\n done: z.boolean().describe(\"True if all records have been returned in this batch\").nullable(),\n records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe(\"List of returned records for this batch\"),\n totalSize: z.number().int().describe(\"Total number of records that match the query\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records if done is false\").nullable().optional(),\n}).passthrough().describe(\"Response model for QueryAllSoql.\");\n\nexport const salesforceServiceCloudQueryAllSoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_ALL_SOQL\", {\n slug: \"salesforce_service_cloud-query-all-soql\",\n name: \"Query All SOQL\",\n description: \"Tool to execute a SOQL query including deleted and archived records. Use when you need to fetch all rows including soft-deleted data in Salesforce.\",\n input: SalesforceServiceCloudQueryAllSoqlInput,\n output: SalesforceServiceCloudQueryAllSoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,EAC1H,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,sDAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,sDAAsD,EAAE,OAAO,EACnE,YAAY,oDAAoD,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAQzE,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC5F,SAAS,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,yCAAyC;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EAC9F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/query-soql.ts
4
4
  const SalesforceServiceCloudQuerySoqlInput = zod.z.object({ soql_query: zod.z.string().describe("SOQL query string to execute.") }).describe("Request model for executing a SOQL query.");
5
5
  const SalesforceServiceCloudQuerySoqlOutput = zod.z.object({
6
- done: zod.z.boolean().describe("True if all records have been returned; false if more records are available."),
6
+ done: zod.z.boolean().describe("True if all records have been returned; false if more records are available.").nullable(),
7
7
  records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of records returned in this batch."),
8
- totalSize: zod.z.number().int().describe("Total number of records matched by the query."),
8
+ totalSize: zod.z.number().int().describe("Total number of records matched by the query.").nullable(),
9
9
  nextRecordsUrl: zod.z.string().describe("URL to retrieve the next batch of records when done is false.").nullable().optional()
10
- }).describe("Response model for a SOQL query result.");
10
+ }).passthrough().describe("Response model for a SOQL query result.");
11
11
  const salesforceServiceCloudQuerySoql = require_action.action("SALESFORCE_SERVICE_CLOUD_QUERY_SOQL", {
12
12
  slug: "salesforce_service_cloud-query-soql",
13
13
  name: "Query SOQL",
@@ -1 +1 @@
1
- {"version":3,"file":"query-soql.cjs","names":["z","action"],"sources":["../../src/actions/query-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQuerySoqlInput: z.ZodTypeAny = z.object({\n soql_query: z.string().describe(\"SOQL query string to execute.\"),\n}).describe(\"Request model for executing a SOQL query.\");\nexport const SalesforceServiceCloudQuerySoqlOutput: z.ZodTypeAny = z.object({\n done: z.boolean().describe(\"True if all records have been returned; false if more records are available.\"),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records returned in this batch.\"),\n totalSize: z.number().int().describe(\"Total number of records matched by the query.\"),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records when done is false.\").nullable().optional(),\n}).describe(\"Response model for a SOQL query result.\");\n\nexport const salesforceServiceCloudQuerySoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_SOQL\", {\n slug: \"salesforce_service_cloud-query-soql\",\n name: \"Query SOQL\",\n description: \"Tool to execute a SOQL query. Use when you need to retrieve records from Salesforce via SOQL.\",\n input: SalesforceServiceCloudQuerySoqlInput,\n output: SalesforceServiceCloudQuerySoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACjE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E;CACzG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACpF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-soql.cjs","names":["z","action"],"sources":["../../src/actions/query-soql.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudQuerySoqlInput = z.object({\n soql_query: z.string().describe(\"SOQL query string to execute.\"),\n}).describe(\"Request model for executing a SOQL query.\");\nexport const SalesforceServiceCloudQuerySoqlOutput = z.object({\n done: z.boolean().describe(\"True if all records have been returned; false if more records are available.\").nullable(),\n records: z.array(z.record(z.string(), z.unknown())).describe(\"List of records returned in this batch.\"),\n totalSize: z.number().int().describe(\"Total number of records matched by the query.\").nullable(),\n nextRecordsUrl: z.string().describe(\"URL to retrieve the next batch of records when done is false.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a SOQL query result.\");\n\nexport const salesforceServiceCloudQuerySoql = action(\"SALESFORCE_SERVICE_CLOUD_QUERY_SOQL\", {\n slug: \"salesforce_service_cloud-query-soql\",\n name: \"Query SOQL\",\n description: \"Tool to execute a SOQL query. Use when you need to retrieve records from Salesforce via SOQL.\",\n input: SalesforceServiceCloudQuerySoqlInput,\n output: SalesforceServiceCloudQuerySoqlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACjE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACpH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC/F,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,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/query-soql.d.ts
4
- declare const SalesforceServiceCloudQuerySoqlInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudQuerySoqlInput: z.ZodObject<{
5
+ soql_query: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodObject<{
8
+ done: z.ZodNullable<z.ZodBoolean>;
9
+ records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ totalSize: z.ZodNullable<z.ZodNumber>;
11
+ nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>;
13
+ declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ soql_query: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { salesforceServiceCloudQuerySoql };
9
18
  //# sourceMappingURL=query-soql.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-soql.d.cts","names":[],"sources":["../../src/actions/query-soql.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEG;AAAA,cAC3C,qCAAA,EAAuC,CAAA,CAAE,UAKA;AAAA,cAEzC,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-soql.d.cts","names":[],"sources":["../../src/actions/query-soql.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/query-soql.d.ts
4
- declare const SalesforceServiceCloudQuerySoqlInput: z.ZodTypeAny;
5
- declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodTypeAny;
6
- declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SalesforceServiceCloudQuerySoqlInput: z.ZodObject<{
5
+ soql_query: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodObject<{
8
+ done: z.ZodNullable<z.ZodBoolean>;
9
+ records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
+ totalSize: z.ZodNullable<z.ZodNumber>;
11
+ nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$loose>;
13
+ declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ soql_query: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { salesforceServiceCloudQuerySoql };
9
18
  //# sourceMappingURL=query-soql.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-soql.d.mts","names":[],"sources":["../../src/actions/query-soql.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEG;AAAA,cAC3C,qCAAA,EAAuC,CAAA,CAAE,UAKA;AAAA,cAEzC,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"query-soql.d.mts","names":[],"sources":["../../src/actions/query-soql.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAGpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;cAOrC,+BAAA,gCAA+B,wBAAA"}
@@ -6,11 +6,11 @@ const salesforceServiceCloudQuerySoql = action("SALESFORCE_SERVICE_CLOUD_QUERY_S
6
6
  description: "Tool to execute a SOQL query. Use when you need to retrieve records from Salesforce via SOQL.",
7
7
  input: z.object({ soql_query: z.string().describe("SOQL query string to execute.") }).describe("Request model for executing a SOQL query."),
8
8
  output: z.object({
9
- done: z.boolean().describe("True if all records have been returned; false if more records are available."),
9
+ done: z.boolean().describe("True if all records have been returned; false if more records are available.").nullable(),
10
10
  records: z.array(z.record(z.string(), z.unknown())).describe("List of records returned in this batch."),
11
- totalSize: z.number().int().describe("Total number of records matched by the query."),
11
+ totalSize: z.number().int().describe("Total number of records matched by the query.").nullable(),
12
12
  nextRecordsUrl: z.string().describe("URL to retrieve the next batch of records when done is false.").nullable().optional()
13
- }).describe("Response model for a SOQL query result.")
13
+ }).passthrough().describe("Response model for a SOQL query result.")
14
14
  });
15
15
  //#endregion
16
16
  export { salesforceServiceCloudQuerySoql };