@keystrokehq/salesforce_service_cloud 0.1.4 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/chasitor-sneak-peek.cjs +1 -0
- package/dist/actions/chasitor-sneak-peek.cjs.map +1 -1
- package/dist/actions/chasitor-sneak-peek.d.cts +3 -20
- package/dist/actions/chasitor-sneak-peek.d.cts.map +1 -1
- package/dist/actions/chasitor-sneak-peek.d.mts +3 -20
- package/dist/actions/chasitor-sneak-peek.d.mts.map +1 -1
- package/dist/actions/chasitor-sneak-peek.mjs +1 -0
- package/dist/actions/chasitor-sneak-peek.mjs.map +1 -1
- package/dist/actions/composite-batch.cjs +1 -0
- package/dist/actions/composite-batch.cjs.map +1 -1
- package/dist/actions/composite-batch.d.cts +4 -22
- package/dist/actions/composite-batch.d.cts.map +1 -1
- package/dist/actions/composite-batch.d.mts +4 -22
- package/dist/actions/composite-batch.d.mts.map +1 -1
- package/dist/actions/composite-batch.mjs +1 -0
- package/dist/actions/composite-batch.mjs.map +1 -1
- package/dist/actions/composite-request.cjs +1 -0
- package/dist/actions/composite-request.cjs.map +1 -1
- package/dist/actions/composite-request.d.cts +3 -23
- package/dist/actions/composite-request.d.cts.map +1 -1
- package/dist/actions/composite-request.d.mts +3 -23
- package/dist/actions/composite-request.d.mts.map +1 -1
- package/dist/actions/composite-request.mjs +1 -0
- package/dist/actions/composite-request.mjs.map +1 -1
- package/dist/actions/composite-sobject-tree.cjs +1 -0
- package/dist/actions/composite-sobject-tree.cjs.map +1 -1
- package/dist/actions/composite-sobject-tree.d.cts +3 -22
- package/dist/actions/composite-sobject-tree.d.cts.map +1 -1
- package/dist/actions/composite-sobject-tree.d.mts +3 -22
- package/dist/actions/composite-sobject-tree.d.mts.map +1 -1
- package/dist/actions/composite-sobject-tree.mjs +1 -0
- package/dist/actions/composite-sobject-tree.mjs.map +1 -1
- package/dist/actions/create-case-record.cjs +1 -0
- package/dist/actions/create-case-record.cjs.map +1 -1
- package/dist/actions/create-case-record.d.cts +3 -21
- package/dist/actions/create-case-record.d.cts.map +1 -1
- package/dist/actions/create-case-record.d.mts +3 -21
- package/dist/actions/create-case-record.d.mts.map +1 -1
- package/dist/actions/create-case-record.mjs +1 -0
- package/dist/actions/create-case-record.mjs.map +1 -1
- package/dist/actions/delete-case-record.cjs +1 -0
- package/dist/actions/delete-case-record.cjs.map +1 -1
- package/dist/actions/delete-case-record.d.cts +3 -15
- package/dist/actions/delete-case-record.d.cts.map +1 -1
- package/dist/actions/delete-case-record.d.mts +3 -15
- package/dist/actions/delete-case-record.d.mts.map +1 -1
- package/dist/actions/delete-case-record.mjs +1 -0
- package/dist/actions/delete-case-record.mjs.map +1 -1
- package/dist/actions/describe-s-object.cjs +1 -0
- package/dist/actions/describe-s-object.cjs.map +1 -1
- package/dist/actions/describe-s-object.d.cts +3 -15
- package/dist/actions/describe-s-object.d.cts.map +1 -1
- package/dist/actions/describe-s-object.d.mts +3 -15
- package/dist/actions/describe-s-object.d.mts.map +1 -1
- package/dist/actions/describe-s-object.mjs +1 -0
- package/dist/actions/describe-s-object.mjs.map +1 -1
- package/dist/actions/generate-request-id.cjs +1 -0
- package/dist/actions/generate-request-id.cjs.map +1 -1
- package/dist/actions/generate-request-id.d.cts +3 -13
- package/dist/actions/generate-request-id.d.cts.map +1 -1
- package/dist/actions/generate-request-id.d.mts +3 -13
- package/dist/actions/generate-request-id.d.mts.map +1 -1
- package/dist/actions/generate-request-id.mjs +1 -0
- package/dist/actions/generate-request-id.mjs.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.cjs +1 -0
- package/dist/actions/generate-signed-jwt-assertion.cjs.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.d.cts +3 -20
- package/dist/actions/generate-signed-jwt-assertion.d.cts.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.d.mts +3 -20
- package/dist/actions/generate-signed-jwt-assertion.d.mts.map +1 -1
- package/dist/actions/generate-signed-jwt-assertion.mjs +1 -0
- package/dist/actions/generate-signed-jwt-assertion.mjs.map +1 -1
- package/dist/actions/get-case-record.cjs +1 -0
- package/dist/actions/get-case-record.cjs.map +1 -1
- package/dist/actions/get-case-record.d.cts +3 -16
- package/dist/actions/get-case-record.d.cts.map +1 -1
- package/dist/actions/get-case-record.d.mts +3 -16
- package/dist/actions/get-case-record.d.mts.map +1 -1
- package/dist/actions/get-case-record.mjs +1 -0
- package/dist/actions/get-case-record.mjs.map +1 -1
- package/dist/actions/get-chat-messages.cjs +1 -0
- package/dist/actions/get-chat-messages.cjs.map +1 -1
- package/dist/actions/get-chat-messages.d.cts +3 -18
- package/dist/actions/get-chat-messages.d.cts.map +1 -1
- package/dist/actions/get-chat-messages.d.mts +3 -18
- package/dist/actions/get-chat-messages.d.mts.map +1 -1
- package/dist/actions/get-chat-messages.mjs +1 -0
- package/dist/actions/get-chat-messages.mjs.map +1 -1
- package/dist/actions/get-live-agent-api-version.cjs +1 -0
- package/dist/actions/get-live-agent-api-version.cjs.map +1 -1
- package/dist/actions/get-live-agent-api-version.d.cts +3 -13
- package/dist/actions/get-live-agent-api-version.d.cts.map +1 -1
- package/dist/actions/get-live-agent-api-version.d.mts +3 -13
- package/dist/actions/get-live-agent-api-version.d.mts.map +1 -1
- package/dist/actions/get-live-agent-api-version.mjs +1 -0
- package/dist/actions/get-live-agent-api-version.mjs.map +1 -1
- package/dist/actions/list-einstein-bots.cjs +1 -0
- package/dist/actions/list-einstein-bots.cjs.map +1 -1
- package/dist/actions/list-einstein-bots.d.cts +3 -13
- package/dist/actions/list-einstein-bots.d.cts.map +1 -1
- package/dist/actions/list-einstein-bots.d.mts +3 -13
- package/dist/actions/list-einstein-bots.d.mts.map +1 -1
- package/dist/actions/list-einstein-bots.mjs +1 -0
- package/dist/actions/list-einstein-bots.mjs.map +1 -1
- package/dist/actions/query-all-soql.cjs +1 -0
- package/dist/actions/query-all-soql.cjs.map +1 -1
- package/dist/actions/query-all-soql.d.cts +3 -15
- package/dist/actions/query-all-soql.d.cts.map +1 -1
- package/dist/actions/query-all-soql.d.mts +3 -15
- package/dist/actions/query-all-soql.d.mts.map +1 -1
- package/dist/actions/query-all-soql.mjs +1 -0
- package/dist/actions/query-all-soql.mjs.map +1 -1
- package/dist/actions/query-soql.cjs +1 -0
- package/dist/actions/query-soql.cjs.map +1 -1
- package/dist/actions/query-soql.d.cts +3 -15
- package/dist/actions/query-soql.d.cts.map +1 -1
- package/dist/actions/query-soql.d.mts +3 -15
- package/dist/actions/query-soql.d.mts.map +1 -1
- package/dist/actions/query-soql.mjs +1 -0
- package/dist/actions/query-soql.mjs.map +1 -1
- package/dist/actions/reconnect-chat-session.cjs +1 -0
- package/dist/actions/reconnect-chat-session.cjs.map +1 -1
- package/dist/actions/reconnect-chat-session.d.cts +3 -18
- package/dist/actions/reconnect-chat-session.d.cts.map +1 -1
- package/dist/actions/reconnect-chat-session.d.mts +3 -18
- package/dist/actions/reconnect-chat-session.d.mts.map +1 -1
- package/dist/actions/reconnect-chat-session.mjs +1 -0
- package/dist/actions/reconnect-chat-session.mjs.map +1 -1
- package/dist/actions/resync-chasitor-state.cjs +1 -0
- package/dist/actions/resync-chasitor-state.cjs.map +1 -1
- package/dist/actions/resync-chasitor-state.d.cts +3 -19
- package/dist/actions/resync-chasitor-state.d.cts.map +1 -1
- package/dist/actions/resync-chasitor-state.d.mts +3 -19
- package/dist/actions/resync-chasitor-state.d.mts.map +1 -1
- package/dist/actions/resync-chasitor-state.mjs +1 -0
- package/dist/actions/resync-chasitor-state.mjs.map +1 -1
- package/dist/actions/retrieve-salesforce-username.cjs +1 -0
- package/dist/actions/retrieve-salesforce-username.cjs.map +1 -1
- package/dist/actions/retrieve-salesforce-username.d.cts +3 -13
- package/dist/actions/retrieve-salesforce-username.d.cts.map +1 -1
- package/dist/actions/retrieve-salesforce-username.d.mts +3 -13
- package/dist/actions/retrieve-salesforce-username.d.mts.map +1 -1
- package/dist/actions/retrieve-salesforce-username.mjs +1 -0
- package/dist/actions/retrieve-salesforce-username.mjs.map +1 -1
- package/dist/actions/send-custom-event.cjs +1 -0
- package/dist/actions/send-custom-event.cjs.map +1 -1
- package/dist/actions/send-custom-event.d.cts +3 -20
- package/dist/actions/send-custom-event.d.cts.map +1 -1
- package/dist/actions/send-custom-event.d.mts +3 -20
- package/dist/actions/send-custom-event.d.mts.map +1 -1
- package/dist/actions/send-custom-event.mjs +1 -0
- package/dist/actions/send-custom-event.mjs.map +1 -1
- package/dist/actions/set-breadcrumb.cjs +1 -0
- package/dist/actions/set-breadcrumb.cjs.map +1 -1
- package/dist/actions/set-breadcrumb.d.cts +3 -19
- package/dist/actions/set-breadcrumb.d.cts.map +1 -1
- package/dist/actions/set-breadcrumb.d.mts +3 -19
- package/dist/actions/set-breadcrumb.d.mts.map +1 -1
- package/dist/actions/set-breadcrumb.mjs +1 -0
- package/dist/actions/set-breadcrumb.mjs.map +1 -1
- package/dist/actions/upload-file-to-s3.cjs +1 -0
- package/dist/actions/upload-file-to-s3.cjs.map +1 -1
- package/dist/actions/upload-file-to-s3.d.cts +3 -19
- package/dist/actions/upload-file-to-s3.d.cts.map +1 -1
- package/dist/actions/upload-file-to-s3.d.mts +3 -19
- package/dist/actions/upload-file-to-s3.d.mts.map +1 -1
- package/dist/actions/upload-file-to-s3.mjs +1 -0
- package/dist/actions/upload-file-to-s3.mjs.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.cjs +1 -0
- package/dist/actions/visitor-sensitive-data-rule.cjs.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.d.cts +3 -23
- package/dist/actions/visitor-sensitive-data-rule.d.cts.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.d.mts +3 -23
- package/dist/actions/visitor-sensitive-data-rule.d.mts.map +1 -1
- package/dist/actions/visitor-sensitive-data-rule.mjs +1 -0
- package/dist/actions/visitor-sensitive-data-rule.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/generate-signed-jwt-assertion.d.ts
|
|
@@ -12,26 +14,7 @@ declare const SalesforceServiceCloudGenerateSignedJwtAssertionInput: z.ZodObject
|
|
|
12
14
|
declare const SalesforceServiceCloudGenerateSignedJwtAssertionOutput: z.ZodObject<{
|
|
13
15
|
assertion: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const salesforceServiceCloudGenerateSignedJwtAssertion:
|
|
16
|
-
username: string;
|
|
17
|
-
audience?: string | undefined;
|
|
18
|
-
client_id?: string | undefined;
|
|
19
|
-
expiration?: number | undefined;
|
|
20
|
-
private_key?: string | undefined;
|
|
21
|
-
generate_private_key?: boolean | undefined;
|
|
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>>]>;
|
|
17
|
+
declare const salesforceServiceCloudGenerateSignedJwtAssertion: AppAction<typeof SalesforceServiceCloudGenerateSignedJwtAssertionInput, typeof SalesforceServiceCloudGenerateSignedJwtAssertionOutput, typeof salesforceServiceCloud.credential>;
|
|
35
18
|
//#endregion
|
|
36
19
|
export { salesforceServiceCloudGenerateSignedJwtAssertion };
|
|
37
20
|
//# sourceMappingURL=generate-signed-jwt-assertion.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-signed-jwt-assertion.d.mts","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-signed-jwt-assertion.d.mts","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"mappings":";;;;;cAMa,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;cAQrD,sDAAA,EAAsD,CAAA,CAAA,SAAA;;;cAItD,gDAAA,EAAkD,SAAA,QACtD,qDAAA,SACA,sDAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"generate-signed-jwt-assertion.mjs","names":[],"sources":["../../src/actions/generate-signed-jwt-assertion.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGenerateSignedJwtAssertionInput,\n typeof SalesforceServiceCloudGenerateSignedJwtAssertionOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;AAkBA,MAAa,mDAIT,OAAO,0DAA0D;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBmE,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,qFAaH;CACP,QAboE,EAAE,OAAO,EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-case-record.cjs","names":["z","action"],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetCaseRecordInput,\n typeof SalesforceServiceCloudGetCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC7I,SAASA,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
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-case-record.d.ts
|
|
@@ -30,22 +32,7 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
30
32
|
LastModifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
LastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const salesforceServiceCloudGetCaseRecord:
|
|
34
|
-
case_id: string;
|
|
35
|
-
fields?: string | undefined;
|
|
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>>]>;
|
|
35
|
+
declare const salesforceServiceCloudGetCaseRecord: AppAction<typeof SalesforceServiceCloudGetCaseRecordInput, typeof SalesforceServiceCloudGetCaseRecordOutput, typeof salesforceServiceCloud.credential>;
|
|
49
36
|
//#endregion
|
|
50
37
|
export { salesforceServiceCloudGetCaseRecord };
|
|
51
38
|
//# sourceMappingURL=get-case-record.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-case-record.d.cts","names":[],"sources":["../../src/actions/get-case-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-case-record.d.cts","names":[],"sources":["../../src/actions/get-case-record.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAuBzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-case-record.d.ts
|
|
@@ -30,22 +32,7 @@ declare const SalesforceServiceCloudGetCaseRecordOutput: z.ZodObject<{
|
|
|
30
32
|
LastModifiedById: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
33
|
LastModifiedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
34
|
}, z.core.$loose>;
|
|
33
|
-
declare const salesforceServiceCloudGetCaseRecord:
|
|
34
|
-
case_id: string;
|
|
35
|
-
fields?: string | undefined;
|
|
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>>]>;
|
|
35
|
+
declare const salesforceServiceCloudGetCaseRecord: AppAction<typeof SalesforceServiceCloudGetCaseRecordInput, typeof SalesforceServiceCloudGetCaseRecordOutput, typeof salesforceServiceCloud.credential>;
|
|
49
36
|
//#endregion
|
|
50
37
|
export { salesforceServiceCloudGetCaseRecord };
|
|
51
38
|
//# sourceMappingURL=get-case-record.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-case-record.d.mts","names":[],"sources":["../../src/actions/get-case-record.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-case-record.d.mts","names":[],"sources":["../../src/actions/get-case-record.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAuBzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-case-record.mjs","names":[],"sources":["../../src/actions/get-case-record.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetCaseRecordInput,\n typeof SalesforceServiceCloudGetCaseRecordOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;;AAMA,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,sCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhCuD,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,C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ClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qZAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-chat-messages.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-messages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetChatMessagesInput,\n typeof SalesforceServiceCloudGetChatMessagesOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;;AAMA,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,wCAITC,eAAAA,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-chat-messages.d.ts
|
|
@@ -14,24 +16,7 @@ declare const SalesforceServiceCloudGetChatMessagesOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const salesforceServiceCloudGetChatMessages:
|
|
18
|
-
affinity: string;
|
|
19
|
-
api_version: string;
|
|
20
|
-
session_key: string;
|
|
21
|
-
ack?: number | undefined;
|
|
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>>]>;
|
|
19
|
+
declare const salesforceServiceCloudGetChatMessages: AppAction<typeof SalesforceServiceCloudGetChatMessagesInput, typeof SalesforceServiceCloudGetChatMessagesOutput, typeof salesforceServiceCloud.credential>;
|
|
35
20
|
//#endregion
|
|
36
21
|
export { salesforceServiceCloudGetChatMessages };
|
|
37
22
|
//# sourceMappingURL=get-chat-messages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-messages.d.cts","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-messages.d.cts","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-chat-messages.d.ts
|
|
@@ -14,24 +16,7 @@ declare const SalesforceServiceCloudGetChatMessagesOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const salesforceServiceCloudGetChatMessages:
|
|
18
|
-
affinity: string;
|
|
19
|
-
api_version: string;
|
|
20
|
-
session_key: string;
|
|
21
|
-
ack?: number | undefined;
|
|
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>>]>;
|
|
19
|
+
declare const salesforceServiceCloudGetChatMessages: AppAction<typeof SalesforceServiceCloudGetChatMessagesInput, typeof SalesforceServiceCloudGetChatMessagesOutput, typeof salesforceServiceCloud.credential>;
|
|
35
20
|
//#endregion
|
|
36
21
|
export { salesforceServiceCloudGetChatMessages };
|
|
37
22
|
//# sourceMappingURL=get-chat-messages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-messages.d.mts","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-messages.d.mts","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-chat-messages.mjs","names":[],"sources":["../../src/actions/get-chat-messages.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetChatMessagesInput,\n typeof SalesforceServiceCloudGetChatMessagesOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;;AAMA,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,wCAIT,OAAO,8CAA8C;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,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,qCAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.cjs","names":["z","action"],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetLiveAgentApiVersionInput,\n typeof SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;;AAMA,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,+CAITC,eAAAA,OAAO,uDAAuD;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-live-agent-api-version.d.ts
|
|
@@ -6,19 +8,7 @@ declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
|
|
|
6
8
|
url: z.ZodNullable<z.ZodString>;
|
|
7
9
|
version: z.ZodNullable<z.ZodString>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const salesforceServiceCloudGetLiveAgentApiVersion:
|
|
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>>]>;
|
|
11
|
+
declare const salesforceServiceCloudGetLiveAgentApiVersion: AppAction<typeof SalesforceServiceCloudGetLiveAgentApiVersionInput, typeof SalesforceServiceCloudGetLiveAgentApiVersionOutput, typeof salesforceServiceCloud.credential>;
|
|
22
12
|
//#endregion
|
|
23
13
|
export { salesforceServiceCloudGetLiveAgentApiVersion };
|
|
24
14
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.d.cts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-live-agent-api-version.d.ts
|
|
@@ -6,19 +8,7 @@ declare const SalesforceServiceCloudGetLiveAgentApiVersionOutput: z.ZodObject<{
|
|
|
6
8
|
url: z.ZodNullable<z.ZodString>;
|
|
7
9
|
version: z.ZodNullable<z.ZodString>;
|
|
8
10
|
}, z.core.$loose>;
|
|
9
|
-
declare const salesforceServiceCloudGetLiveAgentApiVersion:
|
|
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>>]>;
|
|
11
|
+
declare const salesforceServiceCloudGetLiveAgentApiVersion: AppAction<typeof SalesforceServiceCloudGetLiveAgentApiVersionInput, typeof SalesforceServiceCloudGetLiveAgentApiVersionOutput, typeof salesforceServiceCloud.credential>;
|
|
22
12
|
//#endregion
|
|
23
13
|
export { salesforceServiceCloudGetLiveAgentApiVersion };
|
|
24
14
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.d.mts","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;cAKlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-live-agent-api-version.mjs","names":[],"sources":["../../src/actions/get-live-agent-api-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\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: AppAction<\n typeof SalesforceServiceCloudGetLiveAgentApiVersionInput,\n typeof SalesforceServiceCloudGetLiveAgentApiVersionOutput,\n typeof salesforceServiceCloud.credential\n> = 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":";;;AAYA,MAAa,+CAIT,OAAO,uDAAuD;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAc9E;CACP,QAdgE,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,wDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-einstein-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-einstein-bots.cjs","names":["z","action"],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots: AppAction<\n typeof SalesforceServiceCloudListEinsteinBotsInput,\n typeof SalesforceServiceCloudListEinsteinBotsOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBots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+G;AAEzI,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-einstein-bots.d.ts
|
|
@@ -15,19 +17,7 @@ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
|
|
|
15
17
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const salesforceServiceCloudListEinsteinBots:
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const salesforceServiceCloudListEinsteinBots: AppAction<typeof SalesforceServiceCloudListEinsteinBotsInput, typeof SalesforceServiceCloudListEinsteinBotsOutput, typeof salesforceServiceCloud.credential>;
|
|
31
21
|
//#endregion
|
|
32
22
|
export { salesforceServiceCloudListEinsteinBots };
|
|
33
23
|
//# sourceMappingURL=list-einstein-bots.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-einstein-bots.d.cts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-einstein-bots.d.cts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { salesforceServiceCloud } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-einstein-bots.d.ts
|
|
@@ -15,19 +17,7 @@ declare const SalesforceServiceCloudListEinsteinBotsOutput: z.ZodObject<{
|
|
|
15
17
|
totalSize: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
nextPageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>;
|
|
18
|
-
declare const salesforceServiceCloudListEinsteinBots:
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"salesforce_service_cloud", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
20
|
+
declare const salesforceServiceCloudListEinsteinBots: AppAction<typeof SalesforceServiceCloudListEinsteinBotsInput, typeof SalesforceServiceCloudListEinsteinBotsOutput, typeof salesforceServiceCloud.credential>;
|
|
31
21
|
//#endregion
|
|
32
22
|
export { salesforceServiceCloudListEinsteinBots };
|
|
33
23
|
//# sourceMappingURL=list-einstein-bots.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-einstein-bots.d.mts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-einstein-bots.d.mts","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAU3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,sBAAA,CAAuB,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-einstein-bots.mjs","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-einstein-bots.mjs","names":[],"sources":["../../src/actions/list-einstein-bots.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { salesforceServiceCloud } from \"../app\";\n\nexport const SalesforceServiceCloudListEinsteinBotsInput = z.object({}).describe(\"Request model for listing Einstein Bots.\\n\\nThis action retrieves all Einstein Bot definitions from the Salesforce org\\nby querying the BotDefinition object via the Tooling API.\\nNo parameters are required.\");\nconst SalesforceServiceCloudListEinsteinBots_BotInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier for the Einstein Bot.\").nullable(),\n label: z.string().describe(\"Display label of the Einstein Bot.\").nullable(),\n active: z.boolean().describe(\"Whether the bot is currently active/enabled.\").nullable().optional(),\n developerName: z.string().describe(\"API name of the Einstein Bot.\").nullable(),\n defaultLanguage: z.string().describe(\"Default language locale (e.g., en_US, fr_FR).\").nullable().optional(),\n lastModifiedDate: z.string().describe(\"ISO 8601 timestamp of the last modification.\").nullable().optional(),\n publishedVersion: z.number().int().describe(\"Published version number of the bot.\").nullable().optional(),\n}).passthrough().describe(\"Metadata for an Einstein Bot.\");\nexport const SalesforceServiceCloudListEinsteinBotsOutput = z.object({\n items: z.array(SalesforceServiceCloudListEinsteinBots_BotInfoSchema).describe(\"List of Einstein Bot metadata objects. Each item contains bot ID, label, developer name, and language information.\"),\n totalSize: z.number().int().describe(\"Total number of Einstein Bots returned in this response.\").nullable(),\n nextPageUrl: z.string().describe(\"URL to fetch the next page of results. Currently always null as pagination is not implemented for this endpoint.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing Einstein Bots.\\n\\nContains a list of Einstein Bot definitions with their metadata.\");\n\nexport const salesforceServiceCloudListEinsteinBots: AppAction<\n typeof SalesforceServiceCloudListEinsteinBotsInput,\n typeof SalesforceServiceCloudListEinsteinBotsOutput,\n typeof salesforceServiceCloud.credential\n> = action(\"SALESFORCE_SERVICE_CLOUD_LIST_EINSTEIN_BOTS\", {\n slug: \"salesforce_service_cloud-list-einstein-bots\",\n name: \"List Einstein Bots\",\n description: \"Lists all Einstein Bot definitions in the Salesforce organization. This action queries the BotDefinition object using the Salesforce Tooling API to retrieve metadata about all Einstein Bots, including their IDs, labels, developer names, and language settings. Use this action when you need to: - Get a list of available Einstein Bots in the org - Find valid bot IDs for use with other Einstein Bots API operations - Retrieve bot metadata such as names and language settings Returns an empty list if no bots exist or if Tooling API access is unavailable.\",\n input: SalesforceServiceCloudListEinsteinBotsInput,\n output: SalesforceServiceCloudListEinsteinBotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8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