@superdurable/connector-campaignmonitor 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 +1 -1
- package/dex-connector.json +1448 -2
- package/dist/chunk-XSS3TJM2.js +1092 -0
- package/dist/connection-8jj_z6ZP.d.ts +777 -0
- package/dist/index.d.ts +1237 -4
- package/dist/index.js +1606 -39
- package/dist/mock.d.ts +441 -3
- package/dist/mock.js +1111 -5
- package/package.json +5 -4
- package/dist/chunk-VKND2LIG.js +0 -103
- package/dist/connection-CcQeWY_i.d.ts +0 -77
package/dex-connector.json
CHANGED
|
@@ -1,12 +1,1458 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "campaignmonitor",
|
|
3
|
-
"releaseTag": "connectors/campaignmonitor/go/v0.
|
|
3
|
+
"releaseTag": "connectors/campaignmonitor/go/v0.2.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-campaignmonitor",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newListCampaignsStep",
|
|
12
|
+
"kind": "query",
|
|
13
|
+
"operationId": "listCampaigns",
|
|
14
|
+
"inputType": "ListCampaignsInput",
|
|
15
|
+
"description": "List draft, scheduled, or sent campaigns for one client.",
|
|
16
|
+
"fields": {
|
|
17
|
+
"stepType": "stepType",
|
|
18
|
+
"annotations": "annotations",
|
|
19
|
+
"connectionName": "connectionName",
|
|
20
|
+
"resultAttribute": "resultAttribute"
|
|
21
|
+
},
|
|
22
|
+
"branches": [
|
|
23
|
+
{
|
|
24
|
+
"id": "listed",
|
|
25
|
+
"field": "listed",
|
|
26
|
+
"optional": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "providerRejected",
|
|
30
|
+
"field": "providerRejected",
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "invalidResponse",
|
|
35
|
+
"field": "invalidResponse",
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "defect",
|
|
40
|
+
"field": "defect",
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"inputSchema": {
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "ListCampaignsInput selects draft, scheduled, or sent campaigns for a client.",
|
|
47
|
+
"properties": {
|
|
48
|
+
"clientId": {
|
|
49
|
+
"description": "ClientID is returned by ListClients.",
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"pageNumber": {
|
|
53
|
+
"description": "PageNumber is one-based for sent campaigns; zero uses the first page.",
|
|
54
|
+
"type": "integer"
|
|
55
|
+
},
|
|
56
|
+
"pageSize": {
|
|
57
|
+
"description": "PageSize is 1 to 1000 for sent campaigns; zero uses 100.",
|
|
58
|
+
"type": "integer"
|
|
59
|
+
},
|
|
60
|
+
"status": {
|
|
61
|
+
"description": "Status is draft, scheduled, or sent; blank uses draft.",
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"clientId"
|
|
67
|
+
],
|
|
68
|
+
"type": "object"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "newGetCampaignSummaryStep",
|
|
73
|
+
"kind": "query",
|
|
74
|
+
"operationId": "getCampaignSummary",
|
|
75
|
+
"inputType": "GetCampaignSummaryInput",
|
|
76
|
+
"description": "Read sent campaign result counts.",
|
|
77
|
+
"fields": {
|
|
78
|
+
"stepType": "stepType",
|
|
79
|
+
"annotations": "annotations",
|
|
80
|
+
"connectionName": "connectionName",
|
|
81
|
+
"resultAttribute": "resultAttribute"
|
|
82
|
+
},
|
|
83
|
+
"branches": [
|
|
84
|
+
{
|
|
85
|
+
"id": "found",
|
|
86
|
+
"field": "found",
|
|
87
|
+
"optional": false
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "notFound",
|
|
91
|
+
"field": "notFound",
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "providerRejected",
|
|
96
|
+
"field": "providerRejected",
|
|
97
|
+
"optional": true
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"id": "invalidResponse",
|
|
101
|
+
"field": "invalidResponse",
|
|
102
|
+
"optional": true
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "defect",
|
|
106
|
+
"field": "defect",
|
|
107
|
+
"optional": true
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"inputSchema": {
|
|
111
|
+
"additionalProperties": false,
|
|
112
|
+
"description": "GetCampaignSummaryInput selects one sent campaign.",
|
|
113
|
+
"properties": {
|
|
114
|
+
"campaignId": {
|
|
115
|
+
"description": "CampaignID is returned by ListCampaigns or CreateDraftCampaign.",
|
|
116
|
+
"type": "string"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": [
|
|
120
|
+
"campaignId"
|
|
121
|
+
],
|
|
122
|
+
"type": "object"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "newCreateDraftCampaignStep",
|
|
127
|
+
"kind": "mutation",
|
|
128
|
+
"operationId": "createDraftCampaign",
|
|
129
|
+
"inputType": "CreateDraftCampaignInput",
|
|
130
|
+
"description": "Create a draft campaign with hosted HTML and selected recipients.",
|
|
131
|
+
"fields": {
|
|
132
|
+
"stepType": "stepType",
|
|
133
|
+
"annotations": "annotations",
|
|
134
|
+
"connectionName": "connectionName",
|
|
135
|
+
"resultAttribute": "resultAttribute"
|
|
136
|
+
},
|
|
137
|
+
"branches": [
|
|
138
|
+
{
|
|
139
|
+
"id": "created",
|
|
140
|
+
"field": "created",
|
|
141
|
+
"optional": false
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "providerRejected",
|
|
145
|
+
"field": "providerRejected",
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "uncertain",
|
|
150
|
+
"field": "uncertain",
|
|
151
|
+
"optional": true
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"id": "defect",
|
|
155
|
+
"field": "defect",
|
|
156
|
+
"optional": true
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"inputSchema": {
|
|
160
|
+
"additionalProperties": false,
|
|
161
|
+
"description": "CreateDraftCampaignInput creates a draft from hosted HTML content.",
|
|
162
|
+
"properties": {
|
|
163
|
+
"clientId": {
|
|
164
|
+
"description": "ClientID is returned by ListClients.",
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"fromEmail": {
|
|
168
|
+
"description": "FromEmail is a complete sender email address.",
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"fromName": {
|
|
172
|
+
"description": "FromName is the sender's display name.",
|
|
173
|
+
"type": "string"
|
|
174
|
+
},
|
|
175
|
+
"htmlUrl": {
|
|
176
|
+
"description": "HTMLURL is an HTTPS URL for Campaign Monitor to import email HTML.",
|
|
177
|
+
"type": "string"
|
|
178
|
+
},
|
|
179
|
+
"inlineCss": {
|
|
180
|
+
"description": "InlineCSS overrides the provider's default when nonnil.",
|
|
181
|
+
"type": "boolean"
|
|
182
|
+
},
|
|
183
|
+
"listIds": {
|
|
184
|
+
"description": "ListIDs are recipient list IDs.",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"type": "array"
|
|
189
|
+
},
|
|
190
|
+
"name": {
|
|
191
|
+
"description": "Name is unique among the client's campaigns.",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"replyTo": {
|
|
195
|
+
"description": "ReplyTo is a complete reply-to email address.",
|
|
196
|
+
"type": "string"
|
|
197
|
+
},
|
|
198
|
+
"segmentIds": {
|
|
199
|
+
"description": "SegmentIDs are recipient segment IDs.",
|
|
200
|
+
"items": {
|
|
201
|
+
"type": "string"
|
|
202
|
+
},
|
|
203
|
+
"type": "array"
|
|
204
|
+
},
|
|
205
|
+
"subject": {
|
|
206
|
+
"description": "Subject is the nonempty email subject.",
|
|
207
|
+
"type": "string"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"required": [
|
|
211
|
+
"clientId",
|
|
212
|
+
"fromEmail",
|
|
213
|
+
"fromName",
|
|
214
|
+
"htmlUrl",
|
|
215
|
+
"name",
|
|
216
|
+
"replyTo",
|
|
217
|
+
"subject"
|
|
218
|
+
],
|
|
219
|
+
"type": "object"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "newSendCampaignStep",
|
|
224
|
+
"kind": "mutation",
|
|
225
|
+
"operationId": "sendCampaign",
|
|
226
|
+
"inputType": "SendCampaignInput",
|
|
227
|
+
"description": "Send or schedule an existing draft campaign in the client's timezone.",
|
|
228
|
+
"fields": {
|
|
229
|
+
"stepType": "stepType",
|
|
230
|
+
"annotations": "annotations",
|
|
231
|
+
"connectionName": "connectionName",
|
|
232
|
+
"resultAttribute": "resultAttribute"
|
|
233
|
+
},
|
|
234
|
+
"branches": [
|
|
235
|
+
{
|
|
236
|
+
"id": "sent",
|
|
237
|
+
"field": "sent",
|
|
238
|
+
"optional": false
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "providerRejected",
|
|
242
|
+
"field": "providerRejected",
|
|
243
|
+
"optional": true
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"id": "uncertain",
|
|
247
|
+
"field": "uncertain",
|
|
248
|
+
"optional": true
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"id": "defect",
|
|
252
|
+
"field": "defect",
|
|
253
|
+
"optional": true
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"inputSchema": {
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"description": "SendCampaignInput sends one draft campaign immediately.",
|
|
259
|
+
"properties": {
|
|
260
|
+
"campaignId": {
|
|
261
|
+
"description": "CampaignID is returned by CreateDraftCampaign or ListCampaigns.",
|
|
262
|
+
"type": "string"
|
|
263
|
+
},
|
|
264
|
+
"clientId": {
|
|
265
|
+
"description": "ClientID owns the campaign and enables read-back after an unknown send.",
|
|
266
|
+
"type": "string"
|
|
267
|
+
},
|
|
268
|
+
"confirmationEmail": {
|
|
269
|
+
"description": "ConfirmationEmail receives the provider's send confirmation.",
|
|
270
|
+
"type": "string"
|
|
271
|
+
},
|
|
272
|
+
"sendDate": {
|
|
273
|
+
"description": "SendDate is YYYY-MM-DD HH:MM in the client's timezone; blank sends immediately.",
|
|
274
|
+
"type": "string"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"required": [
|
|
278
|
+
"campaignId",
|
|
279
|
+
"clientId",
|
|
280
|
+
"confirmationEmail"
|
|
281
|
+
],
|
|
282
|
+
"type": "object"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "newSendCampaignPreviewStep",
|
|
287
|
+
"kind": "mutation",
|
|
288
|
+
"operationId": "sendCampaignPreview",
|
|
289
|
+
"inputType": "SendCampaignPreviewInput",
|
|
290
|
+
"description": "Send a draft campaign preview to selected addresses.",
|
|
291
|
+
"fields": {
|
|
292
|
+
"stepType": "stepType",
|
|
293
|
+
"annotations": "annotations",
|
|
294
|
+
"connectionName": "connectionName",
|
|
295
|
+
"resultAttribute": "resultAttribute"
|
|
296
|
+
},
|
|
297
|
+
"branches": [
|
|
298
|
+
{
|
|
299
|
+
"id": "sent",
|
|
300
|
+
"field": "sent",
|
|
301
|
+
"optional": false
|
|
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": "SendCampaignPreviewInput sends a draft preview to up to five addresses.",
|
|
322
|
+
"properties": {
|
|
323
|
+
"campaignId": {
|
|
324
|
+
"description": "CampaignID is returned by CreateDraftCampaign or ListCampaigns.",
|
|
325
|
+
"type": "string"
|
|
326
|
+
},
|
|
327
|
+
"recipients": {
|
|
328
|
+
"description": "Recipients are one to five complete email addresses.",
|
|
329
|
+
"items": {
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
"type": [
|
|
333
|
+
"array",
|
|
334
|
+
"null"
|
|
335
|
+
]
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"required": [
|
|
339
|
+
"campaignId",
|
|
340
|
+
"recipients"
|
|
341
|
+
],
|
|
342
|
+
"type": "object"
|
|
343
|
+
}
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "newUnscheduleCampaignStep",
|
|
347
|
+
"kind": "mutation",
|
|
348
|
+
"operationId": "unscheduleCampaign",
|
|
349
|
+
"inputType": "UnscheduleCampaignInput",
|
|
350
|
+
"description": "Move a scheduled campaign back to drafts.",
|
|
351
|
+
"fields": {
|
|
352
|
+
"stepType": "stepType",
|
|
353
|
+
"annotations": "annotations",
|
|
354
|
+
"connectionName": "connectionName",
|
|
355
|
+
"resultAttribute": "resultAttribute"
|
|
356
|
+
},
|
|
357
|
+
"branches": [
|
|
358
|
+
{
|
|
359
|
+
"id": "unscheduled",
|
|
360
|
+
"field": "unscheduled",
|
|
361
|
+
"optional": false
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"id": "providerRejected",
|
|
365
|
+
"field": "providerRejected",
|
|
366
|
+
"optional": true
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"id": "invalidResponse",
|
|
370
|
+
"field": "invalidResponse",
|
|
371
|
+
"optional": true
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "defect",
|
|
375
|
+
"field": "defect",
|
|
376
|
+
"optional": true
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"inputSchema": {
|
|
380
|
+
"additionalProperties": false,
|
|
381
|
+
"description": "UnscheduleCampaignInput selects a scheduled campaign to move to drafts.",
|
|
382
|
+
"properties": {
|
|
383
|
+
"campaignId": {
|
|
384
|
+
"description": "CampaignID is returned by ListCampaigns.",
|
|
385
|
+
"type": "string"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
"required": [
|
|
389
|
+
"campaignId"
|
|
390
|
+
],
|
|
391
|
+
"type": "object"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "newDeleteCampaignStep",
|
|
396
|
+
"kind": "mutation",
|
|
397
|
+
"operationId": "deleteCampaign",
|
|
398
|
+
"inputType": "DeleteCampaignInput",
|
|
399
|
+
"description": "Delete a campaign by ID.",
|
|
400
|
+
"fields": {
|
|
401
|
+
"stepType": "stepType",
|
|
402
|
+
"annotations": "annotations",
|
|
403
|
+
"connectionName": "connectionName",
|
|
404
|
+
"resultAttribute": "resultAttribute"
|
|
405
|
+
},
|
|
406
|
+
"branches": [
|
|
407
|
+
{
|
|
408
|
+
"id": "deleted",
|
|
409
|
+
"field": "deleted",
|
|
410
|
+
"optional": false
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"id": "providerRejected",
|
|
414
|
+
"field": "providerRejected",
|
|
415
|
+
"optional": true
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"id": "invalidResponse",
|
|
419
|
+
"field": "invalidResponse",
|
|
420
|
+
"optional": true
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "defect",
|
|
424
|
+
"field": "defect",
|
|
425
|
+
"optional": true
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"inputSchema": {
|
|
429
|
+
"additionalProperties": false,
|
|
430
|
+
"description": "DeleteCampaignInput selects one campaign for deletion.",
|
|
431
|
+
"properties": {
|
|
432
|
+
"campaignId": {
|
|
433
|
+
"description": "CampaignID is returned by ListCampaigns.",
|
|
434
|
+
"type": "string"
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"required": [
|
|
438
|
+
"campaignId"
|
|
439
|
+
],
|
|
440
|
+
"type": "object"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "newListSegmentsStep",
|
|
445
|
+
"kind": "query",
|
|
446
|
+
"operationId": "listSegments",
|
|
447
|
+
"inputType": "ListSegmentsInput",
|
|
448
|
+
"description": "List segment IDs and names for one subscriber list.",
|
|
449
|
+
"fields": {
|
|
450
|
+
"stepType": "stepType",
|
|
451
|
+
"annotations": "annotations",
|
|
452
|
+
"connectionName": "connectionName",
|
|
453
|
+
"resultAttribute": "resultAttribute"
|
|
454
|
+
},
|
|
455
|
+
"branches": [
|
|
456
|
+
{
|
|
457
|
+
"id": "listed",
|
|
458
|
+
"field": "listed",
|
|
459
|
+
"optional": false
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"id": "providerRejected",
|
|
463
|
+
"field": "providerRejected",
|
|
464
|
+
"optional": true
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"id": "invalidResponse",
|
|
468
|
+
"field": "invalidResponse",
|
|
469
|
+
"optional": true
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"id": "defect",
|
|
473
|
+
"field": "defect",
|
|
474
|
+
"optional": true
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"inputSchema": {
|
|
478
|
+
"additionalProperties": false,
|
|
479
|
+
"description": "ListSegmentsInput selects one list's segments.",
|
|
480
|
+
"properties": {
|
|
481
|
+
"listId": {
|
|
482
|
+
"description": "ListID is returned by ListSubscriberLists.",
|
|
483
|
+
"type": "string"
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"required": [
|
|
487
|
+
"listId"
|
|
488
|
+
],
|
|
489
|
+
"type": "object"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "newGetSegmentStep",
|
|
494
|
+
"kind": "query",
|
|
495
|
+
"operationId": "getSegment",
|
|
496
|
+
"inputType": "GetSegmentInput",
|
|
497
|
+
"description": "Read a segment's title, list, rules, and active count.",
|
|
498
|
+
"fields": {
|
|
499
|
+
"stepType": "stepType",
|
|
500
|
+
"annotations": "annotations",
|
|
501
|
+
"connectionName": "connectionName",
|
|
502
|
+
"resultAttribute": "resultAttribute"
|
|
503
|
+
},
|
|
504
|
+
"branches": [
|
|
505
|
+
{
|
|
506
|
+
"id": "found",
|
|
507
|
+
"field": "found",
|
|
508
|
+
"optional": false
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
"id": "notFound",
|
|
512
|
+
"field": "notFound",
|
|
513
|
+
"optional": true
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
"id": "providerRejected",
|
|
517
|
+
"field": "providerRejected",
|
|
518
|
+
"optional": true
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"id": "invalidResponse",
|
|
522
|
+
"field": "invalidResponse",
|
|
523
|
+
"optional": true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"id": "defect",
|
|
527
|
+
"field": "defect",
|
|
528
|
+
"optional": true
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"inputSchema": {
|
|
532
|
+
"additionalProperties": false,
|
|
533
|
+
"description": "GetSegmentInput selects one segment by ID.",
|
|
534
|
+
"properties": {
|
|
535
|
+
"segmentId": {
|
|
536
|
+
"description": "SegmentID is returned by ListSegments.",
|
|
537
|
+
"type": "string"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"required": [
|
|
541
|
+
"segmentId"
|
|
542
|
+
],
|
|
543
|
+
"type": "object"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"name": "newCreateSegmentStep",
|
|
548
|
+
"kind": "mutation",
|
|
549
|
+
"operationId": "createSegment",
|
|
550
|
+
"inputType": "CreateSegmentInput",
|
|
551
|
+
"description": "Create a segment with optional rule groups.",
|
|
552
|
+
"fields": {
|
|
553
|
+
"stepType": "stepType",
|
|
554
|
+
"annotations": "annotations",
|
|
555
|
+
"connectionName": "connectionName",
|
|
556
|
+
"resultAttribute": "resultAttribute"
|
|
557
|
+
},
|
|
558
|
+
"branches": [
|
|
559
|
+
{
|
|
560
|
+
"id": "created",
|
|
561
|
+
"field": "created",
|
|
562
|
+
"optional": false
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"id": "providerRejected",
|
|
566
|
+
"field": "providerRejected",
|
|
567
|
+
"optional": true
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"id": "uncertain",
|
|
571
|
+
"field": "uncertain",
|
|
572
|
+
"optional": true
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"id": "defect",
|
|
576
|
+
"field": "defect",
|
|
577
|
+
"optional": true
|
|
578
|
+
}
|
|
579
|
+
],
|
|
580
|
+
"inputSchema": {
|
|
581
|
+
"$defs": {
|
|
582
|
+
"SegmentRule": {
|
|
583
|
+
"additionalProperties": false,
|
|
584
|
+
"description": "SegmentRule selects subscribers using a provider rule type and clause.",
|
|
585
|
+
"properties": {
|
|
586
|
+
"clause": {
|
|
587
|
+
"description": "Clause is a provider expression such as CONTAINS @example.com.",
|
|
588
|
+
"type": "string"
|
|
589
|
+
},
|
|
590
|
+
"ruleType": {
|
|
591
|
+
"description": "RuleType is a provider-supported field such as EmailAddress.",
|
|
592
|
+
"type": "string"
|
|
593
|
+
}
|
|
594
|
+
},
|
|
595
|
+
"required": [
|
|
596
|
+
"clause",
|
|
597
|
+
"ruleType"
|
|
598
|
+
],
|
|
599
|
+
"type": "object"
|
|
600
|
+
},
|
|
601
|
+
"SegmentRuleGroup": {
|
|
602
|
+
"additionalProperties": false,
|
|
603
|
+
"description": "SegmentRuleGroup combines its rules according to Campaign Monitor semantics.",
|
|
604
|
+
"properties": {
|
|
605
|
+
"rules": {
|
|
606
|
+
"description": "Rules are nonempty provider rule expressions.",
|
|
607
|
+
"items": {
|
|
608
|
+
"$ref": "#/$defs/SegmentRule"
|
|
609
|
+
},
|
|
610
|
+
"type": [
|
|
611
|
+
"array",
|
|
612
|
+
"null"
|
|
613
|
+
]
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
"required": [
|
|
617
|
+
"rules"
|
|
618
|
+
],
|
|
619
|
+
"type": "object"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"additionalProperties": false,
|
|
623
|
+
"description": "CreateSegmentInput creates a segment on a subscriber list.",
|
|
624
|
+
"properties": {
|
|
625
|
+
"listId": {
|
|
626
|
+
"description": "ListID is returned by ListSubscriberLists.",
|
|
627
|
+
"type": "string"
|
|
628
|
+
},
|
|
629
|
+
"ruleGroups": {
|
|
630
|
+
"description": "RuleGroups optionally constrain subscribers; nil creates a segment without rules.",
|
|
631
|
+
"items": {
|
|
632
|
+
"$ref": "#/$defs/SegmentRuleGroup"
|
|
633
|
+
},
|
|
634
|
+
"type": "array"
|
|
635
|
+
},
|
|
636
|
+
"title": {
|
|
637
|
+
"description": "Title is the nonempty segment title.",
|
|
638
|
+
"type": "string"
|
|
639
|
+
}
|
|
640
|
+
},
|
|
641
|
+
"required": [
|
|
642
|
+
"listId",
|
|
643
|
+
"title"
|
|
644
|
+
],
|
|
645
|
+
"type": "object"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "newUpdateSegmentStep",
|
|
650
|
+
"kind": "mutation",
|
|
651
|
+
"operationId": "updateSegment",
|
|
652
|
+
"inputType": "UpdateSegmentInput",
|
|
653
|
+
"description": "Replace a segment's title and optionally its complete rule groups.",
|
|
654
|
+
"fields": {
|
|
655
|
+
"stepType": "stepType",
|
|
656
|
+
"annotations": "annotations",
|
|
657
|
+
"connectionName": "connectionName",
|
|
658
|
+
"resultAttribute": "resultAttribute"
|
|
659
|
+
},
|
|
660
|
+
"branches": [
|
|
661
|
+
{
|
|
662
|
+
"id": "updated",
|
|
663
|
+
"field": "updated",
|
|
664
|
+
"optional": false
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"id": "notFound",
|
|
668
|
+
"field": "notFound",
|
|
669
|
+
"optional": true
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"id": "providerRejected",
|
|
673
|
+
"field": "providerRejected",
|
|
674
|
+
"optional": true
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"id": "invalidResponse",
|
|
678
|
+
"field": "invalidResponse",
|
|
679
|
+
"optional": true
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"id": "defect",
|
|
683
|
+
"field": "defect",
|
|
684
|
+
"optional": true
|
|
685
|
+
}
|
|
686
|
+
],
|
|
687
|
+
"inputSchema": {
|
|
688
|
+
"$defs": {
|
|
689
|
+
"SegmentRule": {
|
|
690
|
+
"additionalProperties": false,
|
|
691
|
+
"description": "SegmentRule selects subscribers using a provider rule type and clause.",
|
|
692
|
+
"properties": {
|
|
693
|
+
"clause": {
|
|
694
|
+
"description": "Clause is a provider expression such as CONTAINS @example.com.",
|
|
695
|
+
"type": "string"
|
|
696
|
+
},
|
|
697
|
+
"ruleType": {
|
|
698
|
+
"description": "RuleType is a provider-supported field such as EmailAddress.",
|
|
699
|
+
"type": "string"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"required": [
|
|
703
|
+
"clause",
|
|
704
|
+
"ruleType"
|
|
705
|
+
],
|
|
706
|
+
"type": "object"
|
|
707
|
+
},
|
|
708
|
+
"SegmentRuleGroup": {
|
|
709
|
+
"additionalProperties": false,
|
|
710
|
+
"description": "SegmentRuleGroup combines its rules according to Campaign Monitor semantics.",
|
|
711
|
+
"properties": {
|
|
712
|
+
"rules": {
|
|
713
|
+
"description": "Rules are nonempty provider rule expressions.",
|
|
714
|
+
"items": {
|
|
715
|
+
"$ref": "#/$defs/SegmentRule"
|
|
716
|
+
},
|
|
717
|
+
"type": [
|
|
718
|
+
"array",
|
|
719
|
+
"null"
|
|
720
|
+
]
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
"required": [
|
|
724
|
+
"rules"
|
|
725
|
+
],
|
|
726
|
+
"type": "object"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
"additionalProperties": false,
|
|
730
|
+
"description": "UpdateSegmentInput replaces the title and optionally all rules.",
|
|
731
|
+
"properties": {
|
|
732
|
+
"ruleGroups": {
|
|
733
|
+
"description": "RuleGroups replaces all rules when nonnil; nil preserves existing rules.",
|
|
734
|
+
"items": {
|
|
735
|
+
"$ref": "#/$defs/SegmentRuleGroup"
|
|
736
|
+
},
|
|
737
|
+
"type": "array"
|
|
738
|
+
},
|
|
739
|
+
"segmentId": {
|
|
740
|
+
"description": "SegmentID is returned by ListSegments.",
|
|
741
|
+
"type": "string"
|
|
742
|
+
},
|
|
743
|
+
"title": {
|
|
744
|
+
"description": "Title is the replacement segment title.",
|
|
745
|
+
"type": "string"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
"required": [
|
|
749
|
+
"segmentId",
|
|
750
|
+
"title"
|
|
751
|
+
],
|
|
752
|
+
"type": "object"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "newDeleteSegmentStep",
|
|
757
|
+
"kind": "mutation",
|
|
758
|
+
"operationId": "deleteSegment",
|
|
759
|
+
"inputType": "DeleteSegmentInput",
|
|
760
|
+
"description": "Delete one segment by ID.",
|
|
761
|
+
"fields": {
|
|
762
|
+
"stepType": "stepType",
|
|
763
|
+
"annotations": "annotations",
|
|
764
|
+
"connectionName": "connectionName",
|
|
765
|
+
"resultAttribute": "resultAttribute"
|
|
766
|
+
},
|
|
767
|
+
"branches": [
|
|
768
|
+
{
|
|
769
|
+
"id": "deleted",
|
|
770
|
+
"field": "deleted",
|
|
771
|
+
"optional": false
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "providerRejected",
|
|
775
|
+
"field": "providerRejected",
|
|
776
|
+
"optional": true
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"id": "invalidResponse",
|
|
780
|
+
"field": "invalidResponse",
|
|
781
|
+
"optional": true
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"id": "defect",
|
|
785
|
+
"field": "defect",
|
|
786
|
+
"optional": true
|
|
787
|
+
}
|
|
788
|
+
],
|
|
789
|
+
"inputSchema": {
|
|
790
|
+
"additionalProperties": false,
|
|
791
|
+
"description": "DeleteSegmentInput selects a segment for deletion.",
|
|
792
|
+
"properties": {
|
|
793
|
+
"segmentId": {
|
|
794
|
+
"description": "SegmentID is returned by ListSegments.",
|
|
795
|
+
"type": "string"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
"required": [
|
|
799
|
+
"segmentId"
|
|
800
|
+
],
|
|
801
|
+
"type": "object"
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "newGetListStep",
|
|
806
|
+
"kind": "query",
|
|
807
|
+
"operationId": "getList",
|
|
808
|
+
"inputType": "GetListInput",
|
|
809
|
+
"description": "Read one subscriber list's settings.",
|
|
810
|
+
"fields": {
|
|
811
|
+
"stepType": "stepType",
|
|
812
|
+
"annotations": "annotations",
|
|
813
|
+
"connectionName": "connectionName",
|
|
814
|
+
"resultAttribute": "resultAttribute"
|
|
815
|
+
},
|
|
816
|
+
"branches": [
|
|
817
|
+
{
|
|
818
|
+
"id": "found",
|
|
819
|
+
"field": "found",
|
|
820
|
+
"optional": false
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"id": "notFound",
|
|
824
|
+
"field": "notFound",
|
|
825
|
+
"optional": true
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"id": "providerRejected",
|
|
829
|
+
"field": "providerRejected",
|
|
830
|
+
"optional": true
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"id": "invalidResponse",
|
|
834
|
+
"field": "invalidResponse",
|
|
835
|
+
"optional": true
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"id": "defect",
|
|
839
|
+
"field": "defect",
|
|
840
|
+
"optional": true
|
|
841
|
+
}
|
|
842
|
+
],
|
|
843
|
+
"inputSchema": {
|
|
844
|
+
"additionalProperties": false,
|
|
845
|
+
"description": "GetListInput selects one subscriber list by ID.",
|
|
846
|
+
"properties": {
|
|
847
|
+
"listId": {
|
|
848
|
+
"description": "ListID is returned by ListSubscriberLists.",
|
|
849
|
+
"type": "string"
|
|
850
|
+
}
|
|
851
|
+
},
|
|
852
|
+
"required": [
|
|
853
|
+
"listId"
|
|
854
|
+
],
|
|
855
|
+
"type": "object"
|
|
856
|
+
}
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "newCreateListStep",
|
|
860
|
+
"kind": "mutation",
|
|
861
|
+
"operationId": "createList",
|
|
862
|
+
"inputType": "CreateListInput",
|
|
863
|
+
"description": "Create a subscriber list for one client.",
|
|
864
|
+
"fields": {
|
|
865
|
+
"stepType": "stepType",
|
|
866
|
+
"annotations": "annotations",
|
|
867
|
+
"connectionName": "connectionName",
|
|
868
|
+
"resultAttribute": "resultAttribute"
|
|
869
|
+
},
|
|
870
|
+
"branches": [
|
|
871
|
+
{
|
|
872
|
+
"id": "created",
|
|
873
|
+
"field": "created",
|
|
874
|
+
"optional": false
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"id": "providerRejected",
|
|
878
|
+
"field": "providerRejected",
|
|
879
|
+
"optional": true
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"id": "uncertain",
|
|
883
|
+
"field": "uncertain",
|
|
884
|
+
"optional": true
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"id": "defect",
|
|
888
|
+
"field": "defect",
|
|
889
|
+
"optional": true
|
|
890
|
+
}
|
|
891
|
+
],
|
|
892
|
+
"inputSchema": {
|
|
893
|
+
"additionalProperties": false,
|
|
894
|
+
"description": "CreateListInput contains the basic settings of a new list.",
|
|
895
|
+
"properties": {
|
|
896
|
+
"clientId": {
|
|
897
|
+
"description": "ClientID is returned by ListClients.",
|
|
898
|
+
"type": "string"
|
|
899
|
+
},
|
|
900
|
+
"confirmationSuccessPage": {
|
|
901
|
+
"description": "ConfirmationSuccessPage is an optional HTTPS confirmation page.",
|
|
902
|
+
"type": "string"
|
|
903
|
+
},
|
|
904
|
+
"confirmedOptIn": {
|
|
905
|
+
"description": "ConfirmedOptIn enables double opt-in.",
|
|
906
|
+
"type": "boolean"
|
|
907
|
+
},
|
|
908
|
+
"title": {
|
|
909
|
+
"description": "Title is unique among the client's lists.",
|
|
910
|
+
"type": "string"
|
|
911
|
+
},
|
|
912
|
+
"unsubscribePage": {
|
|
913
|
+
"description": "UnsubscribePage is an optional HTTPS landing page.",
|
|
914
|
+
"type": "string"
|
|
915
|
+
},
|
|
916
|
+
"unsubscribeSetting": {
|
|
917
|
+
"description": "UnsubscribeSetting is AllClientLists or OnlyThisList.",
|
|
918
|
+
"type": "string"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"required": [
|
|
922
|
+
"clientId",
|
|
923
|
+
"confirmedOptIn",
|
|
924
|
+
"title",
|
|
925
|
+
"unsubscribeSetting"
|
|
926
|
+
],
|
|
927
|
+
"type": "object"
|
|
928
|
+
}
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"name": "newUpdateListStep",
|
|
932
|
+
"kind": "mutation",
|
|
933
|
+
"operationId": "updateList",
|
|
934
|
+
"inputType": "UpdateListInput",
|
|
935
|
+
"description": "Replace one list's basic settings without suppression-list scrubbing.",
|
|
936
|
+
"fields": {
|
|
937
|
+
"stepType": "stepType",
|
|
938
|
+
"annotations": "annotations",
|
|
939
|
+
"connectionName": "connectionName",
|
|
940
|
+
"resultAttribute": "resultAttribute"
|
|
941
|
+
},
|
|
942
|
+
"branches": [
|
|
943
|
+
{
|
|
944
|
+
"id": "updated",
|
|
945
|
+
"field": "updated",
|
|
946
|
+
"optional": false
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"id": "notFound",
|
|
950
|
+
"field": "notFound",
|
|
951
|
+
"optional": true
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"id": "providerRejected",
|
|
955
|
+
"field": "providerRejected",
|
|
956
|
+
"optional": true
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"id": "invalidResponse",
|
|
960
|
+
"field": "invalidResponse",
|
|
961
|
+
"optional": true
|
|
962
|
+
},
|
|
963
|
+
{
|
|
964
|
+
"id": "defect",
|
|
965
|
+
"field": "defect",
|
|
966
|
+
"optional": true
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"inputSchema": {
|
|
970
|
+
"additionalProperties": false,
|
|
971
|
+
"description": "UpdateListInput replaces one list's basic settings.",
|
|
972
|
+
"properties": {
|
|
973
|
+
"confirmationSuccessPage": {
|
|
974
|
+
"description": "ConfirmationSuccessPage is an optional HTTPS confirmation page.",
|
|
975
|
+
"type": "string"
|
|
976
|
+
},
|
|
977
|
+
"confirmedOptIn": {
|
|
978
|
+
"description": "ConfirmedOptIn enables double opt-in.",
|
|
979
|
+
"type": "boolean"
|
|
980
|
+
},
|
|
981
|
+
"listId": {
|
|
982
|
+
"description": "ListID is returned by ListSubscriberLists.",
|
|
983
|
+
"type": "string"
|
|
984
|
+
},
|
|
985
|
+
"title": {
|
|
986
|
+
"description": "Title is the new nonempty list title.",
|
|
987
|
+
"type": "string"
|
|
988
|
+
},
|
|
989
|
+
"unsubscribePage": {
|
|
990
|
+
"description": "UnsubscribePage is an optional HTTPS landing page.",
|
|
991
|
+
"type": "string"
|
|
992
|
+
},
|
|
993
|
+
"unsubscribeSetting": {
|
|
994
|
+
"description": "UnsubscribeSetting is AllClientLists or OnlyThisList.",
|
|
995
|
+
"type": "string"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"required": [
|
|
999
|
+
"confirmedOptIn",
|
|
1000
|
+
"listId",
|
|
1001
|
+
"title",
|
|
1002
|
+
"unsubscribeSetting"
|
|
1003
|
+
],
|
|
1004
|
+
"type": "object"
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "newDeleteListStep",
|
|
1009
|
+
"kind": "mutation",
|
|
1010
|
+
"operationId": "deleteList",
|
|
1011
|
+
"inputType": "DeleteListInput",
|
|
1012
|
+
"description": "Delete one subscriber list by ID.",
|
|
1013
|
+
"fields": {
|
|
1014
|
+
"stepType": "stepType",
|
|
1015
|
+
"annotations": "annotations",
|
|
1016
|
+
"connectionName": "connectionName",
|
|
1017
|
+
"resultAttribute": "resultAttribute"
|
|
1018
|
+
},
|
|
1019
|
+
"branches": [
|
|
1020
|
+
{
|
|
1021
|
+
"id": "deleted",
|
|
1022
|
+
"field": "deleted",
|
|
1023
|
+
"optional": false
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"id": "providerRejected",
|
|
1027
|
+
"field": "providerRejected",
|
|
1028
|
+
"optional": true
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"id": "invalidResponse",
|
|
1032
|
+
"field": "invalidResponse",
|
|
1033
|
+
"optional": true
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"id": "defect",
|
|
1037
|
+
"field": "defect",
|
|
1038
|
+
"optional": true
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"inputSchema": {
|
|
1042
|
+
"additionalProperties": false,
|
|
1043
|
+
"description": "DeleteListInput selects a list for deletion.",
|
|
1044
|
+
"properties": {
|
|
1045
|
+
"listId": {
|
|
1046
|
+
"description": "ListID is returned by ListSubscriberLists.",
|
|
1047
|
+
"type": "string"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"required": [
|
|
1051
|
+
"listId"
|
|
1052
|
+
],
|
|
1053
|
+
"type": "object"
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "newListSubscribersStep",
|
|
1058
|
+
"kind": "query",
|
|
1059
|
+
"operationId": "listSubscribers",
|
|
1060
|
+
"inputType": "ListSubscribersInput",
|
|
1061
|
+
"description": "List one page of subscribers in a selected list state.",
|
|
1062
|
+
"fields": {
|
|
1063
|
+
"stepType": "stepType",
|
|
1064
|
+
"annotations": "annotations",
|
|
1065
|
+
"connectionName": "connectionName",
|
|
1066
|
+
"resultAttribute": "resultAttribute"
|
|
1067
|
+
},
|
|
1068
|
+
"branches": [
|
|
1069
|
+
{
|
|
1070
|
+
"id": "listed",
|
|
1071
|
+
"field": "listed",
|
|
1072
|
+
"optional": false
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"id": "providerRejected",
|
|
1076
|
+
"field": "providerRejected",
|
|
1077
|
+
"optional": true
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"id": "invalidResponse",
|
|
1081
|
+
"field": "invalidResponse",
|
|
1082
|
+
"optional": true
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"id": "defect",
|
|
1086
|
+
"field": "defect",
|
|
1087
|
+
"optional": true
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"inputSchema": {
|
|
1091
|
+
"additionalProperties": false,
|
|
1092
|
+
"description": "ListSubscribersInput selects a page of subscribers in one list state.",
|
|
1093
|
+
"properties": {
|
|
1094
|
+
"listId": {
|
|
1095
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1096
|
+
"type": "string"
|
|
1097
|
+
},
|
|
1098
|
+
"pageNumber": {
|
|
1099
|
+
"description": "PageNumber starts at 1; zero uses the first page.",
|
|
1100
|
+
"type": "integer"
|
|
1101
|
+
},
|
|
1102
|
+
"pageSize": {
|
|
1103
|
+
"description": "PageSize is 1 to 1000; zero uses 100.",
|
|
1104
|
+
"type": "integer"
|
|
1105
|
+
},
|
|
1106
|
+
"state": {
|
|
1107
|
+
"description": "State is active, unconfirmed, unsubscribed, bounced, or deleted; blank uses active.",
|
|
1108
|
+
"type": "string"
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"required": [
|
|
1112
|
+
"listId"
|
|
1113
|
+
],
|
|
1114
|
+
"type": "object"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"name": "newListSubscriberListsStep",
|
|
1119
|
+
"kind": "query",
|
|
1120
|
+
"operationId": "listSubscriberLists",
|
|
1121
|
+
"inputType": "ListSubscriberListsInput",
|
|
1122
|
+
"description": "List subscriber list IDs and names for one client.",
|
|
1123
|
+
"fields": {
|
|
1124
|
+
"stepType": "stepType",
|
|
1125
|
+
"annotations": "annotations",
|
|
1126
|
+
"connectionName": "connectionName",
|
|
1127
|
+
"resultAttribute": "resultAttribute"
|
|
1128
|
+
},
|
|
1129
|
+
"branches": [
|
|
1130
|
+
{
|
|
1131
|
+
"id": "listed",
|
|
1132
|
+
"field": "listed",
|
|
1133
|
+
"optional": false
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"id": "providerRejected",
|
|
1137
|
+
"field": "providerRejected",
|
|
1138
|
+
"optional": true
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"id": "invalidResponse",
|
|
1142
|
+
"field": "invalidResponse",
|
|
1143
|
+
"optional": true
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"id": "defect",
|
|
1147
|
+
"field": "defect",
|
|
1148
|
+
"optional": true
|
|
1149
|
+
}
|
|
1150
|
+
],
|
|
1151
|
+
"inputSchema": {
|
|
1152
|
+
"additionalProperties": false,
|
|
1153
|
+
"description": "ListSubscriberListsInput selects one client returned by ListClients.",
|
|
1154
|
+
"properties": {
|
|
1155
|
+
"clientId": {
|
|
1156
|
+
"description": "ClientID is an opaque ID from ListClients; blank is invalid.",
|
|
1157
|
+
"type": "string"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"required": [
|
|
1161
|
+
"clientId"
|
|
1162
|
+
],
|
|
1163
|
+
"type": "object"
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
"name": "newGetSubscriberStep",
|
|
1168
|
+
"kind": "query",
|
|
1169
|
+
"operationId": "getSubscriber",
|
|
1170
|
+
"inputType": "GetSubscriberInput",
|
|
1171
|
+
"description": "Read one subscriber's email, name, and state.",
|
|
1172
|
+
"fields": {
|
|
1173
|
+
"stepType": "stepType",
|
|
1174
|
+
"annotations": "annotations",
|
|
1175
|
+
"connectionName": "connectionName",
|
|
1176
|
+
"resultAttribute": "resultAttribute"
|
|
1177
|
+
},
|
|
1178
|
+
"branches": [
|
|
1179
|
+
{
|
|
1180
|
+
"id": "found",
|
|
1181
|
+
"field": "found",
|
|
1182
|
+
"optional": false
|
|
1183
|
+
},
|
|
1184
|
+
{
|
|
1185
|
+
"id": "notFound",
|
|
1186
|
+
"field": "notFound",
|
|
1187
|
+
"optional": true
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
"id": "providerRejected",
|
|
1191
|
+
"field": "providerRejected",
|
|
1192
|
+
"optional": true
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"id": "invalidResponse",
|
|
1196
|
+
"field": "invalidResponse",
|
|
1197
|
+
"optional": true
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"id": "defect",
|
|
1201
|
+
"field": "defect",
|
|
1202
|
+
"optional": true
|
|
1203
|
+
}
|
|
1204
|
+
],
|
|
1205
|
+
"inputSchema": {
|
|
1206
|
+
"additionalProperties": false,
|
|
1207
|
+
"description": "GetSubscriberInput selects one subscriber in a list.",
|
|
1208
|
+
"properties": {
|
|
1209
|
+
"email": {
|
|
1210
|
+
"description": "Email is the complete subscriber email address.",
|
|
1211
|
+
"type": "string"
|
|
1212
|
+
},
|
|
1213
|
+
"listId": {
|
|
1214
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1215
|
+
"type": "string"
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
"required": [
|
|
1219
|
+
"email",
|
|
1220
|
+
"listId"
|
|
1221
|
+
],
|
|
1222
|
+
"type": "object"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"name": "newUpsertSubscriberStep",
|
|
1227
|
+
"kind": "mutation",
|
|
1228
|
+
"operationId": "upsertSubscriber",
|
|
1229
|
+
"inputType": "UpsertSubscriberInput",
|
|
1230
|
+
"description": "Add a subscriber or replace the existing subscriber's name.",
|
|
1231
|
+
"fields": {
|
|
1232
|
+
"stepType": "stepType",
|
|
1233
|
+
"annotations": "annotations",
|
|
1234
|
+
"connectionName": "connectionName",
|
|
1235
|
+
"resultAttribute": "resultAttribute"
|
|
1236
|
+
},
|
|
1237
|
+
"branches": [
|
|
1238
|
+
{
|
|
1239
|
+
"id": "saved",
|
|
1240
|
+
"field": "saved",
|
|
1241
|
+
"optional": false
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"id": "providerRejected",
|
|
1245
|
+
"field": "providerRejected",
|
|
1246
|
+
"optional": true
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
"id": "invalidResponse",
|
|
1250
|
+
"field": "invalidResponse",
|
|
1251
|
+
"optional": true
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"id": "defect",
|
|
1255
|
+
"field": "defect",
|
|
1256
|
+
"optional": true
|
|
1257
|
+
}
|
|
1258
|
+
],
|
|
1259
|
+
"inputSchema": {
|
|
1260
|
+
"additionalProperties": false,
|
|
1261
|
+
"description": "UpsertSubscriberInput adds or updates one email address on a list.",
|
|
1262
|
+
"properties": {
|
|
1263
|
+
"email": {
|
|
1264
|
+
"description": "Email is the complete subscriber email address.",
|
|
1265
|
+
"type": "string"
|
|
1266
|
+
},
|
|
1267
|
+
"listId": {
|
|
1268
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1269
|
+
"type": "string"
|
|
1270
|
+
},
|
|
1271
|
+
"name": {
|
|
1272
|
+
"description": "Name is the nonblank subscriber display name.",
|
|
1273
|
+
"type": "string"
|
|
1274
|
+
}
|
|
1275
|
+
},
|
|
1276
|
+
"required": [
|
|
1277
|
+
"email",
|
|
1278
|
+
"listId",
|
|
1279
|
+
"name"
|
|
1280
|
+
],
|
|
1281
|
+
"type": "object"
|
|
1282
|
+
}
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
"name": "newUpdateSubscriberStep",
|
|
1286
|
+
"kind": "mutation",
|
|
1287
|
+
"operationId": "updateSubscriber",
|
|
1288
|
+
"inputType": "UpdateSubscriberInput",
|
|
1289
|
+
"description": "Replace one existing subscriber's name without resubscribing.",
|
|
1290
|
+
"fields": {
|
|
1291
|
+
"stepType": "stepType",
|
|
1292
|
+
"annotations": "annotations",
|
|
1293
|
+
"connectionName": "connectionName",
|
|
1294
|
+
"resultAttribute": "resultAttribute"
|
|
1295
|
+
},
|
|
1296
|
+
"branches": [
|
|
1297
|
+
{
|
|
1298
|
+
"id": "updated",
|
|
1299
|
+
"field": "updated",
|
|
1300
|
+
"optional": false
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"id": "notFound",
|
|
1304
|
+
"field": "notFound",
|
|
1305
|
+
"optional": true
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"id": "providerRejected",
|
|
1309
|
+
"field": "providerRejected",
|
|
1310
|
+
"optional": true
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"id": "invalidResponse",
|
|
1314
|
+
"field": "invalidResponse",
|
|
1315
|
+
"optional": true
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"id": "defect",
|
|
1319
|
+
"field": "defect",
|
|
1320
|
+
"optional": true
|
|
1321
|
+
}
|
|
1322
|
+
],
|
|
1323
|
+
"inputSchema": {
|
|
1324
|
+
"additionalProperties": false,
|
|
1325
|
+
"description": "UpdateSubscriberInput replaces an existing subscriber's name.",
|
|
1326
|
+
"properties": {
|
|
1327
|
+
"email": {
|
|
1328
|
+
"description": "Email is the current complete subscriber email address.",
|
|
1329
|
+
"type": "string"
|
|
1330
|
+
},
|
|
1331
|
+
"listId": {
|
|
1332
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1333
|
+
"type": "string"
|
|
1334
|
+
},
|
|
1335
|
+
"name": {
|
|
1336
|
+
"description": "Name replaces the subscriber's current display name.",
|
|
1337
|
+
"type": "string"
|
|
1338
|
+
}
|
|
1339
|
+
},
|
|
1340
|
+
"required": [
|
|
1341
|
+
"email",
|
|
1342
|
+
"listId",
|
|
1343
|
+
"name"
|
|
1344
|
+
],
|
|
1345
|
+
"type": "object"
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
"name": "newDeleteSubscriberStep",
|
|
1350
|
+
"kind": "mutation",
|
|
1351
|
+
"operationId": "deleteSubscriber",
|
|
1352
|
+
"inputType": "DeleteSubscriberInput",
|
|
1353
|
+
"description": "Mark one active subscriber deleted in a list.",
|
|
1354
|
+
"fields": {
|
|
1355
|
+
"stepType": "stepType",
|
|
1356
|
+
"annotations": "annotations",
|
|
1357
|
+
"connectionName": "connectionName",
|
|
1358
|
+
"resultAttribute": "resultAttribute"
|
|
1359
|
+
},
|
|
1360
|
+
"branches": [
|
|
1361
|
+
{
|
|
1362
|
+
"id": "deleted",
|
|
1363
|
+
"field": "deleted",
|
|
1364
|
+
"optional": false
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"id": "providerRejected",
|
|
1368
|
+
"field": "providerRejected",
|
|
1369
|
+
"optional": true
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"id": "invalidResponse",
|
|
1373
|
+
"field": "invalidResponse",
|
|
1374
|
+
"optional": true
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
"id": "defect",
|
|
1378
|
+
"field": "defect",
|
|
1379
|
+
"optional": true
|
|
1380
|
+
}
|
|
1381
|
+
],
|
|
1382
|
+
"inputSchema": {
|
|
1383
|
+
"additionalProperties": false,
|
|
1384
|
+
"description": "DeleteSubscriberInput marks a subscriber deleted on one list.",
|
|
1385
|
+
"properties": {
|
|
1386
|
+
"email": {
|
|
1387
|
+
"description": "Email is the complete subscriber email address.",
|
|
1388
|
+
"type": "string"
|
|
1389
|
+
},
|
|
1390
|
+
"listId": {
|
|
1391
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1392
|
+
"type": "string"
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
"required": [
|
|
1396
|
+
"email",
|
|
1397
|
+
"listId"
|
|
1398
|
+
],
|
|
1399
|
+
"type": "object"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"name": "newUnsubscribeSubscriberStep",
|
|
1404
|
+
"kind": "mutation",
|
|
1405
|
+
"operationId": "unsubscribeSubscriber",
|
|
1406
|
+
"inputType": "UnsubscribeSubscriberInput",
|
|
1407
|
+
"description": "Unsubscribe one active subscriber and apply the list's suppression policy.",
|
|
1408
|
+
"fields": {
|
|
1409
|
+
"stepType": "stepType",
|
|
1410
|
+
"annotations": "annotations",
|
|
1411
|
+
"connectionName": "connectionName",
|
|
1412
|
+
"resultAttribute": "resultAttribute"
|
|
1413
|
+
},
|
|
1414
|
+
"branches": [
|
|
1415
|
+
{
|
|
1416
|
+
"id": "unsubscribed",
|
|
1417
|
+
"field": "unsubscribed",
|
|
1418
|
+
"optional": false
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"id": "providerRejected",
|
|
1422
|
+
"field": "providerRejected",
|
|
1423
|
+
"optional": true
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"id": "invalidResponse",
|
|
1427
|
+
"field": "invalidResponse",
|
|
1428
|
+
"optional": true
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
"id": "defect",
|
|
1432
|
+
"field": "defect",
|
|
1433
|
+
"optional": true
|
|
1434
|
+
}
|
|
1435
|
+
],
|
|
1436
|
+
"inputSchema": {
|
|
1437
|
+
"additionalProperties": false,
|
|
1438
|
+
"description": "UnsubscribeSubscriberInput removes one address from campaign delivery.",
|
|
1439
|
+
"properties": {
|
|
1440
|
+
"email": {
|
|
1441
|
+
"description": "Email is the complete subscriber email address.",
|
|
1442
|
+
"type": "string"
|
|
1443
|
+
},
|
|
1444
|
+
"listId": {
|
|
1445
|
+
"description": "ListID is an opaque ID from ListSubscriberLists.",
|
|
1446
|
+
"type": "string"
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
"required": [
|
|
1450
|
+
"email",
|
|
1451
|
+
"listId"
|
|
1452
|
+
],
|
|
1453
|
+
"type": "object"
|
|
1454
|
+
}
|
|
1455
|
+
},
|
|
10
1456
|
{
|
|
11
1457
|
"name": "newListClientsStep",
|
|
12
1458
|
"kind": "query",
|