@keystrokehq/salesforce_service_cloud 0.1.2 → 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 (139) hide show
  1. package/dist/actions/chasitor-sneak-peek.cjs +1 -1
  2. package/dist/actions/chasitor-sneak-peek.cjs.map +1 -1
  3. package/dist/actions/chasitor-sneak-peek.d.cts +1 -1
  4. package/dist/actions/chasitor-sneak-peek.d.mts +1 -1
  5. package/dist/actions/chasitor-sneak-peek.mjs +1 -1
  6. package/dist/actions/chasitor-sneak-peek.mjs.map +1 -1
  7. package/dist/actions/composite-batch.cjs +3 -3
  8. package/dist/actions/composite-batch.cjs.map +1 -1
  9. package/dist/actions/composite-batch.d.cts +4 -3
  10. package/dist/actions/composite-batch.d.cts.map +1 -1
  11. package/dist/actions/composite-batch.d.mts +4 -3
  12. package/dist/actions/composite-batch.d.mts.map +1 -1
  13. package/dist/actions/composite-batch.mjs +3 -3
  14. package/dist/actions/composite-batch.mjs.map +1 -1
  15. package/dist/actions/composite-request.cjs +4 -4
  16. package/dist/actions/composite-request.cjs.map +1 -1
  17. package/dist/actions/composite-request.d.cts +6 -5
  18. package/dist/actions/composite-request.d.cts.map +1 -1
  19. package/dist/actions/composite-request.d.mts +6 -5
  20. package/dist/actions/composite-request.d.mts.map +1 -1
  21. package/dist/actions/composite-request.mjs +4 -4
  22. package/dist/actions/composite-request.mjs.map +1 -1
  23. package/dist/actions/composite-sobject-tree.cjs +3 -3
  24. package/dist/actions/composite-sobject-tree.cjs.map +1 -1
  25. package/dist/actions/composite-sobject-tree.d.cts +3 -3
  26. package/dist/actions/composite-sobject-tree.d.mts +3 -3
  27. package/dist/actions/composite-sobject-tree.mjs +3 -3
  28. package/dist/actions/composite-sobject-tree.mjs.map +1 -1
  29. package/dist/actions/create-case-record.cjs +2 -2
  30. package/dist/actions/create-case-record.cjs.map +1 -1
  31. package/dist/actions/create-case-record.d.cts +2 -2
  32. package/dist/actions/create-case-record.d.mts +2 -2
  33. package/dist/actions/create-case-record.mjs +2 -2
  34. package/dist/actions/create-case-record.mjs.map +1 -1
  35. package/dist/actions/delete-case-record.cjs +1 -1
  36. package/dist/actions/delete-case-record.cjs.map +1 -1
  37. package/dist/actions/delete-case-record.d.cts +1 -1
  38. package/dist/actions/delete-case-record.d.mts +1 -1
  39. package/dist/actions/delete-case-record.mjs +1 -1
  40. package/dist/actions/delete-case-record.mjs.map +1 -1
  41. package/dist/actions/describe-s-object.cjs +2 -2
  42. package/dist/actions/describe-s-object.cjs.map +1 -1
  43. package/dist/actions/describe-s-object.d.cts +2 -2
  44. package/dist/actions/describe-s-object.d.mts +2 -2
  45. package/dist/actions/describe-s-object.mjs +2 -2
  46. package/dist/actions/describe-s-object.mjs.map +1 -1
  47. package/dist/actions/generate-request-id.cjs +1 -1
  48. package/dist/actions/generate-request-id.cjs.map +1 -1
  49. package/dist/actions/generate-request-id.d.cts +1 -1
  50. package/dist/actions/generate-request-id.d.mts +1 -1
  51. package/dist/actions/generate-request-id.mjs +1 -1
  52. package/dist/actions/generate-request-id.mjs.map +1 -1
  53. package/dist/actions/generate-signed-jwt-assertion.cjs +1 -1
  54. package/dist/actions/generate-signed-jwt-assertion.cjs.map +1 -1
  55. package/dist/actions/generate-signed-jwt-assertion.d.cts +1 -1
  56. package/dist/actions/generate-signed-jwt-assertion.d.mts +1 -1
  57. package/dist/actions/generate-signed-jwt-assertion.mjs +1 -1
  58. package/dist/actions/generate-signed-jwt-assertion.mjs.map +1 -1
  59. package/dist/actions/get-case-record.cjs +1 -1
  60. package/dist/actions/get-case-record.cjs.map +1 -1
  61. package/dist/actions/get-case-record.d.cts +1 -1
  62. package/dist/actions/get-case-record.d.mts +1 -1
  63. package/dist/actions/get-case-record.mjs +1 -1
  64. package/dist/actions/get-case-record.mjs.map +1 -1
  65. package/dist/actions/get-chat-messages.cjs +2 -2
  66. package/dist/actions/get-chat-messages.cjs.map +1 -1
  67. package/dist/actions/get-chat-messages.d.cts +2 -2
  68. package/dist/actions/get-chat-messages.d.mts +2 -2
  69. package/dist/actions/get-chat-messages.mjs +2 -2
  70. package/dist/actions/get-chat-messages.mjs.map +1 -1
  71. package/dist/actions/get-live-agent-api-version.cjs +1 -1
  72. package/dist/actions/get-live-agent-api-version.cjs.map +1 -1
  73. package/dist/actions/get-live-agent-api-version.d.cts +1 -1
  74. package/dist/actions/get-live-agent-api-version.d.mts +1 -1
  75. package/dist/actions/get-live-agent-api-version.mjs +1 -1
  76. package/dist/actions/get-live-agent-api-version.mjs.map +1 -1
  77. package/dist/actions/list-einstein-bots.cjs +2 -2
  78. package/dist/actions/list-einstein-bots.cjs.map +1 -1
  79. package/dist/actions/list-einstein-bots.d.cts +2 -2
  80. package/dist/actions/list-einstein-bots.d.mts +2 -2
  81. package/dist/actions/list-einstein-bots.mjs +2 -2
  82. package/dist/actions/list-einstein-bots.mjs.map +1 -1
  83. package/dist/actions/query-all-soql.cjs +2 -2
  84. package/dist/actions/query-all-soql.cjs.map +1 -1
  85. package/dist/actions/query-all-soql.d.cts +2 -2
  86. package/dist/actions/query-all-soql.d.mts +2 -2
  87. package/dist/actions/query-all-soql.mjs +2 -2
  88. package/dist/actions/query-all-soql.mjs.map +1 -1
  89. package/dist/actions/query-soql.cjs +1 -1
  90. package/dist/actions/query-soql.cjs.map +1 -1
  91. package/dist/actions/query-soql.d.cts +1 -1
  92. package/dist/actions/query-soql.d.mts +1 -1
  93. package/dist/actions/query-soql.mjs +1 -1
  94. package/dist/actions/query-soql.mjs.map +1 -1
  95. package/dist/actions/reconnect-chat-session.cjs +1 -1
  96. package/dist/actions/reconnect-chat-session.cjs.map +1 -1
  97. package/dist/actions/reconnect-chat-session.d.cts +1 -1
  98. package/dist/actions/reconnect-chat-session.d.mts +1 -1
  99. package/dist/actions/reconnect-chat-session.mjs +1 -1
  100. package/dist/actions/reconnect-chat-session.mjs.map +1 -1
  101. package/dist/actions/resync-chasitor-state.cjs +1 -1
  102. package/dist/actions/resync-chasitor-state.cjs.map +1 -1
  103. package/dist/actions/resync-chasitor-state.d.cts +1 -1
  104. package/dist/actions/resync-chasitor-state.d.mts +1 -1
  105. package/dist/actions/resync-chasitor-state.mjs +1 -1
  106. package/dist/actions/resync-chasitor-state.mjs.map +1 -1
  107. package/dist/actions/retrieve-salesforce-username.cjs +1 -1
  108. package/dist/actions/retrieve-salesforce-username.cjs.map +1 -1
  109. package/dist/actions/retrieve-salesforce-username.d.cts +1 -1
  110. package/dist/actions/retrieve-salesforce-username.d.mts +1 -1
  111. package/dist/actions/retrieve-salesforce-username.mjs +1 -1
  112. package/dist/actions/retrieve-salesforce-username.mjs.map +1 -1
  113. package/dist/actions/send-custom-event.cjs +1 -1
  114. package/dist/actions/send-custom-event.cjs.map +1 -1
  115. package/dist/actions/send-custom-event.d.cts +1 -1
  116. package/dist/actions/send-custom-event.d.mts +1 -1
  117. package/dist/actions/send-custom-event.mjs +1 -1
  118. package/dist/actions/send-custom-event.mjs.map +1 -1
  119. package/dist/actions/set-breadcrumb.cjs +1 -1
  120. package/dist/actions/set-breadcrumb.cjs.map +1 -1
  121. package/dist/actions/set-breadcrumb.d.cts +1 -1
  122. package/dist/actions/set-breadcrumb.d.mts +1 -1
  123. package/dist/actions/set-breadcrumb.mjs +1 -1
  124. package/dist/actions/set-breadcrumb.mjs.map +1 -1
  125. package/dist/actions/upload-file-to-s3.cjs +1 -1
  126. package/dist/actions/upload-file-to-s3.cjs.map +1 -1
  127. package/dist/actions/upload-file-to-s3.d.cts +1 -1
  128. package/dist/actions/upload-file-to-s3.d.mts +1 -1
  129. package/dist/actions/upload-file-to-s3.mjs +1 -1
  130. package/dist/actions/upload-file-to-s3.mjs.map +1 -1
  131. package/dist/actions/visitor-sensitive-data-rule.cjs +2 -2
  132. package/dist/actions/visitor-sensitive-data-rule.cjs.map +1 -1
  133. package/dist/actions/visitor-sensitive-data-rule.d.cts +3 -2
  134. package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
  135. package/dist/actions/visitor-sensitive-data-rule.d.mts +3 -2
  136. package/dist/actions/visitor-sensitive-data-rule.d.mts.map +1 -1
  137. package/dist/actions/visitor-sensitive-data-rule.mjs +2 -2
  138. package/dist/actions/visitor-sensitive-data-rule.mjs.map +1 -1
  139. package/package.json +1 -1
