@superdurable/connector-brevo 0.1.2 → 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 +3 -1
- package/dex-connector.json +837 -2
- package/dist/chunk-VBTEJFWF.js +749 -0
- package/dist/connection-BZu1qFOK.d.ts +513 -0
- package/dist/index.d.ts +752 -5
- package/dist/index.js +1011 -35
- package/dist/mock.d.ts +265 -4
- package/dist/mock.js +652 -7
- package/package.json +2 -2
- package/dist/chunk-DSBPG24K.js +0 -160
- package/dist/connection-DAhpVtMQ.d.ts +0 -106
package/dex-connector.json
CHANGED
|
@@ -1,12 +1,847 @@
|
|
|
1
1
|
{
|
|
2
2
|
"connectorId": "brevo",
|
|
3
|
-
"releaseTag": "connectors/brevo/go/v0.
|
|
3
|
+
"releaseTag": "connectors/brevo/go/v0.3.0",
|
|
4
4
|
"package": {
|
|
5
5
|
"ecosystem": "npm",
|
|
6
6
|
"name": "@superdurable/connector-brevo",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.2.0"
|
|
8
8
|
},
|
|
9
9
|
"factories": [
|
|
10
|
+
{
|
|
11
|
+
"name": "newCreateContactStep",
|
|
12
|
+
"kind": "mutation",
|
|
13
|
+
"operationId": "createContact",
|
|
14
|
+
"inputType": "CreateContactInput",
|
|
15
|
+
"description": "Create a contact by email without updating an existing contact.",
|
|
16
|
+
"fields": {
|
|
17
|
+
"stepType": "stepType",
|
|
18
|
+
"annotations": "annotations",
|
|
19
|
+
"connectionName": "connectionName",
|
|
20
|
+
"resultAttribute": "resultAttribute"
|
|
21
|
+
},
|
|
22
|
+
"branches": [
|
|
23
|
+
{
|
|
24
|
+
"id": "created",
|
|
25
|
+
"field": "created",
|
|
26
|
+
"optional": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "providerRejected",
|
|
30
|
+
"field": "providerRejected",
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "defect",
|
|
35
|
+
"field": "defect",
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "uncertain",
|
|
40
|
+
"field": "uncertain",
|
|
41
|
+
"optional": true
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"inputSchema": {
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"description": "CreateContactInput supplies a new email-identified contact.",
|
|
47
|
+
"properties": {
|
|
48
|
+
"attributes": {
|
|
49
|
+
"additionalProperties": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"description": "Attributes sets existing uppercase Brevo contact attributes.",
|
|
53
|
+
"type": "object"
|
|
54
|
+
},
|
|
55
|
+
"email": {
|
|
56
|
+
"description": "Email is the new contact's plain email address.",
|
|
57
|
+
"type": "string"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"required": [
|
|
61
|
+
"email"
|
|
62
|
+
],
|
|
63
|
+
"type": "object"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "newListContactsStep",
|
|
68
|
+
"kind": "query",
|
|
69
|
+
"operationId": "listContacts",
|
|
70
|
+
"inputType": "ListContactsInput",
|
|
71
|
+
"description": "List one page of contact IDs and emails.",
|
|
72
|
+
"fields": {
|
|
73
|
+
"stepType": "stepType",
|
|
74
|
+
"annotations": "annotations",
|
|
75
|
+
"connectionName": "connectionName",
|
|
76
|
+
"resultAttribute": "resultAttribute"
|
|
77
|
+
},
|
|
78
|
+
"branches": [
|
|
79
|
+
{
|
|
80
|
+
"id": "listed",
|
|
81
|
+
"field": "listed",
|
|
82
|
+
"optional": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"id": "providerRejected",
|
|
86
|
+
"field": "providerRejected",
|
|
87
|
+
"optional": true
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": "invalidResponse",
|
|
91
|
+
"field": "invalidResponse",
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "defect",
|
|
96
|
+
"field": "defect",
|
|
97
|
+
"optional": true
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"inputSchema": {
|
|
101
|
+
"additionalProperties": false,
|
|
102
|
+
"description": "ListContactsInput selects a bounded page of contacts.",
|
|
103
|
+
"properties": {
|
|
104
|
+
"limit": {
|
|
105
|
+
"description": "Limit is the number of contacts from 1 to 1000; zero uses 50.",
|
|
106
|
+
"type": "integer"
|
|
107
|
+
},
|
|
108
|
+
"offset": {
|
|
109
|
+
"description": "Offset is the zero-based starting index.",
|
|
110
|
+
"type": "integer"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"required": [
|
|
114
|
+
"limit",
|
|
115
|
+
"offset"
|
|
116
|
+
],
|
|
117
|
+
"type": "object"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "newUpdateContactStep",
|
|
122
|
+
"kind": "mutation",
|
|
123
|
+
"operationId": "updateContact",
|
|
124
|
+
"inputType": "UpdateContactInput",
|
|
125
|
+
"description": "Set absolute attributes on a contact identified by email.",
|
|
126
|
+
"fields": {
|
|
127
|
+
"stepType": "stepType",
|
|
128
|
+
"annotations": "annotations",
|
|
129
|
+
"connectionName": "connectionName",
|
|
130
|
+
"resultAttribute": "resultAttribute"
|
|
131
|
+
},
|
|
132
|
+
"branches": [
|
|
133
|
+
{
|
|
134
|
+
"id": "updated",
|
|
135
|
+
"field": "updated",
|
|
136
|
+
"optional": false
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"id": "notFound",
|
|
140
|
+
"field": "notFound",
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "providerRejected",
|
|
145
|
+
"field": "providerRejected",
|
|
146
|
+
"optional": true
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"id": "defect",
|
|
150
|
+
"field": "defect",
|
|
151
|
+
"optional": true
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"inputSchema": {
|
|
155
|
+
"additionalProperties": false,
|
|
156
|
+
"description": "UpdateContactInput sets absolute existing contact attributes by email.",
|
|
157
|
+
"properties": {
|
|
158
|
+
"attributes": {
|
|
159
|
+
"additionalProperties": {
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"description": "Attributes maps uppercase Brevo names to absolute string values.",
|
|
163
|
+
"type": [
|
|
164
|
+
"object",
|
|
165
|
+
"null"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"email": {
|
|
169
|
+
"description": "Email identifies the contact.",
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"required": [
|
|
174
|
+
"attributes",
|
|
175
|
+
"email"
|
|
176
|
+
],
|
|
177
|
+
"type": "object"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "newDeleteContactStep",
|
|
182
|
+
"kind": "mutation",
|
|
183
|
+
"operationId": "deleteContact",
|
|
184
|
+
"inputType": "DeleteContactInput",
|
|
185
|
+
"description": "Delete a contact identified by email.",
|
|
186
|
+
"fields": {
|
|
187
|
+
"stepType": "stepType",
|
|
188
|
+
"annotations": "annotations",
|
|
189
|
+
"connectionName": "connectionName",
|
|
190
|
+
"resultAttribute": "resultAttribute"
|
|
191
|
+
},
|
|
192
|
+
"branches": [
|
|
193
|
+
{
|
|
194
|
+
"id": "deleted",
|
|
195
|
+
"field": "deleted",
|
|
196
|
+
"optional": false
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"id": "notFound",
|
|
200
|
+
"field": "notFound",
|
|
201
|
+
"optional": true
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"id": "providerRejected",
|
|
205
|
+
"field": "providerRejected",
|
|
206
|
+
"optional": true
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"id": "defect",
|
|
210
|
+
"field": "defect",
|
|
211
|
+
"optional": true
|
|
212
|
+
}
|
|
213
|
+
],
|
|
214
|
+
"inputSchema": {
|
|
215
|
+
"additionalProperties": false,
|
|
216
|
+
"description": "DeleteContactInput identifies a contact to delete by email.",
|
|
217
|
+
"properties": {
|
|
218
|
+
"email": {
|
|
219
|
+
"description": "Email identifies the contact.",
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": [
|
|
224
|
+
"email"
|
|
225
|
+
],
|
|
226
|
+
"type": "object"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "newListAttributesStep",
|
|
231
|
+
"kind": "query",
|
|
232
|
+
"operationId": "listAttributes",
|
|
233
|
+
"inputType": "ListAttributesInput",
|
|
234
|
+
"description": "List contact attribute names, categories, and types.",
|
|
235
|
+
"fields": {
|
|
236
|
+
"stepType": "stepType",
|
|
237
|
+
"annotations": "annotations",
|
|
238
|
+
"connectionName": "connectionName",
|
|
239
|
+
"resultAttribute": "resultAttribute"
|
|
240
|
+
},
|
|
241
|
+
"branches": [
|
|
242
|
+
{
|
|
243
|
+
"id": "listed",
|
|
244
|
+
"field": "listed",
|
|
245
|
+
"optional": false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"id": "providerRejected",
|
|
249
|
+
"field": "providerRejected",
|
|
250
|
+
"optional": true
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "invalidResponse",
|
|
254
|
+
"field": "invalidResponse",
|
|
255
|
+
"optional": true
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "defect",
|
|
259
|
+
"field": "defect",
|
|
260
|
+
"optional": true
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"inputSchema": {
|
|
264
|
+
"additionalProperties": false,
|
|
265
|
+
"description": "ListAttributesInput requests the account's contact attribute definitions.",
|
|
266
|
+
"properties": {},
|
|
267
|
+
"type": "object"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "newCreateAttributeStep",
|
|
272
|
+
"kind": "mutation",
|
|
273
|
+
"operationId": "createAttribute",
|
|
274
|
+
"inputType": "CreateAttributeInput",
|
|
275
|
+
"description": "Create a contact attribute with its type, options, or formula.",
|
|
276
|
+
"fields": {
|
|
277
|
+
"stepType": "stepType",
|
|
278
|
+
"annotations": "annotations",
|
|
279
|
+
"connectionName": "connectionName",
|
|
280
|
+
"resultAttribute": "resultAttribute"
|
|
281
|
+
},
|
|
282
|
+
"branches": [
|
|
283
|
+
{
|
|
284
|
+
"id": "created",
|
|
285
|
+
"field": "created",
|
|
286
|
+
"optional": false
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"id": "providerRejected",
|
|
290
|
+
"field": "providerRejected",
|
|
291
|
+
"optional": true
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"id": "defect",
|
|
295
|
+
"field": "defect",
|
|
296
|
+
"optional": true
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"id": "uncertain",
|
|
300
|
+
"field": "uncertain",
|
|
301
|
+
"optional": true
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"inputSchema": {
|
|
305
|
+
"$defs": {
|
|
306
|
+
"AttributeEnumerationValue": {
|
|
307
|
+
"additionalProperties": false,
|
|
308
|
+
"description": "AttributeEnumerationValue defines one category attribute choice.",
|
|
309
|
+
"properties": {
|
|
310
|
+
"label": {
|
|
311
|
+
"description": "Label is the visible option label, up to 200 characters.",
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
"value": {
|
|
315
|
+
"description": "Value is Brevo's numeric category option value.",
|
|
316
|
+
"type": "integer"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"required": [
|
|
320
|
+
"label",
|
|
321
|
+
"value"
|
|
322
|
+
],
|
|
323
|
+
"type": "object"
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
"additionalProperties": false,
|
|
327
|
+
"description": "CreateAttributeInput defines a contact attribute.",
|
|
328
|
+
"properties": {
|
|
329
|
+
"category": {
|
|
330
|
+
"description": "Category is normal, transactional, category, calculated, or global.",
|
|
331
|
+
"type": "string"
|
|
332
|
+
},
|
|
333
|
+
"enumeration": {
|
|
334
|
+
"description": "Enumeration holds category choices.",
|
|
335
|
+
"items": {
|
|
336
|
+
"$ref": "#/$defs/AttributeEnumerationValue"
|
|
337
|
+
},
|
|
338
|
+
"type": "array"
|
|
339
|
+
},
|
|
340
|
+
"name": {
|
|
341
|
+
"description": "Name is an uppercase contact attribute name.",
|
|
342
|
+
"type": "string"
|
|
343
|
+
},
|
|
344
|
+
"options": {
|
|
345
|
+
"description": "Options holds normal multiple-choice values, each up to 200 characters.",
|
|
346
|
+
"items": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"type": "array"
|
|
350
|
+
},
|
|
351
|
+
"type": {
|
|
352
|
+
"description": "Type is required for normal, transactional, and category attributes.",
|
|
353
|
+
"type": "string"
|
|
354
|
+
},
|
|
355
|
+
"value": {
|
|
356
|
+
"description": "Value is required for calculated and global attributes.",
|
|
357
|
+
"type": "string"
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
"required": [
|
|
361
|
+
"category",
|
|
362
|
+
"name"
|
|
363
|
+
],
|
|
364
|
+
"type": "object"
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"name": "newUpdateAttributeStep",
|
|
369
|
+
"kind": "mutation",
|
|
370
|
+
"operationId": "updateAttribute",
|
|
371
|
+
"inputType": "UpdateAttributeInput",
|
|
372
|
+
"description": "Replace a contact attribute's choices or formula.",
|
|
373
|
+
"fields": {
|
|
374
|
+
"stepType": "stepType",
|
|
375
|
+
"annotations": "annotations",
|
|
376
|
+
"connectionName": "connectionName",
|
|
377
|
+
"resultAttribute": "resultAttribute"
|
|
378
|
+
},
|
|
379
|
+
"branches": [
|
|
380
|
+
{
|
|
381
|
+
"id": "updated",
|
|
382
|
+
"field": "updated",
|
|
383
|
+
"optional": false
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"id": "notFound",
|
|
387
|
+
"field": "notFound",
|
|
388
|
+
"optional": true
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"id": "providerRejected",
|
|
392
|
+
"field": "providerRejected",
|
|
393
|
+
"optional": true
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"id": "defect",
|
|
397
|
+
"field": "defect",
|
|
398
|
+
"optional": true
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"inputSchema": {
|
|
402
|
+
"$defs": {
|
|
403
|
+
"AttributeEnumerationValue": {
|
|
404
|
+
"additionalProperties": false,
|
|
405
|
+
"description": "AttributeEnumerationValue defines one category attribute choice.",
|
|
406
|
+
"properties": {
|
|
407
|
+
"label": {
|
|
408
|
+
"description": "Label is the visible option label, up to 200 characters.",
|
|
409
|
+
"type": "string"
|
|
410
|
+
},
|
|
411
|
+
"value": {
|
|
412
|
+
"description": "Value is Brevo's numeric category option value.",
|
|
413
|
+
"type": "integer"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"required": [
|
|
417
|
+
"label",
|
|
418
|
+
"value"
|
|
419
|
+
],
|
|
420
|
+
"type": "object"
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"additionalProperties": false,
|
|
424
|
+
"description": "UpdateAttributeInput replaces options or a calculated value.",
|
|
425
|
+
"properties": {
|
|
426
|
+
"category": {
|
|
427
|
+
"description": "Category is normal, category, calculated, or global.",
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
"enumeration": {
|
|
431
|
+
"description": "Enumeration is the complete desired category option set.",
|
|
432
|
+
"items": {
|
|
433
|
+
"$ref": "#/$defs/AttributeEnumerationValue"
|
|
434
|
+
},
|
|
435
|
+
"type": "array"
|
|
436
|
+
},
|
|
437
|
+
"name": {
|
|
438
|
+
"description": "Name is an uppercase contact attribute name.",
|
|
439
|
+
"type": "string"
|
|
440
|
+
},
|
|
441
|
+
"options": {
|
|
442
|
+
"description": "Options is the complete desired normal multiple-choice option set.",
|
|
443
|
+
"items": {
|
|
444
|
+
"type": "string"
|
|
445
|
+
},
|
|
446
|
+
"type": "array"
|
|
447
|
+
},
|
|
448
|
+
"value": {
|
|
449
|
+
"description": "Value replaces the calculated or global formula.",
|
|
450
|
+
"type": "string"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"required": [
|
|
454
|
+
"category",
|
|
455
|
+
"name"
|
|
456
|
+
],
|
|
457
|
+
"type": "object"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "newDeleteAttributeStep",
|
|
462
|
+
"kind": "mutation",
|
|
463
|
+
"operationId": "deleteAttribute",
|
|
464
|
+
"inputType": "DeleteAttributeInput",
|
|
465
|
+
"description": "Delete a contact attribute by category and name.",
|
|
466
|
+
"fields": {
|
|
467
|
+
"stepType": "stepType",
|
|
468
|
+
"annotations": "annotations",
|
|
469
|
+
"connectionName": "connectionName",
|
|
470
|
+
"resultAttribute": "resultAttribute"
|
|
471
|
+
},
|
|
472
|
+
"branches": [
|
|
473
|
+
{
|
|
474
|
+
"id": "deleted",
|
|
475
|
+
"field": "deleted",
|
|
476
|
+
"optional": false
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "notFound",
|
|
480
|
+
"field": "notFound",
|
|
481
|
+
"optional": true
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"id": "providerRejected",
|
|
485
|
+
"field": "providerRejected",
|
|
486
|
+
"optional": true
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"id": "defect",
|
|
490
|
+
"field": "defect",
|
|
491
|
+
"optional": true
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"inputSchema": {
|
|
495
|
+
"additionalProperties": false,
|
|
496
|
+
"description": "DeleteAttributeInput identifies an attribute by category and name.",
|
|
497
|
+
"properties": {
|
|
498
|
+
"category": {
|
|
499
|
+
"description": "Category is normal, transactional, category, calculated, or global.",
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"name": {
|
|
503
|
+
"description": "Name is an uppercase contact attribute name.",
|
|
504
|
+
"type": "string"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"required": [
|
|
508
|
+
"category",
|
|
509
|
+
"name"
|
|
510
|
+
],
|
|
511
|
+
"type": "object"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "newListSendersStep",
|
|
516
|
+
"kind": "query",
|
|
517
|
+
"operationId": "listSenders",
|
|
518
|
+
"inputType": "ListSendersInput",
|
|
519
|
+
"description": "List email sender IDs, names, addresses, and active status.",
|
|
520
|
+
"fields": {
|
|
521
|
+
"stepType": "stepType",
|
|
522
|
+
"annotations": "annotations",
|
|
523
|
+
"connectionName": "connectionName",
|
|
524
|
+
"resultAttribute": "resultAttribute"
|
|
525
|
+
},
|
|
526
|
+
"branches": [
|
|
527
|
+
{
|
|
528
|
+
"id": "listed",
|
|
529
|
+
"field": "listed",
|
|
530
|
+
"optional": false
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "providerRejected",
|
|
534
|
+
"field": "providerRejected",
|
|
535
|
+
"optional": true
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"id": "invalidResponse",
|
|
539
|
+
"field": "invalidResponse",
|
|
540
|
+
"optional": true
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"id": "defect",
|
|
544
|
+
"field": "defect",
|
|
545
|
+
"optional": true
|
|
546
|
+
}
|
|
547
|
+
],
|
|
548
|
+
"inputSchema": {
|
|
549
|
+
"additionalProperties": false,
|
|
550
|
+
"description": "ListSendersInput requests configured email senders.",
|
|
551
|
+
"properties": {},
|
|
552
|
+
"type": "object"
|
|
553
|
+
}
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "newCreateSenderStep",
|
|
557
|
+
"kind": "mutation",
|
|
558
|
+
"operationId": "createSender",
|
|
559
|
+
"inputType": "CreateSenderInput",
|
|
560
|
+
"description": "Create an email sender; Brevo sends an address verification message.",
|
|
561
|
+
"fields": {
|
|
562
|
+
"stepType": "stepType",
|
|
563
|
+
"annotations": "annotations",
|
|
564
|
+
"connectionName": "connectionName",
|
|
565
|
+
"resultAttribute": "resultAttribute"
|
|
566
|
+
},
|
|
567
|
+
"branches": [
|
|
568
|
+
{
|
|
569
|
+
"id": "created",
|
|
570
|
+
"field": "created",
|
|
571
|
+
"optional": false
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"id": "providerRejected",
|
|
575
|
+
"field": "providerRejected",
|
|
576
|
+
"optional": true
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"id": "defect",
|
|
580
|
+
"field": "defect",
|
|
581
|
+
"optional": true
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "uncertain",
|
|
585
|
+
"field": "uncertain",
|
|
586
|
+
"optional": true
|
|
587
|
+
}
|
|
588
|
+
],
|
|
589
|
+
"inputSchema": {
|
|
590
|
+
"additionalProperties": false,
|
|
591
|
+
"description": "CreateSenderInput supplies a sender address and display name.",
|
|
592
|
+
"properties": {
|
|
593
|
+
"email": {
|
|
594
|
+
"description": "Email is an address the owner can verify through Brevo.",
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"name": {
|
|
598
|
+
"description": "Name appears as the sender display name.",
|
|
599
|
+
"type": "string"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"required": [
|
|
603
|
+
"email",
|
|
604
|
+
"name"
|
|
605
|
+
],
|
|
606
|
+
"type": "object"
|
|
607
|
+
}
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "newUpdateSenderStep",
|
|
611
|
+
"kind": "mutation",
|
|
612
|
+
"operationId": "updateSender",
|
|
613
|
+
"inputType": "UpdateSenderInput",
|
|
614
|
+
"description": "Set an existing sender's display name.",
|
|
615
|
+
"fields": {
|
|
616
|
+
"stepType": "stepType",
|
|
617
|
+
"annotations": "annotations",
|
|
618
|
+
"connectionName": "connectionName",
|
|
619
|
+
"resultAttribute": "resultAttribute"
|
|
620
|
+
},
|
|
621
|
+
"branches": [
|
|
622
|
+
{
|
|
623
|
+
"id": "updated",
|
|
624
|
+
"field": "updated",
|
|
625
|
+
"optional": false
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"id": "notFound",
|
|
629
|
+
"field": "notFound",
|
|
630
|
+
"optional": true
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"id": "providerRejected",
|
|
634
|
+
"field": "providerRejected",
|
|
635
|
+
"optional": true
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"id": "defect",
|
|
639
|
+
"field": "defect",
|
|
640
|
+
"optional": true
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"inputSchema": {
|
|
644
|
+
"additionalProperties": false,
|
|
645
|
+
"description": "UpdateSenderInput sets a sender's absolute display name.",
|
|
646
|
+
"properties": {
|
|
647
|
+
"id": {
|
|
648
|
+
"description": "ID is Brevo's numeric sender ID.",
|
|
649
|
+
"type": "integer"
|
|
650
|
+
},
|
|
651
|
+
"name": {
|
|
652
|
+
"description": "Name replaces the current sender display name.",
|
|
653
|
+
"type": "string"
|
|
654
|
+
}
|
|
655
|
+
},
|
|
656
|
+
"required": [
|
|
657
|
+
"id",
|
|
658
|
+
"name"
|
|
659
|
+
],
|
|
660
|
+
"type": "object"
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "newDeleteSenderStep",
|
|
665
|
+
"kind": "mutation",
|
|
666
|
+
"operationId": "deleteSender",
|
|
667
|
+
"inputType": "DeleteSenderInput",
|
|
668
|
+
"description": "Delete an email sender by numeric ID.",
|
|
669
|
+
"fields": {
|
|
670
|
+
"stepType": "stepType",
|
|
671
|
+
"annotations": "annotations",
|
|
672
|
+
"connectionName": "connectionName",
|
|
673
|
+
"resultAttribute": "resultAttribute"
|
|
674
|
+
},
|
|
675
|
+
"branches": [
|
|
676
|
+
{
|
|
677
|
+
"id": "deleted",
|
|
678
|
+
"field": "deleted",
|
|
679
|
+
"optional": false
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"id": "notFound",
|
|
683
|
+
"field": "notFound",
|
|
684
|
+
"optional": true
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"id": "providerRejected",
|
|
688
|
+
"field": "providerRejected",
|
|
689
|
+
"optional": true
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"id": "defect",
|
|
693
|
+
"field": "defect",
|
|
694
|
+
"optional": true
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
"inputSchema": {
|
|
698
|
+
"additionalProperties": false,
|
|
699
|
+
"description": "DeleteSenderInput identifies the sender to delete.",
|
|
700
|
+
"properties": {
|
|
701
|
+
"id": {
|
|
702
|
+
"description": "ID is Brevo's numeric sender ID.",
|
|
703
|
+
"type": "integer"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"required": [
|
|
707
|
+
"id"
|
|
708
|
+
],
|
|
709
|
+
"type": "object"
|
|
710
|
+
}
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "newSendEmailStep",
|
|
714
|
+
"kind": "mutation",
|
|
715
|
+
"operationId": "sendEmail",
|
|
716
|
+
"inputType": "SendEmailInput",
|
|
717
|
+
"description": "Send one transactional email with inline text or HTML content.",
|
|
718
|
+
"fields": {
|
|
719
|
+
"stepType": "stepType",
|
|
720
|
+
"annotations": "annotations",
|
|
721
|
+
"connectionName": "connectionName",
|
|
722
|
+
"resultAttribute": "resultAttribute"
|
|
723
|
+
},
|
|
724
|
+
"branches": [
|
|
725
|
+
{
|
|
726
|
+
"id": "sent",
|
|
727
|
+
"field": "sent",
|
|
728
|
+
"optional": false
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"id": "providerRejected",
|
|
732
|
+
"field": "providerRejected",
|
|
733
|
+
"optional": true
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"id": "defect",
|
|
737
|
+
"field": "defect",
|
|
738
|
+
"optional": true
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"id": "uncertain",
|
|
742
|
+
"field": "uncertain",
|
|
743
|
+
"optional": true
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"inputSchema": {
|
|
747
|
+
"additionalProperties": false,
|
|
748
|
+
"description": "SendEmailInput supplies one recipient and inline transactional content.",
|
|
749
|
+
"properties": {
|
|
750
|
+
"htmlContent": {
|
|
751
|
+
"description": "HTMLContent is the optional HTML body.",
|
|
752
|
+
"type": "string"
|
|
753
|
+
},
|
|
754
|
+
"senderEmail": {
|
|
755
|
+
"description": "SenderEmail is a verified Brevo sender address.",
|
|
756
|
+
"type": "string"
|
|
757
|
+
},
|
|
758
|
+
"senderName": {
|
|
759
|
+
"description": "SenderName is the sender's visible display name.",
|
|
760
|
+
"type": "string"
|
|
761
|
+
},
|
|
762
|
+
"subject": {
|
|
763
|
+
"description": "Subject is the email subject line.",
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"textContent": {
|
|
767
|
+
"description": "TextContent is the optional plain text body.",
|
|
768
|
+
"type": "string"
|
|
769
|
+
},
|
|
770
|
+
"toEmail": {
|
|
771
|
+
"description": "ToEmail is the recipient address.",
|
|
772
|
+
"type": "string"
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
"required": [
|
|
776
|
+
"senderEmail",
|
|
777
|
+
"senderName",
|
|
778
|
+
"subject",
|
|
779
|
+
"toEmail"
|
|
780
|
+
],
|
|
781
|
+
"type": "object"
|
|
782
|
+
}
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
"name": "newSendTemplateEmailStep",
|
|
786
|
+
"kind": "mutation",
|
|
787
|
+
"operationId": "sendTemplateEmail",
|
|
788
|
+
"inputType": "SendTemplateEmailInput",
|
|
789
|
+
"description": "Send one transactional email from a configured Brevo template.",
|
|
790
|
+
"fields": {
|
|
791
|
+
"stepType": "stepType",
|
|
792
|
+
"annotations": "annotations",
|
|
793
|
+
"connectionName": "connectionName",
|
|
794
|
+
"resultAttribute": "resultAttribute"
|
|
795
|
+
},
|
|
796
|
+
"branches": [
|
|
797
|
+
{
|
|
798
|
+
"id": "sent",
|
|
799
|
+
"field": "sent",
|
|
800
|
+
"optional": false
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"id": "providerRejected",
|
|
804
|
+
"field": "providerRejected",
|
|
805
|
+
"optional": true
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
"id": "defect",
|
|
809
|
+
"field": "defect",
|
|
810
|
+
"optional": true
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"id": "uncertain",
|
|
814
|
+
"field": "uncertain",
|
|
815
|
+
"optional": true
|
|
816
|
+
}
|
|
817
|
+
],
|
|
818
|
+
"inputSchema": {
|
|
819
|
+
"additionalProperties": false,
|
|
820
|
+
"description": "SendTemplateEmailInput identifies a Brevo template and recipient.",
|
|
821
|
+
"properties": {
|
|
822
|
+
"params": {
|
|
823
|
+
"additionalProperties": {
|
|
824
|
+
"type": "string"
|
|
825
|
+
},
|
|
826
|
+
"description": "Params supplies template variables without logging their values.",
|
|
827
|
+
"type": "object"
|
|
828
|
+
},
|
|
829
|
+
"templateId": {
|
|
830
|
+
"description": "TemplateID is the numeric ID of an active transactional template.",
|
|
831
|
+
"type": "integer"
|
|
832
|
+
},
|
|
833
|
+
"toEmail": {
|
|
834
|
+
"description": "ToEmail is the recipient address.",
|
|
835
|
+
"type": "string"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"required": [
|
|
839
|
+
"templateId",
|
|
840
|
+
"toEmail"
|
|
841
|
+
],
|
|
842
|
+
"type": "object"
|
|
843
|
+
}
|
|
844
|
+
},
|
|
10
845
|
{
|
|
11
846
|
"name": "newCreateOrUpdateContactStep",
|
|
12
847
|
"kind": "mutation",
|