@keystrokehq/salesforce 0.0.6-rename-t1.0 → 0.0.7
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 +6 -6
- package/dist/_official/index.mjs +1 -1
- package/dist/accounts.mjs +1 -1
- package/dist/associations.mjs +2 -2
- package/dist/campaign-members.mjs +1 -1
- package/dist/campaigns.mjs +1 -1
- package/dist/cases.mjs +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/contacts.mjs +1 -1
- package/dist/dashboards.mjs +1 -1
- package/dist/{factory-C1ENWoLi.mjs → factory-Dt72AT6c.mjs} +1 -1
- package/dist/{integration-Covos8Yc.mjs → integration-DFFhYLhB.mjs} +11 -11
- package/dist/leads.mjs +1 -1
- package/dist/notes.mjs +1 -1
- package/dist/objects.mjs +1 -1
- package/dist/opportunities.mjs +1 -1
- package/dist/opportunity-line-items.mjs +1 -1
- package/dist/ownership.mjs +2 -2
- package/dist/reports.mjs +1 -1
- package/dist/{shared-X7bMVU_v.mjs → shared-Cp54E0DL.mjs} +1 -1
- package/dist/soql.mjs +2 -2
- package/dist/tasks.mjs +1 -1
- package/dist/triggers.mjs +2 -2
- package/dist/users.mjs +1 -1
- package/package.json +5 -5
|
@@ -18,16 +18,16 @@ declare const salesforceOfficialProviderSeed: {
|
|
|
18
18
|
readonly displayName: "Salesforce Platform";
|
|
19
19
|
readonly credentialSetName: "Keystroke Salesforce Platform App";
|
|
20
20
|
readonly envShape: {
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
21
|
+
readonly KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
22
|
+
readonly KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
23
|
+
readonly KEYSTROKE_OFFICIAL_SALESFORCE_ENVIRONMENT: z.ZodOptional<z.ZodEnum<{
|
|
24
24
|
production: "production";
|
|
25
25
|
sandbox: "sandbox";
|
|
26
26
|
}>>;
|
|
27
|
-
readonly
|
|
27
|
+
readonly KEYSTROKE_OFFICIAL_SALESFORCE_LOGIN_BASE_URL: z.ZodOptional<z.ZodString>;
|
|
28
28
|
};
|
|
29
|
-
readonly requiredEnvKeys: readonly ["
|
|
30
|
-
readonly externalAppIdEnvKey: "
|
|
29
|
+
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID", "KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_SECRET"];
|
|
30
|
+
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID";
|
|
31
31
|
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
32
32
|
clientId: string | undefined;
|
|
33
33
|
clientSecret: string | undefined;
|
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-DFFhYLhB.mjs";
|
|
2
2
|
|
|
3
3
|
export { salesforceAppCredentialSet, salesforceBundle, salesforceOfficialIntegration, salesforceOfficialProviderSeed };
|
package/dist/accounts.mjs
CHANGED
package/dist/associations.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { i as salesforceIdSchema, s as salesforceRecordSchema } from "./common-BUAhHMqn.mjs";
|
|
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-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
|
+
import { a as normalizeSalesforceQueryResult, i as getSelectFields, o as salesforceFieldListSchema, r as ensureMutationSuccess, t as buildSelectQuery } from "./shared-Cp54E0DL.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/associations.ts
|
package/dist/campaigns.mjs
CHANGED
package/dist/cases.mjs
CHANGED
package/dist/client.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as salesforce } from "./integration-
|
|
1
|
+
import { t as salesforce } from "./integration-DFFhYLhB.mjs";
|
|
2
2
|
import * as jsforce from "@jsforce/jsforce-node";
|
|
3
3
|
import { CredentialRevokedError } from "@keystrokehq/core/errors";
|
|
4
4
|
import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
|
package/dist/connection.mjs
CHANGED
package/dist/contacts.mjs
CHANGED
package/dist/dashboards.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { r as salesforceGenericObjectSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/dashboards.ts
|
|
@@ -19,20 +19,20 @@ const salesforceOfficialProviderSeed = {
|
|
|
19
19
|
displayName: "Salesforce Platform",
|
|
20
20
|
credentialSetName: "Keystroke Salesforce Platform App",
|
|
21
21
|
envShape: {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID: z.string().optional(),
|
|
23
|
+
KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_SECRET: z.string().optional(),
|
|
24
|
+
KEYSTROKE_OFFICIAL_SALESFORCE_ENVIRONMENT: z.enum(["production", "sandbox"]).optional(),
|
|
25
|
+
KEYSTROKE_OFFICIAL_SALESFORCE_LOGIN_BASE_URL: z.string().url().optional()
|
|
26
26
|
},
|
|
27
|
-
requiredEnvKeys: ["
|
|
28
|
-
externalAppIdEnvKey: "
|
|
27
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID", "KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_SECRET"],
|
|
28
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID",
|
|
29
29
|
buildCredentials: (env) => ({
|
|
30
|
-
clientId: env.
|
|
31
|
-
clientSecret: env.
|
|
30
|
+
clientId: env.KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_ID,
|
|
31
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_SALESFORCE_CLIENT_SECRET
|
|
32
32
|
}),
|
|
33
|
-
buildMetadata: (env) => env.
|
|
34
|
-
...env.
|
|
35
|
-
...env.
|
|
33
|
+
buildMetadata: (env) => env.KEYSTROKE_OFFICIAL_SALESFORCE_ENVIRONMENT || env.KEYSTROKE_OFFICIAL_SALESFORCE_LOGIN_BASE_URL ? {
|
|
34
|
+
...env.KEYSTROKE_OFFICIAL_SALESFORCE_ENVIRONMENT ? { environment: env.KEYSTROKE_OFFICIAL_SALESFORCE_ENVIRONMENT } : {},
|
|
35
|
+
...env.KEYSTROKE_OFFICIAL_SALESFORCE_LOGIN_BASE_URL ? { loginBaseUrl: env.KEYSTROKE_OFFICIAL_SALESFORCE_LOGIN_BASE_URL } : {}
|
|
36
36
|
} : void 0
|
|
37
37
|
};
|
|
38
38
|
|
package/dist/leads.mjs
CHANGED
package/dist/notes.mjs
CHANGED
package/dist/objects.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { r as salesforceGenericObjectSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/objects.ts
|
package/dist/opportunities.mjs
CHANGED
package/dist/ownership.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { i as salesforceIdSchema, s as salesforceRecordSchema } from "./common-BUAhHMqn.mjs";
|
|
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-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
|
+
import { a as normalizeSalesforceQueryResult, i as getSelectFields, o as salesforceFieldListSchema, r as ensureMutationSuccess, t as buildSelectQuery } from "./shared-Cp54E0DL.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/ownership.ts
|
package/dist/reports.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { n as salesforceGenericObjectArraySchema, r as salesforceGenericObjectSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/reports.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { a as salesforceMutationResultSchema, i as salesforceIdSchema, o as salesforceQueryResultSchema, s as salesforceRecordSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/shared.ts
|
package/dist/soql.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { o as salesforceQueryResultSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
4
|
-
import { a as normalizeSalesforceQueryResult } from "./shared-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
|
+
import { a as normalizeSalesforceQueryResult } from "./shared-Cp54E0DL.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/soql.ts
|
package/dist/tasks.mjs
CHANGED
package/dist/triggers.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as salesforce } from "./integration-
|
|
1
|
+
import { t as salesforce } from "./integration-DFFhYLhB.mjs";
|
|
2
2
|
import { createSalesforceClient } from "./client.mjs";
|
|
3
3
|
import { s as salesforceRecordSchema } from "./common-BUAhHMqn.mjs";
|
|
4
|
-
import { a as normalizeSalesforceQueryResult } from "./shared-
|
|
4
|
+
import { a as normalizeSalesforceQueryResult } from "./shared-Cp54E0DL.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
7
7
|
|
package/dist/users.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSalesforceClient } from "./client.mjs";
|
|
2
2
|
import { r as salesforceGenericObjectSchema } from "./common-BUAhHMqn.mjs";
|
|
3
|
-
import { t as salesforceOperation } from "./factory-
|
|
3
|
+
import { t as salesforceOperation } from "./factory-Dt72AT6c.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/users.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/salesforce",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -112,19 +112,19 @@
|
|
|
112
112
|
],
|
|
113
113
|
"dependencies": {
|
|
114
114
|
"@jsforce/jsforce-node": "^3.10.14",
|
|
115
|
-
"@keystrokehq/credential-connection": "^0.0.
|
|
116
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
115
|
+
"@keystrokehq/credential-connection": "^0.0.6",
|
|
116
|
+
"@keystrokehq/integration-authoring": "^0.0.7",
|
|
117
117
|
"zod": "^4.3.6"
|
|
118
118
|
},
|
|
119
119
|
"peerDependencies": {
|
|
120
|
-
"@keystrokehq/core": ">=0.0.
|
|
120
|
+
"@keystrokehq/core": ">=0.0.8 <0.1.0"
|
|
121
121
|
},
|
|
122
122
|
"devDependencies": {
|
|
123
123
|
"@types/node": "^22.19.11",
|
|
124
124
|
"tsdown": "^0.20.3",
|
|
125
125
|
"typescript": "^5.9.3",
|
|
126
126
|
"vitest": "^4.0.18",
|
|
127
|
-
"@keystrokehq/core": "^0.0.
|
|
127
|
+
"@keystrokehq/core": "^0.0.8",
|
|
128
128
|
"@keystrokehq/test-utils": "0.0.0",
|
|
129
129
|
"@keystrokehq/typescript-config": "0.0.0"
|
|
130
130
|
},
|