@superdurable/connector-adobe-marketo 0.1.0 → 0.2.0
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/README.md +6 -1
- package/dex-connector.json +818 -2
- package/dist/chunk-AYOHNIYZ.js +803 -0
- package/dist/connection-CS06EvUW.d.ts +518 -0
- package/dist/index.d.ts +886 -6
- package/dist/index.js +1238 -20
- package/dist/mock.d.ts +301 -3
- package/dist/mock.js +737 -5
- package/package.json +3 -3
- package/dist/chunk-N4RSR7PL.js +0 -134
- package/dist/connection-lQR7OxHI.d.ts +0 -81
|
@@ -0,0 +1,803 @@
|
|
|
1
|
+
// src/generated/models.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { SecretString } from "@superdurable/connectors-sdk";
|
|
4
|
+
var nativeJSON = JSON;
|
|
5
|
+
var signedIntegerToken = /^-?(?:0|[1-9][0-9]*)$/;
|
|
6
|
+
var minimumSignedInteger = -(1n << 63n);
|
|
7
|
+
var maximumSignedInteger = (1n << 63n) - 1n;
|
|
8
|
+
function decodeSignedInteger(value) {
|
|
9
|
+
if (typeof value === "number" && Number.isSafeInteger(value)) return value === 0 ? 0 : value;
|
|
10
|
+
if (!nativeJSON.isRawJSON(value) || value.rawJSON.length > 20 || !signedIntegerToken.test(value.rawJSON)) {
|
|
11
|
+
throw new TypeError("expected a signed 64-bit integer");
|
|
12
|
+
}
|
|
13
|
+
const integer = BigInt(value.rawJSON);
|
|
14
|
+
if (integer < minimumSignedInteger || integer > maximumSignedInteger) throw new RangeError("signed 64-bit integer out of range");
|
|
15
|
+
const number = Number(integer);
|
|
16
|
+
return Number.isSafeInteger(number) ? number : value;
|
|
17
|
+
}
|
|
18
|
+
var signedIntegerSchema = z.unknown().transform((value, context) => {
|
|
19
|
+
try {
|
|
20
|
+
return decodeSignedInteger(value);
|
|
21
|
+
} catch {
|
|
22
|
+
context.addIssue({ code: "custom", message: "expected a signed 64-bit integer" });
|
|
23
|
+
return z.NEVER;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
function parseJSONNumberTokens(text) {
|
|
27
|
+
return JSON.parse(text, (_key, value, context) => typeof value === "number" && context?.source !== void 0 ? nativeJSON.rawJSON(context.source) : value);
|
|
28
|
+
}
|
|
29
|
+
function parseExactIntegerJSON(text) {
|
|
30
|
+
return JSON.parse(text, (_key, field, context) => typeof field === "number" && !Number.isSafeInteger(field) && context?.source && signedIntegerToken.test(context.source) ? nativeJSON.rawJSON(context.source) : field);
|
|
31
|
+
}
|
|
32
|
+
function exactIntegerJSONCodec(decode) {
|
|
33
|
+
return {
|
|
34
|
+
typeName: "json",
|
|
35
|
+
wireKind: "json",
|
|
36
|
+
encode(value) {
|
|
37
|
+
const data = JSON.stringify(value, (_key, field) => {
|
|
38
|
+
if (typeof field === "number" && Number.isInteger(field) && !Number.isSafeInteger(field)) {
|
|
39
|
+
throw new RangeError("use a raw JSON token for integers outside the safe number range");
|
|
40
|
+
}
|
|
41
|
+
return field;
|
|
42
|
+
});
|
|
43
|
+
if (data === void 0) throw new TypeError("value cannot be encoded as JSON");
|
|
44
|
+
return { kind: "json", data };
|
|
45
|
+
},
|
|
46
|
+
decode(wire) {
|
|
47
|
+
if (wire.kind !== "json" || typeof wire.data !== "string") throw new TypeError("expected Dex JSON wire data");
|
|
48
|
+
const value = parseExactIntegerJSON(wire.data);
|
|
49
|
+
return decode ? decode(value) : value;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
var ConfigSchema = z.object({
|
|
54
|
+
"restEndpoint": z.string(),
|
|
55
|
+
"tokenEndpoint": z.string(),
|
|
56
|
+
"timeoutMs": z.number().int().optional(),
|
|
57
|
+
"maxResponseBytes": z.number().int().optional()
|
|
58
|
+
});
|
|
59
|
+
var CredentialMaterialError = class extends TypeError {
|
|
60
|
+
constructor(message) {
|
|
61
|
+
super(message);
|
|
62
|
+
this.name = "CredentialMaterialError";
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
var sdkCredentialDecodingFailureMessages = /* @__PURE__ */ new Set([
|
|
66
|
+
"project credential decoding failed",
|
|
67
|
+
"shared project credential decoding failed",
|
|
68
|
+
"project credential decoding failed: this connector version does not support shared credentials"
|
|
69
|
+
]);
|
|
70
|
+
function isCredentialMaterialError(error) {
|
|
71
|
+
return error instanceof CredentialMaterialError || error instanceof TypeError && sdkCredentialDecodingFailureMessages.has(error.message);
|
|
72
|
+
}
|
|
73
|
+
function decodeCredentials(value) {
|
|
74
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new CredentialMaterialError("credential fields are invalid");
|
|
75
|
+
const fields = value;
|
|
76
|
+
const allowed = /* @__PURE__ */ new Set(["access_token", "client_id", "client_secret"]);
|
|
77
|
+
if (Object.keys(fields).some((key) => !allowed.has(key))) throw new CredentialMaterialError("stored credential does not match the connector credential fields");
|
|
78
|
+
if (fields["access_token"] != null && !(typeof fields["access_token"] === "string")) throw new CredentialMaterialError("credential access_token has an invalid type");
|
|
79
|
+
if (fields["client_id"] != null && !(typeof fields["client_id"] === "string")) throw new CredentialMaterialError("credential client_id has an invalid type");
|
|
80
|
+
if (fields["client_secret"] != null && !(typeof fields["client_secret"] === "string")) throw new CredentialMaterialError("credential client_secret has an invalid type");
|
|
81
|
+
const credentials = {};
|
|
82
|
+
if (!fields["client_id"]) throw new CredentialMaterialError("credential client_id is required");
|
|
83
|
+
credentials.clientId = fields["client_id"] ?? "";
|
|
84
|
+
if (!fields["client_secret"]) throw new CredentialMaterialError("credential client_secret is required");
|
|
85
|
+
credentials.clientSecret = new SecretString(fields["client_secret"] ?? "");
|
|
86
|
+
credentials.accessToken = new SecretString(fields["access_token"] ?? "");
|
|
87
|
+
return credentials;
|
|
88
|
+
}
|
|
89
|
+
function decodeSharedCredentials(value) {
|
|
90
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new CredentialMaterialError("credential fields are invalid");
|
|
91
|
+
const fields = value;
|
|
92
|
+
const allowed = /* @__PURE__ */ new Set(["access_token", "client_id", "client_secret"]);
|
|
93
|
+
if (Object.keys(fields).some((key) => !allowed.has(key))) throw new CredentialMaterialError("stored credential does not match the connector credential fields");
|
|
94
|
+
if (fields["access_token"] != null && !(typeof fields["access_token"] === "string")) throw new CredentialMaterialError("credential access_token has an invalid type");
|
|
95
|
+
if (fields["client_id"] != null && !(typeof fields["client_id"] === "string")) throw new CredentialMaterialError("credential client_id has an invalid type");
|
|
96
|
+
if (fields["client_secret"] != null && !(typeof fields["client_secret"] === "string")) throw new CredentialMaterialError("credential client_secret has an invalid type");
|
|
97
|
+
const credentials = {};
|
|
98
|
+
if (!fields["client_id"]) throw new CredentialMaterialError("credential client_id is required");
|
|
99
|
+
credentials.clientId = fields["client_id"] ?? "";
|
|
100
|
+
credentials.clientSecret = new SecretString(fields["client_secret"] ?? "");
|
|
101
|
+
if (!fields["access_token"]) throw new CredentialMaterialError("credential access_token is required");
|
|
102
|
+
credentials.accessToken = new SecretString(fields["access_token"] ?? "");
|
|
103
|
+
return credentials;
|
|
104
|
+
}
|
|
105
|
+
var GetOpportunityByExternalIDInputSchema = z.strictObject({
|
|
106
|
+
"externalOpportunityId": z.string()
|
|
107
|
+
});
|
|
108
|
+
var OpportunityProfileSchema = z.strictObject({
|
|
109
|
+
"marketoGUID": z.string(),
|
|
110
|
+
"name": z.string()
|
|
111
|
+
});
|
|
112
|
+
var CreateOpportunityInputSchema = z.strictObject({
|
|
113
|
+
"externalOpportunityId": z.string(),
|
|
114
|
+
"name": z.string()
|
|
115
|
+
});
|
|
116
|
+
var OpportunityWriteResultSchema = z.strictObject({
|
|
117
|
+
"marketoGUID": z.string(),
|
|
118
|
+
"status": z.string()
|
|
119
|
+
});
|
|
120
|
+
var UpsertOpportunityInputSchema = z.strictObject({
|
|
121
|
+
"externalOpportunityId": z.string(),
|
|
122
|
+
"name": z.string()
|
|
123
|
+
});
|
|
124
|
+
var DeleteOpportunityInputSchema = z.strictObject({
|
|
125
|
+
"externalOpportunityId": z.string()
|
|
126
|
+
});
|
|
127
|
+
var DeletedOpportunitySchema = z.strictObject({
|
|
128
|
+
"deleted": z.boolean()
|
|
129
|
+
});
|
|
130
|
+
var GetCompanyByExternalIDInputSchema = z.strictObject({
|
|
131
|
+
"externalCompanyId": z.string()
|
|
132
|
+
});
|
|
133
|
+
var CompanyProfileSchema = z.strictObject({
|
|
134
|
+
"id": signedIntegerSchema,
|
|
135
|
+
"company": z.string()
|
|
136
|
+
});
|
|
137
|
+
var CreateCompanyInputSchema = z.strictObject({
|
|
138
|
+
"externalCompanyId": z.string(),
|
|
139
|
+
"company": z.string()
|
|
140
|
+
});
|
|
141
|
+
var CompanyWriteResultSchema = z.strictObject({
|
|
142
|
+
"id": signedIntegerSchema,
|
|
143
|
+
"status": z.string()
|
|
144
|
+
});
|
|
145
|
+
var UpsertCompanyInputSchema = z.strictObject({
|
|
146
|
+
"externalCompanyId": z.string(),
|
|
147
|
+
"company": z.string()
|
|
148
|
+
});
|
|
149
|
+
var DeleteCompanyInputSchema = z.strictObject({
|
|
150
|
+
"externalCompanyId": z.string()
|
|
151
|
+
});
|
|
152
|
+
var DeletedCompanySchema = z.strictObject({
|
|
153
|
+
"deleted": z.boolean()
|
|
154
|
+
});
|
|
155
|
+
var GetActivityPagingTokenInputSchema = z.strictObject({
|
|
156
|
+
"sinceDatetime": z.string()
|
|
157
|
+
});
|
|
158
|
+
var ActivityPagingTokenSchema = z.strictObject({
|
|
159
|
+
"nextPageToken": z.string()
|
|
160
|
+
});
|
|
161
|
+
var ListActivityTypesInputSchema = z.strictObject({});
|
|
162
|
+
var ActivityTypeSchema = z.strictObject({
|
|
163
|
+
"id": signedIntegerSchema,
|
|
164
|
+
"name": z.string()
|
|
165
|
+
});
|
|
166
|
+
var ActivityTypesSchema = z.strictObject({
|
|
167
|
+
"types": z.array(ActivityTypeSchema).nullable()
|
|
168
|
+
});
|
|
169
|
+
var ListActivitiesInputSchema = z.strictObject({
|
|
170
|
+
"nextPageToken": z.string(),
|
|
171
|
+
"activityTypeIds": z.array(signedIntegerSchema).nullable()
|
|
172
|
+
});
|
|
173
|
+
var ActivityMetadataSchema = z.strictObject({
|
|
174
|
+
"marketoGUID": z.string(),
|
|
175
|
+
"leadId": signedIntegerSchema,
|
|
176
|
+
"activityTypeId": signedIntegerSchema,
|
|
177
|
+
"activityDate": z.string()
|
|
178
|
+
});
|
|
179
|
+
var ActivityPageSchema = z.strictObject({
|
|
180
|
+
"activities": z.array(ActivityMetadataSchema).nullable(),
|
|
181
|
+
"nextPageToken": z.string(),
|
|
182
|
+
"moreResult": z.boolean()
|
|
183
|
+
});
|
|
184
|
+
var CreateLeadInputSchema = z.strictObject({
|
|
185
|
+
"email": z.string(),
|
|
186
|
+
"firstName": z.string().optional(),
|
|
187
|
+
"lastName": z.string().optional()
|
|
188
|
+
});
|
|
189
|
+
var CreatedLeadSchema = z.strictObject({
|
|
190
|
+
"id": signedIntegerSchema,
|
|
191
|
+
"status": z.string()
|
|
192
|
+
});
|
|
193
|
+
var UpsertLeadByEmailInputSchema = z.strictObject({
|
|
194
|
+
"email": z.string(),
|
|
195
|
+
"firstName": z.string().optional(),
|
|
196
|
+
"lastName": z.string().optional()
|
|
197
|
+
});
|
|
198
|
+
var SyncedLeadSchema = z.strictObject({
|
|
199
|
+
"id": signedIntegerSchema,
|
|
200
|
+
"status": z.string()
|
|
201
|
+
});
|
|
202
|
+
var GetLeadInputSchema = z.strictObject({
|
|
203
|
+
"leadId": signedIntegerSchema
|
|
204
|
+
});
|
|
205
|
+
var LeadProfileSchema = z.strictObject({
|
|
206
|
+
"id": signedIntegerSchema,
|
|
207
|
+
"firstName": z.string(),
|
|
208
|
+
"lastName": z.string()
|
|
209
|
+
});
|
|
210
|
+
var FindLeadsByEmailInputSchema = z.strictObject({
|
|
211
|
+
"email": z.string(),
|
|
212
|
+
"nextPageToken": z.string().optional()
|
|
213
|
+
});
|
|
214
|
+
var LeadProfilesPageSchema = z.strictObject({
|
|
215
|
+
"leads": z.array(LeadProfileSchema).nullable(),
|
|
216
|
+
"nextPageToken": z.string()
|
|
217
|
+
});
|
|
218
|
+
var UpdateLeadInputSchema = z.strictObject({
|
|
219
|
+
"leadId": signedIntegerSchema,
|
|
220
|
+
"firstName": z.string().optional(),
|
|
221
|
+
"lastName": z.string().optional()
|
|
222
|
+
});
|
|
223
|
+
var UpdatedLeadSchema = z.strictObject({
|
|
224
|
+
"id": signedIntegerSchema,
|
|
225
|
+
"status": z.string()
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
// src/generated/definitions.ts
|
|
229
|
+
var ConnectorID = "adobe-marketo";
|
|
230
|
+
var ProviderID = "adobe";
|
|
231
|
+
var GetOpportunityByExternalIDBranch = {
|
|
232
|
+
Found: "found",
|
|
233
|
+
NotFound: "notFound",
|
|
234
|
+
ProviderRejected: "providerRejected",
|
|
235
|
+
InvalidResponse: "invalidResponse",
|
|
236
|
+
Defect: "defect"
|
|
237
|
+
};
|
|
238
|
+
var GetOpportunityByExternalIDBranchFound = GetOpportunityByExternalIDBranch.Found;
|
|
239
|
+
var GetOpportunityByExternalIDBranchNotFound = GetOpportunityByExternalIDBranch.NotFound;
|
|
240
|
+
var GetOpportunityByExternalIDBranchProviderRejected = GetOpportunityByExternalIDBranch.ProviderRejected;
|
|
241
|
+
var GetOpportunityByExternalIDBranchInvalidResponse = GetOpportunityByExternalIDBranch.InvalidResponse;
|
|
242
|
+
var GetOpportunityByExternalIDBranchDefect = GetOpportunityByExternalIDBranch.Defect;
|
|
243
|
+
var GetOpportunityByExternalIDDefinition = {
|
|
244
|
+
operation: { connectorId: ConnectorID, operationId: "getOpportunityByExternalID" },
|
|
245
|
+
branches: [
|
|
246
|
+
{ id: "found", description: "Marketo returned the opportunity." },
|
|
247
|
+
{ id: "notFound", description: "Marketo found no matching opportunity.", optional: true },
|
|
248
|
+
{ id: "providerRejected", description: "Marketo rejected the opportunity lookup.", optional: true },
|
|
249
|
+
{ id: "invalidResponse", description: "Marketo returned malformed opportunity JSON.", optional: true },
|
|
250
|
+
{ id: "defect", description: "The external opportunity ID is invalid.", optional: true }
|
|
251
|
+
],
|
|
252
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
253
|
+
};
|
|
254
|
+
var GetOpportunityByExternalIDMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
255
|
+
var CreateOpportunityBranch = {
|
|
256
|
+
Created: "created",
|
|
257
|
+
AlreadyExists: "alreadyExists",
|
|
258
|
+
ProviderRejected: "providerRejected",
|
|
259
|
+
Uncertain: "uncertain",
|
|
260
|
+
Defect: "defect"
|
|
261
|
+
};
|
|
262
|
+
var CreateOpportunityBranchCreated = CreateOpportunityBranch.Created;
|
|
263
|
+
var CreateOpportunityBranchAlreadyExists = CreateOpportunityBranch.AlreadyExists;
|
|
264
|
+
var CreateOpportunityBranchProviderRejected = CreateOpportunityBranch.ProviderRejected;
|
|
265
|
+
var CreateOpportunityBranchUncertain = CreateOpportunityBranch.Uncertain;
|
|
266
|
+
var CreateOpportunityBranchDefect = CreateOpportunityBranch.Defect;
|
|
267
|
+
var CreateOpportunityDefinition = {
|
|
268
|
+
operation: { connectorId: ConnectorID, operationId: "createOpportunity" },
|
|
269
|
+
branches: [
|
|
270
|
+
{ id: "created", description: "Marketo created the opportunity." },
|
|
271
|
+
{ id: "alreadyExists", description: "An opportunity already uses the external ID.", optional: true },
|
|
272
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the create.", optional: true },
|
|
273
|
+
{ id: "uncertain", description: "A prior create may have succeeded but cannot be confirmed.", optional: true },
|
|
274
|
+
{ id: "defect", description: "The external opportunity ID or name is invalid.", optional: true }
|
|
275
|
+
],
|
|
276
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
277
|
+
repeatOnUnknown: "limited",
|
|
278
|
+
maxSends: 3
|
|
279
|
+
};
|
|
280
|
+
var CreateOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
281
|
+
var UpsertOpportunityBranch = {
|
|
282
|
+
Synced: "synced",
|
|
283
|
+
ProviderRejected: "providerRejected",
|
|
284
|
+
InvalidResponse: "invalidResponse",
|
|
285
|
+
Defect: "defect"
|
|
286
|
+
};
|
|
287
|
+
var UpsertOpportunityBranchSynced = UpsertOpportunityBranch.Synced;
|
|
288
|
+
var UpsertOpportunityBranchProviderRejected = UpsertOpportunityBranch.ProviderRejected;
|
|
289
|
+
var UpsertOpportunityBranchInvalidResponse = UpsertOpportunityBranch.InvalidResponse;
|
|
290
|
+
var UpsertOpportunityBranchDefect = UpsertOpportunityBranch.Defect;
|
|
291
|
+
var UpsertOpportunityDefinition = {
|
|
292
|
+
operation: { connectorId: ConnectorID, operationId: "upsertOpportunity" },
|
|
293
|
+
branches: [
|
|
294
|
+
{ id: "synced", description: "Marketo created or updated the opportunity." },
|
|
295
|
+
{ id: "providerRejected", description: "Marketo rejected the upsert.", optional: true },
|
|
296
|
+
{ id: "invalidResponse", description: "Marketo returned malformed opportunity JSON.", optional: true },
|
|
297
|
+
{ id: "defect", description: "The external opportunity ID or name is invalid.", optional: true }
|
|
298
|
+
],
|
|
299
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
300
|
+
repeatOnUnknown: "safe"
|
|
301
|
+
};
|
|
302
|
+
var UpsertOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
303
|
+
var DeleteOpportunityBranch = {
|
|
304
|
+
Deleted: "deleted",
|
|
305
|
+
ProviderRejected: "providerRejected",
|
|
306
|
+
InvalidResponse: "invalidResponse",
|
|
307
|
+
Defect: "defect"
|
|
308
|
+
};
|
|
309
|
+
var DeleteOpportunityBranchDeleted = DeleteOpportunityBranch.Deleted;
|
|
310
|
+
var DeleteOpportunityBranchProviderRejected = DeleteOpportunityBranch.ProviderRejected;
|
|
311
|
+
var DeleteOpportunityBranchInvalidResponse = DeleteOpportunityBranch.InvalidResponse;
|
|
312
|
+
var DeleteOpportunityBranchDefect = DeleteOpportunityBranch.Defect;
|
|
313
|
+
var DeleteOpportunityDefinition = {
|
|
314
|
+
operation: { connectorId: ConnectorID, operationId: "deleteOpportunity" },
|
|
315
|
+
branches: [
|
|
316
|
+
{ id: "deleted", description: "The opportunity is absent after the call." },
|
|
317
|
+
{ id: "providerRejected", description: "Marketo rejected deletion, including existing opportunity roles.", optional: true },
|
|
318
|
+
{ id: "invalidResponse", description: "Marketo returned malformed deletion JSON.", optional: true },
|
|
319
|
+
{ id: "defect", description: "The external opportunity ID is invalid.", optional: true }
|
|
320
|
+
],
|
|
321
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
322
|
+
repeatOnUnknown: "safe"
|
|
323
|
+
};
|
|
324
|
+
var DeleteOpportunityMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
325
|
+
var GetCompanyByExternalIDBranch = {
|
|
326
|
+
Found: "found",
|
|
327
|
+
NotFound: "notFound",
|
|
328
|
+
ProviderRejected: "providerRejected",
|
|
329
|
+
InvalidResponse: "invalidResponse",
|
|
330
|
+
Defect: "defect"
|
|
331
|
+
};
|
|
332
|
+
var GetCompanyByExternalIDBranchFound = GetCompanyByExternalIDBranch.Found;
|
|
333
|
+
var GetCompanyByExternalIDBranchNotFound = GetCompanyByExternalIDBranch.NotFound;
|
|
334
|
+
var GetCompanyByExternalIDBranchProviderRejected = GetCompanyByExternalIDBranch.ProviderRejected;
|
|
335
|
+
var GetCompanyByExternalIDBranchInvalidResponse = GetCompanyByExternalIDBranch.InvalidResponse;
|
|
336
|
+
var GetCompanyByExternalIDBranchDefect = GetCompanyByExternalIDBranch.Defect;
|
|
337
|
+
var GetCompanyByExternalIDDefinition = {
|
|
338
|
+
operation: { connectorId: ConnectorID, operationId: "getCompanyByExternalID" },
|
|
339
|
+
branches: [
|
|
340
|
+
{ id: "found", description: "Marketo returned the company." },
|
|
341
|
+
{ id: "notFound", description: "Marketo found no matching company.", optional: true },
|
|
342
|
+
{ id: "providerRejected", description: "Marketo rejected the company lookup.", optional: true },
|
|
343
|
+
{ id: "invalidResponse", description: "Marketo returned malformed company JSON.", optional: true },
|
|
344
|
+
{ id: "defect", description: "The external company ID is invalid.", optional: true }
|
|
345
|
+
],
|
|
346
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
347
|
+
};
|
|
348
|
+
var GetCompanyByExternalIDMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
349
|
+
var CreateCompanyBranch = {
|
|
350
|
+
Created: "created",
|
|
351
|
+
AlreadyExists: "alreadyExists",
|
|
352
|
+
ProviderRejected: "providerRejected",
|
|
353
|
+
Uncertain: "uncertain",
|
|
354
|
+
Defect: "defect"
|
|
355
|
+
};
|
|
356
|
+
var CreateCompanyBranchCreated = CreateCompanyBranch.Created;
|
|
357
|
+
var CreateCompanyBranchAlreadyExists = CreateCompanyBranch.AlreadyExists;
|
|
358
|
+
var CreateCompanyBranchProviderRejected = CreateCompanyBranch.ProviderRejected;
|
|
359
|
+
var CreateCompanyBranchUncertain = CreateCompanyBranch.Uncertain;
|
|
360
|
+
var CreateCompanyBranchDefect = CreateCompanyBranch.Defect;
|
|
361
|
+
var CreateCompanyDefinition = {
|
|
362
|
+
operation: { connectorId: ConnectorID, operationId: "createCompany" },
|
|
363
|
+
branches: [
|
|
364
|
+
{ id: "created", description: "Marketo created the company." },
|
|
365
|
+
{ id: "alreadyExists", description: "A company already uses the external ID.", optional: true },
|
|
366
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the create.", optional: true },
|
|
367
|
+
{ id: "uncertain", description: "A prior create may have succeeded but cannot be confirmed.", optional: true },
|
|
368
|
+
{ id: "defect", description: "The external company ID or name is invalid.", optional: true }
|
|
369
|
+
],
|
|
370
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
371
|
+
repeatOnUnknown: "limited",
|
|
372
|
+
maxSends: 3
|
|
373
|
+
};
|
|
374
|
+
var CreateCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
375
|
+
var UpsertCompanyBranch = {
|
|
376
|
+
Synced: "synced",
|
|
377
|
+
ProviderRejected: "providerRejected",
|
|
378
|
+
InvalidResponse: "invalidResponse",
|
|
379
|
+
Defect: "defect"
|
|
380
|
+
};
|
|
381
|
+
var UpsertCompanyBranchSynced = UpsertCompanyBranch.Synced;
|
|
382
|
+
var UpsertCompanyBranchProviderRejected = UpsertCompanyBranch.ProviderRejected;
|
|
383
|
+
var UpsertCompanyBranchInvalidResponse = UpsertCompanyBranch.InvalidResponse;
|
|
384
|
+
var UpsertCompanyBranchDefect = UpsertCompanyBranch.Defect;
|
|
385
|
+
var UpsertCompanyDefinition = {
|
|
386
|
+
operation: { connectorId: ConnectorID, operationId: "upsertCompany" },
|
|
387
|
+
branches: [
|
|
388
|
+
{ id: "synced", description: "Marketo created or updated the company." },
|
|
389
|
+
{ id: "providerRejected", description: "Marketo rejected the upsert.", optional: true },
|
|
390
|
+
{ id: "invalidResponse", description: "Marketo returned malformed company JSON.", optional: true },
|
|
391
|
+
{ id: "defect", description: "The external company ID or name is invalid.", optional: true }
|
|
392
|
+
],
|
|
393
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
394
|
+
repeatOnUnknown: "safe"
|
|
395
|
+
};
|
|
396
|
+
var UpsertCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
397
|
+
var DeleteCompanyBranch = {
|
|
398
|
+
Deleted: "deleted",
|
|
399
|
+
ProviderRejected: "providerRejected",
|
|
400
|
+
InvalidResponse: "invalidResponse",
|
|
401
|
+
Defect: "defect"
|
|
402
|
+
};
|
|
403
|
+
var DeleteCompanyBranchDeleted = DeleteCompanyBranch.Deleted;
|
|
404
|
+
var DeleteCompanyBranchProviderRejected = DeleteCompanyBranch.ProviderRejected;
|
|
405
|
+
var DeleteCompanyBranchInvalidResponse = DeleteCompanyBranch.InvalidResponse;
|
|
406
|
+
var DeleteCompanyBranchDefect = DeleteCompanyBranch.Defect;
|
|
407
|
+
var DeleteCompanyDefinition = {
|
|
408
|
+
operation: { connectorId: ConnectorID, operationId: "deleteCompany" },
|
|
409
|
+
branches: [
|
|
410
|
+
{ id: "deleted", description: "The company is absent after the call." },
|
|
411
|
+
{ id: "providerRejected", description: "Marketo rejected the deletion.", optional: true },
|
|
412
|
+
{ id: "invalidResponse", description: "Marketo returned malformed deletion JSON.", optional: true },
|
|
413
|
+
{ id: "defect", description: "The external company ID is invalid.", optional: true }
|
|
414
|
+
],
|
|
415
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
416
|
+
repeatOnUnknown: "safe"
|
|
417
|
+
};
|
|
418
|
+
var DeleteCompanyMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
419
|
+
var GetActivityPagingTokenBranch = {
|
|
420
|
+
Found: "found",
|
|
421
|
+
ProviderRejected: "providerRejected",
|
|
422
|
+
InvalidResponse: "invalidResponse",
|
|
423
|
+
Defect: "defect"
|
|
424
|
+
};
|
|
425
|
+
var GetActivityPagingTokenBranchFound = GetActivityPagingTokenBranch.Found;
|
|
426
|
+
var GetActivityPagingTokenBranchProviderRejected = GetActivityPagingTokenBranch.ProviderRejected;
|
|
427
|
+
var GetActivityPagingTokenBranchInvalidResponse = GetActivityPagingTokenBranch.InvalidResponse;
|
|
428
|
+
var GetActivityPagingTokenBranchDefect = GetActivityPagingTokenBranch.Defect;
|
|
429
|
+
var GetActivityPagingTokenDefinition = {
|
|
430
|
+
operation: { connectorId: ConnectorID, operationId: "getActivityPagingToken" },
|
|
431
|
+
branches: [
|
|
432
|
+
{ id: "found", description: "Marketo returned an activity cursor." },
|
|
433
|
+
{ id: "providerRejected", description: "Marketo rejected the date or activity permission.", optional: true },
|
|
434
|
+
{ id: "invalidResponse", description: "Marketo returned malformed activity cursor JSON.", optional: true },
|
|
435
|
+
{ id: "defect", description: "The date and time is invalid.", optional: true }
|
|
436
|
+
],
|
|
437
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
438
|
+
};
|
|
439
|
+
var GetActivityPagingTokenMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
440
|
+
var ListActivityTypesBranch = {
|
|
441
|
+
Found: "found",
|
|
442
|
+
ProviderRejected: "providerRejected",
|
|
443
|
+
InvalidResponse: "invalidResponse",
|
|
444
|
+
Defect: "defect"
|
|
445
|
+
};
|
|
446
|
+
var ListActivityTypesBranchFound = ListActivityTypesBranch.Found;
|
|
447
|
+
var ListActivityTypesBranchProviderRejected = ListActivityTypesBranch.ProviderRejected;
|
|
448
|
+
var ListActivityTypesBranchInvalidResponse = ListActivityTypesBranch.InvalidResponse;
|
|
449
|
+
var ListActivityTypesBranchDefect = ListActivityTypesBranch.Defect;
|
|
450
|
+
var ListActivityTypesDefinition = {
|
|
451
|
+
operation: { connectorId: ConnectorID, operationId: "listActivityTypes" },
|
|
452
|
+
branches: [
|
|
453
|
+
{ id: "found", description: "Marketo returned activity types." },
|
|
454
|
+
{ id: "providerRejected", description: "Marketo rejected the activity type request.", optional: true },
|
|
455
|
+
{ id: "invalidResponse", description: "Marketo returned malformed activity type JSON.", optional: true },
|
|
456
|
+
{ id: "defect", description: "The connection configuration is invalid.", optional: true }
|
|
457
|
+
],
|
|
458
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
459
|
+
};
|
|
460
|
+
var ListActivityTypesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
461
|
+
var ListActivitiesBranch = {
|
|
462
|
+
Found: "found",
|
|
463
|
+
ProviderRejected: "providerRejected",
|
|
464
|
+
InvalidResponse: "invalidResponse",
|
|
465
|
+
Defect: "defect"
|
|
466
|
+
};
|
|
467
|
+
var ListActivitiesBranchFound = ListActivitiesBranch.Found;
|
|
468
|
+
var ListActivitiesBranchProviderRejected = ListActivitiesBranch.ProviderRejected;
|
|
469
|
+
var ListActivitiesBranchInvalidResponse = ListActivitiesBranch.InvalidResponse;
|
|
470
|
+
var ListActivitiesBranchDefect = ListActivitiesBranch.Defect;
|
|
471
|
+
var ListActivitiesDefinition = {
|
|
472
|
+
operation: { connectorId: ConnectorID, operationId: "listActivities" },
|
|
473
|
+
branches: [
|
|
474
|
+
{ id: "found", description: "Marketo returned an activity page." },
|
|
475
|
+
{ id: "providerRejected", description: "Marketo rejected the cursor or activity type IDs.", optional: true },
|
|
476
|
+
{ id: "invalidResponse", description: "Marketo returned malformed activity JSON.", optional: true },
|
|
477
|
+
{ id: "defect", description: "The cursor or activity type IDs are invalid.", optional: true }
|
|
478
|
+
],
|
|
479
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
480
|
+
};
|
|
481
|
+
var ListActivitiesMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
482
|
+
var CreateLeadBranch = {
|
|
483
|
+
Created: "created",
|
|
484
|
+
AlreadyExists: "alreadyExists",
|
|
485
|
+
ProviderRejected: "providerRejected",
|
|
486
|
+
Uncertain: "uncertain",
|
|
487
|
+
Defect: "defect"
|
|
488
|
+
};
|
|
489
|
+
var CreateLeadBranchCreated = CreateLeadBranch.Created;
|
|
490
|
+
var CreateLeadBranchAlreadyExists = CreateLeadBranch.AlreadyExists;
|
|
491
|
+
var CreateLeadBranchProviderRejected = CreateLeadBranch.ProviderRejected;
|
|
492
|
+
var CreateLeadBranchUncertain = CreateLeadBranch.Uncertain;
|
|
493
|
+
var CreateLeadBranchDefect = CreateLeadBranch.Defect;
|
|
494
|
+
var CreateLeadDefinition = {
|
|
495
|
+
operation: { connectorId: ConnectorID, operationId: "createLead" },
|
|
496
|
+
branches: [
|
|
497
|
+
{ id: "created", description: "Marketo created the lead." },
|
|
498
|
+
{ id: "alreadyExists", description: "Marketo found an existing lead for this email.", optional: true },
|
|
499
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the create request.", optional: true },
|
|
500
|
+
{ id: "uncertain", description: "A previous create may have succeeded but cannot be confirmed at the send cap.", optional: true },
|
|
501
|
+
{ id: "defect", description: "Local email or name fields are invalid.", optional: true }
|
|
502
|
+
],
|
|
503
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "sync" },
|
|
504
|
+
repeatOnUnknown: "limited",
|
|
505
|
+
maxSends: 3
|
|
506
|
+
};
|
|
507
|
+
var CreateLeadMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
508
|
+
var UpsertLeadByEmailBranch = {
|
|
509
|
+
Synced: "synced",
|
|
510
|
+
ProviderRejected: "providerRejected",
|
|
511
|
+
InvalidResponse: "invalidResponse",
|
|
512
|
+
Defect: "defect"
|
|
513
|
+
};
|
|
514
|
+
var UpsertLeadByEmailBranchSynced = UpsertLeadByEmailBranch.Synced;
|
|
515
|
+
var UpsertLeadByEmailBranchProviderRejected = UpsertLeadByEmailBranch.ProviderRejected;
|
|
516
|
+
var UpsertLeadByEmailBranchInvalidResponse = UpsertLeadByEmailBranch.InvalidResponse;
|
|
517
|
+
var UpsertLeadByEmailBranchDefect = UpsertLeadByEmailBranch.Defect;
|
|
518
|
+
var UpsertLeadByEmailDefinition = {
|
|
519
|
+
operation: { connectorId: ConnectorID, operationId: "upsertLeadByEmail" },
|
|
520
|
+
branches: [
|
|
521
|
+
{ id: "synced", description: "Marketo created or updated the lead." },
|
|
522
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the upsert or found multiple matches.", optional: true },
|
|
523
|
+
{ id: "invalidResponse", description: "Marketo returned malformed or oversized JSON.", optional: true },
|
|
524
|
+
{ id: "defect", description: "Local email or name fields are invalid.", optional: true }
|
|
525
|
+
],
|
|
526
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
527
|
+
repeatOnUnknown: "safe"
|
|
528
|
+
};
|
|
529
|
+
var UpsertLeadByEmailMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
530
|
+
var GetLeadBranch = {
|
|
531
|
+
Found: "found",
|
|
532
|
+
NotFound: "notFound",
|
|
533
|
+
ProviderRejected: "providerRejected",
|
|
534
|
+
InvalidResponse: "invalidResponse",
|
|
535
|
+
Defect: "defect"
|
|
536
|
+
};
|
|
537
|
+
var GetLeadBranchFound = GetLeadBranch.Found;
|
|
538
|
+
var GetLeadBranchNotFound = GetLeadBranch.NotFound;
|
|
539
|
+
var GetLeadBranchProviderRejected = GetLeadBranch.ProviderRejected;
|
|
540
|
+
var GetLeadBranchInvalidResponse = GetLeadBranch.InvalidResponse;
|
|
541
|
+
var GetLeadBranchDefect = GetLeadBranch.Defect;
|
|
542
|
+
var GetLeadDefinition = {
|
|
543
|
+
operation: { connectorId: ConnectorID, operationId: "getLead" },
|
|
544
|
+
branches: [
|
|
545
|
+
{ id: "found", description: "Marketo returned the selected lead." },
|
|
546
|
+
{ id: "notFound", description: "Marketo returned no lead for the ID.", optional: true },
|
|
547
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the request.", optional: true },
|
|
548
|
+
{ id: "invalidResponse", description: "Marketo returned malformed or oversized JSON.", optional: true },
|
|
549
|
+
{ id: "defect", description: "Local input or connection configuration is invalid.", optional: true }
|
|
550
|
+
],
|
|
551
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
552
|
+
};
|
|
553
|
+
var GetLeadMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
554
|
+
var FindLeadsByEmailBranch = {
|
|
555
|
+
Found: "found",
|
|
556
|
+
ProviderRejected: "providerRejected",
|
|
557
|
+
InvalidResponse: "invalidResponse",
|
|
558
|
+
Defect: "defect"
|
|
559
|
+
};
|
|
560
|
+
var FindLeadsByEmailBranchFound = FindLeadsByEmailBranch.Found;
|
|
561
|
+
var FindLeadsByEmailBranchProviderRejected = FindLeadsByEmailBranch.ProviderRejected;
|
|
562
|
+
var FindLeadsByEmailBranchInvalidResponse = FindLeadsByEmailBranch.InvalidResponse;
|
|
563
|
+
var FindLeadsByEmailBranchDefect = FindLeadsByEmailBranch.Defect;
|
|
564
|
+
var FindLeadsByEmailDefinition = {
|
|
565
|
+
operation: { connectorId: ConnectorID, operationId: "findLeadsByEmail" },
|
|
566
|
+
branches: [
|
|
567
|
+
{ id: "found", description: "Marketo returned the matching lead page." },
|
|
568
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the filter.", optional: true },
|
|
569
|
+
{ id: "invalidResponse", description: "Marketo returned malformed or oversized JSON.", optional: true },
|
|
570
|
+
{ id: "defect", description: "Local email or connection configuration is invalid.", optional: true }
|
|
571
|
+
],
|
|
572
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" }
|
|
573
|
+
};
|
|
574
|
+
var FindLeadsByEmailMetadata = { kind: "query", idempotency: "none", authorization: "required" };
|
|
575
|
+
var UpdateLeadBranch = {
|
|
576
|
+
Updated: "updated",
|
|
577
|
+
NotFound: "notFound",
|
|
578
|
+
ProviderRejected: "providerRejected",
|
|
579
|
+
InvalidResponse: "invalidResponse",
|
|
580
|
+
Defect: "defect"
|
|
581
|
+
};
|
|
582
|
+
var UpdateLeadBranchUpdated = UpdateLeadBranch.Updated;
|
|
583
|
+
var UpdateLeadBranchNotFound = UpdateLeadBranch.NotFound;
|
|
584
|
+
var UpdateLeadBranchProviderRejected = UpdateLeadBranch.ProviderRejected;
|
|
585
|
+
var UpdateLeadBranchInvalidResponse = UpdateLeadBranch.InvalidResponse;
|
|
586
|
+
var UpdateLeadBranchDefect = UpdateLeadBranch.Defect;
|
|
587
|
+
var UpdateLeadDefinition = {
|
|
588
|
+
operation: { connectorId: ConnectorID, operationId: "updateLead" },
|
|
589
|
+
branches: [
|
|
590
|
+
{ id: "updated", description: "Marketo updated the selected lead." },
|
|
591
|
+
{ id: "notFound", description: "Marketo found no lead for the ID.", optional: true },
|
|
592
|
+
{ id: "providerRejected", description: "Marketo conclusively rejected the update.", optional: true },
|
|
593
|
+
{ id: "invalidResponse", description: "Marketo returned malformed or oversized JSON.", optional: true },
|
|
594
|
+
{ id: "defect", description: "Local ID, name fields, or connection configuration is invalid.", optional: true }
|
|
595
|
+
],
|
|
596
|
+
stepDefaults: { executeMethodTimeoutMs: 3e4, executeDurability: "async" },
|
|
597
|
+
repeatOnUnknown: "safe"
|
|
598
|
+
};
|
|
599
|
+
var UpdateLeadMetadata = { kind: "mutation", idempotency: "required", authorization: "required" };
|
|
600
|
+
|
|
601
|
+
// src/generated/connection.ts
|
|
602
|
+
import { ConnectionRefSchema } from "@superdurable/connectors-sdk";
|
|
603
|
+
import { newRefreshingCredentialProvider } from "@superdurable/connectors-sdk/projectconfig";
|
|
604
|
+
var Connection = class {
|
|
605
|
+
/** Stable provider and connection name. */
|
|
606
|
+
reference;
|
|
607
|
+
/** Bound provider operations. */
|
|
608
|
+
operations;
|
|
609
|
+
/** Validate a reference and bind operations. */
|
|
610
|
+
constructor(reference, operations) {
|
|
611
|
+
this.reference = ConnectionRefSchema.parse(reference);
|
|
612
|
+
if (this.reference.provider !== ProviderID) throw new TypeError("connection provider differs from the manifest");
|
|
613
|
+
if (!operations) throw new TypeError("connector operations are required");
|
|
614
|
+
this.operations = operations;
|
|
615
|
+
}
|
|
616
|
+
};
|
|
617
|
+
function newConnection(client, reference) {
|
|
618
|
+
if (!client) throw new TypeError("connector client is required");
|
|
619
|
+
return new Connection(reference, client);
|
|
620
|
+
}
|
|
621
|
+
function newConnectionWithOperations(operations, reference) {
|
|
622
|
+
return new Connection(reference, operations);
|
|
623
|
+
}
|
|
624
|
+
function newProjectConnection(project, connectionName, createClient) {
|
|
625
|
+
if (!project) throw new TypeError("loaded project is required");
|
|
626
|
+
const reference = ConnectionRefSchema.parse({ provider: ProviderID, name: connectionName });
|
|
627
|
+
const selected = project.configuration.connections.find((entry) => entry.connectorId === ConnectorID && entry.connectionName === connectionName);
|
|
628
|
+
if (!selected || selected.provider !== ProviderID) throw new TypeError("project connection is not configured");
|
|
629
|
+
return newConnection(createClient(project, connectionName), reference);
|
|
630
|
+
}
|
|
631
|
+
function newProjectCredentialProvider(project, connectionName, decode, encode, decodeShared) {
|
|
632
|
+
return newRefreshingCredentialProvider(project.connections, { connectorId: ConnectorID, connectionName }, decode, encode, decodeShared);
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
export {
|
|
636
|
+
decodeSignedInteger,
|
|
637
|
+
parseJSONNumberTokens,
|
|
638
|
+
parseExactIntegerJSON,
|
|
639
|
+
exactIntegerJSONCodec,
|
|
640
|
+
ConfigSchema,
|
|
641
|
+
CredentialMaterialError,
|
|
642
|
+
isCredentialMaterialError,
|
|
643
|
+
decodeCredentials,
|
|
644
|
+
decodeSharedCredentials,
|
|
645
|
+
GetOpportunityByExternalIDInputSchema,
|
|
646
|
+
OpportunityProfileSchema,
|
|
647
|
+
CreateOpportunityInputSchema,
|
|
648
|
+
OpportunityWriteResultSchema,
|
|
649
|
+
UpsertOpportunityInputSchema,
|
|
650
|
+
DeleteOpportunityInputSchema,
|
|
651
|
+
DeletedOpportunitySchema,
|
|
652
|
+
GetCompanyByExternalIDInputSchema,
|
|
653
|
+
CompanyProfileSchema,
|
|
654
|
+
CreateCompanyInputSchema,
|
|
655
|
+
CompanyWriteResultSchema,
|
|
656
|
+
UpsertCompanyInputSchema,
|
|
657
|
+
DeleteCompanyInputSchema,
|
|
658
|
+
DeletedCompanySchema,
|
|
659
|
+
GetActivityPagingTokenInputSchema,
|
|
660
|
+
ActivityPagingTokenSchema,
|
|
661
|
+
ListActivityTypesInputSchema,
|
|
662
|
+
ActivityTypeSchema,
|
|
663
|
+
ActivityTypesSchema,
|
|
664
|
+
ListActivitiesInputSchema,
|
|
665
|
+
ActivityMetadataSchema,
|
|
666
|
+
ActivityPageSchema,
|
|
667
|
+
CreateLeadInputSchema,
|
|
668
|
+
CreatedLeadSchema,
|
|
669
|
+
UpsertLeadByEmailInputSchema,
|
|
670
|
+
SyncedLeadSchema,
|
|
671
|
+
GetLeadInputSchema,
|
|
672
|
+
LeadProfileSchema,
|
|
673
|
+
FindLeadsByEmailInputSchema,
|
|
674
|
+
LeadProfilesPageSchema,
|
|
675
|
+
UpdateLeadInputSchema,
|
|
676
|
+
UpdatedLeadSchema,
|
|
677
|
+
ConnectorID,
|
|
678
|
+
ProviderID,
|
|
679
|
+
GetOpportunityByExternalIDBranch,
|
|
680
|
+
GetOpportunityByExternalIDBranchFound,
|
|
681
|
+
GetOpportunityByExternalIDBranchNotFound,
|
|
682
|
+
GetOpportunityByExternalIDBranchProviderRejected,
|
|
683
|
+
GetOpportunityByExternalIDBranchInvalidResponse,
|
|
684
|
+
GetOpportunityByExternalIDBranchDefect,
|
|
685
|
+
GetOpportunityByExternalIDDefinition,
|
|
686
|
+
GetOpportunityByExternalIDMetadata,
|
|
687
|
+
CreateOpportunityBranch,
|
|
688
|
+
CreateOpportunityBranchCreated,
|
|
689
|
+
CreateOpportunityBranchAlreadyExists,
|
|
690
|
+
CreateOpportunityBranchProviderRejected,
|
|
691
|
+
CreateOpportunityBranchUncertain,
|
|
692
|
+
CreateOpportunityBranchDefect,
|
|
693
|
+
CreateOpportunityDefinition,
|
|
694
|
+
CreateOpportunityMetadata,
|
|
695
|
+
UpsertOpportunityBranch,
|
|
696
|
+
UpsertOpportunityBranchSynced,
|
|
697
|
+
UpsertOpportunityBranchProviderRejected,
|
|
698
|
+
UpsertOpportunityBranchInvalidResponse,
|
|
699
|
+
UpsertOpportunityBranchDefect,
|
|
700
|
+
UpsertOpportunityDefinition,
|
|
701
|
+
UpsertOpportunityMetadata,
|
|
702
|
+
DeleteOpportunityBranch,
|
|
703
|
+
DeleteOpportunityBranchDeleted,
|
|
704
|
+
DeleteOpportunityBranchProviderRejected,
|
|
705
|
+
DeleteOpportunityBranchInvalidResponse,
|
|
706
|
+
DeleteOpportunityBranchDefect,
|
|
707
|
+
DeleteOpportunityDefinition,
|
|
708
|
+
DeleteOpportunityMetadata,
|
|
709
|
+
GetCompanyByExternalIDBranch,
|
|
710
|
+
GetCompanyByExternalIDBranchFound,
|
|
711
|
+
GetCompanyByExternalIDBranchNotFound,
|
|
712
|
+
GetCompanyByExternalIDBranchProviderRejected,
|
|
713
|
+
GetCompanyByExternalIDBranchInvalidResponse,
|
|
714
|
+
GetCompanyByExternalIDBranchDefect,
|
|
715
|
+
GetCompanyByExternalIDDefinition,
|
|
716
|
+
GetCompanyByExternalIDMetadata,
|
|
717
|
+
CreateCompanyBranch,
|
|
718
|
+
CreateCompanyBranchCreated,
|
|
719
|
+
CreateCompanyBranchAlreadyExists,
|
|
720
|
+
CreateCompanyBranchProviderRejected,
|
|
721
|
+
CreateCompanyBranchUncertain,
|
|
722
|
+
CreateCompanyBranchDefect,
|
|
723
|
+
CreateCompanyDefinition,
|
|
724
|
+
CreateCompanyMetadata,
|
|
725
|
+
UpsertCompanyBranch,
|
|
726
|
+
UpsertCompanyBranchSynced,
|
|
727
|
+
UpsertCompanyBranchProviderRejected,
|
|
728
|
+
UpsertCompanyBranchInvalidResponse,
|
|
729
|
+
UpsertCompanyBranchDefect,
|
|
730
|
+
UpsertCompanyDefinition,
|
|
731
|
+
UpsertCompanyMetadata,
|
|
732
|
+
DeleteCompanyBranch,
|
|
733
|
+
DeleteCompanyBranchDeleted,
|
|
734
|
+
DeleteCompanyBranchProviderRejected,
|
|
735
|
+
DeleteCompanyBranchInvalidResponse,
|
|
736
|
+
DeleteCompanyBranchDefect,
|
|
737
|
+
DeleteCompanyDefinition,
|
|
738
|
+
DeleteCompanyMetadata,
|
|
739
|
+
GetActivityPagingTokenBranch,
|
|
740
|
+
GetActivityPagingTokenBranchFound,
|
|
741
|
+
GetActivityPagingTokenBranchProviderRejected,
|
|
742
|
+
GetActivityPagingTokenBranchInvalidResponse,
|
|
743
|
+
GetActivityPagingTokenBranchDefect,
|
|
744
|
+
GetActivityPagingTokenDefinition,
|
|
745
|
+
GetActivityPagingTokenMetadata,
|
|
746
|
+
ListActivityTypesBranch,
|
|
747
|
+
ListActivityTypesBranchFound,
|
|
748
|
+
ListActivityTypesBranchProviderRejected,
|
|
749
|
+
ListActivityTypesBranchInvalidResponse,
|
|
750
|
+
ListActivityTypesBranchDefect,
|
|
751
|
+
ListActivityTypesDefinition,
|
|
752
|
+
ListActivityTypesMetadata,
|
|
753
|
+
ListActivitiesBranch,
|
|
754
|
+
ListActivitiesBranchFound,
|
|
755
|
+
ListActivitiesBranchProviderRejected,
|
|
756
|
+
ListActivitiesBranchInvalidResponse,
|
|
757
|
+
ListActivitiesBranchDefect,
|
|
758
|
+
ListActivitiesDefinition,
|
|
759
|
+
ListActivitiesMetadata,
|
|
760
|
+
CreateLeadBranch,
|
|
761
|
+
CreateLeadBranchCreated,
|
|
762
|
+
CreateLeadBranchAlreadyExists,
|
|
763
|
+
CreateLeadBranchProviderRejected,
|
|
764
|
+
CreateLeadBranchUncertain,
|
|
765
|
+
CreateLeadBranchDefect,
|
|
766
|
+
CreateLeadDefinition,
|
|
767
|
+
CreateLeadMetadata,
|
|
768
|
+
UpsertLeadByEmailBranch,
|
|
769
|
+
UpsertLeadByEmailBranchSynced,
|
|
770
|
+
UpsertLeadByEmailBranchProviderRejected,
|
|
771
|
+
UpsertLeadByEmailBranchInvalidResponse,
|
|
772
|
+
UpsertLeadByEmailBranchDefect,
|
|
773
|
+
UpsertLeadByEmailDefinition,
|
|
774
|
+
UpsertLeadByEmailMetadata,
|
|
775
|
+
GetLeadBranch,
|
|
776
|
+
GetLeadBranchFound,
|
|
777
|
+
GetLeadBranchNotFound,
|
|
778
|
+
GetLeadBranchProviderRejected,
|
|
779
|
+
GetLeadBranchInvalidResponse,
|
|
780
|
+
GetLeadBranchDefect,
|
|
781
|
+
GetLeadDefinition,
|
|
782
|
+
GetLeadMetadata,
|
|
783
|
+
FindLeadsByEmailBranch,
|
|
784
|
+
FindLeadsByEmailBranchFound,
|
|
785
|
+
FindLeadsByEmailBranchProviderRejected,
|
|
786
|
+
FindLeadsByEmailBranchInvalidResponse,
|
|
787
|
+
FindLeadsByEmailBranchDefect,
|
|
788
|
+
FindLeadsByEmailDefinition,
|
|
789
|
+
FindLeadsByEmailMetadata,
|
|
790
|
+
UpdateLeadBranch,
|
|
791
|
+
UpdateLeadBranchUpdated,
|
|
792
|
+
UpdateLeadBranchNotFound,
|
|
793
|
+
UpdateLeadBranchProviderRejected,
|
|
794
|
+
UpdateLeadBranchInvalidResponse,
|
|
795
|
+
UpdateLeadBranchDefect,
|
|
796
|
+
UpdateLeadDefinition,
|
|
797
|
+
UpdateLeadMetadata,
|
|
798
|
+
Connection,
|
|
799
|
+
newConnection,
|
|
800
|
+
newConnectionWithOperations,
|
|
801
|
+
newProjectConnection,
|
|
802
|
+
newProjectCredentialProvider
|
|
803
|
+
};
|