@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
package/dex-connector.json
CHANGED
|
@@ -1,12 +1,713 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "adobe-marketo",
|
|
3
|
-
"releaseTag": "connectors/adobe/marketo/go/v0.
|
|
3
|
+
"releaseTag": "connectors/adobe/marketo/go/v0.3.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-adobe-marketo",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newGetOpportunityByExternalIDStep",
|
|
12
|
+
"kind": "query",
|
|
13
|
+
"operationId": "getOpportunityByExternalID",
|
|
14
|
+
"inputType": "GetOpportunityByExternalIDInput",
|
|
15
|
+
"description": "Read one opportunity GUID and name by its external ID.",
|
|
16
|
+
"fields": {
|
|
17
|
+
"stepType": "stepType",
|
|
18
|
+
"annotations": "annotations",
|
|
19
|
+
"connectionName": "connectionName",
|
|
20
|
+
"resultAttribute": "resultAttribute"
|
|
21
|
+
},
|
|
22
|
+
"branches": [
|
|
23
|
+
{
|
|
24
|
+
"id": "found",
|
|
25
|
+
"field": "found",
|
|
26
|
+
"optional": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "notFound",
|
|
30
|
+
"field": "notFound",
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "providerRejected",
|
|
35
|
+
"field": "providerRejected",
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "invalidResponse",
|
|
40
|
+
"field": "invalidResponse",
|
|
41
|
+
"optional": true
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "defect",
|
|
45
|
+
"field": "defect",
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"inputSchema": {
|
|
50
|
+
"additionalProperties": false,
|
|
51
|
+
"description": "GetOpportunityByExternalIDInput identifies one opportunity by its stable external key.",
|
|
52
|
+
"properties": {
|
|
53
|
+
"externalOpportunityId": {
|
|
54
|
+
"description": "ExternalOpportunityID is the key supplied when the opportunity was created.",
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"required": [
|
|
59
|
+
"externalOpportunityId"
|
|
60
|
+
],
|
|
61
|
+
"type": "object"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "newCreateOpportunityStep",
|
|
66
|
+
"kind": "mutation",
|
|
67
|
+
"operationId": "createOpportunity",
|
|
68
|
+
"inputType": "CreateOpportunityInput",
|
|
69
|
+
"description": "Create one opportunity by external ID with bounded sends.",
|
|
70
|
+
"fields": {
|
|
71
|
+
"stepType": "stepType",
|
|
72
|
+
"annotations": "annotations",
|
|
73
|
+
"connectionName": "connectionName",
|
|
74
|
+
"resultAttribute": "resultAttribute"
|
|
75
|
+
},
|
|
76
|
+
"branches": [
|
|
77
|
+
{
|
|
78
|
+
"id": "created",
|
|
79
|
+
"field": "created",
|
|
80
|
+
"optional": false
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "alreadyExists",
|
|
84
|
+
"field": "alreadyExists",
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "providerRejected",
|
|
89
|
+
"field": "providerRejected",
|
|
90
|
+
"optional": true
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "uncertain",
|
|
94
|
+
"field": "uncertain",
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "defect",
|
|
99
|
+
"field": "defect",
|
|
100
|
+
"optional": true
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"inputSchema": {
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"description": "CreateOpportunityInput creates an opportunity under an external identifier.",
|
|
106
|
+
"properties": {
|
|
107
|
+
"externalOpportunityId": {
|
|
108
|
+
"description": "ExternalOpportunityID is a stable, unique key in the source system.",
|
|
109
|
+
"type": "string"
|
|
110
|
+
},
|
|
111
|
+
"name": {
|
|
112
|
+
"description": "Name is the display name to create.",
|
|
113
|
+
"type": "string"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"required": [
|
|
117
|
+
"externalOpportunityId",
|
|
118
|
+
"name"
|
|
119
|
+
],
|
|
120
|
+
"type": "object"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "newUpsertOpportunityStep",
|
|
125
|
+
"kind": "mutation",
|
|
126
|
+
"operationId": "upsertOpportunity",
|
|
127
|
+
"inputType": "UpsertOpportunityInput",
|
|
128
|
+
"description": "Create or replace an opportunity name using its external ID.",
|
|
129
|
+
"fields": {
|
|
130
|
+
"stepType": "stepType",
|
|
131
|
+
"annotations": "annotations",
|
|
132
|
+
"connectionName": "connectionName",
|
|
133
|
+
"resultAttribute": "resultAttribute"
|
|
134
|
+
},
|
|
135
|
+
"branches": [
|
|
136
|
+
{
|
|
137
|
+
"id": "synced",
|
|
138
|
+
"field": "synced",
|
|
139
|
+
"optional": false
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "providerRejected",
|
|
143
|
+
"field": "providerRejected",
|
|
144
|
+
"optional": true
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"id": "invalidResponse",
|
|
148
|
+
"field": "invalidResponse",
|
|
149
|
+
"optional": true
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "defect",
|
|
153
|
+
"field": "defect",
|
|
154
|
+
"optional": true
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"inputSchema": {
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"description": "UpsertOpportunityInput replaces an opportunity's name by external identifier.",
|
|
160
|
+
"properties": {
|
|
161
|
+
"externalOpportunityId": {
|
|
162
|
+
"description": "ExternalOpportunityID is the stable deduplication key.",
|
|
163
|
+
"type": "string"
|
|
164
|
+
},
|
|
165
|
+
"name": {
|
|
166
|
+
"description": "Name is the display name to create or replace.",
|
|
167
|
+
"type": "string"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": [
|
|
171
|
+
"externalOpportunityId",
|
|
172
|
+
"name"
|
|
173
|
+
],
|
|
174
|
+
"type": "object"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "newDeleteOpportunityStep",
|
|
179
|
+
"kind": "mutation",
|
|
180
|
+
"operationId": "deleteOpportunity",
|
|
181
|
+
"inputType": "DeleteOpportunityInput",
|
|
182
|
+
"description": "Delete an opportunity by external ID; an already-absent opportunity converges to deleted.",
|
|
183
|
+
"fields": {
|
|
184
|
+
"stepType": "stepType",
|
|
185
|
+
"annotations": "annotations",
|
|
186
|
+
"connectionName": "connectionName",
|
|
187
|
+
"resultAttribute": "resultAttribute"
|
|
188
|
+
},
|
|
189
|
+
"branches": [
|
|
190
|
+
{
|
|
191
|
+
"id": "deleted",
|
|
192
|
+
"field": "deleted",
|
|
193
|
+
"optional": false
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"id": "providerRejected",
|
|
197
|
+
"field": "providerRejected",
|
|
198
|
+
"optional": true
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"id": "invalidResponse",
|
|
202
|
+
"field": "invalidResponse",
|
|
203
|
+
"optional": true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "defect",
|
|
207
|
+
"field": "defect",
|
|
208
|
+
"optional": true
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"inputSchema": {
|
|
212
|
+
"additionalProperties": false,
|
|
213
|
+
"description": "DeleteOpportunityInput identifies an opportunity to remove by external key.",
|
|
214
|
+
"properties": {
|
|
215
|
+
"externalOpportunityId": {
|
|
216
|
+
"description": "ExternalOpportunityID is the stable deduplication key.",
|
|
217
|
+
"type": "string"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"required": [
|
|
221
|
+
"externalOpportunityId"
|
|
222
|
+
],
|
|
223
|
+
"type": "object"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "newGetCompanyByExternalIDStep",
|
|
228
|
+
"kind": "query",
|
|
229
|
+
"operationId": "getCompanyByExternalID",
|
|
230
|
+
"inputType": "GetCompanyByExternalIDInput",
|
|
231
|
+
"description": "Read one company ID and name by its external company ID.",
|
|
232
|
+
"fields": {
|
|
233
|
+
"stepType": "stepType",
|
|
234
|
+
"annotations": "annotations",
|
|
235
|
+
"connectionName": "connectionName",
|
|
236
|
+
"resultAttribute": "resultAttribute"
|
|
237
|
+
},
|
|
238
|
+
"branches": [
|
|
239
|
+
{
|
|
240
|
+
"id": "found",
|
|
241
|
+
"field": "found",
|
|
242
|
+
"optional": false
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "notFound",
|
|
246
|
+
"field": "notFound",
|
|
247
|
+
"optional": true
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"id": "providerRejected",
|
|
251
|
+
"field": "providerRejected",
|
|
252
|
+
"optional": true
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"id": "invalidResponse",
|
|
256
|
+
"field": "invalidResponse",
|
|
257
|
+
"optional": true
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"id": "defect",
|
|
261
|
+
"field": "defect",
|
|
262
|
+
"optional": true
|
|
263
|
+
}
|
|
264
|
+
],
|
|
265
|
+
"inputSchema": {
|
|
266
|
+
"additionalProperties": false,
|
|
267
|
+
"description": "GetCompanyByExternalIDInput identifies one company by its stable external key.",
|
|
268
|
+
"properties": {
|
|
269
|
+
"externalCompanyId": {
|
|
270
|
+
"description": "ExternalCompanyID is the key supplied when the company was created.",
|
|
271
|
+
"type": "string"
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"required": [
|
|
275
|
+
"externalCompanyId"
|
|
276
|
+
],
|
|
277
|
+
"type": "object"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "newCreateCompanyStep",
|
|
282
|
+
"kind": "mutation",
|
|
283
|
+
"operationId": "createCompany",
|
|
284
|
+
"inputType": "CreateCompanyInput",
|
|
285
|
+
"description": "Create one company by external ID with bounded sends.",
|
|
286
|
+
"fields": {
|
|
287
|
+
"stepType": "stepType",
|
|
288
|
+
"annotations": "annotations",
|
|
289
|
+
"connectionName": "connectionName",
|
|
290
|
+
"resultAttribute": "resultAttribute"
|
|
291
|
+
},
|
|
292
|
+
"branches": [
|
|
293
|
+
{
|
|
294
|
+
"id": "created",
|
|
295
|
+
"field": "created",
|
|
296
|
+
"optional": false
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"id": "alreadyExists",
|
|
300
|
+
"field": "alreadyExists",
|
|
301
|
+
"optional": true
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"id": "providerRejected",
|
|
305
|
+
"field": "providerRejected",
|
|
306
|
+
"optional": true
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "uncertain",
|
|
310
|
+
"field": "uncertain",
|
|
311
|
+
"optional": true
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"id": "defect",
|
|
315
|
+
"field": "defect",
|
|
316
|
+
"optional": true
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
"inputSchema": {
|
|
320
|
+
"additionalProperties": false,
|
|
321
|
+
"description": "CreateCompanyInput creates a company under an external identifier.",
|
|
322
|
+
"properties": {
|
|
323
|
+
"company": {
|
|
324
|
+
"description": "Company is the display name to create.",
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"externalCompanyId": {
|
|
328
|
+
"description": "ExternalCompanyID is a stable, unique key in the source system.",
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
"required": [
|
|
333
|
+
"company",
|
|
334
|
+
"externalCompanyId"
|
|
335
|
+
],
|
|
336
|
+
"type": "object"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "newUpsertCompanyStep",
|
|
341
|
+
"kind": "mutation",
|
|
342
|
+
"operationId": "upsertCompany",
|
|
343
|
+
"inputType": "UpsertCompanyInput",
|
|
344
|
+
"description": "Create or replace a company's name using its external ID.",
|
|
345
|
+
"fields": {
|
|
346
|
+
"stepType": "stepType",
|
|
347
|
+
"annotations": "annotations",
|
|
348
|
+
"connectionName": "connectionName",
|
|
349
|
+
"resultAttribute": "resultAttribute"
|
|
350
|
+
},
|
|
351
|
+
"branches": [
|
|
352
|
+
{
|
|
353
|
+
"id": "synced",
|
|
354
|
+
"field": "synced",
|
|
355
|
+
"optional": false
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "providerRejected",
|
|
359
|
+
"field": "providerRejected",
|
|
360
|
+
"optional": true
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"id": "invalidResponse",
|
|
364
|
+
"field": "invalidResponse",
|
|
365
|
+
"optional": true
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"id": "defect",
|
|
369
|
+
"field": "defect",
|
|
370
|
+
"optional": true
|
|
371
|
+
}
|
|
372
|
+
],
|
|
373
|
+
"inputSchema": {
|
|
374
|
+
"additionalProperties": false,
|
|
375
|
+
"description": "UpsertCompanyInput replaces a company's name by external identifier.",
|
|
376
|
+
"properties": {
|
|
377
|
+
"company": {
|
|
378
|
+
"description": "Company is the display name to create or replace.",
|
|
379
|
+
"type": "string"
|
|
380
|
+
},
|
|
381
|
+
"externalCompanyId": {
|
|
382
|
+
"description": "ExternalCompanyID is the stable deduplication key.",
|
|
383
|
+
"type": "string"
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": [
|
|
387
|
+
"company",
|
|
388
|
+
"externalCompanyId"
|
|
389
|
+
],
|
|
390
|
+
"type": "object"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "newDeleteCompanyStep",
|
|
395
|
+
"kind": "mutation",
|
|
396
|
+
"operationId": "deleteCompany",
|
|
397
|
+
"inputType": "DeleteCompanyInput",
|
|
398
|
+
"description": "Delete a company by external ID; an already-absent company converges to deleted.",
|
|
399
|
+
"fields": {
|
|
400
|
+
"stepType": "stepType",
|
|
401
|
+
"annotations": "annotations",
|
|
402
|
+
"connectionName": "connectionName",
|
|
403
|
+
"resultAttribute": "resultAttribute"
|
|
404
|
+
},
|
|
405
|
+
"branches": [
|
|
406
|
+
{
|
|
407
|
+
"id": "deleted",
|
|
408
|
+
"field": "deleted",
|
|
409
|
+
"optional": false
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "providerRejected",
|
|
413
|
+
"field": "providerRejected",
|
|
414
|
+
"optional": true
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"id": "invalidResponse",
|
|
418
|
+
"field": "invalidResponse",
|
|
419
|
+
"optional": true
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"id": "defect",
|
|
423
|
+
"field": "defect",
|
|
424
|
+
"optional": true
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"inputSchema": {
|
|
428
|
+
"additionalProperties": false,
|
|
429
|
+
"description": "DeleteCompanyInput identifies a company to remove by external key.",
|
|
430
|
+
"properties": {
|
|
431
|
+
"externalCompanyId": {
|
|
432
|
+
"description": "ExternalCompanyID is the stable deduplication key.",
|
|
433
|
+
"type": "string"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
"required": [
|
|
437
|
+
"externalCompanyId"
|
|
438
|
+
],
|
|
439
|
+
"type": "object"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "newGetActivityPagingTokenStep",
|
|
444
|
+
"kind": "query",
|
|
445
|
+
"operationId": "getActivityPagingToken",
|
|
446
|
+
"inputType": "GetActivityPagingTokenInput",
|
|
447
|
+
"description": "Get an activity cursor for an ISO 8601 date and time.",
|
|
448
|
+
"fields": {
|
|
449
|
+
"stepType": "stepType",
|
|
450
|
+
"annotations": "annotations",
|
|
451
|
+
"connectionName": "connectionName",
|
|
452
|
+
"resultAttribute": "resultAttribute"
|
|
453
|
+
},
|
|
454
|
+
"branches": [
|
|
455
|
+
{
|
|
456
|
+
"id": "found",
|
|
457
|
+
"field": "found",
|
|
458
|
+
"optional": false
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "providerRejected",
|
|
462
|
+
"field": "providerRejected",
|
|
463
|
+
"optional": true
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"id": "invalidResponse",
|
|
467
|
+
"field": "invalidResponse",
|
|
468
|
+
"optional": true
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": "defect",
|
|
472
|
+
"field": "defect",
|
|
473
|
+
"optional": true
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"inputSchema": {
|
|
477
|
+
"additionalProperties": false,
|
|
478
|
+
"description": "GetActivityPagingTokenInput selects the first activity timestamp to read.",
|
|
479
|
+
"properties": {
|
|
480
|
+
"sinceDatetime": {
|
|
481
|
+
"description": "SinceDatetime is an RFC 3339 timestamp with a timezone.",
|
|
482
|
+
"type": "string"
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"required": [
|
|
486
|
+
"sinceDatetime"
|
|
487
|
+
],
|
|
488
|
+
"type": "object"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "newListActivityTypesStep",
|
|
493
|
+
"kind": "query",
|
|
494
|
+
"operationId": "listActivityTypes",
|
|
495
|
+
"inputType": "ListActivityTypesInput",
|
|
496
|
+
"description": "List activity type IDs and names without provider attributes.",
|
|
497
|
+
"fields": {
|
|
498
|
+
"stepType": "stepType",
|
|
499
|
+
"annotations": "annotations",
|
|
500
|
+
"connectionName": "connectionName",
|
|
501
|
+
"resultAttribute": "resultAttribute"
|
|
502
|
+
},
|
|
503
|
+
"branches": [
|
|
504
|
+
{
|
|
505
|
+
"id": "found",
|
|
506
|
+
"field": "found",
|
|
507
|
+
"optional": false
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"id": "providerRejected",
|
|
511
|
+
"field": "providerRejected",
|
|
512
|
+
"optional": true
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "invalidResponse",
|
|
516
|
+
"field": "invalidResponse",
|
|
517
|
+
"optional": true
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"id": "defect",
|
|
521
|
+
"field": "defect",
|
|
522
|
+
"optional": true
|
|
523
|
+
}
|
|
524
|
+
],
|
|
525
|
+
"inputSchema": {
|
|
526
|
+
"additionalProperties": false,
|
|
527
|
+
"description": "ListActivityTypesInput requests all activity types in a subscription.",
|
|
528
|
+
"properties": {},
|
|
529
|
+
"type": "object"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "newListActivitiesStep",
|
|
534
|
+
"kind": "query",
|
|
535
|
+
"operationId": "listActivities",
|
|
536
|
+
"inputType": "ListActivitiesInput",
|
|
537
|
+
"description": "Read one page of activity IDs, lead IDs, types, and dates without activity attributes.",
|
|
538
|
+
"fields": {
|
|
539
|
+
"stepType": "stepType",
|
|
540
|
+
"annotations": "annotations",
|
|
541
|
+
"connectionName": "connectionName",
|
|
542
|
+
"resultAttribute": "resultAttribute"
|
|
543
|
+
},
|
|
544
|
+
"branches": [
|
|
545
|
+
{
|
|
546
|
+
"id": "found",
|
|
547
|
+
"field": "found",
|
|
548
|
+
"optional": false
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"id": "providerRejected",
|
|
552
|
+
"field": "providerRejected",
|
|
553
|
+
"optional": true
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"id": "invalidResponse",
|
|
557
|
+
"field": "invalidResponse",
|
|
558
|
+
"optional": true
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"id": "defect",
|
|
562
|
+
"field": "defect",
|
|
563
|
+
"optional": true
|
|
564
|
+
}
|
|
565
|
+
],
|
|
566
|
+
"inputSchema": {
|
|
567
|
+
"additionalProperties": false,
|
|
568
|
+
"description": "ListActivitiesInput selects one page and up to ten activity types.",
|
|
569
|
+
"properties": {
|
|
570
|
+
"activityTypeIds": {
|
|
571
|
+
"description": "ActivityTypeIDs contains one to ten IDs from ListActivityTypes.",
|
|
572
|
+
"items": {
|
|
573
|
+
"type": "integer"
|
|
574
|
+
},
|
|
575
|
+
"type": [
|
|
576
|
+
"array",
|
|
577
|
+
"null"
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
"nextPageToken": {
|
|
581
|
+
"description": "NextPageToken comes from GetActivityPagingToken or the preceding page.",
|
|
582
|
+
"type": "string"
|
|
583
|
+
}
|
|
584
|
+
},
|
|
585
|
+
"required": [
|
|
586
|
+
"activityTypeIds",
|
|
587
|
+
"nextPageToken"
|
|
588
|
+
],
|
|
589
|
+
"type": "object"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "newCreateLeadStep",
|
|
594
|
+
"kind": "mutation",
|
|
595
|
+
"operationId": "createLead",
|
|
596
|
+
"inputType": "CreateLeadInput",
|
|
597
|
+
"description": "Create one lead by email with createOnly and bounded sends.",
|
|
598
|
+
"fields": {
|
|
599
|
+
"stepType": "stepType",
|
|
600
|
+
"annotations": "annotations",
|
|
601
|
+
"connectionName": "connectionName",
|
|
602
|
+
"resultAttribute": "resultAttribute"
|
|
603
|
+
},
|
|
604
|
+
"branches": [
|
|
605
|
+
{
|
|
606
|
+
"id": "created",
|
|
607
|
+
"field": "created",
|
|
608
|
+
"optional": false
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"id": "alreadyExists",
|
|
612
|
+
"field": "alreadyExists",
|
|
613
|
+
"optional": true
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"id": "providerRejected",
|
|
617
|
+
"field": "providerRejected",
|
|
618
|
+
"optional": true
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"id": "uncertain",
|
|
622
|
+
"field": "uncertain",
|
|
623
|
+
"optional": true
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
"id": "defect",
|
|
627
|
+
"field": "defect",
|
|
628
|
+
"optional": true
|
|
629
|
+
}
|
|
630
|
+
],
|
|
631
|
+
"inputSchema": {
|
|
632
|
+
"additionalProperties": false,
|
|
633
|
+
"description": "CreateLeadInput creates one lead using an email as Marketo's deduplication key.",
|
|
634
|
+
"properties": {
|
|
635
|
+
"email": {
|
|
636
|
+
"description": "Email is the lead's exact ASCII email address and is omitted from results.",
|
|
637
|
+
"type": "string"
|
|
638
|
+
},
|
|
639
|
+
"firstName": {
|
|
640
|
+
"description": "FirstName is the lead's first name when supplied.",
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
"lastName": {
|
|
644
|
+
"description": "LastName is the lead's last name when supplied.",
|
|
645
|
+
"type": "string"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
"required": [
|
|
649
|
+
"email"
|
|
650
|
+
],
|
|
651
|
+
"type": "object"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "newUpsertLeadByEmailStep",
|
|
656
|
+
"kind": "mutation",
|
|
657
|
+
"operationId": "upsertLeadByEmail",
|
|
658
|
+
"inputType": "UpsertLeadByEmailInput",
|
|
659
|
+
"description": "Create or replace selected names on the lead matching one email.",
|
|
660
|
+
"fields": {
|
|
661
|
+
"stepType": "stepType",
|
|
662
|
+
"annotations": "annotations",
|
|
663
|
+
"connectionName": "connectionName",
|
|
664
|
+
"resultAttribute": "resultAttribute"
|
|
665
|
+
},
|
|
666
|
+
"branches": [
|
|
667
|
+
{
|
|
668
|
+
"id": "synced",
|
|
669
|
+
"field": "synced",
|
|
670
|
+
"optional": false
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"id": "providerRejected",
|
|
674
|
+
"field": "providerRejected",
|
|
675
|
+
"optional": true
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"id": "invalidResponse",
|
|
679
|
+
"field": "invalidResponse",
|
|
680
|
+
"optional": true
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"id": "defect",
|
|
684
|
+
"field": "defect",
|
|
685
|
+
"optional": true
|
|
686
|
+
}
|
|
687
|
+
],
|
|
688
|
+
"inputSchema": {
|
|
689
|
+
"additionalProperties": false,
|
|
690
|
+
"description": "UpsertLeadByEmailInput creates or updates one lead matched by email.",
|
|
691
|
+
"properties": {
|
|
692
|
+
"email": {
|
|
693
|
+
"description": "Email is the exact lookup address and is never returned in the result.",
|
|
694
|
+
"type": "string"
|
|
695
|
+
},
|
|
696
|
+
"firstName": {
|
|
697
|
+
"description": "FirstName replaces the first name when supplied.",
|
|
698
|
+
"type": "string"
|
|
699
|
+
},
|
|
700
|
+
"lastName": {
|
|
701
|
+
"description": "LastName replaces the last name when supplied.",
|
|
702
|
+
"type": "string"
|
|
703
|
+
}
|
|
704
|
+
},
|
|
705
|
+
"required": [
|
|
706
|
+
"email"
|
|
707
|
+
],
|
|
708
|
+
"type": "object"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
10
711
|
{
|
|
11
712
|
"name": "newGetLeadStep",
|
|
12
713
|
"kind": "query",
|
|
@@ -60,6 +761,121 @@
|
|
|
60
761
|
],
|
|
61
762
|
"type": "object"
|
|
62
763
|
}
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "newFindLeadsByEmailStep",
|
|
767
|
+
"kind": "query",
|
|
768
|
+
"operationId": "findLeadsByEmail",
|
|
769
|
+
"inputType": "FindLeadsByEmailInput",
|
|
770
|
+
"description": "Find a cursor page of leads by email, returning only IDs and names.",
|
|
771
|
+
"fields": {
|
|
772
|
+
"stepType": "stepType",
|
|
773
|
+
"annotations": "annotations",
|
|
774
|
+
"connectionName": "connectionName",
|
|
775
|
+
"resultAttribute": "resultAttribute"
|
|
776
|
+
},
|
|
777
|
+
"branches": [
|
|
778
|
+
{
|
|
779
|
+
"id": "found",
|
|
780
|
+
"field": "found",
|
|
781
|
+
"optional": false
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"id": "providerRejected",
|
|
785
|
+
"field": "providerRejected",
|
|
786
|
+
"optional": true
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"id": "invalidResponse",
|
|
790
|
+
"field": "invalidResponse",
|
|
791
|
+
"optional": true
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"id": "defect",
|
|
795
|
+
"field": "defect",
|
|
796
|
+
"optional": true
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"inputSchema": {
|
|
800
|
+
"additionalProperties": false,
|
|
801
|
+
"description": "FindLeadsByEmailInput selects a page of Marketo leads with one exact email.",
|
|
802
|
+
"properties": {
|
|
803
|
+
"email": {
|
|
804
|
+
"description": "Email is the address to match; it is sent as a query value and excluded from results.",
|
|
805
|
+
"type": "string"
|
|
806
|
+
},
|
|
807
|
+
"nextPageToken": {
|
|
808
|
+
"description": "NextPageToken is an opaque token returned by a previous page; blank starts a search.",
|
|
809
|
+
"type": "string"
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"required": [
|
|
813
|
+
"email"
|
|
814
|
+
],
|
|
815
|
+
"type": "object"
|
|
816
|
+
}
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "newUpdateLeadStep",
|
|
820
|
+
"kind": "mutation",
|
|
821
|
+
"operationId": "updateLead",
|
|
822
|
+
"inputType": "UpdateLeadInput",
|
|
823
|
+
"description": "Set one lead's selected names by ID using Marketo updateOnly.",
|
|
824
|
+
"fields": {
|
|
825
|
+
"stepType": "stepType",
|
|
826
|
+
"annotations": "annotations",
|
|
827
|
+
"connectionName": "connectionName",
|
|
828
|
+
"resultAttribute": "resultAttribute"
|
|
829
|
+
},
|
|
830
|
+
"branches": [
|
|
831
|
+
{
|
|
832
|
+
"id": "updated",
|
|
833
|
+
"field": "updated",
|
|
834
|
+
"optional": false
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"id": "notFound",
|
|
838
|
+
"field": "notFound",
|
|
839
|
+
"optional": true
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"id": "providerRejected",
|
|
843
|
+
"field": "providerRejected",
|
|
844
|
+
"optional": true
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
"id": "invalidResponse",
|
|
848
|
+
"field": "invalidResponse",
|
|
849
|
+
"optional": true
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"id": "defect",
|
|
853
|
+
"field": "defect",
|
|
854
|
+
"optional": true
|
|
855
|
+
}
|
|
856
|
+
],
|
|
857
|
+
"inputSchema": {
|
|
858
|
+
"additionalProperties": false,
|
|
859
|
+
"description": "UpdateLeadInput replaces selected fields on an existing lead.",
|
|
860
|
+
"properties": {
|
|
861
|
+
"firstName": {
|
|
862
|
+
"description": "FirstName replaces the first name when supplied.",
|
|
863
|
+
"type": "string"
|
|
864
|
+
},
|
|
865
|
+
"lastName": {
|
|
866
|
+
"description": "LastName replaces the last name when supplied.",
|
|
867
|
+
"type": "string"
|
|
868
|
+
},
|
|
869
|
+
"leadId": {
|
|
870
|
+
"description": "LeadID is the positive ID of the existing lead.",
|
|
871
|
+
"type": "integer"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
"required": [
|
|
875
|
+
"leadId"
|
|
876
|
+
],
|
|
877
|
+
"type": "object"
|
|
878
|
+
}
|
|
63
879
|
}
|
|
64
880
|
]
|
|
65
881
|
}
|