@@ -10,7 +10,7 @@ const SalesforceServiceCloudGetChatMessagesInput = z.object({
10
10
  const SalesforceServiceCloudGetChatMessages_ChatMessageSchema = z.object({
11
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.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}).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}).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,SAAS,qCAAqC;AAMjD,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,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"}
@@ -5,7 +5,7 @@ const SalesforceServiceCloudGetLiveAgentApiVersionInput = zod.z.object({}).descr
5
5
  const SalesforceServiceCloudGetLiveAgentApiVersionOutput = zod.z.object({
6
6
  url: zod.z.string().describe("Root URI for the latest API version (use this as base for versioned calls).").nullable(),
7
7
  version: zod.z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').").nullable()
8
- }).describe("Response model for the current Live Agent API version.");
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.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}).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,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"}
@@ -5,7 +5,7 @@ declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodObject<{},
5
5
  declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
6
6
  url: z.ZodNullable<z.ZodString>;
7
7
  version: z.ZodNullable<z.ZodString>;
8
- }, z.core.$strip>;
8
+ }, z.core.$loose>;
9
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]>;
10
10
  //#endregion
11
11
  export { salesforceServiceCloudGetLiveAgentApiVersion };
@@ -5,7 +5,7 @@ declare const SalesforceServiceCloudGetLiveAgentApiVersionInput: z.ZodObject<{},
5
5
  declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
