@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.
- package/dist/actions/chasitor-sneak-peek.cjs +1 -1
- package/dist/actions/chasitor-sneak-peek.cjs.map +1 -1
- package/dist/actions/chasitor-sneak-peek.d.cts +1 -1
- package/dist/actions/chasitor-sneak-peek.d.mts +1 -1
- package/dist/actions/chasitor-sneak-peek.mjs +1 -1
- package/dist/actions/chasitor-sneak-peek.mjs.map +1 -1
- package/dist/actions/composite-batch.cjs +3 -3
- package/dist/actions/composite-batch.cjs.map +1 -1
- package/dist/actions/composite-batch.d.cts +4 -3
- package/dist/actions/composite-batch.d.cts.map +1 -1
- package/dist/actions/composite-batch.d.mts +4 -3
- package/dist/actions/composite-batch.d.mts.map +1 -1
- package/dist/actions/composite-batch.mjs +3 -3
- package/dist/actions/composite-batch.mjs.map +1 -1
- package/dist/actions/composite-request.cjs +4 -4
- package/dist/actions/composite-request.cjs.map +1 -1
- package/dist/actions/composite-request.d.cts +6 -5
- package/dist/actions/composite-request.d.cts.map +1 -1
- package/dist/actions/composite-request.d.mts +6 -5
- package/dist/actions/composite-request.d.mts.map +1 -1
- package/dist/actions/composite-request.mjs +4 -4
- package/dist/actions/composite-request.mjs.map +1 -1
- package/dist/actions/composite-sobject-tree.cjs +3 -3
- package/dist/actions/composite-sobject-tree.cjs.map +1 -1
- package/dist/actions/composite-sobject-tree.d.cts +3 -3
- package/dist/actions/composite-sobject-tree.d.mts +3 -3
- package/dist/actions/composite-sobject-tree.mjs +3 -3
- package/dist/actions/composite-sobject-tree.mjs.map +1 -1
- package/dist/actions/create-case-record.cjs +2 -2
- package/dist/actions/create-case-record.cjs.map +1 -1
- package/dist/actions/create-case-record.d.cts +2 -2
- package/dist/actions/create-case-record.d.mts +2 -2
- package/dist/actions/create-case-record.mjs +2 -2
- package/dist/actions/create-case-record.mjs.map +1 -1
- package/dist/actions/delete-case-record.cjs +1 -1
- package/dist/actions/delete-case-record.cjs.map +1 -1
- package/dist/actions/delete-case-record.d.cts +1 -1
- package/dist/actions/delete-case-record.d.mts +1 -1
- package/dist/actions/delete-case-record.mjs +1 -1
- package/dist/actions/delete-case-record.mjs.map +1 -1
- package/dist/actions/describe-s-object.cjs +2 -2
- package/dist/actions/describe-s-object.cjs.map +1 -1
- package/dist/actions/describe-s-object.d.cts +2 -2
- package/dist/actions/describe-s-object.d.mts +2 -2
- package/dist/actions/describe-s-object.mjs +2 -2
- package/dist/actions/describe-s-object.mjs.map +1 -1
- package/dist/actions/generate-request-id.cjs +1 -1
- package/dist/actions/generate-request-id.cjs.map +1 -1
- package/dist/actions/generate-request-id.d.cts +1 -1
- package/dist/actions/generate-request-id.d.mts +1 -1
- package/dist/actions/generate-request-id.mjs +1 -1
- package/dist/actions/generate-request-id.mjs.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.cjs +1 -1
- package/dist/actions/generate-signed-jwt-assertion.cjs.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.d.cts +1 -1
- package/dist/actions/generate-signed-jwt-assertion.d.mts +1 -1
- package/dist/actions/generate-signed-jwt-assertion.mjs +1 -1
- package/dist/actions/generate-signed-jwt-assertion.mjs.map +1 -1
- package/dist/actions/get-case-record.cjs +1 -1
- package/dist/actions/get-case-record.cjs.map +1 -1
- package/dist/actions/get-case-record.d.cts +1 -1
- package/dist/actions/get-case-record.d.mts +1 -1
- package/dist/actions/get-case-record.mjs +1 -1
- package/dist/actions/get-case-record.mjs.map +1 -1
- package/dist/actions/get-chat-messages.cjs +2 -2
- package/dist/actions/get-chat-messages.cjs.map +1 -1
- package/dist/actions/get-chat-messages.d.cts +2 -2
- package/dist/actions/get-chat-messages.d.mts +2 -2
- package/dist/actions/get-chat-messages.mjs +2 -2
- package/dist/actions/get-chat-messages.mjs.map +1 -1
- package/dist/actions/get-live-agent-api-version.cjs +1 -1
- package/dist/actions/get-live-agent-api-version.cjs.map +1 -1
- package/dist/actions/get-live-agent-api-version.d.cts +1 -1
- package/dist/actions/get-live-agent-api-version.d.mts +1 -1
- package/dist/actions/get-live-agent-api-version.mjs +1 -1
- package/dist/actions/get-live-agent-api-version.mjs.map +1 -1
- package/dist/actions/list-einstein-bots.cjs +2 -2
- package/dist/actions/list-einstein-bots.cjs.map +1 -1
- package/dist/actions/list-einstein-bots.d.cts +2 -2
- package/dist/actions/list-einstein-bots.d.mts +2 -2
- package/dist/actions/list-einstein-bots.mjs +2 -2
- package/dist/actions/list-einstein-bots.mjs.map +1 -1
- package/dist/actions/query-all-soql.cjs +2 -2
- package/dist/actions/query-all-soql.cjs.map +1 -1
- package/dist/actions/query-all-soql.d.cts +2 -2
- package/dist/actions/query-all-soql.d.mts +2 -2
- package/dist/actions/query-all-soql.mjs +2 -2
- package/dist/actions/query-all-soql.mjs.map +1 -1
- package/dist/actions/query-soql.cjs +1 -1
- package/dist/actions/query-soql.cjs.map +1 -1
- package/dist/actions/query-soql.d.cts +1 -1
- package/dist/actions/query-soql.d.mts +1 -1
- package/dist/actions/query-soql.mjs +1 -1
- package/dist/actions/query-soql.mjs.map +1 -1
- package/dist/actions/reconnect-chat-session.cjs +1 -1
- package/dist/actions/reconnect-chat-session.cjs.map +1 -1
- package/dist/actions/reconnect-chat-session.d.cts +1 -1
- package/dist/actions/reconnect-chat-session.d.mts +1 -1
- package/dist/actions/reconnect-chat-session.mjs +1 -1
- package/dist/actions/reconnect-chat-session.mjs.map +1 -1
- package/dist/actions/resync-chasitor-state.cjs +1 -1
- package/dist/actions/resync-chasitor-state.cjs.map +1 -1
- package/dist/actions/resync-chasitor-state.d.cts +1 -1
- package/dist/actions/resync-chasitor-state.d.mts +1 -1
- package/dist/actions/resync-chasitor-state.mjs +1 -1
- package/dist/actions/resync-chasitor-state.mjs.map +1 -1
- package/dist/actions/retrieve-salesforce-username.cjs +1 -1
- package/dist/actions/retrieve-salesforce-username.cjs.map +1 -1
- package/dist/actions/retrieve-salesforce-username.d.cts +1 -1
- package/dist/actions/retrieve-salesforce-username.d.mts +1 -1
- package/dist/actions/retrieve-salesforce-username.mjs +1 -1
- package/dist/actions/retrieve-salesforce-username.mjs.map +1 -1
- package/dist/actions/send-custom-event.cjs +1 -1
- package/dist/actions/send-custom-event.cjs.map +1 -1
- package/dist/actions/send-custom-event.d.cts +1 -1
- package/dist/actions/send-custom-event.d.mts +1 -1
- package/dist/actions/send-custom-event.mjs +1 -1
- package/dist/actions/send-custom-event.mjs.map +1 -1
- package/dist/actions/set-breadcrumb.cjs +1 -1
- package/dist/actions/set-breadcrumb.cjs.map +1 -1
- package/dist/actions/set-breadcrumb.d.cts +1 -1
- package/dist/actions/set-breadcrumb.d.mts +1 -1
- package/dist/actions/set-breadcrumb.mjs +1 -1
- package/dist/actions/set-breadcrumb.mjs.map +1 -1
- package/dist/actions/upload-file-to-s3.cjs +1 -1
- package/dist/actions/upload-file-to-s3.cjs.map +1 -1
- package/dist/actions/upload-file-to-s3.d.cts +1 -1
- package/dist/actions/upload-file-to-s3.d.mts +1 -1
- package/dist/actions/upload-file-to-s3.mjs +1 -1
- package/dist/actions/upload-file-to-s3.mjs.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.cjs +2 -2
- package/dist/actions/visitor-sensitive-data-rule.cjs.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.d.cts +3 -2
- package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.d.mts +3 -2
- package/dist/actions/visitor-sensitive-data-rule.d.mts.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.mjs +2 -2
- package/dist/actions/visitor-sensitive-data-rule.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesforceServiceCloudRetrieveSalesforceUsernameInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SalesforceServiceCloudRetrieveSalesforceUsernameOutput: z.ZodObject<{
|
|
6
6
|
username: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const salesforceServiceCloudRetrieveSalesforceUsername: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { salesforceServiceCloudRetrieveSalesforceUsername };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesforceServiceCloudRetrieveSalesforceUsernameInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SalesforceServiceCloudRetrieveSalesforceUsernameOutput: z.ZodObject<{
|
|
6
6
|
username: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const salesforceServiceCloudRetrieveSalesforceUsername: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { salesforceServiceCloudRetrieveSalesforceUsername };
|
|
@@ -5,7 +5,7 @@ const salesforceServiceCloudRetrieveSalesforceUsername = action("SALESFORCE_SERV
|
|
|
5
5
|
name: "Retrieve Salesforce Username",
|
|
6
6
|
description: "Tool to retrieve the Salesforce username. Use when you need the current authenticated user's username. Use after completing OAuth2 authentication.",
|
|
7
7
|
input: z.object({}).describe("Request model for RetrieveSalesforceUsername. No parameters required."),
|
|
8
|
-
output: z.object({ username: z.string().describe("The Salesforce username (the 'preferred_username' claim) for the current authenticated user").nullable() }).describe("Response model for RetrieveSalesforceUsername.")
|
|
8
|
+
output: z.object({ username: z.string().describe("The Salesforce username (the 'preferred_username' claim) for the current authenticated user").nullable() }).passthrough().describe("Response model for RetrieveSalesforceUsername.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { salesforceServiceCloudRetrieveSalesforceUsername };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"retrieve-salesforce-username.mjs","names":[],"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":";;AASA,MAAa,mDAAmD,OAAO,yDAAyD;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEASlF;CACP,QAToE,EAAE,OAAO,EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"retrieve-salesforce-username.mjs","names":[],"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":";;AASA,MAAa,mDAAmD,OAAO,yDAAyD;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATmE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uEASlF;CACP,QAToE,EAAE,OAAO,EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SalesforceServiceCloudSendCustomEventInput = zod.z.object({
|
|
|
9
9
|
session_key: zod.z.string().describe("Session key from an active Live Agent chat session (obtained during session initialization)."),
|
|
10
10
|
affinity_token: zod.z.string().describe("Affinity token from an active Live Agent chat session (obtained during session initialization).")
|
|
11
11
|
}).describe("Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session.");
|
|
12
|
-
const SalesforceServiceCloudSendCustomEventOutput = zod.z.object({ success: zod.z.boolean().describe("True if the custom event was successfully sent to the agent during the active chat session.").nullable() }).describe("Response indicating whether the custom event was successfully sent to the Live Agent session.\nThe Live Agent CustomEvent API typically returns 204 No Content on success.");
|
|
12
|
+
const SalesforceServiceCloudSendCustomEventOutput = zod.z.object({ success: zod.z.boolean().describe("True if the custom event was successfully sent to the agent during the active chat session.").nullable() }).passthrough().describe("Response indicating whether the custom event was successfully sent to the Live Agent session.\nThe Live Agent CustomEvent API typically returns 204 No Content on success.");
|
|
13
13
|
const salesforceServiceCloudSendCustomEvent = require_action.action("SALESFORCE_SERVICE_CLOUD_SEND_CUSTOM_EVENT", {
|
|
14
14
|
slug: "salesforce_service_cloud-send-custom-event",
|
|
15
15
|
name: "Send Custom Event",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-custom-event.cjs","names":["z","action"],"sources":["../../src/actions/send-custom-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSendCustomEventInput = z.object({\n data: z.string().describe(\"Custom event payload data as a string. Can be JSON-encoded for complex data structures.\"),\n type: z.string().describe(\"Custom event type identifier used to match event listeners on the agent's side. Should be a descriptive name.\"),\n sequence: z.number().int().describe(\"Sequence number for this Live Agent request. Must be incremented with each API call in the session.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not specified, automatically extracted from base_url.\").optional(),\n session_key: z.string().describe(\"Session key from an active Live Agent chat session (obtained during session initialization).\"),\n affinity_token: z.string().describe(\"Affinity token from an active Live Agent chat session (obtained during session initialization).\"),\n}).describe(\"Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session.\");\nexport const SalesforceServiceCloudSendCustomEventOutput = z.object({\n success: z.boolean().describe(\"True if the custom event was successfully sent to the agent during the active chat session.\").nullable(),\n}).describe(\"Response indicating whether the custom event was successfully sent to the Live Agent session.\\nThe Live Agent CustomEvent API typically returns 204 No Content on success.\");\n\nexport const salesforceServiceCloudSendCustomEvent = action(\"SALESFORCE_SERVICE_CLOUD_SEND_CUSTOM_EVENT\", {\n slug: \"salesforce_service_cloud-send-custom-event\",\n name: \"Send Custom Event\",\n description: \"Send a custom event from a chat visitor to a Live Agent during an active chat session. Use this tool to trigger custom event handlers on the agent's side, enabling custom interactions beyond standard chat messages. Custom events can be used for actions like form submissions, button clicks, page navigation, or any application-specific events that need to be communicated to the agent. Prerequisites: - An active Live Agent chat session must be established - Live Agent REST API must be configured and enabled in your Salesforce org - Valid session_key and affinity_token from session initialization Note: This endpoint requires Live Agent to be properly configured. The API typically returns 204 No Content on success.\",\n input: SalesforceServiceCloudSendCustomEventInput,\n output: SalesforceServiceCloudSendCustomEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACvI,CAAC,CAAC,CAAC,SAAS,6GAA6G;AACzH,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,4KAA4K;
|
|
1
|
+
{"version":3,"file":"send-custom-event.cjs","names":["z","action"],"sources":["../../src/actions/send-custom-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSendCustomEventInput = z.object({\n data: z.string().describe(\"Custom event payload data as a string. Can be JSON-encoded for complex data structures.\"),\n type: z.string().describe(\"Custom event type identifier used to match event listeners on the agent's side. Should be a descriptive name.\"),\n sequence: z.number().int().describe(\"Sequence number for this Live Agent request. Must be incremented with each API call in the session.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not specified, automatically extracted from base_url.\").optional(),\n session_key: z.string().describe(\"Session key from an active Live Agent chat session (obtained during session initialization).\"),\n affinity_token: z.string().describe(\"Affinity token from an active Live Agent chat session (obtained during session initialization).\"),\n}).describe(\"Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session.\");\nexport const SalesforceServiceCloudSendCustomEventOutput = z.object({\n success: z.boolean().describe(\"True if the custom event was successfully sent to the agent during the active chat session.\").nullable(),\n}).passthrough().describe(\"Response indicating whether the custom event was successfully sent to the Live Agent session.\\nThe Live Agent CustomEvent API typically returns 204 No Content on success.\");\n\nexport const salesforceServiceCloudSendCustomEvent = action(\"SALESFORCE_SERVICE_CLOUD_SEND_CUSTOM_EVENT\", {\n slug: \"salesforce_service_cloud-send-custom-event\",\n name: \"Send Custom Event\",\n description: \"Send a custom event from a chat visitor to a Live Agent during an active chat session. Use this tool to trigger custom event handlers on the agent's side, enabling custom interactions beyond standard chat messages. Custom events can be used for actions like form submissions, button clicks, page navigation, or any application-specific events that need to be communicated to the agent. Prerequisites: - An active Live Agent chat session must be established - Live Agent REST API must be configured and enabled in your Salesforce org - Valid session_key and affinity_token from session initialization Note: This endpoint requires Live Agent to be properly configured. The API typically returns 204 No Content on success.\",\n input: SalesforceServiceCloudSendCustomEventInput,\n output: SalesforceServiceCloudSendCustomEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;CACzI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;AACvI,CAAC,CAAC,CAAC,SAAS,6GAA6G;AACzH,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4KAA4K;AAEtM,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SalesforceServiceCloudSendCustomEventInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesforceServiceCloudSendCustomEventOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesforceServiceCloudSendCustomEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
data: string;
|
|
17
17
|
type: string;
|
|
@@ -11,7 +11,7 @@ declare const SalesforceServiceCloudSendCustomEventInput: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesforceServiceCloudSendCustomEventOutput: z.ZodObject<{
|
|
13
13
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesforceServiceCloudSendCustomEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
data: string;
|
|
17
17
|
type: string;
|
|
@@ -12,7 +12,7 @@ const salesforceServiceCloudSendCustomEvent = action("SALESFORCE_SERVICE_CLOUD_S
|
|
|
12
12
|
session_key: z.string().describe("Session key from an active Live Agent chat session (obtained during session initialization)."),
|
|
13
13
|
affinity_token: z.string().describe("Affinity token from an active Live Agent chat session (obtained during session initialization).")
|
|
14
14
|
}).describe("Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session."),
|
|
15
|
-
output: z.object({ success: z.boolean().describe("True if the custom event was successfully sent to the agent during the active chat session.").nullable() }).describe("Response indicating whether the custom event was successfully sent to the Live Agent session.\nThe Live Agent CustomEvent API typically returns 204 No Content on success.")
|
|
15
|
+
output: z.object({ success: z.boolean().describe("True if the custom event was successfully sent to the agent during the active chat session.").nullable() }).passthrough().describe("Response indicating whether the custom event was successfully sent to the Live Agent session.\nThe Live Agent CustomEvent API typically returns 204 No Content on success.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { salesforceServiceCloudSendCustomEvent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-custom-event.mjs","names":[],"sources":["../../src/actions/send-custom-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSendCustomEventInput = z.object({\n data: z.string().describe(\"Custom event payload data as a string. Can be JSON-encoded for complex data structures.\"),\n type: z.string().describe(\"Custom event type identifier used to match event listeners on the agent's side. Should be a descriptive name.\"),\n sequence: z.number().int().describe(\"Sequence number for this Live Agent request. Must be incremented with each API call in the session.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not specified, automatically extracted from base_url.\").optional(),\n session_key: z.string().describe(\"Session key from an active Live Agent chat session (obtained during session initialization).\"),\n affinity_token: z.string().describe(\"Affinity token from an active Live Agent chat session (obtained during session initialization).\"),\n}).describe(\"Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session.\");\nexport const SalesforceServiceCloudSendCustomEventOutput = z.object({\n success: z.boolean().describe(\"True if the custom event was successfully sent to the agent during the active chat session.\").nullable(),\n}).describe(\"Response indicating whether the custom event was successfully sent to the Live Agent session.\\nThe Live Agent CustomEvent API typically returns 204 No Content on success.\");\n\nexport const salesforceServiceCloudSendCustomEvent = action(\"SALESFORCE_SERVICE_CLOUD_SEND_CUSTOM_EVENT\", {\n slug: \"salesforce_service_cloud-send-custom-event\",\n name: \"Send Custom Event\",\n description: \"Send a custom event from a chat visitor to a Live Agent during an active chat session. Use this tool to trigger custom event handlers on the agent's side, enabling custom interactions beyond standard chat messages. Custom events can be used for actions like form submissions, button clicks, page navigation, or any application-specific events that need to be communicated to the agent. Prerequisites: - An active Live Agent chat session must be established - Live Agent REST API must be configured and enabled in your Salesforce org - Valid session_key and affinity_token from session initialization Note: This endpoint requires Live Agent to be properly configured. The API typically returns 204 No Content on success.\",\n input: SalesforceServiceCloudSendCustomEventInput,\n output: SalesforceServiceCloudSendCustomEventOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACvI,CAAC,CAAC,CAAC,SAAS,6GASH;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"send-custom-event.mjs","names":[],"sources":["../../src/actions/send-custom-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSendCustomEventInput = z.object({\n data: z.string().describe(\"Custom event payload data as a string. Can be JSON-encoded for complex data structures.\"),\n type: z.string().describe(\"Custom event type identifier used to match event listeners on the agent's side. Should be a descriptive name.\"),\n sequence: z.number().int().describe(\"Sequence number for this Live Agent request. Must be incremented with each API call in the session.\"),\n api_version: z.string().describe(\"Live Agent API version (e.g., '61.0'). If not specified, automatically extracted from base_url.\").optional(),\n session_key: z.string().describe(\"Session key from an active Live Agent chat session (obtained during session initialization).\"),\n affinity_token: z.string().describe(\"Affinity token from an active Live Agent chat session (obtained during session initialization).\"),\n}).describe(\"Request parameters for sending a custom event from a chat visitor during an active Live Agent chat session.\");\nexport const SalesforceServiceCloudSendCustomEventOutput = z.object({\n success: z.boolean().describe(\"True if the custom event was successfully sent to the agent during the active chat session.\").nullable(),\n}).passthrough().describe(\"Response indicating whether the custom event was successfully sent to the Live Agent session.\\nThe Live Agent CustomEvent API typically returns 204 No Content on success.\");\n\nexport const salesforceServiceCloudSendCustomEvent = action(\"SALESFORCE_SERVICE_CLOUD_SEND_CUSTOM_EVENT\", {\n slug: \"salesforce_service_cloud-send-custom-event\",\n name: \"Send Custom Event\",\n description: \"Send a custom event from a chat visitor to a Live Agent during an active chat session. Use this tool to trigger custom event handlers on the agent's side, enabling custom interactions beyond standard chat messages. Custom events can be used for actions like form submissions, button clicks, page navigation, or any application-specific events that need to be communicated to the agent. Prerequisites: - An active Live Agent chat session must be established - Live Agent REST API must be configured and enabled in your Salesforce org - Valid session_key and affinity_token from session initialization Note: This endpoint requires Live Agent to be properly configured. The API typically returns 204 No Content on success.\",\n input: SalesforceServiceCloudSendCustomEventInput,\n output: SalesforceServiceCloudSendCustomEventOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF;EACnH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G;EACzI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qGAAqG;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8FAA8F;EAC/H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACvI,CAAC,CAAC,CAAC,SAAS,6GASH;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,EACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4KAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SalesforceServiceCloudSetBreadcrumbInput = zod.z.object({
|
|
|
8
8
|
api_version: zod.z.string().describe("LiveAgent Chat API version header, e.g., '61.0'"),
|
|
9
9
|
deployment_id: zod.z.string().describe("Live Agent deployment ID")
|
|
10
10
|
}).describe("Request model to set a breadcrumb URL for the visitor.");
|
|
11
|
-
const SalesforceServiceCloudSetBreadcrumbOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("True if the breadcrumb was accepted").nullable().optional() }).describe("Empty response model for SetBreadcrumb. No content returned on success.");
|
|
11
|
+
const SalesforceServiceCloudSetBreadcrumbOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("True if the breadcrumb was accepted").nullable().optional() }).passthrough().describe("Empty response model for SetBreadcrumb. No content returned on success.");
|
|
12
12
|
const salesforceServiceCloudSetBreadcrumb = require_action.action("SALESFORCE_SERVICE_CLOUD_SET_BREADCRUMB", {
|
|
13
13
|
slug: "salesforce_service_cloud-set-breadcrumb",
|
|
14
14
|
name: "Set Breadcrumb",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-breadcrumb.cjs","names":["z","action"],"sources":["../../src/actions/set-breadcrumb.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSetBreadcrumbInput = z.object({\n org_id: z.string().describe(\"Salesforce organization ID (15 or 18 character ID)\"),\n location: z.string().describe(\"The current location or URL of the visitor.\"),\n session_id: z.string().describe(\"Live Agent session ID (sid) from an active chat session\"),\n api_version: z.string().describe(\"LiveAgent Chat API version header, e.g., '61.0'\"),\n deployment_id: z.string().describe(\"Live Agent deployment ID\"),\n}).describe(\"Request model to set a breadcrumb URL for the visitor.\");\nexport const SalesforceServiceCloudSetBreadcrumbOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the breadcrumb was accepted\").nullable().optional(),\n}).describe(\"Empty response model for SetBreadcrumb. No content returned on success.\");\n\nexport const salesforceServiceCloudSetBreadcrumb = action(\"SALESFORCE_SERVICE_CLOUD_SET_BREADCRUMB\", {\n slug: \"salesforce_service_cloud-set-breadcrumb\",\n name: \"Set Breadcrumb\",\n description: \"Tool to set a breadcrumb URL for the visitor's current page. Use after a visitor navigates to a new page during an active chat session.\",\n input: SalesforceServiceCloudSetBreadcrumbInput,\n output: SalesforceServiceCloudSetBreadcrumbOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC/D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,yEAAyE;
|
|
1
|
+
{"version":3,"file":"set-breadcrumb.cjs","names":["z","action"],"sources":["../../src/actions/set-breadcrumb.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSetBreadcrumbInput = z.object({\n org_id: z.string().describe(\"Salesforce organization ID (15 or 18 character ID)\"),\n location: z.string().describe(\"The current location or URL of the visitor.\"),\n session_id: z.string().describe(\"Live Agent session ID (sid) from an active chat session\"),\n api_version: z.string().describe(\"LiveAgent Chat API version header, e.g., '61.0'\"),\n deployment_id: z.string().describe(\"Live Agent deployment ID\"),\n}).describe(\"Request model to set a breadcrumb URL for the visitor.\");\nexport const SalesforceServiceCloudSetBreadcrumbOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the breadcrumb was accepted\").nullable().optional(),\n}).passthrough().describe(\"Empty response model for SetBreadcrumb. No content returned on success.\");\n\nexport const salesforceServiceCloudSetBreadcrumb = action(\"SALESFORCE_SERVICE_CLOUD_SET_BREADCRUMB\", {\n slug: \"salesforce_service_cloud-set-breadcrumb\",\n name: \"Set Breadcrumb\",\n description: \"Tool to set a breadcrumb URL for the visitor's current page. Use after a visitor navigates to a new page during an active chat session.\",\n input: SalesforceServiceCloudSetBreadcrumbInput,\n output: SalesforceServiceCloudSetBreadcrumbOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AAC/D,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAEnG,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudSetBreadcrumbInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SalesforceServiceCloudSetBreadcrumbOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const salesforceServiceCloudSetBreadcrumb: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
org_id: string;
|
|
16
16
|
location: string;
|
|
@@ -10,7 +10,7 @@ declare const SalesforceServiceCloudSetBreadcrumbInput: z.ZodObject<{
|
|
|
10
10
|
}, z.core.$strip>;
|
|
11
11
|
declare const SalesforceServiceCloudSetBreadcrumbOutput: z.ZodObject<{
|
|
12
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const salesforceServiceCloudSetBreadcrumb: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
org_id: string;
|
|
16
16
|
location: string;
|
|
@@ -11,7 +11,7 @@ const salesforceServiceCloudSetBreadcrumb = action("SALESFORCE_SERVICE_CLOUD_SET
|
|
|
11
11
|
api_version: z.string().describe("LiveAgent Chat API version header, e.g., '61.0'"),
|
|
12
12
|
deployment_id: z.string().describe("Live Agent deployment ID")
|
|
13
13
|
}).describe("Request model to set a breadcrumb URL for the visitor."),
|
|
14
|
-
output: z.object({ success: z.boolean().default(true).describe("True if the breadcrumb was accepted").nullable().optional() }).describe("Empty response model for SetBreadcrumb. No content returned on success.")
|
|
14
|
+
output: z.object({ success: z.boolean().default(true).describe("True if the breadcrumb was accepted").nullable().optional() }).passthrough().describe("Empty response model for SetBreadcrumb. No content returned on success.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { salesforceServiceCloudSetBreadcrumb };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-breadcrumb.mjs","names":[],"sources":["../../src/actions/set-breadcrumb.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSetBreadcrumbInput = z.object({\n org_id: z.string().describe(\"Salesforce organization ID (15 or 18 character ID)\"),\n location: z.string().describe(\"The current location or URL of the visitor.\"),\n session_id: z.string().describe(\"Live Agent session ID (sid) from an active chat session\"),\n api_version: z.string().describe(\"LiveAgent Chat API version header, e.g., '61.0'\"),\n deployment_id: z.string().describe(\"Live Agent deployment ID\"),\n}).describe(\"Request model to set a breadcrumb URL for the visitor.\");\nexport const SalesforceServiceCloudSetBreadcrumbOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the breadcrumb was accepted\").nullable().optional(),\n}).describe(\"Empty response model for SetBreadcrumb. No content returned on success.\");\n\nexport const salesforceServiceCloudSetBreadcrumb = action(\"SALESFORCE_SERVICE_CLOUD_SET_BREADCRUMB\", {\n slug: \"salesforce_service_cloud-set-breadcrumb\",\n name: \"Set Breadcrumb\",\n description: \"Tool to set a breadcrumb URL for the visitor's current page. Use after a visitor navigates to a new page during an active chat session.\",\n input: SalesforceServiceCloudSetBreadcrumbInput,\n output: SalesforceServiceCloudSetBreadcrumbOutput,\n});\n"],"mappings":";;AAeA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC/D,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"set-breadcrumb.mjs","names":[],"sources":["../../src/actions/set-breadcrumb.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudSetBreadcrumbInput = z.object({\n org_id: z.string().describe(\"Salesforce organization ID (15 or 18 character ID)\"),\n location: z.string().describe(\"The current location or URL of the visitor.\"),\n session_id: z.string().describe(\"Live Agent session ID (sid) from an active chat session\"),\n api_version: z.string().describe(\"LiveAgent Chat API version header, e.g., '61.0'\"),\n deployment_id: z.string().describe(\"Live Agent deployment ID\"),\n}).describe(\"Request model to set a breadcrumb URL for the visitor.\");\nexport const SalesforceServiceCloudSetBreadcrumbOutput = z.object({\n success: z.boolean().default(true).describe(\"True if the breadcrumb was accepted\").nullable().optional(),\n}).passthrough().describe(\"Empty response model for SetBreadcrumb. No content returned on success.\");\n\nexport const salesforceServiceCloudSetBreadcrumb = action(\"SALESFORCE_SERVICE_CLOUD_SET_BREADCRUMB\", {\n slug: \"salesforce_service_cloud-set-breadcrumb\",\n name: \"Set Breadcrumb\",\n description: \"Tool to set a breadcrumb URL for the visitor's current page. Use after a visitor navigates to a new page during an active chat session.\",\n input: SalesforceServiceCloudSetBreadcrumbInput,\n output: SalesforceServiceCloudSetBreadcrumbOutput,\n});\n"],"mappings":";;AAeA,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CAC/D,CAAC,CAAC,CAAC,SAAS,wDASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAOhB;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ const SalesforceServiceCloudUploadFileToS3Output = zod.z.object({
|
|
|
11
11
|
s3key: zod.z.string().describe("Key of the file in S3.").nullable(),
|
|
12
12
|
success: zod.z.boolean().describe("True if the upload succeeded.").nullable(),
|
|
13
13
|
mimetype: zod.z.string().describe("MIME type of the uploaded file.").nullable()
|
|
14
|
-
}).describe("Response after uploading a file to managed S3 storage.");
|
|
14
|
+
}).passthrough().describe("Response after uploading a file to managed S3 storage.");
|
|
15
15
|
const salesforceServiceCloudUploadFileToS3 = require_action.action("SALESFORCE_SERVICE_CLOUD_UPLOAD_FILE_TO_S3", {
|
|
16
16
|
slug: "salesforce_service_cloud-upload-file-to-s3",
|
|
17
17
|
name: "Upload File to S3",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file-to-s3.cjs","names":["z","action"],"sources":["../../src/actions/upload-file-to-s3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudUploadFileToS3Input = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload.\"),\n}).describe(\"Request to upload a file to managed S3 storage.\");\nexport const SalesforceServiceCloudUploadFileToS3Output = z.object({\n name: z.string().describe(\"Original name of the uploaded file.\").nullable(),\n s3key: z.string().describe(\"Key of the file in S3.\").nullable(),\n success: z.boolean().describe(\"True if the upload succeeded.\").nullable(),\n mimetype: z.string().describe(\"MIME type of the uploaded file.\").nullable(),\n}).describe(\"Response after uploading a file to managed S3 storage.\");\n\nexport const salesforceServiceCloudUploadFileToS3 = action(\"SALESFORCE_SERVICE_CLOUD_UPLOAD_FILE_TO_S3\", {\n slug: \"salesforce_service_cloud-upload-file-to-s3\",\n name: \"Upload File to S3\",\n description: \"Tool to upload a file to managed S3 storage. Use when you need to persist files externally.\",\n input: SalesforceServiceCloudUploadFileToS3Input,\n output: SalesforceServiceCloudUploadFileToS3Output,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO;CACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC7B,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,wDAAwD;
|
|
1
|
+
{"version":3,"file":"upload-file-to-s3.cjs","names":["z","action"],"sources":["../../src/actions/upload-file-to-s3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudUploadFileToS3Input = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload.\"),\n}).describe(\"Request to upload a file to managed S3 storage.\");\nexport const SalesforceServiceCloudUploadFileToS3Output = z.object({\n name: z.string().describe(\"Original name of the uploaded file.\").nullable(),\n s3key: z.string().describe(\"Key of the file in S3.\").nullable(),\n success: z.boolean().describe(\"True if the upload succeeded.\").nullable(),\n mimetype: z.string().describe(\"MIME type of the uploaded file.\").nullable(),\n}).passthrough().describe(\"Response after uploading a file to managed S3 storage.\");\n\nexport const salesforceServiceCloudUploadFileToS3 = action(\"SALESFORCE_SERVICE_CLOUD_UPLOAD_FILE_TO_S3\", {\n slug: \"salesforce_service_cloud-upload-file-to-s3\",\n name: \"Upload File to S3\",\n description: \"Tool to upload a file to managed S3 storage. Use when you need to persist files externally.\",\n input: SalesforceServiceCloudUploadFileToS3Input,\n output: SalesforceServiceCloudUploadFileToS3Output,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO;CACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;CACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;AAC3D,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC7B,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,uCAAuCC,eAAAA,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -13,7 +13,7 @@ declare const SalesforceServiceCloudUploadFileToS3Output: z.ZodObject<{
|
|
|
13
13
|
s3key: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const salesforceServiceCloudUploadFileToS3: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
file: {
|
|
19
19
|
name: string;
|
|
@@ -13,7 +13,7 @@ declare const SalesforceServiceCloudUploadFileToS3Output: z.ZodObject<{
|
|
|
13
13
|
s3key: z.ZodNullable<z.ZodString>;
|
|
14
14
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const salesforceServiceCloudUploadFileToS3: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
file: {
|
|
19
19
|
name: string;
|
|
@@ -14,7 +14,7 @@ const salesforceServiceCloudUploadFileToS3 = action("SALESFORCE_SERVICE_CLOUD_UP
|
|
|
14
14
|
s3key: z.string().describe("Key of the file in S3.").nullable(),
|
|
15
15
|
success: z.boolean().describe("True if the upload succeeded.").nullable(),
|
|
16
16
|
mimetype: z.string().describe("MIME type of the uploaded file.").nullable()
|
|
17
|
-
}).describe("Response after uploading a file to managed S3 storage.")
|
|
17
|
+
}).passthrough().describe("Response after uploading a file to managed S3 storage.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { salesforceServiceCloudUploadFileToS3 };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-file-to-s3.mjs","names":[],"sources":["../../src/actions/upload-file-to-s3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudUploadFileToS3Input = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload.\"),\n}).describe(\"Request to upload a file to managed S3 storage.\");\nexport const SalesforceServiceCloudUploadFileToS3Output = z.object({\n name: z.string().describe(\"Original name of the uploaded file.\").nullable(),\n s3key: z.string().describe(\"Key of the file in S3.\").nullable(),\n success: z.boolean().describe(\"True if the upload succeeded.\").nullable(),\n mimetype: z.string().describe(\"MIME type of the uploaded file.\").nullable(),\n}).describe(\"Response after uploading a file to managed S3 storage.\");\n\nexport const salesforceServiceCloudUploadFileToS3 = action(\"SALESFORCE_SERVICE_CLOUD_UPLOAD_FILE_TO_S3\", {\n slug: \"salesforce_service_cloud-upload-file-to-s3\",\n name: \"Upload File to S3\",\n description: \"Tool to upload a file to managed S3 storage. Use when you need to persist files externally.\",\n input: SalesforceServiceCloudUploadFileToS3Input,\n output: SalesforceServiceCloudUploadFileToS3Output,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC7B,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"upload-file-to-s3.mjs","names":[],"sources":["../../src/actions/upload-file-to-s3.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudUploadFileToS3Input = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"File to upload.\"),\n}).describe(\"Request to upload a file to managed S3 storage.\");\nexport const SalesforceServiceCloudUploadFileToS3Output = z.object({\n name: z.string().describe(\"Original name of the uploaded file.\").nullable(),\n s3key: z.string().describe(\"Key of the file in S3.\").nullable(),\n success: z.boolean().describe(\"True if the upload succeeded.\").nullable(),\n mimetype: z.string().describe(\"MIME type of the uploaded file.\").nullable(),\n}).passthrough().describe(\"Response after uploading a file to managed S3 storage.\");\n\nexport const salesforceServiceCloudUploadFileToS3 = action(\"SALESFORCE_SERVICE_CLOUD_UPLOAD_FILE_TO_S3\", {\n slug: \"salesforce_service_cloud-upload-file-to-s3\",\n name: \"Upload File to S3\",\n description: \"Tool to upload a file to managed S3 storage. Use when you need to persist files externally.\",\n input: SalesforceServiceCloudUploadFileToS3Input,\n output: SalesforceServiceCloudUploadFileToS3Output,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBuD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC7B,CAAC,CAAC,CAAC,SAAS,iDAYH;CACP,QAZwD,EAAE,OAAO;EACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC9D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
|
|
@@ -5,13 +5,13 @@ const SalesforceServiceCloudVisitorSensitiveDataRuleInput = zod.z.object({
|
|
|
5
5
|
rules: zod.z.array(zod.z.object({
|
|
6
6
|
id: zod.z.string().describe("Sensitive data rule ID (optional for Chasitor variant)").optional(),
|
|
7
7
|
name: zod.z.string().describe("Rule name to apply to the chat session")
|
|
8
|
-
}).describe("Sensitive data rule object for Chat REST API.")).describe("List of sensitive data rules to apply (at least one rule)"),
|
|
8
|
+
}).passthrough().describe("Sensitive data rule object for Chat REST API.")).describe("List of sensitive data rules to apply (at least one rule)"),
|
|
9
9
|
affinity: zod.z.string().describe("Affinity token header (X-LIVEAGENT-AFFINITY)"),
|
|
10
10
|
sequence: zod.z.number().int().describe("Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call"),
|
|
11
11
|
api_version: zod.z.string().describe("Live Agent API version header (X-LIVEAGENT-API-VERSION)"),
|
|
12
12
|
session_key: zod.z.string().describe("Session key header (X-LIVEAGENT-SESSION-KEY)")
|
|
13
13
|
}).describe("Request model for triggering sensitive data rules for a chat visitor.");
|
|
14
|
-
const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = zod.z.
|
|
14
|
+
const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Empty response for sensitive data rule trigger; no content returned.");
|
|
15
15
|
const salesforceServiceCloudVisitorSensitiveDataRule = require_action.action("SALESFORCE_SERVICE_CLOUD_VISITOR_SENSITIVE_DATA_RULE", {
|
|
16
16
|
slug: "salesforce_service_cloud-visitor-sensitive-data-rule",
|
|
17
17
|
name: "Visitor Sensitive Data Rule Triggered",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor-sensitive-data-rule.cjs","names":["z","action"],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleInput = z.object({\n rules: z.array(z.object({\n id: z.string().describe(\"Sensitive data rule ID (optional for Chasitor variant)\").optional(),\n name: z.string().describe(\"Rule name to apply to the chat session\"),\n}).describe(\"Sensitive data rule object for Chat REST API.\")).describe(\"List of sensitive data rules to apply (at least one rule)\"),\n affinity: z.string().describe(\"Affinity token header (X-LIVEAGENT-AFFINITY)\"),\n sequence: z.number().int().describe(\"Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call\"),\n api_version: z.string().describe(\"Live Agent API version header (X-LIVEAGENT-API-VERSION)\"),\n session_key: z.string().describe(\"Session key header (X-LIVEAGENT-SESSION-KEY)\"),\n}).describe(\"Request model for triggering sensitive data rules for a chat visitor.\");\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = z.
|
|
1
|
+
{"version":3,"file":"visitor-sensitive-data-rule.cjs","names":["z","action"],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleInput = z.object({\n rules: z.array(z.object({\n id: z.string().describe(\"Sensitive data rule ID (optional for Chasitor variant)\").optional(),\n name: z.string().describe(\"Rule name to apply to the chat session\"),\n}).passthrough().describe(\"Sensitive data rule object for Chat REST API.\")).describe(\"List of sensitive data rules to apply (at least one rule)\"),\n affinity: z.string().describe(\"Affinity token header (X-LIVEAGENT-AFFINITY)\"),\n sequence: z.number().int().describe(\"Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call\"),\n api_version: z.string().describe(\"Live Agent API version header (X-LIVEAGENT-API-VERSION)\"),\n session_key: z.string().describe(\"Session key header (X-LIVEAGENT-SESSION-KEY)\"),\n}).describe(\"Request model for triggering sensitive data rules for a chat visitor.\");\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for sensitive data rule trigger; no content returned.\");\n\nexport const salesforceServiceCloudVisitorSensitiveDataRule = action(\"SALESFORCE_SERVICE_CLOUD_VISITOR_SENSITIVE_DATA_RULE\", {\n slug: \"salesforce_service_cloud-visitor-sensitive-data-rule\",\n name: \"Visitor Sensitive Data Rule Triggered\",\n description: \"Tool to trigger sensitive data rules for the chat visitor. Use after detecting sensitive content to apply visitor masking or handling rules.\",\n input: SalesforceServiceCloudVisitorSensitiveDataRuleInput,\n output: SalesforceServiceCloudVisitorSensitiveDataRuleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,2DAA2D;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CAC9G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACjF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,uDAAuDA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAErL,MAAa,iDAAiDC,eAAAA,OAAO,wDAAwD;CAC3H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -5,15 +5,16 @@ declare const SalesforceServiceCloudVisitorSensitiveDataRuleInput: z.ZodObject<{
|
|
|
5
5
|
rules: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodOptional<z.ZodString>;
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
affinity: z.ZodString;
|
|
10
10
|
sequence: z.ZodNumber;
|
|
11
11
|
api_version: z.ZodString;
|
|
12
12
|
session_key: z.ZodString;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
|
-
declare const SalesforceServiceCloudVisitorSensitiveDataRuleOutput: z.
|
|
14
|
+
declare const SalesforceServiceCloudVisitorSensitiveDataRuleOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
15
|
declare const salesforceServiceCloudVisitorSensitiveDataRule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
rules: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
name: string;
|
|
18
19
|
id?: string | undefined;
|
|
19
20
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor-sensitive-data-rule.d.cts","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"mappings":";;;cAIa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;cAUnD,oDAAA,EAAoD,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"visitor-sensitive-data-rule.d.cts","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"mappings":";;;cAIa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;cAUnD,oDAAA,EAAoD,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpD,8CAAA,gCAA8C,wBAAA"}
|
|
@@ -5,15 +5,16 @@ declare const SalesforceServiceCloudVisitorSensitiveDataRuleInput: z.ZodObject<{
|
|
|
5
5
|
rules: z.ZodArray<z.ZodObject<{
|
|
6
6
|
id: z.ZodOptional<z.ZodString>;
|
|
7
7
|
name: z.ZodString;
|
|
8
|
-
}, z.core.$
|
|
8
|
+
}, z.core.$loose>>;
|
|
9
9
|
affinity: z.ZodString;
|
|
10
10
|
sequence: z.ZodNumber;
|
|
11
11
|
api_version: z.ZodString;
|
|
12
12
|
session_key: z.ZodString;
|
|
13
13
|
}, z.core.$strip>;
|
|
14
|
-
declare const SalesforceServiceCloudVisitorSensitiveDataRuleOutput: z.
|
|
14
|
+
declare const SalesforceServiceCloudVisitorSensitiveDataRuleOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15
15
|
declare const salesforceServiceCloudVisitorSensitiveDataRule: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
rules: {
|
|
17
|
+
[x: string]: unknown;
|
|
17
18
|
name: string;
|
|
18
19
|
id?: string | undefined;
|
|
19
20
|
}[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor-sensitive-data-rule.d.mts","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"mappings":";;;cAIa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;cAUnD,oDAAA,EAAoD,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"visitor-sensitive-data-rule.d.mts","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"mappings":";;;cAIa,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;cAUnD,oDAAA,EAAoD,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEpD,8CAAA,gCAA8C,wBAAA"}
|
|
@@ -8,13 +8,13 @@ const salesforceServiceCloudVisitorSensitiveDataRule = action("SALESFORCE_SERVIC
|
|
|
8
8
|
rules: z.array(z.object({
|
|
9
9
|
id: z.string().describe("Sensitive data rule ID (optional for Chasitor variant)").optional(),
|
|
10
10
|
name: z.string().describe("Rule name to apply to the chat session")
|
|
11
|
-
}).describe("Sensitive data rule object for Chat REST API.")).describe("List of sensitive data rules to apply (at least one rule)"),
|
|
11
|
+
}).passthrough().describe("Sensitive data rule object for Chat REST API.")).describe("List of sensitive data rules to apply (at least one rule)"),
|
|
12
12
|
affinity: z.string().describe("Affinity token header (X-LIVEAGENT-AFFINITY)"),
|
|
13
13
|
sequence: z.number().int().describe("Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call"),
|
|
14
14
|
api_version: z.string().describe("Live Agent API version header (X-LIVEAGENT-API-VERSION)"),
|
|
15
15
|
session_key: z.string().describe("Session key header (X-LIVEAGENT-SESSION-KEY)")
|
|
16
16
|
}).describe("Request model for triggering sensitive data rules for a chat visitor."),
|
|
17
|
-
output: z.
|
|
17
|
+
output: z.record(z.string(), z.unknown()).describe("Empty response for sensitive data rule trigger; no content returned.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { salesforceServiceCloudVisitorSensitiveDataRule };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visitor-sensitive-data-rule.mjs","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleInput = z.object({\n rules: z.array(z.object({\n id: z.string().describe(\"Sensitive data rule ID (optional for Chasitor variant)\").optional(),\n name: z.string().describe(\"Rule name to apply to the chat session\"),\n}).describe(\"Sensitive data rule object for Chat REST API.\")).describe(\"List of sensitive data rules to apply (at least one rule)\"),\n affinity: z.string().describe(\"Affinity token header (X-LIVEAGENT-AFFINITY)\"),\n sequence: z.number().int().describe(\"Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call\"),\n api_version: z.string().describe(\"Live Agent API version header (X-LIVEAGENT-API-VERSION)\"),\n session_key: z.string().describe(\"Session key header (X-LIVEAGENT-SESSION-KEY)\"),\n}).describe(\"Request model for triggering sensitive data rules for a chat visitor.\");\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = z.
|
|
1
|
+
{"version":3,"file":"visitor-sensitive-data-rule.mjs","names":[],"sources":["../../src/actions/visitor-sensitive-data-rule.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleInput = z.object({\n rules: z.array(z.object({\n id: z.string().describe(\"Sensitive data rule ID (optional for Chasitor variant)\").optional(),\n name: z.string().describe(\"Rule name to apply to the chat session\"),\n}).passthrough().describe(\"Sensitive data rule object for Chat REST API.\")).describe(\"List of sensitive data rules to apply (at least one rule)\"),\n affinity: z.string().describe(\"Affinity token header (X-LIVEAGENT-AFFINITY)\"),\n sequence: z.number().int().describe(\"Sequence number header (X-LIVEAGENT-SEQUENCE), increments with each call\"),\n api_version: z.string().describe(\"Live Agent API version header (X-LIVEAGENT-API-VERSION)\"),\n session_key: z.string().describe(\"Session key header (X-LIVEAGENT-SESSION-KEY)\"),\n}).describe(\"Request model for triggering sensitive data rules for a chat visitor.\");\nexport const SalesforceServiceCloudVisitorSensitiveDataRuleOutput = z.record(z.string(), z.unknown()).describe(\"Empty response for sensitive data rule trigger; no content returned.\");\n\nexport const salesforceServiceCloudVisitorSensitiveDataRule = action(\"SALESFORCE_SERVICE_CLOUD_VISITOR_SENSITIVE_DATA_RULE\", {\n slug: \"salesforce_service_cloud-visitor-sensitive-data-rule\",\n name: \"Visitor Sensitive Data Rule Triggered\",\n description: \"Tool to trigger sensitive data rules for the chat visitor. Use after detecting sensitive content to apply visitor masking or handling rules.\",\n input: SalesforceServiceCloudVisitorSensitiveDataRuleInput,\n output: SalesforceServiceCloudVisitorSensitiveDataRuleOutput,\n});\n"],"mappings":";;AAgBA,MAAa,iDAAiD,OAAO,wDAAwD;CAC3H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiE,EAAE,OAAO;EAC1E,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;GAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,2DAA2D;EAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;EAC9G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACjF,CAAC,CAAC,CAAC,SAAS,uEAOH;CACP,QAPkE,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sEAOrG;AACV,CAAC"}
|