@keystrokehq/salesforce 0.0.9 → 0.0.11
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/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/_runtime/index.mjs +65 -65
- package/dist/accounts.d.mts +6 -6
- package/dist/accounts.mjs +1 -1
- package/dist/associations.d.mts +3 -3
- package/dist/associations.mjs +5 -5
- package/dist/campaign-members.d.mts +6 -6
- package/dist/campaign-members.mjs +1 -1
- package/dist/campaigns.d.mts +6 -6
- package/dist/campaigns.mjs +1 -1
- package/dist/cases.d.mts +6 -6
- package/dist/cases.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +2 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.d.mts +6 -6
- package/dist/contacts.mjs +1 -1
- package/dist/dashboards.d.mts +4 -4
- package/dist/dashboards.mjs +5 -5
- package/dist/dist-Bbp6t-WQ.mjs +74 -0
- package/dist/factory-CxfYmb6l.mjs +7 -0
- package/dist/integration-B9QIZuPh.mjs +331 -0
- package/dist/{integration-B4z5pRJ7.d.mts → integration-CN_7-2E5.d.mts} +3 -4
- package/dist/leads.d.mts +6 -6
- package/dist/leads.mjs +1 -1
- package/dist/notes.d.mts +6 -6
- package/dist/notes.mjs +1 -1
- package/dist/objects.d.mts +3 -3
- package/dist/objects.mjs +4 -4
- package/dist/opportunities.d.mts +6 -6
- package/dist/opportunities.mjs +1 -1
- package/dist/opportunity-line-items.d.mts +6 -6
- package/dist/opportunity-line-items.mjs +1 -1
- package/dist/ownership.d.mts +2 -2
- package/dist/ownership.mjs +4 -4
- package/dist/reports.d.mts +5 -5
- package/dist/reports.mjs +6 -6
- package/dist/schemas/index.mjs +1 -1
- package/dist/{shared-Cp54E0DL.mjs → shared-P5lushwa.mjs} +2 -2
- package/dist/soql.d.mts +3 -3
- package/dist/soql.mjs +5 -5
- package/dist/tasks.d.mts +6 -6
- package/dist/tasks.mjs +1 -1
- package/dist/triggers.d.mts +59 -4
- package/dist/triggers.mjs +5 -5
- package/dist/users.d.mts +2 -2
- package/dist/users.mjs +3 -3
- package/package.json +5 -5
- package/dist/factory-Dt72AT6c.mjs +0 -8
- package/dist/integration-DFFhYLhB.mjs +0 -131
- /package/dist/{common-BUAhHMqn.mjs → common-wiFkMAq5.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as salesforceOfficialIntegration, r as salesforceBundle } from "../integration-
|
|
2
|
-
import { z } from "zod";
|
|
1
|
+
import { i as salesforceOfficialIntegration, r as salesforceBundle } from "../integration-CN_7-2E5.mjs";
|
|
3
2
|
import { CredentialSet } from "@keystrokehq/core";
|
|
3
|
+
import { z } from "zod";
|
|
4
4
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
5
|
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
6
6
|
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as salesforceOfficialProviderSeed, i as salesforceAppCredentialSet, n as salesforceBundle, r as salesforceOfficialIntegration } from "../integration-
|
|
1
|
+
import { a as salesforceOfficialProviderSeed, i as salesforceAppCredentialSet, n as salesforceBundle, r as salesforceOfficialIntegration } from "../integration-B9QIZuPh.mjs";
|
|
2
2
|
|
|
3
3
|
export { salesforceAppCredentialSet, salesforceBundle, salesforceOfficialIntegration, salesforceOfficialProviderSeed };
|
package/dist/_runtime/index.mjs
CHANGED
|
@@ -18,71 +18,71 @@ import { getCurrentUserInfo } from "../users.mjs";
|
|
|
18
18
|
|
|
19
19
|
//#region src/operations.ts
|
|
20
20
|
const salesforceOperations = {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
21
|
+
"salesforce.get-account": getAccount,
|
|
22
|
+
"salesforce.list-accounts": listAccounts,
|
|
23
|
+
"salesforce.create-account": createAccount,
|
|
24
|
+
"salesforce.update-account": updateAccount,
|
|
25
|
+
"salesforce.delete-account": deleteAccount,
|
|
26
|
+
"salesforce.get-campaign": getCampaign,
|
|
27
|
+
"salesforce.list-campaigns": listCampaigns,
|
|
28
|
+
"salesforce.create-campaign": createCampaign,
|
|
29
|
+
"salesforce.update-campaign": updateCampaign,
|
|
30
|
+
"salesforce.delete-campaign": deleteCampaign,
|
|
31
|
+
"salesforce.get-campaign-member": getCampaignMember,
|
|
32
|
+
"salesforce.list-campaign-members": listCampaignMembers,
|
|
33
|
+
"salesforce.create-campaign-member": createCampaignMember,
|
|
34
|
+
"salesforce.update-campaign-member": updateCampaignMember,
|
|
35
|
+
"salesforce.delete-campaign-member": deleteCampaignMember,
|
|
36
|
+
"salesforce.get-contact": getContact,
|
|
37
|
+
"salesforce.list-contacts": listContacts,
|
|
38
|
+
"salesforce.create-contact": createContact,
|
|
39
|
+
"salesforce.update-contact": updateContact,
|
|
40
|
+
"salesforce.delete-contact": deleteContact,
|
|
41
|
+
"salesforce.associate-contact-to-account": associateContactToAccount,
|
|
42
|
+
"salesforce.dissociate-contact-from-account": dissociateContactFromAccount,
|
|
43
|
+
"salesforce.get-lead": getLead,
|
|
44
|
+
"salesforce.list-leads": listLeads,
|
|
45
|
+
"salesforce.create-lead": createLead,
|
|
46
|
+
"salesforce.update-lead": updateLead,
|
|
47
|
+
"salesforce.delete-lead": deleteLead,
|
|
48
|
+
"salesforce.get-opportunity": getOpportunity,
|
|
49
|
+
"salesforce.list-opportunities": listOpportunities,
|
|
50
|
+
"salesforce.create-opportunity": createOpportunity,
|
|
51
|
+
"salesforce.update-opportunity": updateOpportunity,
|
|
52
|
+
"salesforce.delete-opportunity": deleteOpportunity,
|
|
53
|
+
"salesforce.get-opportunity-line-item": getOpportunityLineItem,
|
|
54
|
+
"salesforce.list-opportunity-line-items": listOpportunityLineItems,
|
|
55
|
+
"salesforce.create-opportunity-line-item": createOpportunityLineItem,
|
|
56
|
+
"salesforce.update-opportunity-line-item": updateOpportunityLineItem,
|
|
57
|
+
"salesforce.delete-opportunity-line-item": deleteOpportunityLineItem,
|
|
58
|
+
"salesforce.get-case": getCase,
|
|
59
|
+
"salesforce.list-cases": listCases,
|
|
60
|
+
"salesforce.create-case": createCase,
|
|
61
|
+
"salesforce.update-case": updateCase,
|
|
62
|
+
"salesforce.delete-case": deleteCase,
|
|
63
|
+
"salesforce.get-note": getNote,
|
|
64
|
+
"salesforce.list-notes": listNotes,
|
|
65
|
+
"salesforce.create-note": createNote,
|
|
66
|
+
"salesforce.update-note": updateNote,
|
|
67
|
+
"salesforce.delete-note": deleteNote,
|
|
68
|
+
"salesforce.get-task": getTask,
|
|
69
|
+
"salesforce.list-tasks": listTasks,
|
|
70
|
+
"salesforce.create-task": createTask,
|
|
71
|
+
"salesforce.update-task": updateTask,
|
|
72
|
+
"salesforce.delete-task": deleteTask,
|
|
73
|
+
"salesforce.transfer-record-ownership": transferRecordOwnership,
|
|
74
|
+
"salesforce.get-current-user-info": getCurrentUserInfo,
|
|
75
|
+
"salesforce.run-soql-query": runSoqlQuery,
|
|
76
|
+
"salesforce.query-more": queryMore,
|
|
77
|
+
"salesforce.list-objects": listObjects,
|
|
78
|
+
"salesforce.describe-object": describeObject,
|
|
79
|
+
"salesforce.list-reports": listReports,
|
|
80
|
+
"salesforce.list-report-types": listReportTypes,
|
|
81
|
+
"salesforce.get-report-metadata": getReportMetadata,
|
|
82
|
+
"salesforce.run-report": runReport,
|
|
83
|
+
"salesforce.list-dashboards": listDashboards,
|
|
84
|
+
"salesforce.get-dashboard": getDashboard,
|
|
85
|
+
"salesforce.refresh-dashboard": refreshDashboard
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
//#endregion
|
package/dist/accounts.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const getAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
13
13
|
type: zod.ZodString;
|
|
14
14
|
url: zod.ZodString;
|
|
15
15
|
}, zod_v4_core0.$strip>>;
|
|
16
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
19
19
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const listAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
40
|
url: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>>;
|
|
42
42
|
}, zod_v4_core0.$catchall<zod.ZodUnknown>>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
44
44
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
45
45
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
46
46
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -56,7 +56,7 @@ declare const createAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
56
|
type: zod.ZodString;
|
|
57
57
|
url: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>>;
|
|
59
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
60
60
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
61
61
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
62
62
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ declare const updateAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
73
|
type: zod.ZodString;
|
|
74
74
|
url: zod.ZodString;
|
|
75
75
|
}, zod_v4_core0.$strip>>;
|
|
76
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
76
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
77
77
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
78
78
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
79
79
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ declare const deleteAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
86
86
|
success: zod.ZodBoolean;
|
|
87
87
|
id: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
errors: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
89
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
90
90
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
92
92
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
package/dist/accounts.mjs
CHANGED
package/dist/associations.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/associations.d.ts
|
|
@@ -13,7 +13,7 @@ declare const associateContactToAccount: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
13
13
|
type: z.ZodString;
|
|
14
14
|
url: z.ZodString;
|
|
15
15
|
}, z.core.$strip>>;
|
|
16
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", z.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: z.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: z.ZodURL;
|
|
19
19
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -29,7 +29,7 @@ declare const dissociateContactFromAccount: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
29
29
|
type: z.ZodString;
|
|
30
30
|
url: z.ZodString;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
|
-
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
32
|
+
}, z.core.$catchall<z.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", z.ZodObject<{
|
|
33
33
|
SALESFORCE_ACCESS_TOKEN: z.ZodString;
|
|
34
34
|
SALESFORCE_INSTANCE_URL: z.ZodURL;
|
|
35
35
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
package/dist/associations.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
|
-
import { i as salesforceIdSchema, s as salesforceRecordSchema } from "./common-
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
4
|
-
import { a as normalizeSalesforceQueryResult, i as getSelectFields, o as salesforceFieldListSchema, r as ensureMutationSuccess, t as buildSelectQuery } from "./shared-
|
|
2
|
+
import { i as salesforceIdSchema, s as salesforceRecordSchema } from "./common-wiFkMAq5.mjs";
|
|
3
|
+
import { t as salesforceOperation } from "./factory-CxfYmb6l.mjs";
|
|
4
|
+
import { a as normalizeSalesforceQueryResult, i as getSelectFields, o as salesforceFieldListSchema, r as ensureMutationSuccess, t as buildSelectQuery } from "./shared-P5lushwa.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/associations.ts
|
|
@@ -27,7 +27,7 @@ async function getContactRecord(client, contactId, returnFields) {
|
|
|
27
27
|
return salesforceRecordSchema.parse(record);
|
|
28
28
|
}
|
|
29
29
|
const associateContactToAccount = salesforceOperation({
|
|
30
|
-
id: "
|
|
30
|
+
id: "salesforce.associate-contact-to-account",
|
|
31
31
|
name: "Associate Salesforce Contact To Account",
|
|
32
32
|
description: "Associate a Salesforce contact to an account by setting AccountId",
|
|
33
33
|
input: z.object({
|
|
@@ -47,7 +47,7 @@ const associateContactToAccount = salesforceOperation({
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
const dissociateContactFromAccount = salesforceOperation({
|
|
50
|
-
id: "
|
|
50
|
+
id: "salesforce.dissociate-contact-from-account",
|
|
51
51
|
name: "Dissociate Salesforce Contact From Account",
|
|
52
52
|
description: "Remove the account association from a Salesforce contact by clearing AccountId",
|
|
53
53
|
input: z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const getCampaignMember: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
13
13
|
type: zod.ZodString;
|
|
14
14
|
url: zod.ZodString;
|
|
15
15
|
}, zod_v4_core0.$strip>>;
|
|
16
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
19
19
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const listCampaignMembers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
40
|
url: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>>;
|
|
42
42
|
}, zod_v4_core0.$catchall<zod.ZodUnknown>>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
44
44
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
45
45
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
46
46
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -56,7 +56,7 @@ declare const createCampaignMember: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
56
|
type: zod.ZodString;
|
|
57
57
|
url: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>>;
|
|
59
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
60
60
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
61
61
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
62
62
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ declare const updateCampaignMember: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
73
|
type: zod.ZodString;
|
|
74
74
|
url: zod.ZodString;
|
|
75
75
|
}, zod_v4_core0.$strip>>;
|
|
76
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
76
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
77
77
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
78
78
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
79
79
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ declare const deleteCampaignMember: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
86
86
|
success: zod.ZodBoolean;
|
|
87
87
|
id: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
errors: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
89
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
90
90
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
92
92
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
package/dist/campaigns.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const getCampaign: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
13
13
|
type: zod.ZodString;
|
|
14
14
|
url: zod.ZodString;
|
|
15
15
|
}, zod_v4_core0.$strip>>;
|
|
16
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
19
19
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const listCampaigns: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
40
|
url: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>>;
|
|
42
42
|
}, zod_v4_core0.$catchall<zod.ZodUnknown>>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
44
44
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
45
45
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
46
46
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -56,7 +56,7 @@ declare const createCampaign: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
56
|
type: zod.ZodString;
|
|
57
57
|
url: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>>;
|
|
59
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
60
60
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
61
61
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
62
62
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ declare const updateCampaign: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
73
|
type: zod.ZodString;
|
|
74
74
|
url: zod.ZodString;
|
|
75
75
|
}, zod_v4_core0.$strip>>;
|
|
76
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
76
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
77
77
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
78
78
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
79
79
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ declare const deleteCampaign: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
86
86
|
success: zod.ZodBoolean;
|
|
87
87
|
id: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
errors: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
89
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
90
90
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
92
92
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
package/dist/campaigns.mjs
CHANGED
package/dist/cases.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const getCase: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
13
13
|
type: zod.ZodString;
|
|
14
14
|
url: zod.ZodString;
|
|
15
15
|
}, zod_v4_core0.$strip>>;
|
|
16
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
19
19
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const listCases: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
40
|
url: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>>;
|
|
42
42
|
}, zod_v4_core0.$catchall<zod.ZodUnknown>>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
44
44
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
45
45
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
46
46
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -56,7 +56,7 @@ declare const createCase: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
56
|
type: zod.ZodString;
|
|
57
57
|
url: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>>;
|
|
59
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
60
60
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
61
61
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
62
62
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ declare const updateCase: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
73
|
type: zod.ZodString;
|
|
74
74
|
url: zod.ZodString;
|
|
75
75
|
}, zod_v4_core0.$strip>>;
|
|
76
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
76
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
77
77
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
78
78
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
79
79
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ declare const deleteCase: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
86
86
|
success: zod.ZodBoolean;
|
|
87
87
|
id: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
errors: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
89
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
90
90
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
92
92
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
package/dist/cases.mjs
CHANGED
package/dist/client.d.mts
CHANGED
package/dist/client.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as salesforce } from "./integration-
|
|
1
|
+
import { t as salesforce } from "./integration-B9QIZuPh.mjs";
|
|
2
|
+
import { t as createErrorNormalizingProxy } from "./dist-Bbp6t-WQ.mjs";
|
|
2
3
|
import * as jsforce from "@jsforce/jsforce-node";
|
|
3
4
|
import { CredentialRevokedError } from "@keystrokehq/core/errors";
|
|
4
|
-
import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
|
|
5
5
|
|
|
6
6
|
//#region src/client.ts
|
|
7
7
|
function getStatusCode(error) {
|
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as salesforce, t as SalesforceCredentials } from "./integration-
|
|
1
|
+
import { n as salesforce, t as SalesforceCredentials } from "./integration-CN_7-2E5.mjs";
|
|
2
2
|
export { type SalesforceCredentials, salesforce };
|
package/dist/connection.mjs
CHANGED
package/dist/contacts.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -13,7 +13,7 @@ declare const getContact: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
13
13
|
type: zod.ZodString;
|
|
14
14
|
url: zod.ZodString;
|
|
15
15
|
}, zod_v4_core0.$strip>>;
|
|
16
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
17
17
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
18
18
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
19
19
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -40,7 +40,7 @@ declare const listContacts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
40
|
url: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>>;
|
|
42
42
|
}, zod_v4_core0.$catchall<zod.ZodUnknown>>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
43
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
44
44
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
45
45
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
46
46
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -56,7 +56,7 @@ declare const createContact: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
56
|
type: zod.ZodString;
|
|
57
57
|
url: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>>;
|
|
59
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
60
60
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
61
61
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
62
62
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -73,7 +73,7 @@ declare const updateContact: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
73
|
type: zod.ZodString;
|
|
74
74
|
url: zod.ZodString;
|
|
75
75
|
}, zod_v4_core0.$strip>>;
|
|
76
|
-
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
76
|
+
}, zod_v4_core0.$catchall<zod.ZodUnknown>>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
77
77
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
78
78
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
79
79
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
@@ -86,7 +86,7 @@ declare const deleteContact: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
86
86
|
success: zod.ZodBoolean;
|
|
87
87
|
id: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
errors: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
89
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", zod.ZodObject<{
|
|
90
90
|
SALESFORCE_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
SALESFORCE_INSTANCE_URL: zod.ZodURL;
|
|
92
92
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
package/dist/contacts.mjs
CHANGED
package/dist/dashboards.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/dashboards.d.ts
|
|
6
|
-
declare const listDashboards: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
6
|
+
declare const listDashboards: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", z.ZodObject<{
|
|
7
7
|
SALESFORCE_ACCESS_TOKEN: z.ZodString;
|
|
8
8
|
SALESFORCE_INSTANCE_URL: z.ZodURL;
|
|
9
9
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -12,7 +12,7 @@ declare const listDashboards: _keystrokehq_core0.Operation<z.ZodObject<{}, z.cor
|
|
|
12
12
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
13
13
|
declare const getDashboard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
14
14
|
dashboardId: z.ZodString;
|
|
15
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
15
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", z.ZodObject<{
|
|
16
16
|
SALESFORCE_ACCESS_TOKEN: z.ZodString;
|
|
17
17
|
SALESFORCE_INSTANCE_URL: z.ZodURL;
|
|
18
18
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -21,7 +21,7 @@ declare const getDashboard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
21
21
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
22
22
|
declare const refreshDashboard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
23
23
|
dashboardId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
24
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>, readonly [_keystrokehq_core0.CredentialSet<"salesforce", z.ZodObject<{
|
|
25
25
|
SALESFORCE_ACCESS_TOKEN: z.ZodString;
|
|
26
26
|
SALESFORCE_INSTANCE_URL: z.ZodURL;
|
|
27
27
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
package/dist/dashboards.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
|
-
import { r as salesforceGenericObjectSchema } from "./common-
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
2
|
+
import { r as salesforceGenericObjectSchema } from "./common-wiFkMAq5.mjs";
|
|
3
|
+
import { t as salesforceOperation } from "./factory-CxfYmb6l.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/dashboards.ts
|
|
7
7
|
const SALESFORCE_API_VERSION = "v61.0";
|
|
8
8
|
const listDashboards = salesforceOperation({
|
|
9
|
-
id: "
|
|
9
|
+
id: "salesforce.list-dashboards",
|
|
10
10
|
name: "List Salesforce Dashboards",
|
|
11
11
|
description: "List dashboard definitions available in Salesforce analytics",
|
|
12
12
|
input: z.object({}),
|
|
@@ -17,7 +17,7 @@ const listDashboards = salesforceOperation({
|
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
const getDashboard = salesforceOperation({
|
|
20
|
-
id: "
|
|
20
|
+
id: "salesforce.get-dashboard",
|
|
21
21
|
name: "Get Salesforce Dashboard",
|
|
22
22
|
description: "Fetch metadata for a Salesforce dashboard",
|
|
23
23
|
input: z.object({ dashboardId: z.string().min(1) }),
|
|
@@ -28,7 +28,7 @@ const getDashboard = salesforceOperation({
|
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
const refreshDashboard = salesforceOperation({
|
|
31
|
-
id: "
|
|
31
|
+
id: "salesforce.refresh-dashboard",
|
|
32
32
|
name: "Refresh Salesforce Dashboard",
|
|
33
33
|
description: "Refresh a Salesforce dashboard and return the refresh job payload",
|
|
34
34
|
input: z.object({ dashboardId: z.string().min(1) }),
|