6
6
  url: z.ZodNullable<z.ZodString>;
7
7
  version: z.ZodNullable<z.ZodString>;
8
- }, z.core.$strip>;
8
+ }, z.core.$loose>;
9
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]>;
10
10
  //#endregion
11
11
  export { salesforceServiceCloudGetLiveAgentApiVersion };
@@ -8,7 +8,7 @@ const salesforceServiceCloudGetLiveAgentApiVersion = action("SALESFORCE_SERVICE_
8
8
  output: z.object({
9
9
  url: z.string().describe("Root URI for the latest API version (use this as base for versioned calls).").nullable(),
10
10
  version: z.string().describe("The latest supported Live Agent API version identifier (e.g., '61.0').").nullable()
11
- }).describe("Response model for the current Live Agent API version.")
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.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}).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,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"}
@@ -10,12 +10,12 @@ const SalesforceServiceCloudListEinsteinBots_BotInfoSchema = zod.z.object({
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
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.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}).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}).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,SAAS,+BAA+B;AAC3C,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,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"}
@@ -11,10 +11,10 @@ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
11
11
  defaultLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  publishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  totalSize: z.ZodNullable<z.ZodNumber>;
16
16
  nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { salesforceServiceCloudListEinsteinBots };
@@ -11,10 +11,10 @@ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
11
11
  defaultLanguage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  lastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  publishedVersion: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  totalSize: z.ZodNullable<z.ZodNumber>;
16
16
  nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
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]>;
19
19
  //#endregion
20
20
  export { salesforceServiceCloudListEinsteinBots };
