@keystrokehq/salesforce_service_cloud 0.1.2 → 0.1.4
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 +14 -2
- package/dist/actions/chasitor-sneak-peek.d.mts +14 -2
- 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 +19 -6
- package/dist/actions/composite-batch.d.cts.map +1 -1
- package/dist/actions/composite-batch.d.mts +19 -6
- 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 +19 -6
- package/dist/actions/composite-request.d.cts.map +1 -1
- package/dist/actions/composite-request.d.mts +19 -6
- 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 +16 -4
- package/dist/actions/composite-sobject-tree.d.mts +16 -4
- 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 +15 -3
- package/dist/actions/create-case-record.d.cts.map +1 -1
- package/dist/actions/create-case-record.d.mts +15 -3
- package/dist/actions/create-case-record.d.mts.map +1 -1
- 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 +14 -2
- package/dist/actions/delete-case-record.d.mts +14 -2
- 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 +15 -3
- package/dist/actions/describe-s-object.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/generate-request-id.d.cts.map +1 -1
- package/dist/actions/generate-request-id.d.mts +14 -2
- package/dist/actions/generate-request-id.d.mts.map +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 +14 -2
- package/dist/actions/generate-signed-jwt-assertion.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/get-case-record.d.mts +14 -2
- 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 +15 -3
- package/dist/actions/get-chat-messages.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/get-live-agent-api-version.d.cts.map +1 -1
- package/dist/actions/get-live-agent-api-version.d.mts +14 -2
- package/dist/actions/get-live-agent-api-version.d.mts.map +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 +15 -3
- package/dist/actions/list-einstein-bots.d.cts.map +1 -1
- package/dist/actions/list-einstein-bots.d.mts +15 -3
- package/dist/actions/list-einstein-bots.d.mts.map +1 -1
- 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 +15 -3
- package/dist/actions/query-all-soql.d.mts +15 -3
- 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 +14 -2
- package/dist/actions/query-soql.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/reconnect-chat-session.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/resync-chasitor-state.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/retrieve-salesforce-username.d.cts.map +1 -1
- package/dist/actions/retrieve-salesforce-username.d.mts +14 -2
- package/dist/actions/retrieve-salesforce-username.d.mts.map +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 +14 -2
- package/dist/actions/send-custom-event.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/set-breadcrumb.d.mts +14 -2
- 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 +14 -2
- package/dist/actions/upload-file-to-s3.d.mts +14 -2
- 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 +16 -3
- package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.d.mts +16 -3
- 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/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,8 +4,20 @@ import { z } from "zod";
|
|
|
4
4
|
declare const SalesforceServiceCloudGenerateRequestIdInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const SalesforceServiceCloudGenerateRequestIdOutput: z.ZodObject<{
|
|
6
6
|
request_id: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
8
|
-
declare const salesforceServiceCloudGenerateRequestId: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
7
|
+
}, z.core.$loose>;
|
|
8
|
+
declare const salesforceServiceCloudGenerateRequestId: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
9
|
+
connectionId: z.ZodString;
|
|
10
|
+
entityId: z.ZodString;
|
|
11
|
+
instanceId: z.ZodString;
|
|
12
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
13
|
+
accessToken: z.ZodString;
|
|
14
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
15
|
+
connectionId: z.ZodString;
|
|
16
|
+
entityId: z.ZodString;
|
|
17
|
+
instanceId: z.ZodString;
|
|
18
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
+
accessToken: z.ZodString;
|
|
20
|
+
}, z.core.$strip>>]>;
|
|
9
21
|
//#endregion
|
|
10
22
|
export { salesforceServiceCloudGenerateRequestId };
|
|
11
23
|
//# sourceMappingURL=generate-request-id.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-request-id.d.mts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"generate-request-id.d.mts","names":[],"sources":["../../src/actions/generate-request-id.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,6BAAA,CAAA,CAAA,SAAA"}
|
|
@@ -5,7 +5,7 @@ const salesforceServiceCloudGenerateRequestId = action("SALESFORCE_SERVICE_CLOUD
|
|
|
5
5
|
name: "Generate Request ID",
|
|
6
6
|
description: "Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.",
|
|
7
7
|
input: z.object({}).describe("Request model for GenerateRequestId. No parameters are required to generate a UUIDv4."),
|
|
8
|
-
output: z.object({ request_id: z.string().describe("Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.").nullable() }).describe("Response model containing the generated UUIDv4 request ID.")
|
|
8
|
+
output: z.object({ request_id: z.string().describe("Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.").nullable() }).passthrough().describe("Response model containing the generated UUIDv4 request ID.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { salesforceServiceCloudGenerateRequestId };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-request-id.mjs","names":[],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;AASA,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFASzE;CACP,QAT2D,EAAE,OAAO,EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"generate-request-id.mjs","names":[],"sources":["../../src/actions/generate-request-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateRequestIdInput = z.object({}).describe(\"Request model for GenerateRequestId. No parameters are required to generate a UUIDv4.\");\nexport const SalesforceServiceCloudGenerateRequestIdOutput = z.object({\n request_id: z.string().describe(\"Newly generated UUIDv4 string for use as the Idempotency-Key header in Salesforce API requests to prevent duplicate operations.\").nullable(),\n}).passthrough().describe(\"Response model containing the generated UUIDv4 request ID.\");\n\nexport const salesforceServiceCloudGenerateRequestId = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_REQUEST_ID\", {\n slug: \"salesforce_service_cloud-generate-request-id\",\n name: \"Generate Request ID\",\n description: \"Generate a UUIDv4 string to use as an Idempotency-Key header in Salesforce User Interface API requests. This prevents duplicate record creation when POST, PATCH, or DELETE requests are retried due to network failures or timeouts. The same key returns cached responses for 30 days, avoiding duplicate operations and saving server resources. Use this tool whenever you need to ensure idempotent behavior for Salesforce UI API operations.\",\n input: SalesforceServiceCloudGenerateRequestIdInput,\n output: SalesforceServiceCloudGenerateRequestIdOutput,\n});\n"],"mappings":";;AASA,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,uFASzE;CACP,QAT2D,EAAE,OAAO,EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const SalesforceServiceCloudGenerateSignedJwtAssertionInput = zod.z.object({
|
|
|
9
9
|
private_key: zod.z.string().describe("RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.").optional(),
|
|
10
10
|
generate_private_key: zod.z.boolean().default(false).describe("If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).").optional()
|
|
11
11
|
}).describe("Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.");
|
|
12
|
-
const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = zod.z.object({ assertion: zod.z.string().describe("Compact serialized, RS256-signed JWT assertion.").nullable() }).describe("Compact JWT assertion signed with RS256.");
|
|
12
|
+
const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = zod.z.object({ assertion: zod.z.string().describe("Compact serialized, RS256-signed JWT assertion.").nullable() }).passthrough().describe("Compact JWT assertion signed with RS256.");
|
|
13
13
|
const salesforceServiceCloudGenerateSignedJwtAssertion = require_action.action("SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION", {
|
|
14
14
|
slug: "salesforce_service_cloud-generate-signed-jwt-assertion",
|
|
15
15
|
name: "Generate Signed JWT Assertion",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-signed-jwt-assertion.cjs","names":["z","action"],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAA0C;
|
|
1
|
+
{"version":3,"file":"generate-signed-jwt-assertion.cjs","names":["z","action"],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).passthrough().describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CAC1K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;CACzJ,sBAAsBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;AACnL,CAAC,CAAC,CAAC,SAAS,qFAAqF;AACjG,MAAa,yDAAyDA,IAAAA,EAAE,OAAO,EAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,mDAAmDC,eAAAA,OAAO,0DAA0D;CAC/H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const SalesforceServiceCloudGenerateSignedJwtAssertionInput: z.ZodObject
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesforceServiceCloudGenerateSignedJwtAssertionOutput: z.ZodObject<{
|
|
13
13
|
assertion: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesforceServiceCloudGenerateSignedJwtAssertion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
username: string;
|
|
17
17
|
audience?: string | undefined;
|
|
@@ -19,7 +19,19 @@ declare const salesforceServiceCloudGenerateSignedJwtAssertion: import("@keystro
|
|
|
19
19
|
expiration?: number | undefined;
|
|
20
20
|
private_key?: string | undefined;
|
|
21
21
|
generate_private_key?: boolean | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { salesforceServiceCloudGenerateSignedJwtAssertion };
|
|
25
37
|
//# sourceMappingURL=generate-signed-jwt-assertion.d.cts.map
|
|
@@ -11,7 +11,7 @@ declare const SalesforceServiceCloudGenerateSignedJwtAssertionInput: z.ZodObject
|
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const SalesforceServiceCloudGenerateSignedJwtAssertionOutput: z.ZodObject<{
|
|
13
13
|
assertion: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>;
|
|
15
15
|
declare const salesforceServiceCloudGenerateSignedJwtAssertion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
16
|
username: string;
|
|
17
17
|
audience?: string | undefined;
|
|
@@ -19,7 +19,19 @@ declare const salesforceServiceCloudGenerateSignedJwtAssertion: import("@keystro
|
|
|
19
19
|
expiration?: number | undefined;
|
|
20
20
|
private_key?: string | undefined;
|
|
21
21
|
generate_private_key?: boolean | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { salesforceServiceCloudGenerateSignedJwtAssertion };
|
|
25
37
|
//# sourceMappingURL=generate-signed-jwt-assertion.d.mts.map
|
|
@@ -12,7 +12,7 @@ const salesforceServiceCloudGenerateSignedJwtAssertion = action("SALESFORCE_SERV
|
|
|
12
12
|
private_key: z.string().describe("RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.").optional(),
|
|
13
13
|
generate_private_key: z.boolean().default(false).describe("If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).").optional()
|
|
14
14
|
}).describe("Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow."),
|
|
15
|
-
output: z.object({ assertion: z.string().describe("Compact serialized, RS256-signed JWT assertion.").nullable() }).describe("Compact JWT assertion signed with RS256.")
|
|
15
|
+
output: z.object({ assertion: z.string().describe("Compact serialized, RS256-signed JWT assertion.").nullable() }).passthrough().describe("Compact JWT assertion signed with RS256.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { salesforceServiceCloudGenerateSignedJwtAssertion };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-signed-jwt-assertion.mjs","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mDAAmD,OAAO,0DAA0D;CAC/H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmE,EAAE,OAAO;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACzJ,sBAAsB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACnL,CAAC,CAAC,CAAC,SAAS,qFASH;CACP,QAToE,EAAE,OAAO,EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"generate-signed-jwt-assertion.mjs","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionInput = z.object({\n audience: z.string().describe(\"Audience claim for the JWT, e.g., login URL or instance domain. Defaults to the instance domain derived from base_url metadata.\").optional(),\n username: z.string().describe(\"Salesforce username (subject) for whom to generate the JWT assertion.\"),\n client_id: z.string().describe(\"Client (Consumer) ID of the Salesforce Connected App. If provided, overrides value from connection metadata.\").optional(),\n expiration: z.number().int().default(300).describe(\"JWT lifetime in seconds from now.\").optional(),\n private_key: z.string().describe(\"RSA private key in PEM format used to sign the JWT. If generate_private_key is true, this value is ignored.\").optional(),\n generate_private_key: z.boolean().default(false).describe(\"If true, generate a temporary RSA private key for signing (useful for testing when a PEM isn't available).\").optional(),\n}).describe(\"Parameters to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow.\");\nexport const SalesforceServiceCloudGenerateSignedJwtAssertionOutput = z.object({\n assertion: z.string().describe(\"Compact serialized, RS256-signed JWT assertion.\").nullable(),\n}).passthrough().describe(\"Compact JWT assertion signed with RS256.\");\n\nexport const salesforceServiceCloudGenerateSignedJwtAssertion = action(\"SALESFORCE_SERVICE_CLOUD_GENERATE_SIGNED_JWT_ASSERTION\", {\n slug: \"salesforce_service_cloud-generate-signed-jwt-assertion\",\n name: \"Generate Signed JWT Assertion\",\n description: \"Tool to generate a signed JWT assertion for Salesforce JWT bearer OAuth flow. Use when you need to perform server-to-server authentication using a connected app’s certificate. Use before exchanging the assertion for an access token.\",\n input: SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n output: SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mDAAmD,OAAO,0DAA0D;CAC/H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmE,EAAE,OAAO;EAC5E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;EAC1K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS;EACzJ,sBAAsB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACnL,CAAC,CAAC,CAAC,SAAS,qFASH;CACP,QAToE,EAAE,OAAO,EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SalesforceServiceCloudGetCaseRecordInput = zod.z.object({
|
|
|
8
8
|
const SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = zod.z.object({
|
|
9
9
|
url: zod.z.string().describe("URL to retrieve this Case instance").nullable(),
|
|
10
10
|
type: zod.z.string().describe("SObject type, e.g., 'Case'").nullable()
|
|
11
|
-
}).describe("Metadata for Salesforce sObject returned in the response.");
|
|
11
|
+
}).passthrough().describe("Metadata for Salesforce sObject returned in the response.");
|
|
12
12
|
const SalesforceServiceCloudGetCaseRecordOutput = zod.z.object({
|
|
13
13
|
Id: zod.z.string().describe("Unique 18-character Salesforce ID of the Case record").nullable().optional(),
|
|
14
14
|
Type: zod.z.string().describe("Type or category of the Case (e.g., Problem, Feature Request, Question)").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-case-record.cjs","names":["z","action"],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetCaseRecordInput = z.object({\n fields: z.string().describe(\"Comma-separated list of Case field API names to retrieve. If omitted, returns all accessible fields.\").optional(),\n case_id: z.string().describe(\"ID of the Case record to retrieve (15- or 18-character Salesforce ID)\"),\n}).describe(\"Request model for GetCaseRecord.\");\nconst SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = z.object({\n url: z.string().describe(\"URL to retrieve this Case instance\").nullable(),\n type: z.string().describe(\"SObject type, e.g., 'Case'\").nullable(),\n}).describe(\"Metadata for Salesforce sObject returned in the response.\");\nexport const SalesforceServiceCloudGetCaseRecordOutput = z.object({\n Id: z.string().describe(\"Unique 18-character Salesforce ID of the Case record\").nullable().optional(),\n Type: z.string().describe(\"Type or category of the Case (e.g., Problem, Feature Request, Question)\").nullable().optional(),\n Origin: z.string().describe(\"Source channel of the Case (e.g., Phone, Email, Web, Chat)\").nullable().optional(),\n Reason: z.string().describe(\"Reason or subcategory for the Case\").nullable().optional(),\n Status: z.string().describe(\"Current status of the Case (e.g., New, Working, Escalated, Closed)\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the User or Queue that owns this Case\").nullable().optional(),\n Subject: z.string().describe(\"Brief description or title of the Case\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Whether the Case is currently closed\").nullable().optional(),\n Priority: z.string().describe(\"Priority level of the Case (e.g., Low, Medium, High, Critical)\").nullable().optional(),\n AccountId: z.string().describe(\"ID of the related Account if Case is associated with one\").nullable().optional(),\n ContactId: z.string().describe(\"ID of the related Contact if Case is associated with one\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Whether the Case has been deleted (soft delete)\").nullable().optional(),\n CaseNumber: z.string().describe(\"Auto-generated Case number (e.g., 00001234)\").nullable().optional(),\n ClosedDate: z.string().describe(\"ISO 8601 timestamp when the Case was closed\").nullable().optional(),\n attributes: SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the Case\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp when the Case was created\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the customer issue or problem\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the Case\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp when the Case was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetCaseRecord. Contains sObject metadata and all Case fields.\\n\\nCommon Case fields include: Id, CaseNumber, Subject, Description, Status, Priority,\\nOrigin, Type, Reason, AccountId, ContactId, OwnerId, CreatedDate, LastModifiedDate,\\nIsClosed, IsDeleted, etc. The actual fields returned depend on what's requested via\\nthe fields parameter and what's accessible based on permissions.\");\n\nexport const salesforceServiceCloudGetCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_GET_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-get-case-record\",\n name: \"Get Case Record\",\n description: \"Retrieve a Salesforce Case record by its ID. Returns Case details including status, priority, subject, description, owner, and timestamps. Useful for: - Looking up Case details by ID - Checking Case status and priority - Getting customer issue information - Retrieving Case metadata and relationships Requires a valid 15 or 18-character Salesforce Case ID. Optionally specify which fields to retrieve using the fields parameter; otherwise all accessible fields are returned.\",\n input: SalesforceServiceCloudGetCaseRecordInput,\n output: SalesforceServiceCloudGetCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AACtG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-case-record.cjs","names":["z","action"],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetCaseRecordInput = z.object({\n fields: z.string().describe(\"Comma-separated list of Case field API names to retrieve. If omitted, returns all accessible fields.\").optional(),\n case_id: z.string().describe(\"ID of the Case record to retrieve (15- or 18-character Salesforce ID)\"),\n}).describe(\"Request model for GetCaseRecord.\");\nconst SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = z.object({\n url: z.string().describe(\"URL to retrieve this Case instance\").nullable(),\n type: z.string().describe(\"SObject type, e.g., 'Case'\").nullable(),\n}).passthrough().describe(\"Metadata for Salesforce sObject returned in the response.\");\nexport const SalesforceServiceCloudGetCaseRecordOutput = z.object({\n Id: z.string().describe(\"Unique 18-character Salesforce ID of the Case record\").nullable().optional(),\n Type: z.string().describe(\"Type or category of the Case (e.g., Problem, Feature Request, Question)\").nullable().optional(),\n Origin: z.string().describe(\"Source channel of the Case (e.g., Phone, Email, Web, Chat)\").nullable().optional(),\n Reason: z.string().describe(\"Reason or subcategory for the Case\").nullable().optional(),\n Status: z.string().describe(\"Current status of the Case (e.g., New, Working, Escalated, Closed)\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the User or Queue that owns this Case\").nullable().optional(),\n Subject: z.string().describe(\"Brief description or title of the Case\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Whether the Case is currently closed\").nullable().optional(),\n Priority: z.string().describe(\"Priority level of the Case (e.g., Low, Medium, High, Critical)\").nullable().optional(),\n AccountId: z.string().describe(\"ID of the related Account if Case is associated with one\").nullable().optional(),\n ContactId: z.string().describe(\"ID of the related Contact if Case is associated with one\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Whether the Case has been deleted (soft delete)\").nullable().optional(),\n CaseNumber: z.string().describe(\"Auto-generated Case number (e.g., 00001234)\").nullable().optional(),\n ClosedDate: z.string().describe(\"ISO 8601 timestamp when the Case was closed\").nullable().optional(),\n attributes: SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the Case\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp when the Case was created\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the customer issue or problem\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the Case\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp when the Case was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetCaseRecord. Contains sObject metadata and all Case fields.\\n\\nCommon Case fields include: Id, CaseNumber, Subject, Description, Status, Priority,\\nOrigin, Type, Reason, AccountId, ContactId, OwnerId, CreatedDate, LastModifiedDate,\\nIsClosed, IsDeleted, etc. The actual fields returned depend on what's requested via\\nthe fields parameter and what's accessible based on permissions.\");\n\nexport const salesforceServiceCloudGetCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_GET_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-get-case-record\",\n name: \"Get Case Record\",\n description: \"Retrieve a Salesforce Case record by its ID. Returns Case details including status, priority, subject, description, owner, and timestamps. Useful for: - Looking up Case details by ID - Checking Case status and priority - Getting customer issue information - Retrieving Case metadata and relationships Requires a valid 15 or 18-character Salesforce Case ID. Optionally specify which fields to retrieve using the fields parameter; otherwise all accessible fields are returned.\",\n input: SalesforceServiceCloudGetCaseRecordInput,\n output: SalesforceServiceCloudGetCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AACtG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,yDAAyD,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qZAAqZ;AAE/a,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
23
23
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
24
24
|
url: z.ZodNullable<z.ZodString>;
|
|
25
25
|
type: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,7 +33,19 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
33
33
|
declare const salesforceServiceCloudGetCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
case_id: string;
|
|
35
35
|
fields?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>;
|
|
37
49
|
//#endregion
|
|
38
50
|
export { salesforceServiceCloudGetCaseRecord };
|
|
39
51
|
//# sourceMappingURL=get-case-record.d.cts.map
|
|
@@ -23,7 +23,7 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
23
23
|
attributes: z.ZodNullable<z.ZodObject<{
|
|
24
24
|
url: z.ZodNullable<z.ZodString>;
|
|
25
25
|
type: z.ZodNullable<z.ZodString>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>;
|
|
27
27
|
CreatedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
CreatedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -33,7 +33,19 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
33
33
|
declare const salesforceServiceCloudGetCaseRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
34
|
case_id: string;
|
|
35
35
|
fields?: string | undefined;
|
|
36
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
37
|
+
connectionId: z.ZodString;
|
|
38
|
+
entityId: z.ZodString;
|
|
39
|
+
instanceId: z.ZodString;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
accessToken: z.ZodString;
|
|
42
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
43
|
+
connectionId: z.ZodString;
|
|
44
|
+
entityId: z.ZodString;
|
|
45
|
+
instanceId: z.ZodString;
|
|
46
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
47
|
+
accessToken: z.ZodString;
|
|
48
|
+
}, z.core.$strip>>]>;
|
|
37
49
|
//#endregion
|
|
38
50
|
export { salesforceServiceCloudGetCaseRecord };
|
|
39
51
|
//# sourceMappingURL=get-case-record.d.mts.map
|
|
@@ -8,7 +8,7 @@ const SalesforceServiceCloudGetCaseRecordInput = z.object({
|
|
|
8
8
|
const SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = z.object({
|
|
9
9
|
url: z.string().describe("URL to retrieve this Case instance").nullable(),
|
|
10
10
|
type: z.string().describe("SObject type, e.g., 'Case'").nullable()
|
|
11
|
-
}).describe("Metadata for Salesforce sObject returned in the response.");
|
|
11
|
+
}).passthrough().describe("Metadata for Salesforce sObject returned in the response.");
|
|
12
12
|
const salesforceServiceCloudGetCaseRecord = action("SALESFORCE_SERVICE_CLOUD_GET_CASE_RECORD", {
|
|
13
13
|
slug: "salesforce_service_cloud-get-case-record",
|
|
14
14
|
name: "Get Case Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-case-record.mjs","names":[],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetCaseRecordInput = z.object({\n fields: z.string().describe(\"Comma-separated list of Case field API names to retrieve. If omitted, returns all accessible fields.\").optional(),\n case_id: z.string().describe(\"ID of the Case record to retrieve (15- or 18-character Salesforce ID)\"),\n}).describe(\"Request model for GetCaseRecord.\");\nconst SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = z.object({\n url: z.string().describe(\"URL to retrieve this Case instance\").nullable(),\n type: z.string().describe(\"SObject type, e.g., 'Case'\").nullable(),\n}).describe(\"Metadata for Salesforce sObject returned in the response.\");\nexport const SalesforceServiceCloudGetCaseRecordOutput = z.object({\n Id: z.string().describe(\"Unique 18-character Salesforce ID of the Case record\").nullable().optional(),\n Type: z.string().describe(\"Type or category of the Case (e.g., Problem, Feature Request, Question)\").nullable().optional(),\n Origin: z.string().describe(\"Source channel of the Case (e.g., Phone, Email, Web, Chat)\").nullable().optional(),\n Reason: z.string().describe(\"Reason or subcategory for the Case\").nullable().optional(),\n Status: z.string().describe(\"Current status of the Case (e.g., New, Working, Escalated, Closed)\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the User or Queue that owns this Case\").nullable().optional(),\n Subject: z.string().describe(\"Brief description or title of the Case\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Whether the Case is currently closed\").nullable().optional(),\n Priority: z.string().describe(\"Priority level of the Case (e.g., Low, Medium, High, Critical)\").nullable().optional(),\n AccountId: z.string().describe(\"ID of the related Account if Case is associated with one\").nullable().optional(),\n ContactId: z.string().describe(\"ID of the related Contact if Case is associated with one\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Whether the Case has been deleted (soft delete)\").nullable().optional(),\n CaseNumber: z.string().describe(\"Auto-generated Case number (e.g., 00001234)\").nullable().optional(),\n ClosedDate: z.string().describe(\"ISO 8601 timestamp when the Case was closed\").nullable().optional(),\n attributes: SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the Case\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp when the Case was created\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the customer issue or problem\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the Case\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp when the Case was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetCaseRecord. Contains sObject metadata and all Case fields.\\n\\nCommon Case fields include: Id, CaseNumber, Subject, Description, Status, Priority,\\nOrigin, Type, Reason, AccountId, ContactId, OwnerId, CreatedDate, LastModifiedDate,\\nIsClosed, IsDeleted, etc. The actual fields returned depend on what's requested via\\nthe fields parameter and what's accessible based on permissions.\");\n\nexport const salesforceServiceCloudGetCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_GET_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-get-case-record\",\n name: \"Get Case Record\",\n description: \"Retrieve a Salesforce Case record by its ID. Returns Case details including status, priority, subject, description, owner, and timestamps. Useful for: - Looking up Case details by ID - Checking Case status and priority - Getting customer issue information - Retrieving Case metadata and relationships Requires a valid 15 or 18-character Salesforce Case ID. Optionally specify which fields to retrieve using the fields parameter; otherwise all accessible fields are returned.\",\n input: SalesforceServiceCloudGetCaseRecordInput,\n output: SalesforceServiceCloudGetCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AACtG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,2DAA2D;
|
|
1
|
+
{"version":3,"file":"get-case-record.mjs","names":[],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudGetCaseRecordInput = z.object({\n fields: z.string().describe(\"Comma-separated list of Case field API names to retrieve. If omitted, returns all accessible fields.\").optional(),\n case_id: z.string().describe(\"ID of the Case record to retrieve (15- or 18-character Salesforce ID)\"),\n}).describe(\"Request model for GetCaseRecord.\");\nconst SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema = z.object({\n url: z.string().describe(\"URL to retrieve this Case instance\").nullable(),\n type: z.string().describe(\"SObject type, e.g., 'Case'\").nullable(),\n}).passthrough().describe(\"Metadata for Salesforce sObject returned in the response.\");\nexport const SalesforceServiceCloudGetCaseRecordOutput = z.object({\n Id: z.string().describe(\"Unique 18-character Salesforce ID of the Case record\").nullable().optional(),\n Type: z.string().describe(\"Type or category of the Case (e.g., Problem, Feature Request, Question)\").nullable().optional(),\n Origin: z.string().describe(\"Source channel of the Case (e.g., Phone, Email, Web, Chat)\").nullable().optional(),\n Reason: z.string().describe(\"Reason or subcategory for the Case\").nullable().optional(),\n Status: z.string().describe(\"Current status of the Case (e.g., New, Working, Escalated, Closed)\").nullable().optional(),\n OwnerId: z.string().describe(\"ID of the User or Queue that owns this Case\").nullable().optional(),\n Subject: z.string().describe(\"Brief description or title of the Case\").nullable().optional(),\n IsClosed: z.boolean().describe(\"Whether the Case is currently closed\").nullable().optional(),\n Priority: z.string().describe(\"Priority level of the Case (e.g., Low, Medium, High, Critical)\").nullable().optional(),\n AccountId: z.string().describe(\"ID of the related Account if Case is associated with one\").nullable().optional(),\n ContactId: z.string().describe(\"ID of the related Contact if Case is associated with one\").nullable().optional(),\n IsDeleted: z.boolean().describe(\"Whether the Case has been deleted (soft delete)\").nullable().optional(),\n CaseNumber: z.string().describe(\"Auto-generated Case number (e.g., 00001234)\").nullable().optional(),\n ClosedDate: z.string().describe(\"ISO 8601 timestamp when the Case was closed\").nullable().optional(),\n attributes: SalesforceServiceCloudGetCaseRecord_CaseAttributesSchema.nullable(),\n CreatedById: z.string().describe(\"ID of the User who created the Case\").nullable().optional(),\n CreatedDate: z.string().describe(\"ISO 8601 timestamp when the Case was created\").nullable().optional(),\n Description: z.string().describe(\"Detailed description of the customer issue or problem\").nullable().optional(),\n LastModifiedById: z.string().describe(\"ID of the User who last modified the Case\").nullable().optional(),\n LastModifiedDate: z.string().describe(\"ISO 8601 timestamp when the Case was last modified\").nullable().optional(),\n}).passthrough().describe(\"Response model for GetCaseRecord. Contains sObject metadata and all Case fields.\\n\\nCommon Case fields include: Id, CaseNumber, Subject, Description, Status, Priority,\\nOrigin, Type, Reason, AccountId, ContactId, OwnerId, CreatedDate, LastModifiedDate,\\nIsClosed, IsDeleted, etc. The actual fields returned depend on what's requested via\\nthe fields parameter and what's accessible based on permissions.\");\n\nexport const salesforceServiceCloudGetCaseRecord = action(\"SALESFORCE_SERVICE_CLOUD_GET_CASE_RECORD\", {\n slug: \"salesforce_service_cloud-get-case-record\",\n name: \"Get Case Record\",\n description: \"Retrieve a Salesforce Case record by its ID. Returns Case details including status, priority, subject, description, owner, and timestamps. Useful for: - Looking up Case details by ID - Checking Case status and priority - Getting customer issue information - Retrieving Case metadata and relationships Requires a valid 15 or 18-character Salesforce Case ID. Optionally specify which fields to retrieve using the fields parameter; otherwise all accessible fields are returned.\",\n input: SalesforceServiceCloudGetCaseRecordInput,\n output: SalesforceServiceCloudGetCaseRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2C,EAAE,OAAO;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;AACtG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,2DAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAwBrF,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA5BuD,EAAE,OAAO;EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,YAAY,yDAAyD,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qZAOhB;AACV,CAAC"}
|
|
@@ -10,11 +10,11 @@ const SalesforceServiceCloudGetChatMessagesInput = zod.z.object({
|
|
|
10
10
|
const SalesforceServiceCloudGetChatMessages_ChatMessageSchema = zod.z.object({
|
|
11
11
|
type: zod.z.string().describe("The message/event type (e.g., ChatMessage)").nullable(),
|
|
12
12
|
message: zod.z.record(zod.z.string(), zod.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 SalesforceServiceCloudGetChatMessagesOutput = zod.z.object({
|
|
15
15
|
messages: zod.z.array(SalesforceServiceCloudGetChatMessages_ChatMessageSchema).describe("Array of chat events/messages for the session"),
|
|
16
16
|
sequence: zod.z.number().int().describe("Server-assigned sequence number for ordering; returned when new messages are available").nullable().optional()
|
|
17
|
-
}).describe("Response model for GetChatMessages.");
|
|
17
|
+
}).passthrough().describe("Response model for GetChatMessages.");
|
|
18
18
|
const salesforceServiceCloudGetChatMessages = require_action.action("SALESFORCE_SERVICE_CLOUD_GET_CHAT_MESSAGES", {
|
|
19
19
|
slug: "salesforce_service_cloud-get-chat-messages",
|
|
20
20
|
name: "Get Chat Messages",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-messages.cjs","names":["z","action"],"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,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC5D,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACnG,CAAC,CAAC,CAAC,SAAS,qCAAqC;
|
|
1
|
+
{"version":3,"file":"get-chat-messages.cjs","names":["z","action"],"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,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AAC5D,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,UAAUA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+CAA+C;CACnI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,15 +11,27 @@ declare const SalesforceServiceCloudGetChatMessagesOutput: z.ZodObject<{
|
|
|
11
11
|
messages: z.ZodArray<z.ZodObject<{
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const salesforceServiceCloudGetChatMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
affinity: string;
|
|
19
19
|
api_version: string;
|
|
20
20
|
session_key: string;
|
|
21
21
|
ack?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { salesforceServiceCloudGetChatMessages };
|
|
25
37
|
//# sourceMappingURL=get-chat-messages.d.cts.map
|
|
@@ -11,15 +11,27 @@ declare const SalesforceServiceCloudGetChatMessagesOutput: z.ZodObject<{
|
|
|
11
11
|
messages: z.ZodArray<z.ZodObject<{
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
message: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
14
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
15
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
-
}, z.core.$
|
|
16
|
+
}, z.core.$loose>;
|
|
17
17
|
declare const salesforceServiceCloudGetChatMessages: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
18
|
affinity: string;
|
|
19
19
|
api_version: string;
|
|
20
20
|
session_key: string;
|
|
21
21
|
ack?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
23
|
+
connectionId: z.ZodString;
|
|
24
|
+
entityId: z.ZodString;
|
|
25
|
+
instanceId: z.ZodString;
|
|
26
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
+
accessToken: z.ZodString;
|
|
28
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>;
|
|
23
35
|
//#endregion
|
|
24
36
|
export { salesforceServiceCloudGetChatMessages };
|
|
25
37
|
//# sourceMappingURL=get-chat-messages.d.mts.map
|
|
@@ -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;
|
|
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;
|
|
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,8 +5,20 @@ 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.$
|
|
9
|
-
declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
8
|
+
}, z.core.$loose>;
|
|
9
|
+
declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
10
|
+
connectionId: z.ZodString;
|
|
11
|
+
entityId: z.ZodString;
|
|
12
|
+
instanceId: z.ZodString;
|
|
13
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14
|
+
accessToken: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
accessToken: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>;
|
|
10
22
|
//#endregion
|
|
11
23
|
export { salesforceServiceCloudGetLiveAgentApiVersion };
|
|
12
24
|
//# sourceMappingURL=get-live-agent-api-version.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-agent-api-version.d.cts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.d.cts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,6BAAA,CAAA,CAAA,SAAA"}
|
|
@@ -5,8 +5,20 @@ 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.$
|
|
9
|
-
declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
8
|
+
}, z.core.$loose>;
|
|
9
|
+
declare const salesforceServiceCloudGetLiveAgentApiVersion: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
10
|
+
connectionId: z.ZodString;
|
|
11
|
+
entityId: z.ZodString;
|
|
12
|
+
instanceId: z.ZodString;
|
|
13
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
14
|
+
accessToken: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
16
|
+
connectionId: z.ZodString;
|
|
17
|
+
entityId: z.ZodString;
|
|
18
|
+
instanceId: z.ZodString;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
accessToken: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>]>;
|
|
10
22
|
//#endregion
|
|
11
23
|
export { salesforceServiceCloudGetLiveAgentApiVersion };
|
|
12
24
|
//# sourceMappingURL=get-live-agent-api-version.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-live-agent-api-version.d.mts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.d.mts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,gCAA4C,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,6BAAA,CAAA,CAAA,SAAA"}
|
|
@@ -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,
|
|
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",
|