@superdurable/connector-constantcontact 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 +4 -2
- package/dex-connector.json +910 -2
- package/dist/chunk-65ID4QLZ.js +832 -0
- package/dist/connection-B8OAb8aq.d.ts +515 -0
- package/dist/index.d.ts +969 -4
- package/dist/index.js +1404 -44
- package/dist/mock.d.ts +314 -5
- package/dist/mock.js +754 -7
- package/package.json +3 -3
- package/dist/chunk-EKDUUKZQ.js +0 -133
- package/dist/connection-fYrNM2Oe.d.ts +0 -86
package/dex-connector.json
CHANGED
|
@@ -1,12 +1,640 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "constantcontact",
|
|
3
|
-
"releaseTag": "connectors/constantcontact/go/v0.
|
|
3
|
+
"releaseTag": "connectors/constantcontact/go/v0.2.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-constantcontact",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newGetSegmentStep",
|
|
12
|
+
"kind": "query",
|
|
13
|
+
"operationId": "getSegment",
|
|
14
|
+
"inputType": "GetSegmentInput",
|
|
15
|
+
"description": "Read a segment and its complete selection criteria.",
|
|
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": "GetSegmentInput identifies a segment by its positive numeric ID.",
|
|
52
|
+
"properties": {
|
|
53
|
+
"segmentId": {
|
|
54
|
+
"type": "integer"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"required": [
|
|
58
|
+
"segmentId"
|
|
59
|
+
],
|
|
60
|
+
"type": "object"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "newListSegmentsStep",
|
|
65
|
+
"kind": "query",
|
|
66
|
+
"operationId": "listSegments",
|
|
67
|
+
"inputType": "ListSegmentsInput",
|
|
68
|
+
"description": "Read a bounded page of segments.",
|
|
69
|
+
"fields": {
|
|
70
|
+
"stepType": "stepType",
|
|
71
|
+
"annotations": "annotations",
|
|
72
|
+
"connectionName": "connectionName",
|
|
73
|
+
"resultAttribute": "resultAttribute"
|
|
74
|
+
},
|
|
75
|
+
"branches": [
|
|
76
|
+
{
|
|
77
|
+
"id": "listed",
|
|
78
|
+
"field": "listed",
|
|
79
|
+
"optional": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "providerRejected",
|
|
83
|
+
"field": "providerRejected",
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "invalidResponse",
|
|
88
|
+
"field": "invalidResponse",
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "defect",
|
|
93
|
+
"field": "defect",
|
|
94
|
+
"optional": true
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"inputSchema": {
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"description": "ListSegmentsInput requests one page of segments.",
|
|
100
|
+
"properties": {
|
|
101
|
+
"cursor": {
|
|
102
|
+
"description": "Cursor is an opaque next token from the preceding page; blank starts again.",
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"limit": {
|
|
106
|
+
"description": "Limit is 1 through 1000; zero uses the provider default.",
|
|
107
|
+
"type": "integer"
|
|
108
|
+
},
|
|
109
|
+
"sortBy": {
|
|
110
|
+
"description": "SortBy is date or name; blank uses descending edit date.",
|
|
111
|
+
"type": "string"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"type": "object"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "newCreateSegmentStep",
|
|
119
|
+
"kind": "mutation",
|
|
120
|
+
"operationId": "createSegment",
|
|
121
|
+
"inputType": "CreateSegmentInput",
|
|
122
|
+
"description": "Create a uniquely named segment with complete selection criteria.",
|
|
123
|
+
"fields": {
|
|
124
|
+
"stepType": "stepType",
|
|
125
|
+
"annotations": "annotations",
|
|
126
|
+
"connectionName": "connectionName",
|
|
127
|
+
"resultAttribute": "resultAttribute"
|
|
128
|
+
},
|
|
129
|
+
"branches": [
|
|
130
|
+
{
|
|
131
|
+
"id": "created",
|
|
132
|
+
"field": "created",
|
|
133
|
+
"optional": false
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "uncertain",
|
|
137
|
+
"field": "uncertain",
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "alreadyExists",
|
|
142
|
+
"field": "alreadyExists",
|
|
143
|
+
"optional": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "providerRejected",
|
|
147
|
+
"field": "providerRejected",
|
|
148
|
+
"optional": true
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "defect",
|
|
152
|
+
"field": "defect",
|
|
153
|
+
"optional": true
|
|
154
|
+
}
|
|
155
|
+
],
|
|
156
|
+
"inputSchema": {
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"description": "CreateSegmentInput supplies a unique name and full criteria JSON string.",
|
|
159
|
+
"properties": {
|
|
160
|
+
"name": {
|
|
161
|
+
"description": "Name is the account-unique segment name.",
|
|
162
|
+
"type": "string"
|
|
163
|
+
},
|
|
164
|
+
"segmentCriteria": {
|
|
165
|
+
"description": "SegmentCriteria is the provider's criteria object encoded as JSON text.",
|
|
166
|
+
"type": "string"
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"required": [
|
|
170
|
+
"name",
|
|
171
|
+
"segmentCriteria"
|
|
172
|
+
],
|
|
173
|
+
"type": "object"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "newUpdateSegmentStep",
|
|
178
|
+
"kind": "mutation",
|
|
179
|
+
"operationId": "updateSegment",
|
|
180
|
+
"inputType": "UpdateSegmentInput",
|
|
181
|
+
"description": "Replace one segment's name and complete criteria.",
|
|
182
|
+
"fields": {
|
|
183
|
+
"stepType": "stepType",
|
|
184
|
+
"annotations": "annotations",
|
|
185
|
+
"connectionName": "connectionName",
|
|
186
|
+
"resultAttribute": "resultAttribute"
|
|
187
|
+
},
|
|
188
|
+
"branches": [
|
|
189
|
+
{
|
|
190
|
+
"id": "updated",
|
|
191
|
+
"field": "updated",
|
|
192
|
+
"optional": false
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "notFound",
|
|
196
|
+
"field": "notFound",
|
|
197
|
+
"optional": true
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "providerRejected",
|
|
201
|
+
"field": "providerRejected",
|
|
202
|
+
"optional": true
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"id": "invalidResponse",
|
|
206
|
+
"field": "invalidResponse",
|
|
207
|
+
"optional": true
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"id": "defect",
|
|
211
|
+
"field": "defect",
|
|
212
|
+
"optional": true
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"inputSchema": {
|
|
216
|
+
"additionalProperties": false,
|
|
217
|
+
"description": "UpdateSegmentInput replaces the name and full criteria of one segment.",
|
|
218
|
+
"properties": {
|
|
219
|
+
"name": {
|
|
220
|
+
"description": "Name is the account-unique replacement name.",
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"segmentCriteria": {
|
|
224
|
+
"description": "SegmentCriteria is the complete replacement criteria JSON text.",
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"segmentId": {
|
|
228
|
+
"description": "SegmentID is the positive numeric identity.",
|
|
229
|
+
"type": "integer"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
"required": [
|
|
233
|
+
"name",
|
|
234
|
+
"segmentCriteria",
|
|
235
|
+
"segmentId"
|
|
236
|
+
],
|
|
237
|
+
"type": "object"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "newDeleteSegmentStep",
|
|
242
|
+
"kind": "mutation",
|
|
243
|
+
"operationId": "deleteSegment",
|
|
244
|
+
"inputType": "DeleteSegmentInput",
|
|
245
|
+
"description": "Remove one segment from the active collection.",
|
|
246
|
+
"fields": {
|
|
247
|
+
"stepType": "stepType",
|
|
248
|
+
"annotations": "annotations",
|
|
249
|
+
"connectionName": "connectionName",
|
|
250
|
+
"resultAttribute": "resultAttribute"
|
|
251
|
+
},
|
|
252
|
+
"branches": [
|
|
253
|
+
{
|
|
254
|
+
"id": "deleted",
|
|
255
|
+
"field": "deleted",
|
|
256
|
+
"optional": false
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"id": "notFound",
|
|
260
|
+
"field": "notFound",
|
|
261
|
+
"optional": true
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "providerRejected",
|
|
265
|
+
"field": "providerRejected",
|
|
266
|
+
"optional": true
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"id": "defect",
|
|
270
|
+
"field": "defect",
|
|
271
|
+
"optional": true
|
|
272
|
+
}
|
|
273
|
+
],
|
|
274
|
+
"inputSchema": {
|
|
275
|
+
"additionalProperties": false,
|
|
276
|
+
"description": "DeleteSegmentInput identifies the active segment to delete.",
|
|
277
|
+
"properties": {
|
|
278
|
+
"segmentId": {
|
|
279
|
+
"type": "integer"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
"required": [
|
|
283
|
+
"segmentId"
|
|
284
|
+
],
|
|
285
|
+
"type": "object"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"name": "newGetActivityStep",
|
|
290
|
+
"kind": "query",
|
|
291
|
+
"operationId": "getActivity",
|
|
292
|
+
"inputType": "GetActivityInput",
|
|
293
|
+
"description": "Read the current state and progress of one recent bulk activity.",
|
|
294
|
+
"fields": {
|
|
295
|
+
"stepType": "stepType",
|
|
296
|
+
"annotations": "annotations",
|
|
297
|
+
"connectionName": "connectionName",
|
|
298
|
+
"resultAttribute": "resultAttribute"
|
|
299
|
+
},
|
|
300
|
+
"branches": [
|
|
301
|
+
{
|
|
302
|
+
"id": "found",
|
|
303
|
+
"field": "found",
|
|
304
|
+
"optional": false
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"id": "notFound",
|
|
308
|
+
"field": "notFound",
|
|
309
|
+
"optional": true
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"id": "providerRejected",
|
|
313
|
+
"field": "providerRejected",
|
|
314
|
+
"optional": true
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"id": "invalidResponse",
|
|
318
|
+
"field": "invalidResponse",
|
|
319
|
+
"optional": true
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"id": "defect",
|
|
323
|
+
"field": "defect",
|
|
324
|
+
"optional": true
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"inputSchema": {
|
|
328
|
+
"additionalProperties": false,
|
|
329
|
+
"description": "GetActivityInput identifies a recent bulk activity by its provider UUID.",
|
|
330
|
+
"properties": {
|
|
331
|
+
"activityId": {
|
|
332
|
+
"description": "ActivityID is returned by a bulk operation and expires after ten days.",
|
|
333
|
+
"type": "string"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"required": [
|
|
337
|
+
"activityId"
|
|
338
|
+
],
|
|
339
|
+
"type": "object"
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "newListActivitiesStep",
|
|
344
|
+
"kind": "query",
|
|
345
|
+
"operationId": "listActivities",
|
|
346
|
+
"inputType": "ListActivitiesInput",
|
|
347
|
+
"description": "Read recent bulk activity states retained for ten days.",
|
|
348
|
+
"fields": {
|
|
349
|
+
"stepType": "stepType",
|
|
350
|
+
"annotations": "annotations",
|
|
351
|
+
"connectionName": "connectionName",
|
|
352
|
+
"resultAttribute": "resultAttribute"
|
|
353
|
+
},
|
|
354
|
+
"branches": [
|
|
355
|
+
{
|
|
356
|
+
"id": "listed",
|
|
357
|
+
"field": "listed",
|
|
358
|
+
"optional": false
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"id": "providerRejected",
|
|
362
|
+
"field": "providerRejected",
|
|
363
|
+
"optional": true
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"id": "invalidResponse",
|
|
367
|
+
"field": "invalidResponse",
|
|
368
|
+
"optional": true
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"id": "defect",
|
|
372
|
+
"field": "defect",
|
|
373
|
+
"optional": true
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"inputSchema": {
|
|
377
|
+
"additionalProperties": false,
|
|
378
|
+
"description": "ListActivitiesInput bounds the retained activity summaries returned to Dex.",
|
|
379
|
+
"properties": {
|
|
380
|
+
"maxItems": {
|
|
381
|
+
"description": "MaxItems limits returned summaries to 1 through 1000; zero uses 1000.",
|
|
382
|
+
"type": "integer"
|
|
383
|
+
}
|
|
384
|
+
},
|
|
385
|
+
"type": "object"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "newCreateContactStep",
|
|
390
|
+
"kind": "mutation",
|
|
391
|
+
"operationId": "createContact",
|
|
392
|
+
"inputType": "CreateContactInput",
|
|
393
|
+
"description": "Create an email contact with its documented permission and source.",
|
|
394
|
+
"fields": {
|
|
395
|
+
"stepType": "stepType",
|
|
396
|
+
"annotations": "annotations",
|
|
397
|
+
"connectionName": "connectionName",
|
|
398
|
+
"resultAttribute": "resultAttribute"
|
|
399
|
+
},
|
|
400
|
+
"branches": [
|
|
401
|
+
{
|
|
402
|
+
"id": "created",
|
|
403
|
+
"field": "created",
|
|
404
|
+
"optional": false
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"id": "uncertain",
|
|
408
|
+
"field": "uncertain",
|
|
409
|
+
"optional": true
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"id": "alreadyExists",
|
|
413
|
+
"field": "alreadyExists",
|
|
414
|
+
"optional": true
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"id": "providerRejected",
|
|
418
|
+
"field": "providerRejected",
|
|
419
|
+
"optional": true
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"id": "defect",
|
|
423
|
+
"field": "defect",
|
|
424
|
+
"optional": true
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
"inputSchema": {
|
|
428
|
+
"additionalProperties": false,
|
|
429
|
+
"description": "CreateContactInput records email consent and who supplied a new contact.",
|
|
430
|
+
"properties": {
|
|
431
|
+
"createSource": {
|
|
432
|
+
"description": "CreateSource is Account or Contact, according to who added the contact.",
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"emailAddress": {
|
|
436
|
+
"description": "EmailAddress is the unique email address, without a display name.",
|
|
437
|
+
"type": "string"
|
|
438
|
+
},
|
|
439
|
+
"emailPermission": {
|
|
440
|
+
"description": "EmailPermission is explicit, implicit, or not_set; use only the permission actually obtained.",
|
|
441
|
+
"type": "string"
|
|
442
|
+
},
|
|
443
|
+
"firstName": {
|
|
444
|
+
"description": "FirstName is the optional given name, up to 50 characters.",
|
|
445
|
+
"type": "string"
|
|
446
|
+
},
|
|
447
|
+
"lastName": {
|
|
448
|
+
"description": "LastName is the optional family name, up to 50 characters.",
|
|
449
|
+
"type": "string"
|
|
450
|
+
}
|
|
451
|
+
},
|
|
452
|
+
"required": [
|
|
453
|
+
"createSource",
|
|
454
|
+
"emailAddress",
|
|
455
|
+
"emailPermission"
|
|
456
|
+
],
|
|
457
|
+
"type": "object"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "newListContactsStep",
|
|
462
|
+
"kind": "query",
|
|
463
|
+
"operationId": "listContacts",
|
|
464
|
+
"inputType": "ListContactsInput",
|
|
465
|
+
"description": "Search contacts by exact email or page through the contact collection.",
|
|
466
|
+
"fields": {
|
|
467
|
+
"stepType": "stepType",
|
|
468
|
+
"annotations": "annotations",
|
|
469
|
+
"connectionName": "connectionName",
|
|
470
|
+
"resultAttribute": "resultAttribute"
|
|
471
|
+
},
|
|
472
|
+
"branches": [
|
|
473
|
+
{
|
|
474
|
+
"id": "listed",
|
|
475
|
+
"field": "listed",
|
|
476
|
+
"optional": false
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "providerRejected",
|
|
480
|
+
"field": "providerRejected",
|
|
481
|
+
"optional": true
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"id": "invalidResponse",
|
|
485
|
+
"field": "invalidResponse",
|
|
486
|
+
"optional": true
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"id": "defect",
|
|
490
|
+
"field": "defect",
|
|
491
|
+
"optional": true
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"inputSchema": {
|
|
495
|
+
"additionalProperties": false,
|
|
496
|
+
"description": "ListContactsInput selects one page of contacts, optionally by exact email.",
|
|
497
|
+
"properties": {
|
|
498
|
+
"cursor": {
|
|
499
|
+
"description": "Cursor is the opaque cursor returned by the preceding page; blank starts a search.",
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"emailAddress": {
|
|
503
|
+
"description": "EmailAddress matches an exact email address; blank returns all active contacts.",
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
"limit": {
|
|
507
|
+
"description": "Limit bounds one page to 1 through 500 contacts; zero uses the provider default.",
|
|
508
|
+
"type": "integer"
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"type": "object"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "newUpdateContactStep",
|
|
516
|
+
"kind": "mutation",
|
|
517
|
+
"operationId": "updateContact",
|
|
518
|
+
"inputType": "UpdateContactInput",
|
|
519
|
+
"description": "Update selected contact name and company fields while preserving other core fields.",
|
|
520
|
+
"fields": {
|
|
521
|
+
"stepType": "stepType",
|
|
522
|
+
"annotations": "annotations",
|
|
523
|
+
"connectionName": "connectionName",
|
|
524
|
+
"resultAttribute": "resultAttribute"
|
|
525
|
+
},
|
|
526
|
+
"branches": [
|
|
527
|
+
{
|
|
528
|
+
"id": "updated",
|
|
529
|
+
"field": "updated",
|
|
530
|
+
"optional": false
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "notFound",
|
|
534
|
+
"field": "notFound",
|
|
535
|
+
"optional": true
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"id": "providerRejected",
|
|
539
|
+
"field": "providerRejected",
|
|
540
|
+
"optional": true
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"id": "invalidResponse",
|
|
544
|
+
"field": "invalidResponse",
|
|
545
|
+
"optional": true
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"id": "defect",
|
|
549
|
+
"field": "defect",
|
|
550
|
+
"optional": true
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
"inputSchema": {
|
|
554
|
+
"additionalProperties": false,
|
|
555
|
+
"description": "UpdateContactInput changes selected core fields without changing email consent.",
|
|
556
|
+
"properties": {
|
|
557
|
+
"companyName": {
|
|
558
|
+
"description": "CompanyName changes the company name when non-nil; an empty value clears it.",
|
|
559
|
+
"type": "string"
|
|
560
|
+
},
|
|
561
|
+
"contactId": {
|
|
562
|
+
"description": "ContactID is the existing V3 contact UUID.",
|
|
563
|
+
"type": "string"
|
|
564
|
+
},
|
|
565
|
+
"firstName": {
|
|
566
|
+
"description": "FirstName changes the given name when non-nil; an empty value clears it.",
|
|
567
|
+
"type": "string"
|
|
568
|
+
},
|
|
569
|
+
"jobTitle": {
|
|
570
|
+
"description": "JobTitle changes the job title when non-nil; an empty value clears it.",
|
|
571
|
+
"type": "string"
|
|
572
|
+
},
|
|
573
|
+
"lastName": {
|
|
574
|
+
"description": "LastName changes the family name when non-nil; an empty value clears it.",
|
|
575
|
+
"type": "string"
|
|
576
|
+
},
|
|
577
|
+
"updateSource": {
|
|
578
|
+
"description": "UpdateSource is Account or Contact, identifying who supplied this update.",
|
|
579
|
+
"type": "string"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"required": [
|
|
583
|
+
"contactId",
|
|
584
|
+
"updateSource"
|
|
585
|
+
],
|
|
586
|
+
"type": "object"
|
|
587
|
+
}
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "newDeleteContactStep",
|
|
591
|
+
"kind": "mutation",
|
|
592
|
+
"operationId": "deleteContact",
|
|
593
|
+
"inputType": "DeleteContactInput",
|
|
594
|
+
"description": "Delete one contact and its list memberships by contact UUID.",
|
|
595
|
+
"fields": {
|
|
596
|
+
"stepType": "stepType",
|
|
597
|
+
"annotations": "annotations",
|
|
598
|
+
"connectionName": "connectionName",
|
|
599
|
+
"resultAttribute": "resultAttribute"
|
|
600
|
+
},
|
|
601
|
+
"branches": [
|
|
602
|
+
{
|
|
603
|
+
"id": "deleted",
|
|
604
|
+
"field": "deleted",
|
|
605
|
+
"optional": false
|
|
606
|
+
},
|
|
607
|
+
{
|
|
608
|
+
"id": "notFound",
|
|
609
|
+
"field": "notFound",
|
|
610
|
+
"optional": true
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"id": "providerRejected",
|
|
614
|
+
"field": "providerRejected",
|
|
615
|
+
"optional": true
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
"id": "defect",
|
|
619
|
+
"field": "defect",
|
|
620
|
+
"optional": true
|
|
621
|
+
}
|
|
622
|
+
],
|
|
623
|
+
"inputSchema": {
|
|
624
|
+
"additionalProperties": false,
|
|
625
|
+
"description": "DeleteContactInput selects a contact to remove from all lists.",
|
|
626
|
+
"properties": {
|
|
627
|
+
"contactId": {
|
|
628
|
+
"description": "ContactID is the non-secret V3 contact UUID.",
|
|
629
|
+
"type": "string"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
"required": [
|
|
633
|
+
"contactId"
|
|
634
|
+
],
|
|
635
|
+
"type": "object"
|
|
636
|
+
}
|
|
637
|
+
},
|
|
10
638
|
{
|
|
11
639
|
"name": "newGetContactStep",
|
|
12
640
|
"kind": "query",
|
|
@@ -60,6 +688,286 @@
|
|
|
60
688
|
],
|
|
61
689
|
"type": "object"
|
|
62
690
|
}
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "newGetContactListStep",
|
|
694
|
+
"kind": "query",
|
|
695
|
+
"operationId": "getContactList",
|
|
696
|
+
"inputType": "GetContactListInput",
|
|
697
|
+
"description": "Read one contact list by UUID.",
|
|
698
|
+
"fields": {
|
|
699
|
+
"stepType": "stepType",
|
|
700
|
+
"annotations": "annotations",
|
|
701
|
+
"connectionName": "connectionName",
|
|
702
|
+
"resultAttribute": "resultAttribute"
|
|
703
|
+
},
|
|
704
|
+
"branches": [
|
|
705
|
+
{
|
|
706
|
+
"id": "found",
|
|
707
|
+
"field": "found",
|
|
708
|
+
"optional": false
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"id": "notFound",
|
|
712
|
+
"field": "notFound",
|
|
713
|
+
"optional": true
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"id": "providerRejected",
|
|
717
|
+
"field": "providerRejected",
|
|
718
|
+
"optional": true
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"id": "invalidResponse",
|
|
722
|
+
"field": "invalidResponse",
|
|
723
|
+
"optional": true
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"id": "defect",
|
|
727
|
+
"field": "defect",
|
|
728
|
+
"optional": true
|
|
729
|
+
}
|
|
730
|
+
],
|
|
731
|
+
"inputSchema": {
|
|
732
|
+
"additionalProperties": false,
|
|
733
|
+
"description": "GetContactListInput identifies one contact list.",
|
|
734
|
+
"properties": {
|
|
735
|
+
"listId": {
|
|
736
|
+
"description": "ListID is the V3 list UUID.",
|
|
737
|
+
"type": "string"
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
"required": [
|
|
741
|
+
"listId"
|
|
742
|
+
],
|
|
743
|
+
"type": "object"
|
|
744
|
+
}
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"name": "newListContactListsStep",
|
|
748
|
+
"kind": "query",
|
|
749
|
+
"operationId": "listContactLists",
|
|
750
|
+
"inputType": "ListContactListsInput",
|
|
751
|
+
"description": "Read a bounded collection of contact lists, optionally by exact name.",
|
|
752
|
+
"fields": {
|
|
753
|
+
"stepType": "stepType",
|
|
754
|
+
"annotations": "annotations",
|
|
755
|
+
"connectionName": "connectionName",
|
|
756
|
+
"resultAttribute": "resultAttribute"
|
|
757
|
+
},
|
|
758
|
+
"branches": [
|
|
759
|
+
{
|
|
760
|
+
"id": "listed",
|
|
761
|
+
"field": "listed",
|
|
762
|
+
"optional": false
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"id": "providerRejected",
|
|
766
|
+
"field": "providerRejected",
|
|
767
|
+
"optional": true
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
"id": "invalidResponse",
|
|
771
|
+
"field": "invalidResponse",
|
|
772
|
+
"optional": true
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"id": "defect",
|
|
776
|
+
"field": "defect",
|
|
777
|
+
"optional": true
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
"inputSchema": {
|
|
781
|
+
"additionalProperties": false,
|
|
782
|
+
"description": "ListContactListsInput selects a bounded collection of contact lists.",
|
|
783
|
+
"properties": {
|
|
784
|
+
"limit": {
|
|
785
|
+
"description": "Limit is 1 through 1000; zero uses Constant Contact's default.",
|
|
786
|
+
"type": "integer"
|
|
787
|
+
},
|
|
788
|
+
"name": {
|
|
789
|
+
"description": "Name optionally matches the full list name.",
|
|
790
|
+
"type": "string"
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
"type": "object"
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"name": "newCreateContactListStep",
|
|
798
|
+
"kind": "mutation",
|
|
799
|
+
"operationId": "createContactList",
|
|
800
|
+
"inputType": "CreateContactListInput",
|
|
801
|
+
"description": "Create one named contact list.",
|
|
802
|
+
"fields": {
|
|
803
|
+
"stepType": "stepType",
|
|
804
|
+
"annotations": "annotations",
|
|
805
|
+
"connectionName": "connectionName",
|
|
806
|
+
"resultAttribute": "resultAttribute"
|
|
807
|
+
},
|
|
808
|
+
"branches": [
|
|
809
|
+
{
|
|
810
|
+
"id": "created",
|
|
811
|
+
"field": "created",
|
|
812
|
+
"optional": false
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"id": "uncertain",
|
|
816
|
+
"field": "uncertain",
|
|
817
|
+
"optional": true
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"id": "alreadyExists",
|
|
821
|
+
"field": "alreadyExists",
|
|
822
|
+
"optional": true
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"id": "providerRejected",
|
|
826
|
+
"field": "providerRejected",
|
|
827
|
+
"optional": true
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"id": "defect",
|
|
831
|
+
"field": "defect",
|
|
832
|
+
"optional": true
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"inputSchema": {
|
|
836
|
+
"additionalProperties": false,
|
|
837
|
+
"description": "CreateContactListInput gives the complete settings for a new list.",
|
|
838
|
+
"properties": {
|
|
839
|
+
"description": {
|
|
840
|
+
"description": "Description is optional and at most 255 characters.",
|
|
841
|
+
"type": "string"
|
|
842
|
+
},
|
|
843
|
+
"favorite": {
|
|
844
|
+
"description": "Favorite highlights the list in Constant Contact.",
|
|
845
|
+
"type": "boolean"
|
|
846
|
+
},
|
|
847
|
+
"name": {
|
|
848
|
+
"description": "Name is a unique non-empty list name.",
|
|
849
|
+
"type": "string"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"required": [
|
|
853
|
+
"favorite",
|
|
854
|
+
"name"
|
|
855
|
+
],
|
|
856
|
+
"type": "object"
|
|
857
|
+
}
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
"name": "newUpdateContactListStep",
|
|
861
|
+
"kind": "mutation",
|
|
862
|
+
"operationId": "updateContactList",
|
|
863
|
+
"inputType": "UpdateContactListInput",
|
|
864
|
+
"description": "Replace the name, description, and favorite state of one list.",
|
|
865
|
+
"fields": {
|
|
866
|
+
"stepType": "stepType",
|
|
867
|
+
"annotations": "annotations",
|
|
868
|
+
"connectionName": "connectionName",
|
|
869
|
+
"resultAttribute": "resultAttribute"
|
|
870
|
+
},
|
|
871
|
+
"branches": [
|
|
872
|
+
{
|
|
873
|
+
"id": "updated",
|
|
874
|
+
"field": "updated",
|
|
875
|
+
"optional": false
|
|
876
|
+
},
|
|
877
|
+
{
|
|
878
|
+
"id": "notFound",
|
|
879
|
+
"field": "notFound",
|
|
880
|
+
"optional": true
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"id": "providerRejected",
|
|
884
|
+
"field": "providerRejected",
|
|
885
|
+
"optional": true
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"id": "defect",
|
|
889
|
+
"field": "defect",
|
|
890
|
+
"optional": true
|
|
891
|
+
}
|
|
892
|
+
],
|
|
893
|
+
"inputSchema": {
|
|
894
|
+
"additionalProperties": false,
|
|
895
|
+
"description": "UpdateContactListInput replaces the settings of an existing list.",
|
|
896
|
+
"properties": {
|
|
897
|
+
"description": {
|
|
898
|
+
"description": "Description replaces the existing description; blank clears it.",
|
|
899
|
+
"type": "string"
|
|
900
|
+
},
|
|
901
|
+
"favorite": {
|
|
902
|
+
"description": "Favorite replaces the current favorite state.",
|
|
903
|
+
"type": "boolean"
|
|
904
|
+
},
|
|
905
|
+
"listId": {
|
|
906
|
+
"description": "ListID is the V3 list UUID.",
|
|
907
|
+
"type": "string"
|
|
908
|
+
},
|
|
909
|
+
"name": {
|
|
910
|
+
"description": "Name is the new unique list name.",
|
|
911
|
+
"type": "string"
|
|
912
|
+
}
|
|
913
|
+
},
|
|
914
|
+
"required": [
|
|
915
|
+
"description",
|
|
916
|
+
"favorite",
|
|
917
|
+
"listId",
|
|
918
|
+
"name"
|
|
919
|
+
],
|
|
920
|
+
"type": "object"
|
|
921
|
+
}
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "newDeleteContactListStep",
|
|
925
|
+
"kind": "mutation",
|
|
926
|
+
"operationId": "deleteContactList",
|
|
927
|
+
"inputType": "DeleteContactListInput",
|
|
928
|
+
"description": "Request asynchronous deletion of one contact list.",
|
|
929
|
+
"fields": {
|
|
930
|
+
"stepType": "stepType",
|
|
931
|
+
"annotations": "annotations",
|
|
932
|
+
"connectionName": "connectionName",
|
|
933
|
+
"resultAttribute": "resultAttribute"
|
|
934
|
+
},
|
|
935
|
+
"branches": [
|
|
936
|
+
{
|
|
937
|
+
"id": "accepted",
|
|
938
|
+
"field": "accepted",
|
|
939
|
+
"optional": false
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"id": "notFound",
|
|
943
|
+
"field": "notFound",
|
|
944
|
+
"optional": true
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"id": "providerRejected",
|
|
948
|
+
"field": "providerRejected",
|
|
949
|
+
"optional": true
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"id": "defect",
|
|
953
|
+
"field": "defect",
|
|
954
|
+
"optional": true
|
|
955
|
+
}
|
|
956
|
+
],
|
|
957
|
+
"inputSchema": {
|
|
958
|
+
"additionalProperties": false,
|
|
959
|
+
"description": "DeleteContactListInput identifies one contact list to remove.",
|
|
960
|
+
"properties": {
|
|
961
|
+
"listId": {
|
|
962
|
+
"description": "ListID is the V3 list UUID.",
|
|
963
|
+
"type": "string"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"required": [
|
|
967
|
+
"listId"
|
|
968
|
+
],
|
|
969
|
+
"type": "object"
|
|
970
|
+
}
|
|
63
971
|
}
|
|
64
972
|
]
|
|
65
973
|
}
|