@@ -10,7 +10,7 @@ const SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({
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",
@@ -20,7 +20,7 @@ const salesforceServiceCloudListEinsteinBots = action("SALESFORCE_SERVICE_CLOUD_
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
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.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}).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}).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,SAAS,+BAA+B;AAO3C,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,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"}
@@ -5,14 +5,14 @@ const SalesforceServiceCloudQueryAllSoqlInput = zod.z.object({ q: zod.z.string()
5
5
  const SalesforceServiceCloudQueryAllSoql_AttributesSchema = zod.z.object({
6
6
  url: zod.z.string().describe("URL for the record resource").nullable(),
7
7
  type: zod.z.string().describe("SObject type of the record").nullable()
8
- }).describe("Metadata about the SObject record.");
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
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
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.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}).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}).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,SAAS,oCAAoC;AAChD,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,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"}
@@ -10,11 +10,11 @@ declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodObject<{
10
10
  attributes: z.ZodNullable<z.ZodObject<{
11
11
  url: z.ZodNullable<z.ZodString>;
12
12
  type: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  }, z.core.$loose>>;
15
15
  totalSize: z.ZodNullable<z.ZodNumber>;
16
16
  nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  q: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,11 +10,11 @@ declare const SalesforceServiceCloudQueryAllSoqlOutput: z.ZodObject<{
10
10
  attributes: z.ZodNullable<z.ZodObject<{
11
11
  url: z.ZodNullable<z.ZodString>;
12
12
  type: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  }, z.core.$loose>>;
15
15
  totalSize: z.ZodNullable<z.ZodNumber>;
16
16
  nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const salesforceServiceCloudQueryAllSoql: import("@keystrokehq/action").WorkflowActionDefinition<{
19
19
  q: string;
20
20
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const SalesforceServiceCloudQueryAllSoqlInput = z.object({ q: z.string().describ
5
5
  const SalesforceServiceCloudQueryAllSoql_AttributesSchema = z.object({
6
6
  url: z.string().describe("URL for the record resource").nullable(),
7
7
  type: z.string().describe("SObject type of the record").nullable()
8
- }).describe("Metadata about the SObject record.");
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",
@@ -17,7 +17,7 @@ const salesforceServiceCloudQueryAllSoql = action("SALESFORCE_SERVICE_CLOUD_QUER
17
17
  records: z.array(SalesforceServiceCloudQueryAllSoql_SoqlRecordSchema).describe("List of returned records for this batch"),
18
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.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}).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}).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,SAAS,oCAAoC;AAChD,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,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"}
@@ -7,7 +7,7 @@ const SalesforceServiceCloudQuerySoqlOutput = zod.z.object({
7
7
  records: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("List of records returned in this batch."),
8
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.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}).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,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"}
@@ -9,7 +9,7 @@ declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodObject<{
9
9
  records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  totalSize: z.ZodNullable<z.ZodNumber>;
11
11
  nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  soql_query: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -9,7 +9,7 @@ declare const SalesforceServiceCloudQuerySoqlOutput: z.ZodObject<{
9
9
  records: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
10
  totalSize: z.ZodNullable<z.ZodNumber>;
11
11
  nextRecordsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const salesforceServiceCloudQuerySoql: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  soql_query: string;
15
15
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,7 +10,7 @@ const salesforceServiceCloudQuerySoql = action("SALESFORCE_SERVICE_CLOUD_QUERY_S
10
10
  records: z.array(z.record(z.string(), z.unknown())).describe("List of records returned in this batch."),
11
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 };
@@ -1 +1 @@
1
- {"version":3,"file":"query-soql.mjs","names":[],"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}).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":";;AAcA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACjE,CAAC,CAAC,CAAC,SAAS,2CAYH;CACP,QAZmD,EAAE,OAAO;EAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACpH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-soql.mjs","names":[],"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":";;AAcA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdkD,EAAE,OAAO,EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EACjE,CAAC,CAAC,CAAC,SAAS,2CAYH;CACP,QAZmD,EAAE,OAAO;EAC5D,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACpH,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,yCAAyC;EACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const SalesforceServiceCloudReconnectChatSessionInput = zod.z.object({
10
10
  const SalesforceServiceCloudReconnectChatSessionOutput = zod.z.object({
11
11
  success: zod.z.boolean().describe("True if reconnect was acknowledged as successful").nullable(),
12
12
  response_text: zod.z.string().describe("Raw response body from Salesforce, often 'OK' on success").nullable().optional()
13
- }).describe("Response model for ReconnectChatSession.\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.");
13
+ }).passthrough().describe("Response model for ReconnectChatSession.\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.");
14
14
  const salesforceServiceCloudReconnectChatSession = require_action.action("SALESFORCE_SERVICE_CLOUD_RECONNECT_CHAT_SESSION", {
15
15
  slug: "salesforce_service_cloud-reconnect-chat-session",
16
16
  name: "Reconnect Chat Session",
@@ -1 +1 @@
1
- {"version":3,"file":"reconnect-chat-session.cjs","names":["z","action"],"sources":["../../src/actions/reconnect-chat-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudReconnectChatSessionInput = z.object({\n affinity: z.string().describe(\"Affinity token from the chat session that identifies the server instance. Obtained from the initial chat session creation or SessionId response. Sent in X-LIVEAGENT-AFFINITY header.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically derived from base_url.\").optional(),\n session_key: z.string().describe(\"Unique session key identifying the chat session. Obtained from the initial chat session creation. Sent in X-LIVEAGENT-SESSION-KEY header.\"),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for ReconnectChatSession.\\nThe Live Agent ReconnectSession endpoint expects headers only and no body.\");\nexport const SalesforceServiceCloudReconnectChatSessionOutput = z.object({\n success: z.boolean().describe(\"True if reconnect was acknowledged as successful\").nullable(),\n response_text: z.string().describe(\"Raw response body from Salesforce, often 'OK' on success\").nullable().optional(),\n}).describe(\"Response model for ReconnectChatSession.\\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.\");\n\nexport const salesforceServiceCloudReconnectChatSession = action(\"SALESFORCE_SERVICE_CLOUD_RECONNECT_CHAT_SESSION\", {\n slug: \"salesforce_service_cloud-reconnect-chat-session\",\n name: \"Reconnect Chat Session\",\n description: \"Tool to reconnect a Live Agent chat session after the affinity token changes. Use this when you receive a 503 (Service Unavailable) response during chat operations, indicating the affinity token has changed and the session needs to be reestablished on a new server. After reconnecting, you must call ResyncChasitorState to restore the visitor's chat context. Note: Requires valid session_key and affinity tokens from an active Live Agent chat session.\",\n input: SalesforceServiceCloudReconnectChatSessionInput,\n output: SalesforceServiceCloudReconnectChatSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL;CACrN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CAC5K,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,0JAA0J;AAEtK,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"reconnect-chat-session.cjs","names":["z","action"],"sources":["../../src/actions/reconnect-chat-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudReconnectChatSessionInput = z.object({\n affinity: z.string().describe(\"Affinity token from the chat session that identifies the server instance. Obtained from the initial chat session creation or SessionId response. Sent in X-LIVEAGENT-AFFINITY header.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically derived from base_url.\").optional(),\n session_key: z.string().describe(\"Unique session key identifying the chat session. Obtained from the initial chat session creation. Sent in X-LIVEAGENT-SESSION-KEY header.\"),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for ReconnectChatSession.\\nThe Live Agent ReconnectSession endpoint expects headers only and no body.\");\nexport const SalesforceServiceCloudReconnectChatSessionOutput = z.object({\n success: z.boolean().describe(\"True if reconnect was acknowledged as successful\").nullable(),\n response_text: z.string().describe(\"Raw response body from Salesforce, often 'OK' on success\").nullable().optional(),\n}).passthrough().describe(\"Response model for ReconnectChatSession.\\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.\");\n\nexport const salesforceServiceCloudReconnectChatSession = action(\"SALESFORCE_SERVICE_CLOUD_RECONNECT_CHAT_SESSION\", {\n slug: \"salesforce_service_cloud-reconnect-chat-session\",\n name: \"Reconnect Chat Session\",\n description: \"Tool to reconnect a Live Agent chat session after the affinity token changes. Use this when you receive a 503 (Service Unavailable) response during chat operations, indicating the affinity token has changed and the session needs to be reestablished on a new server. After reconnecting, you must call ResyncChasitorState to restore the visitor's chat context. Note: Requires valid session_key and affinity tokens from an active Live Agent chat session.\",\n input: SalesforceServiceCloudReconnectChatSessionInput,\n output: SalesforceServiceCloudReconnectChatSessionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL;CACrN,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC1I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CAC5K,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAA0J;AAEpL,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudReconnectChatSessionInput: z.ZodObject<{
10
10
  declare const SalesforceServiceCloudReconnectChatSessionOutput: z.ZodObject<{
11
11
  success: z.ZodNullable<z.ZodBoolean>;
12
12
  response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const salesforceServiceCloudReconnectChatSession: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  affinity: string;
16
16
  session_key: string;
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudReconnectChatSessionInput: z.ZodObject<{
10
10
  declare const SalesforceServiceCloudReconnectChatSessionOutput: z.ZodObject<{
11
11
  success: z.ZodNullable<z.ZodBoolean>;
12
12
  response_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const salesforceServiceCloudReconnectChatSession: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  affinity: string;
16
16
  session_key: string;
@@ -13,7 +13,7 @@ const salesforceServiceCloudReconnectChatSession = action("SALESFORCE_SERVICE_CL
13
13
  output: z.object({
14
14
  success: z.boolean().describe("True if reconnect was acknowledged as successful").nullable(),
15
15
  response_text: z.string().describe("Raw response body from Salesforce, often 'OK' on success").nullable().optional()
16
- }).describe("Response model for ReconnectChatSession.\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.")
16
+ }).passthrough().describe("Response model for ReconnectChatSession.\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.")
17
17
  });
18
18
  //#endregion
19
19
  export { salesforceServiceCloudReconnectChatSession };
@@ -1 +1 @@
1
- {"version":3,"file":"reconnect-chat-session.mjs","names":[],"sources":["../../src/actions/reconnect-chat-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudReconnectChatSessionInput = z.object({\n affinity: z.string().describe(\"Affinity token from the chat session that identifies the server instance. Obtained from the initial chat session creation or SessionId response. Sent in X-LIVEAGENT-AFFINITY header.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically derived from base_url.\").optional(),\n session_key: z.string().describe(\"Unique session key identifying the chat session. Obtained from the initial chat session creation. Sent in X-LIVEAGENT-SESSION-KEY header.\"),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for ReconnectChatSession.\\nThe Live Agent ReconnectSession endpoint expects headers only and no body.\");\nexport const SalesforceServiceCloudReconnectChatSessionOutput = z.object({\n success: z.boolean().describe(\"True if reconnect was acknowledged as successful\").nullable(),\n response_text: z.string().describe(\"Raw response body from Salesforce, often 'OK' on success\").nullable().optional(),\n}).describe(\"Response model for ReconnectChatSession.\\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.\");\n\nexport const salesforceServiceCloudReconnectChatSession = action(\"SALESFORCE_SERVICE_CLOUD_RECONNECT_CHAT_SESSION\", {\n slug: \"salesforce_service_cloud-reconnect-chat-session\",\n name: \"Reconnect Chat Session\",\n description: \"Tool to reconnect a Live Agent chat session after the affinity token changes. Use this when you receive a 503 (Service Unavailable) response during chat operations, indicating the affinity token has changed and the session needs to be reestablished on a new server. After reconnecting, you must call ResyncChasitorState to restore the visitor's chat context. Note: Requires valid session_key and affinity tokens from an active Live Agent chat session.\",\n input: SalesforceServiceCloudReconnectChatSessionInput,\n output: SalesforceServiceCloudReconnectChatSessionOutput,\n});\n"],"mappings":";;AAeA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6D,EAAE,OAAO;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL;EACrN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EAC5K,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,qHAUH;CACP,QAV8D,EAAE,OAAO;EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,SAAS,0JAOF;AACV,CAAC"}
1
+ {"version":3,"file":"reconnect-chat-session.mjs","names":[],"sources":["../../src/actions/reconnect-chat-session.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudReconnectChatSessionInput = z.object({\n affinity: z.string().describe(\"Affinity token from the chat session that identifies the server instance. Obtained from the initial chat session creation or SessionId response. Sent in X-LIVEAGENT-AFFINITY header.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically derived from base_url.\").optional(),\n session_key: z.string().describe(\"Unique session key identifying the chat session. Obtained from the initial chat session creation. Sent in X-LIVEAGENT-SESSION-KEY header.\"),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request model for ReconnectChatSession.\\nThe Live Agent ReconnectSession endpoint expects headers only and no body.\");\nexport const SalesforceServiceCloudReconnectChatSessionOutput = z.object({\n success: z.boolean().describe(\"True if reconnect was acknowledged as successful\").nullable(),\n response_text: z.string().describe(\"Raw response body from Salesforce, often 'OK' on success\").nullable().optional(),\n}).passthrough().describe(\"Response model for ReconnectChatSession.\\nThe success response body is typically plain text 'OK'. We return success flag and response text if available.\");\n\nexport const salesforceServiceCloudReconnectChatSession = action(\"SALESFORCE_SERVICE_CLOUD_RECONNECT_CHAT_SESSION\", {\n slug: \"salesforce_service_cloud-reconnect-chat-session\",\n name: \"Reconnect Chat Session\",\n description: \"Tool to reconnect a Live Agent chat session after the affinity token changes. Use this when you receive a 503 (Service Unavailable) response during chat operations, indicating the affinity token has changed and the session needs to be reestablished on a new server. After reconnecting, you must call ResyncChasitorState to restore the visitor's chat context. Note: Requires valid session_key and affinity tokens from an active Live Agent chat session.\",\n input: SalesforceServiceCloudReconnectChatSessionInput,\n output: SalesforceServiceCloudReconnectChatSessionOutput,\n});\n"],"mappings":";;AAeA,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6D,EAAE,OAAO;EACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uLAAuL;EACrN,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC1I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EAC5K,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,qHAUH;CACP,QAV8D,EAAE,OAAO;EACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0JAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SalesforceServiceCloudResyncChasitorStateInput = zod.z.object({
8
8
  organization_id: zod.z.string().describe("Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).").optional(),
9
9
  "X-LIVEAGENT-SEQUENCE": zod.z.union([zod.z.number().int(), zod.z.string()]).optional()
10
10
  }).describe("Request parameters to reestablish a chat visitor's state after a reconnect session.\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\nand no request body. We still accept organization_id for backwards compatibility,\nbut it is not sent in the request body.");
11
- const SalesforceServiceCloudResyncChasitorStateOutput = zod.z.object({ success: zod.z.boolean().describe("True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.").nullable() }).describe("Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\non success (HTTP 200), so this response model simply indicates success status.");
11
+ const SalesforceServiceCloudResyncChasitorStateOutput = zod.z.object({ success: zod.z.boolean().describe("True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.").nullable() }).passthrough().describe("Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\non success (HTTP 200), so this response model simply indicates success status.");
12
12
  const salesforceServiceCloudResyncChasitorState = require_action.action("SALESFORCE_SERVICE_CLOUD_RESYNC_CHASITOR_STATE", {
13
13
  slug: "salesforce_service_cloud-resync-chasitor-state",
14
14
  name: "Resync Chasitor State",
@@ -1 +1 @@
1
- {"version":3,"file":"resync-chasitor-state.cjs","names":["z","action"],"sources":["../../src/actions/resync-chasitor-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudResyncChasitorStateInput = z.object({\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically extracted from the base_url.\").optional(),\n session_key: z.string().describe(\"Session key obtained from an active Live Agent chat session. This value is returned when initiating a chat session and must be preserved for reconnection scenarios.\"),\n affinity_token: z.string().describe(\"Affinity token obtained from an active Live Agent chat session. This token routes the request to the correct server where the session state is maintained.\"),\n organization_id: z.string().describe(\"Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).\").optional(),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request parameters to reestablish a chat visitor's state after a reconnect session.\\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\\nand no request body. We still accept organization_id for backwards compatibility,\\nbut it is not sent in the request body.\");\nexport const SalesforceServiceCloudResyncChasitorStateOutput = z.object({\n success: z.boolean().describe(\"True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.\").nullable(),\n}).describe(\"Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\\non success (HTTP 200), so this response model simply indicates success status.\");\n\nexport const salesforceServiceCloudResyncChasitorState = action(\"SALESFORCE_SERVICE_CLOUD_RESYNC_CHASITOR_STATE\", {\n slug: \"salesforce_service_cloud-resync-chasitor-state\",\n name: \"Resync Chasitor State\",\n description: \"Resynchronizes the chat visitor's state after a session reconnection. This action is part of the Salesforce Live Agent chat session recovery workflow: 1. First, call ReconnectChatSession with the session_key and affinity_token 2. Then, call this action to restore the visitor's chat state 3. Finally, resume normal chat operations (sending messages, getting messages, etc.) Prerequisites: - An active or recently disconnected Live Agent chat session - Valid session_key and affinity_token from the original session - Live Agent must be properly configured in the Salesforce org Note: The legacy Live Agent product is being phased out in favor of Messaging for In-App and Web. This action sends a POST request to /chat/rest/Chasitor/ChasitorResyncState with required Live Agent headers but no request body.\",\n input: SalesforceServiceCloudResyncChasitorStateInput,\n output: SalesforceServiceCloudResyncChasitorStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CACvM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CAChM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC5J,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,kDAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,SAAS,0KAA0K;AAEtL,MAAa,4CAA4CC,eAAAA,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"resync-chasitor-state.cjs","names":["z","action"],"sources":["../../src/actions/resync-chasitor-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudResyncChasitorStateInput = z.object({\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically extracted from the base_url.\").optional(),\n session_key: z.string().describe(\"Session key obtained from an active Live Agent chat session. This value is returned when initiating a chat session and must be preserved for reconnection scenarios.\"),\n affinity_token: z.string().describe(\"Affinity token obtained from an active Live Agent chat session. This token routes the request to the correct server where the session state is maintained.\"),\n organization_id: z.string().describe(\"Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).\").optional(),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request parameters to reestablish a chat visitor's state after a reconnect session.\\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\\nand no request body. We still accept organization_id for backwards compatibility,\\nbut it is not sent in the request body.\");\nexport const SalesforceServiceCloudResyncChasitorStateOutput = z.object({\n success: z.boolean().describe(\"True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.\").nullable(),\n}).passthrough().describe(\"Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\\non success (HTTP 200), so this response model simply indicates success status.\");\n\nexport const salesforceServiceCloudResyncChasitorState = action(\"SALESFORCE_SERVICE_CLOUD_RESYNC_CHASITOR_STATE\", {\n slug: \"salesforce_service_cloud-resync-chasitor-state\",\n name: \"Resync Chasitor State\",\n description: \"Resynchronizes the chat visitor's state after a session reconnection. This action is part of the Salesforce Live Agent chat session recovery workflow: 1. First, call ReconnectChatSession with the session_key and affinity_token 2. Then, call this action to restore the visitor's chat state 3. Finally, resume normal chat operations (sending messages, getting messages, etc.) Prerequisites: - An active or recently disconnected Live Agent chat session - Valid session_key and affinity_token from the original session - Live Agent must be properly configured in the Salesforce org Note: The legacy Live Agent product is being phased out in favor of Messaging for In-App and Web. This action sends a POST request to /chat/rest/Chasitor/ChasitorResyncState with required Live Agent headers but no request body.\",\n input: SalesforceServiceCloudResyncChasitorStateInput,\n output: SalesforceServiceCloudResyncChasitorStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAAiDA,IAAAA,EAAE,OAAO;CACrE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;CACvM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CAChM,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAC5J,wBAAwBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,uSAAuS;AACnT,MAAa,kDAAkDA,IAAAA,EAAE,OAAO,EACtE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0KAA0K;AAEpM,MAAa,4CAA4CC,eAAAA,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudResyncChasitorStateInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SalesforceServiceCloudResyncChasitorStateOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const salesforceServiceCloudResyncChasitorState: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  session_key: string;
16
16
  affinity_token: string;
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudResyncChasitorStateInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SalesforceServiceCloudResyncChasitorStateOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const salesforceServiceCloudResyncChasitorState: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  session_key: string;
16
16
  affinity_token: string;
@@ -11,7 +11,7 @@ const salesforceServiceCloudResyncChasitorState = action("SALESFORCE_SERVICE_CLO
11
11
  organization_id: z.string().describe("Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).").optional(),
12
12
  "X-LIVEAGENT-SEQUENCE": z.union([z.number().int(), z.string()]).optional()
13
13
  }).describe("Request parameters to reestablish a chat visitor's state after a reconnect session.\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\nand no request body. We still accept organization_id for backwards compatibility,\nbut it is not sent in the request body."),
14
- output: z.object({ success: z.boolean().describe("True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.").nullable() }).describe("Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\non success (HTTP 200), so this response model simply indicates success status.")
14
+ output: z.object({ success: z.boolean().describe("True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.").nullable() }).passthrough().describe("Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\non success (HTTP 200), so this response model simply indicates success status.")
15
15
  });
16
16
  //#endregion
17
17
  export { salesforceServiceCloudResyncChasitorState };
@@ -1 +1 @@
1
- {"version":3,"file":"resync-chasitor-state.mjs","names":[],"sources":["../../src/actions/resync-chasitor-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudResyncChasitorStateInput = z.object({\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically extracted from the base_url.\").optional(),\n session_key: z.string().describe(\"Session key obtained from an active Live Agent chat session. This value is returned when initiating a chat session and must be preserved for reconnection scenarios.\"),\n affinity_token: z.string().describe(\"Affinity token obtained from an active Live Agent chat session. This token routes the request to the correct server where the session state is maintained.\"),\n organization_id: z.string().describe(\"Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).\").optional(),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request parameters to reestablish a chat visitor's state after a reconnect session.\\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\\nand no request body. We still accept organization_id for backwards compatibility,\\nbut it is not sent in the request body.\");\nexport const SalesforceServiceCloudResyncChasitorStateOutput = z.object({\n success: z.boolean().describe(\"True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.\").nullable(),\n}).describe(\"Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\\non success (HTTP 200), so this response model simply indicates success status.\");\n\nexport const salesforceServiceCloudResyncChasitorState = action(\"SALESFORCE_SERVICE_CLOUD_RESYNC_CHASITOR_STATE\", {\n slug: \"salesforce_service_cloud-resync-chasitor-state\",\n name: \"Resync Chasitor State\",\n description: \"Resynchronizes the chat visitor's state after a session reconnection. This action is part of the Salesforce Live Agent chat session recovery workflow: 1. First, call ReconnectChatSession with the session_key and affinity_token 2. Then, call this action to restore the visitor's chat state 3. Finally, resume normal chat operations (sending messages, getting messages, etc.) Prerequisites: - An active or recently disconnected Live Agent chat session - Valid session_key and affinity_token from the original session - Live Agent must be properly configured in the Salesforce org Note: The legacy Live Agent product is being phased out in favor of Messaging for In-App and Web. This action sends a POST request to /chat/rest/Chasitor/ChasitorResyncState with required Live Agent headers but no request body.\",\n input: SalesforceServiceCloudResyncChasitorStateInput,\n output: SalesforceServiceCloudResyncChasitorStateOutput,\n});\n"],"mappings":";;AAeA,MAAa,4CAA4C,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4D,EAAE,OAAO;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;EACvM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EAChM,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAC5J,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,uSASH;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,SAAS,0KAOF;AACV,CAAC"}
1
+ {"version":3,"file":"resync-chasitor-state.mjs","names":[],"sources":["../../src/actions/resync-chasitor-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudResyncChasitorStateInput = z.object({\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not provided, automatically extracted from the base_url.\").optional(),\n session_key: z.string().describe(\"Session key obtained from an active Live Agent chat session. This value is returned when initiating a chat session and must be preserved for reconnection scenarios.\"),\n affinity_token: z.string().describe(\"Affinity token obtained from an active Live Agent chat session. This token routes the request to the correct server where the session state is maintained.\"),\n organization_id: z.string().describe(\"Salesforce organization ID of the chat visitor (not required by API; ignored for backwards compatibility).\").optional(),\n \"X-LIVEAGENT-SEQUENCE\": z.union([z.number().int(), z.string()]).optional(),\n}).describe(\"Request parameters to reestablish a chat visitor's state after a reconnect session.\\nAccording to Salesforce Live Agent REST API, this endpoint requires specific headers\\nand no request body. We still accept organization_id for backwards compatibility,\\nbut it is not sent in the request body.\");\nexport const SalesforceServiceCloudResyncChasitorStateOutput = z.object({\n success: z.boolean().describe(\"True if the visitor state was successfully resynchronized. A successful response means the chat session state has been restored and the visitor can continue chatting.\").nullable(),\n}).passthrough().describe(\"Response from the ChasitorResyncState API endpoint. The endpoint returns no body content\\non success (HTTP 200), so this response model simply indicates success status.\");\n\nexport const salesforceServiceCloudResyncChasitorState = action(\"SALESFORCE_SERVICE_CLOUD_RESYNC_CHASITOR_STATE\", {\n slug: \"salesforce_service_cloud-resync-chasitor-state\",\n name: \"Resync Chasitor State\",\n description: \"Resynchronizes the chat visitor's state after a session reconnection. This action is part of the Salesforce Live Agent chat session recovery workflow: 1. First, call ReconnectChatSession with the session_key and affinity_token 2. Then, call this action to restore the visitor's chat state 3. Finally, resume normal chat operations (sending messages, getting messages, etc.) Prerequisites: - An active or recently disconnected Live Agent chat session - Valid session_key and affinity_token from the original session - Live Agent must be properly configured in the Salesforce org Note: The legacy Live Agent product is being phased out in favor of Messaging for In-App and Web. This action sends a POST request to /chat/rest/Chasitor/ChasitorResyncState with required Live Agent headers but no request body.\",\n input: SalesforceServiceCloudResyncChasitorStateInput,\n output: SalesforceServiceCloudResyncChasitorStateOutput,\n});\n"],"mappings":";;AAeA,MAAa,4CAA4C,OAAO,kDAAkD;CAChH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4D,EAAE,OAAO;EACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sKAAsK;EACvM,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EAChM,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EAC5J,wBAAwB,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,uSASH;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS,EACnN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0KAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/retrieve-salesforce-username.ts
4
4
  const SalesforceServiceCloudRetrieveSalesforceUsernameInput = zod.z.object({}).describe("Request model for RetrieveSalesforceUsername. No parameters required.");
5
- const SalesforceServiceCloudRetrieveSalesforceUsernameOutput = zod.z.object({ username: zod.z.string().describe("The Salesforce username (the 'preferred_username' claim) for the current authenticated user").nullable() }).describe("Response model for RetrieveSalesforceUsername.");
5
+ const SalesforceServiceCloudRetrieveSalesforceUsernameOutput = zod.z.object({ username: zod.z.string().describe("The Salesforce username (the 'preferred_username' claim) for the current authenticated user").nullable() }).passthrough().describe("Response model for RetrieveSalesforceUsername.");
6
6
  const salesforceServiceCloudRetrieveSalesforceUsername = require_action.action("SALESFORCE_SERVICE_CLOUD_RETRIEVE_SALESFORCE_USERNAME", {
7
7
  slug: "salesforce_service_cloud-retrieve-salesforce-username",
8
8
  name: "Retrieve Salesforce Username",
@@ -1 +1 @@
1
- {"version":3,"file":"retrieve-salesforce-username.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-salesforce-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudRetrieveSalesforceUsernameInput = z.object({}).describe(\"Request model for RetrieveSalesforceUsername. No parameters required.\");\nexport const SalesforceServiceCloudRetrieveSalesforceUsernameOutput = z.object({\n username: z.string().describe(\"The Salesforce username (the 'preferred_username' claim) for the current authenticated user\").nullable(),\n}).describe(\"Response model for RetrieveSalesforceUsername.\");\n\nexport const salesforceServiceCloudRetrieveSalesforceUsername = action(\"SALESFORCE_SERVICE_CLOUD_RETRIEVE_SALESFORCE_USERNAME\", {\n slug: \"salesforce_service_cloud-retrieve-salesforce-username\",\n name: \"Retrieve Salesforce Username\",\n description: \"Tool to retrieve the Salesforce username. Use when you need the current authenticated user's username. Use after completing OAuth2 authentication.\",\n input: SalesforceServiceCloudRetrieveSalesforceUsernameInput,\n output: SalesforceServiceCloudRetrieveSalesforceUsernameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAClK,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,mDAAmDC,eAAAA,OAAO,yDAAyD;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"retrieve-salesforce-username.cjs","names":["z","action"],"sources":["../../src/actions/retrieve-salesforce-username.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudRetrieveSalesforceUsernameInput = z.object({}).describe(\"Request model for RetrieveSalesforceUsername. No parameters required.\");\nexport const SalesforceServiceCloudRetrieveSalesforceUsernameOutput = z.object({\n username: z.string().describe(\"The Salesforce username (the 'preferred_username' claim) for the current authenticated user\").nullable(),\n}).passthrough().describe(\"Response model for RetrieveSalesforceUsername.\");\n\nexport const salesforceServiceCloudRetrieveSalesforceUsername = action(\"SALESFORCE_SERVICE_CLOUD_RETRIEVE_SALESFORCE_USERNAME\", {\n slug: \"salesforce_service_cloud-retrieve-salesforce-username\",\n name: \"Retrieve Salesforce Username\",\n description: \"Tool to retrieve the Salesforce username. Use when you need the current authenticated user's username. Use after completing OAuth2 authentication.\",\n input: SalesforceServiceCloudRetrieveSalesforceUsernameInput,\n output: SalesforceServiceCloudRetrieveSalesforceUsernameOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE;AAClK,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,mDAAmDC,eAAAA,OAAO,yDAAyD;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}