@superdurable/connector-amazon-ses 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.
@@ -1,12 +1,61 @@
1
1
  {
2
2
  "connectorId": "amazon-ses",
3
- "releaseTag": "connectors/amazon/ses/go/v0.1.0",
3
+ "releaseTag": "connectors/amazon/ses/go/v0.2.0",
4
4
  "package": {
5
5
  "ecosystem": "npm",
6
6
  "name": "@superdurable/connector-amazon-ses",
7
- "version": "0.1.0"
7
+ "version": "0.2.0"
8
8
  },
9
9
  "factories": [
10
+ {
11
+ "name": "newCreateEmailIdentityStep",
12
+ "kind": "mutation",
13
+ "operationId": "createEmailIdentity",
14
+ "inputType": "CreateEmailIdentityInput",
15
+ "description": "Start verification of an email address or domain; retries may send another verification email, so cap possible creates at three.",
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": "uncertain",
35
+ "field": "uncertain",
36
+ "optional": true
37
+ },
38
+ {
39
+ "id": "defect",
40
+ "field": "defect",
41
+ "optional": true
42
+ }
43
+ ],
44
+ "inputSchema": {
45
+ "additionalProperties": false,
46
+ "description": "CreateEmailIdentityInput starts verification of one email address or domain.",
47
+ "properties": {
48
+ "emailIdentity": {
49
+ "description": "EmailIdentity is the address or domain to add under SES Console > Verified identities.",
50
+ "type": "string"
51
+ }
52
+ },
53
+ "required": [
54
+ "emailIdentity"
55
+ ],
56
+ "type": "object"
57
+ }
58
+ },
10
59
  {
11
60
  "name": "newGetEmailIdentityStep",
12
61
  "kind": "query",
@@ -59,6 +108,910 @@
59
108
  ],
60
109
  "type": "object"
61
110
  }
111
+ },
112
+ {
113
+ "name": "newListEmailIdentitiesStep",
114
+ "kind": "query",
115
+ "operationId": "listEmailIdentities",
116
+ "inputType": "ListEmailIdentitiesInput",
117
+ "description": "List one bounded page of regional email identities and verification states.",
118
+ "fields": {
119
+ "stepType": "stepType",
120
+ "annotations": "annotations",
121
+ "connectionName": "connectionName",
122
+ "resultAttribute": "resultAttribute"
123
+ },
124
+ "branches": [
125
+ {
126
+ "id": "page",
127
+ "field": "page",
128
+ "optional": false
129
+ },
130
+ {
131
+ "id": "providerRejected",
132
+ "field": "providerRejected",
133
+ "optional": true
134
+ },
135
+ {
136
+ "id": "invalidResponse",
137
+ "field": "invalidResponse",
138
+ "optional": true
139
+ },
140
+ {
141
+ "id": "defect",
142
+ "field": "defect",
143
+ "optional": true
144
+ }
145
+ ],
146
+ "inputSchema": {
147
+ "additionalProperties": false,
148
+ "description": "ListEmailIdentitiesInput requests one page of regional identities.",
149
+ "properties": {
150
+ "nextToken": {
151
+ "description": "NextToken continues a previous page; blank starts at the beginning.",
152
+ "type": "string"
153
+ },
154
+ "pageSize": {
155
+ "description": "PageSize is 1 to 1000; zero uses 100.",
156
+ "type": "integer"
157
+ }
158
+ },
159
+ "type": "object"
160
+ }
161
+ },
162
+ {
163
+ "name": "newDeleteEmailIdentityStep",
164
+ "kind": "mutation",
165
+ "operationId": "deleteEmailIdentity",
166
+ "inputType": "DeleteEmailIdentityInput",
167
+ "description": "Remove an email or domain identity from the selected Region.",
168
+ "fields": {
169
+ "stepType": "stepType",
170
+ "annotations": "annotations",
171
+ "connectionName": "connectionName",
172
+ "resultAttribute": "resultAttribute"
173
+ },
174
+ "branches": [
175
+ {
176
+ "id": "deleted",
177
+ "field": "deleted",
178
+ "optional": false
179
+ },
180
+ {
181
+ "id": "providerRejected",
182
+ "field": "providerRejected",
183
+ "optional": true
184
+ },
185
+ {
186
+ "id": "defect",
187
+ "field": "defect",
188
+ "optional": true
189
+ }
190
+ ],
191
+ "inputSchema": {
192
+ "additionalProperties": false,
193
+ "description": "DeleteEmailIdentityInput names one email or domain identity to remove.",
194
+ "properties": {
195
+ "emailIdentity": {
196
+ "description": "EmailIdentity is the exact identity shown under SES Verified identities.",
197
+ "type": "string"
198
+ }
199
+ },
200
+ "required": [
201
+ "emailIdentity"
202
+ ],
203
+ "type": "object"
204
+ }
205
+ },
206
+ {
207
+ "name": "newSendEmailStep",
208
+ "kind": "mutation",
209
+ "operationId": "sendEmail",
210
+ "inputType": "SendEmailInput",
211
+ "description": "Send one simple text email from a verified identity; after an unknown outcome, resend at most three times because SES has no idempotency key or read-back by message ID.",
212
+ "fields": {
213
+ "stepType": "stepType",
214
+ "annotations": "annotations",
215
+ "connectionName": "connectionName",
216
+ "resultAttribute": "resultAttribute"
217
+ },
218
+ "branches": [
219
+ {
220
+ "id": "sent",
221
+ "field": "sent",
222
+ "optional": false
223
+ },
224
+ {
225
+ "id": "providerRejected",
226
+ "field": "providerRejected",
227
+ "optional": true
228
+ },
229
+ {
230
+ "id": "uncertain",
231
+ "field": "uncertain",
232
+ "optional": true
233
+ },
234
+ {
235
+ "id": "defect",
236
+ "field": "defect",
237
+ "optional": true
238
+ }
239
+ ],
240
+ "inputSchema": {
241
+ "additionalProperties": false,
242
+ "description": "SendEmailInput sends one bounded plain text message from a verified identity.",
243
+ "properties": {
244
+ "fromEmailAddress": {
245
+ "description": "FromEmailAddress is a verified SES sender shown under Verified identities.",
246
+ "type": "string"
247
+ },
248
+ "subject": {
249
+ "description": "Subject is the UTF-8 email subject, at most 998 bytes.",
250
+ "type": "string"
251
+ },
252
+ "textBody": {
253
+ "description": "TextBody is the UTF-8 plain text body, at most 100 KiB.",
254
+ "type": "string"
255
+ },
256
+ "toEmailAddress": {
257
+ "description": "ToEmailAddress is the recipient address; sandbox accounts require a verified recipient.",
258
+ "type": "string"
259
+ }
260
+ },
261
+ "required": [
262
+ "fromEmailAddress",
263
+ "subject",
264
+ "textBody",
265
+ "toEmailAddress"
266
+ ],
267
+ "type": "object"
268
+ }
269
+ },
270
+ {
271
+ "name": "newCreateEmailTemplateStep",
272
+ "kind": "mutation",
273
+ "operationId": "createEmailTemplate",
274
+ "inputType": "CreateEmailTemplateInput",
275
+ "description": "Create one stored email template with bounded sends after an unknown outcome.",
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": "uncertain",
295
+ "field": "uncertain",
296
+ "optional": true
297
+ },
298
+ {
299
+ "id": "defect",
300
+ "field": "defect",
301
+ "optional": true
302
+ }
303
+ ],
304
+ "inputSchema": {
305
+ "$defs": {
306
+ "EmailTemplateContent": {
307
+ "additionalProperties": false,
308
+ "description": "EmailTemplateContent is the subject and text and/or HTML body stored by SES.",
309
+ "properties": {
310
+ "html": {
311
+ "description": "HTML is the UTF-8 HTML body; blank means no HTML part.",
312
+ "type": "string"
313
+ },
314
+ "subject": {
315
+ "description": "Subject is a UTF-8 subject, at most 998 bytes, without a line break.",
316
+ "type": "string"
317
+ },
318
+ "text": {
319
+ "description": "Text is the UTF-8 plain text body; blank means no text part.",
320
+ "type": "string"
321
+ }
322
+ },
323
+ "required": [
324
+ "subject"
325
+ ],
326
+ "type": "object"
327
+ }
328
+ },
329
+ "additionalProperties": false,
330
+ "description": "CreateEmailTemplateInput names a new regional template and its complete content.",
331
+ "properties": {
332
+ "content": {
333
+ "$ref": "#/$defs/EmailTemplateContent",
334
+ "description": "Content contains the subject and text and/or HTML body."
335
+ },
336
+ "templateName": {
337
+ "description": "TemplateName is the new template name.",
338
+ "type": "string"
339
+ }
340
+ },
341
+ "required": [
342
+ "content",
343
+ "templateName"
344
+ ],
345
+ "type": "object"
346
+ }
347
+ },
348
+ {
349
+ "name": "newGetEmailTemplateStep",
350
+ "kind": "query",
351
+ "operationId": "getEmailTemplate",
352
+ "inputType": "GetEmailTemplateInput",
353
+ "description": "Read one stored template's subject and text and HTML bodies.",
354
+ "fields": {
355
+ "stepType": "stepType",
356
+ "annotations": "annotations",
357
+ "connectionName": "connectionName",
358
+ "resultAttribute": "resultAttribute"
359
+ },
360
+ "branches": [
361
+ {
362
+ "id": "found",
363
+ "field": "found",
364
+ "optional": false
365
+ },
366
+ {
367
+ "id": "missing",
368
+ "field": "missing",
369
+ "optional": true
370
+ },
371
+ {
372
+ "id": "providerRejected",
373
+ "field": "providerRejected",
374
+ "optional": true
375
+ },
376
+ {
377
+ "id": "invalidResponse",
378
+ "field": "invalidResponse",
379
+ "optional": true
380
+ },
381
+ {
382
+ "id": "defect",
383
+ "field": "defect",
384
+ "optional": true
385
+ }
386
+ ],
387
+ "inputSchema": {
388
+ "additionalProperties": false,
389
+ "description": "GetEmailTemplateInput names one regional SES template.",
390
+ "properties": {
391
+ "templateName": {
392
+ "description": "TemplateName is the exact template name in the SES Console.",
393
+ "type": "string"
394
+ }
395
+ },
396
+ "required": [
397
+ "templateName"
398
+ ],
399
+ "type": "object"
400
+ }
401
+ },
402
+ {
403
+ "name": "newListEmailTemplatesStep",
404
+ "kind": "query",
405
+ "operationId": "listEmailTemplates",
406
+ "inputType": "ListEmailTemplatesInput",
407
+ "description": "List one bounded page of regional email template names and creation times.",
408
+ "fields": {
409
+ "stepType": "stepType",
410
+ "annotations": "annotations",
411
+ "connectionName": "connectionName",
412
+ "resultAttribute": "resultAttribute"
413
+ },
414
+ "branches": [
415
+ {
416
+ "id": "page",
417
+ "field": "page",
418
+ "optional": false
419
+ },
420
+ {
421
+ "id": "providerRejected",
422
+ "field": "providerRejected",
423
+ "optional": true
424
+ },
425
+ {
426
+ "id": "invalidResponse",
427
+ "field": "invalidResponse",
428
+ "optional": true
429
+ },
430
+ {
431
+ "id": "defect",
432
+ "field": "defect",
433
+ "optional": true
434
+ }
435
+ ],
436
+ "inputSchema": {
437
+ "additionalProperties": false,
438
+ "description": "ListEmailTemplatesInput requests one bounded page of regional template names.",
439
+ "properties": {
440
+ "nextToken": {
441
+ "description": "NextToken resumes a previous page; blank starts at the beginning.",
442
+ "type": "string"
443
+ },
444
+ "pageSize": {
445
+ "description": "PageSize is 1 to 100; zero uses 10.",
446
+ "type": "integer"
447
+ }
448
+ },
449
+ "type": "object"
450
+ }
451
+ },
452
+ {
453
+ "name": "newUpdateEmailTemplateStep",
454
+ "kind": "mutation",
455
+ "operationId": "updateEmailTemplate",
456
+ "inputType": "UpdateEmailTemplateInput",
457
+ "description": "Replace a stored template's complete subject and body content.",
458
+ "fields": {
459
+ "stepType": "stepType",
460
+ "annotations": "annotations",
461
+ "connectionName": "connectionName",
462
+ "resultAttribute": "resultAttribute"
463
+ },
464
+ "branches": [
465
+ {
466
+ "id": "updated",
467
+ "field": "updated",
468
+ "optional": false
469
+ },
470
+ {
471
+ "id": "providerRejected",
472
+ "field": "providerRejected",
473
+ "optional": true
474
+ },
475
+ {
476
+ "id": "defect",
477
+ "field": "defect",
478
+ "optional": true
479
+ }
480
+ ],
481
+ "inputSchema": {
482
+ "$defs": {
483
+ "EmailTemplateContent": {
484
+ "additionalProperties": false,
485
+ "description": "EmailTemplateContent is the subject and text and/or HTML body stored by SES.",
486
+ "properties": {
487
+ "html": {
488
+ "description": "HTML is the UTF-8 HTML body; blank means no HTML part.",
489
+ "type": "string"
490
+ },
491
+ "subject": {
492
+ "description": "Subject is a UTF-8 subject, at most 998 bytes, without a line break.",
493
+ "type": "string"
494
+ },
495
+ "text": {
496
+ "description": "Text is the UTF-8 plain text body; blank means no text part.",
497
+ "type": "string"
498
+ }
499
+ },
500
+ "required": [
501
+ "subject"
502
+ ],
503
+ "type": "object"
504
+ }
505
+ },
506
+ "additionalProperties": false,
507
+ "description": "UpdateEmailTemplateInput replaces one stored template's complete content.",
508
+ "properties": {
509
+ "content": {
510
+ "$ref": "#/$defs/EmailTemplateContent",
511
+ "description": "Content replaces the subject and both optional body parts."
512
+ },
513
+ "templateName": {
514
+ "description": "TemplateName is the exact regional template name.",
515
+ "type": "string"
516
+ }
517
+ },
518
+ "required": [
519
+ "content",
520
+ "templateName"
521
+ ],
522
+ "type": "object"
523
+ }
524
+ },
525
+ {
526
+ "name": "newDeleteEmailTemplateStep",
527
+ "kind": "mutation",
528
+ "operationId": "deleteEmailTemplate",
529
+ "inputType": "DeleteEmailTemplateInput",
530
+ "description": "Delete a stored template; an already absent template is considered deleted.",
531
+ "fields": {
532
+ "stepType": "stepType",
533
+ "annotations": "annotations",
534
+ "connectionName": "connectionName",
535
+ "resultAttribute": "resultAttribute"
536
+ },
537
+ "branches": [
538
+ {
539
+ "id": "deleted",
540
+ "field": "deleted",
541
+ "optional": false
542
+ },
543
+ {
544
+ "id": "providerRejected",
545
+ "field": "providerRejected",
546
+ "optional": true
547
+ },
548
+ {
549
+ "id": "defect",
550
+ "field": "defect",
551
+ "optional": true
552
+ }
553
+ ],
554
+ "inputSchema": {
555
+ "additionalProperties": false,
556
+ "description": "DeleteEmailTemplateInput names one stored template to remove.",
557
+ "properties": {
558
+ "templateName": {
559
+ "description": "TemplateName is the exact regional template name.",
560
+ "type": "string"
561
+ }
562
+ },
563
+ "required": [
564
+ "templateName"
565
+ ],
566
+ "type": "object"
567
+ }
568
+ },
569
+ {
570
+ "name": "newSendTemplatedEmailStep",
571
+ "kind": "mutation",
572
+ "operationId": "sendTemplatedEmail",
573
+ "inputType": "SendTemplatedEmailInput",
574
+ "description": "Send one stored template with JSON variables and cap possible sends at three.",
575
+ "fields": {
576
+ "stepType": "stepType",
577
+ "annotations": "annotations",
578
+ "connectionName": "connectionName",
579
+ "resultAttribute": "resultAttribute"
580
+ },
581
+ "branches": [
582
+ {
583
+ "id": "sent",
584
+ "field": "sent",
585
+ "optional": false
586
+ },
587
+ {
588
+ "id": "providerRejected",
589
+ "field": "providerRejected",
590
+ "optional": true
591
+ },
592
+ {
593
+ "id": "uncertain",
594
+ "field": "uncertain",
595
+ "optional": true
596
+ },
597
+ {
598
+ "id": "defect",
599
+ "field": "defect",
600
+ "optional": true
601
+ }
602
+ ],
603
+ "inputSchema": {
604
+ "additionalProperties": false,
605
+ "description": "SendTemplatedEmailInput sends a stored SES template with JSON variables.",
606
+ "properties": {
607
+ "fromEmailAddress": {
608
+ "description": "FromEmailAddress is a verified SES sender.",
609
+ "type": "string"
610
+ },
611
+ "templateData": {
612
+ "additionalProperties": {
613
+ "type": "string"
614
+ },
615
+ "description": "TemplateData maps placeholder names to text values; blank sends an empty JSON object.",
616
+ "type": "object"
617
+ },
618
+ "templateName": {
619
+ "description": "TemplateName is the stored template name in the connection Region.",
620
+ "type": "string"
621
+ },
622
+ "toEmailAddress": {
623
+ "description": "ToEmailAddress is the recipient; sandbox accounts require a verified recipient.",
624
+ "type": "string"
625
+ }
626
+ },
627
+ "required": [
628
+ "fromEmailAddress",
629
+ "templateName",
630
+ "toEmailAddress"
631
+ ],
632
+ "type": "object"
633
+ }
634
+ },
635
+ {
636
+ "name": "newCreateCustomVerificationEmailTemplateStep",
637
+ "kind": "mutation",
638
+ "operationId": "createCustomVerificationEmailTemplate",
639
+ "inputType": "CreateCustomVerificationEmailTemplateInput",
640
+ "description": "Create a custom verification email template with bounded possible creates.",
641
+ "fields": {
642
+ "stepType": "stepType",
643
+ "annotations": "annotations",
644
+ "connectionName": "connectionName",
645
+ "resultAttribute": "resultAttribute"
646
+ },
647
+ "branches": [
648
+ {
649
+ "id": "created",
650
+ "field": "created",
651
+ "optional": false
652
+ },
653
+ {
654
+ "id": "providerRejected",
655
+ "field": "providerRejected",
656
+ "optional": true
657
+ },
658
+ {
659
+ "id": "uncertain",
660
+ "field": "uncertain",
661
+ "optional": true
662
+ },
663
+ {
664
+ "id": "defect",
665
+ "field": "defect",
666
+ "optional": true
667
+ }
668
+ ],
669
+ "inputSchema": {
670
+ "$defs": {
671
+ "CustomVerificationEmailTemplate": {
672
+ "additionalProperties": false,
673
+ "description": "CustomVerificationEmailTemplate is the complete regional verification message.",
674
+ "properties": {
675
+ "content": {
676
+ "description": "Content is the UTF-8 verification email body.",
677
+ "type": "string"
678
+ },
679
+ "failureRedirectionURL": {
680
+ "description": "FailureRedirectionURL receives an unsuccessfully verified recipient.",
681
+ "type": "string"
682
+ },
683
+ "fromEmailAddress": {
684
+ "description": "FromEmailAddress is the verified sender address.",
685
+ "type": "string"
686
+ },
687
+ "name": {
688
+ "description": "Name identifies the custom verification template.",
689
+ "type": "string"
690
+ },
691
+ "subject": {
692
+ "description": "Subject is the verification email subject.",
693
+ "type": "string"
694
+ },
695
+ "successRedirectionURL": {
696
+ "description": "SuccessRedirectionURL receives a successfully verified recipient.",
697
+ "type": "string"
698
+ }
699
+ },
700
+ "required": [
701
+ "content",
702
+ "failureRedirectionURL",
703
+ "fromEmailAddress",
704
+ "name",
705
+ "subject",
706
+ "successRedirectionURL"
707
+ ],
708
+ "type": "object"
709
+ }
710
+ },
711
+ "additionalProperties": false,
712
+ "description": "CreateCustomVerificationEmailTemplateInput supplies a complete new template.",
713
+ "properties": {
714
+ "template": {
715
+ "$ref": "#/$defs/CustomVerificationEmailTemplate",
716
+ "description": "Template includes the new name, sender, subject, content, and redirect URLs."
717
+ }
718
+ },
719
+ "required": [
720
+ "template"
721
+ ],
722
+ "type": "object"
723
+ }
724
+ },
725
+ {
726
+ "name": "newGetCustomVerificationEmailTemplateStep",
727
+ "kind": "query",
728
+ "operationId": "getCustomVerificationEmailTemplate",
729
+ "inputType": "GetCustomVerificationEmailTemplateInput",
730
+ "description": "Read one custom verification email template.",
731
+ "fields": {
732
+ "stepType": "stepType",
733
+ "annotations": "annotations",
734
+ "connectionName": "connectionName",
735
+ "resultAttribute": "resultAttribute"
736
+ },
737
+ "branches": [
738
+ {
739
+ "id": "found",
740
+ "field": "found",
741
+ "optional": false
742
+ },
743
+ {
744
+ "id": "missing",
745
+ "field": "missing",
746
+ "optional": true
747
+ },
748
+ {
749
+ "id": "providerRejected",
750
+ "field": "providerRejected",
751
+ "optional": true
752
+ },
753
+ {
754
+ "id": "invalidResponse",
755
+ "field": "invalidResponse",
756
+ "optional": true
757
+ },
758
+ {
759
+ "id": "defect",
760
+ "field": "defect",
761
+ "optional": true
762
+ }
763
+ ],
764
+ "inputSchema": {
765
+ "additionalProperties": false,
766
+ "description": "GetCustomVerificationEmailTemplateInput names one regional template.",
767
+ "properties": {
768
+ "templateName": {
769
+ "description": "TemplateName is the exact name in SES.",
770
+ "type": "string"
771
+ }
772
+ },
773
+ "required": [
774
+ "templateName"
775
+ ],
776
+ "type": "object"
777
+ }
778
+ },
779
+ {
780
+ "name": "newListCustomVerificationEmailTemplatesStep",
781
+ "kind": "query",
782
+ "operationId": "listCustomVerificationEmailTemplates",
783
+ "inputType": "ListCustomVerificationEmailTemplatesInput",
784
+ "description": "List one page of custom verification email template metadata.",
785
+ "fields": {
786
+ "stepType": "stepType",
787
+ "annotations": "annotations",
788
+ "connectionName": "connectionName",
789
+ "resultAttribute": "resultAttribute"
790
+ },
791
+ "branches": [
792
+ {
793
+ "id": "page",
794
+ "field": "page",
795
+ "optional": false
796
+ },
797
+ {
798
+ "id": "providerRejected",
799
+ "field": "providerRejected",
800
+ "optional": true
801
+ },
802
+ {
803
+ "id": "invalidResponse",
804
+ "field": "invalidResponse",
805
+ "optional": true
806
+ },
807
+ {
808
+ "id": "defect",
809
+ "field": "defect",
810
+ "optional": true
811
+ }
812
+ ],
813
+ "inputSchema": {
814
+ "additionalProperties": false,
815
+ "description": "ListCustomVerificationEmailTemplatesInput requests one regional list page.",
816
+ "properties": {
817
+ "nextToken": {
818
+ "description": "NextToken resumes a previous page; blank starts at the beginning.",
819
+ "type": "string"
820
+ },
821
+ "pageSize": {
822
+ "description": "PageSize is 1 to 50; zero uses 10.",
823
+ "type": "integer"
824
+ }
825
+ },
826
+ "type": "object"
827
+ }
828
+ },
829
+ {
830
+ "name": "newUpdateCustomVerificationEmailTemplateStep",
831
+ "kind": "mutation",
832
+ "operationId": "updateCustomVerificationEmailTemplate",
833
+ "inputType": "UpdateCustomVerificationEmailTemplateInput",
834
+ "description": "Replace all content and redirect URLs of a custom verification email template.",
835
+ "fields": {
836
+ "stepType": "stepType",
837
+ "annotations": "annotations",
838
+ "connectionName": "connectionName",
839
+ "resultAttribute": "resultAttribute"
840
+ },
841
+ "branches": [
842
+ {
843
+ "id": "updated",
844
+ "field": "updated",
845
+ "optional": false
846
+ },
847
+ {
848
+ "id": "providerRejected",
849
+ "field": "providerRejected",
850
+ "optional": true
851
+ },
852
+ {
853
+ "id": "defect",
854
+ "field": "defect",
855
+ "optional": true
856
+ }
857
+ ],
858
+ "inputSchema": {
859
+ "$defs": {
860
+ "CustomVerificationEmailTemplate": {
861
+ "additionalProperties": false,
862
+ "description": "CustomVerificationEmailTemplate is the complete regional verification message.",
863
+ "properties": {
864
+ "content": {
865
+ "description": "Content is the UTF-8 verification email body.",
866
+ "type": "string"
867
+ },
868
+ "failureRedirectionURL": {
869
+ "description": "FailureRedirectionURL receives an unsuccessfully verified recipient.",
870
+ "type": "string"
871
+ },
872
+ "fromEmailAddress": {
873
+ "description": "FromEmailAddress is the verified sender address.",
874
+ "type": "string"
875
+ },
876
+ "name": {
877
+ "description": "Name identifies the custom verification template.",
878
+ "type": "string"
879
+ },
880
+ "subject": {
881
+ "description": "Subject is the verification email subject.",
882
+ "type": "string"
883
+ },
884
+ "successRedirectionURL": {
885
+ "description": "SuccessRedirectionURL receives a successfully verified recipient.",
886
+ "type": "string"
887
+ }
888
+ },
889
+ "required": [
890
+ "content",
891
+ "failureRedirectionURL",
892
+ "fromEmailAddress",
893
+ "name",
894
+ "subject",
895
+ "successRedirectionURL"
896
+ ],
897
+ "type": "object"
898
+ }
899
+ },
900
+ "additionalProperties": false,
901
+ "description": "UpdateCustomVerificationEmailTemplateInput replaces one template completely.",
902
+ "properties": {
903
+ "template": {
904
+ "$ref": "#/$defs/CustomVerificationEmailTemplate",
905
+ "description": "Template is the full replacement, including its existing name."
906
+ }
907
+ },
908
+ "required": [
909
+ "template"
910
+ ],
911
+ "type": "object"
912
+ }
913
+ },
914
+ {
915
+ "name": "newDeleteCustomVerificationEmailTemplateStep",
916
+ "kind": "mutation",
917
+ "operationId": "deleteCustomVerificationEmailTemplate",
918
+ "inputType": "DeleteCustomVerificationEmailTemplateInput",
919
+ "description": "Delete a custom verification email template; absence is success.",
920
+ "fields": {
921
+ "stepType": "stepType",
922
+ "annotations": "annotations",
923
+ "connectionName": "connectionName",
924
+ "resultAttribute": "resultAttribute"
925
+ },
926
+ "branches": [
927
+ {
928
+ "id": "deleted",
929
+ "field": "deleted",
930
+ "optional": false
931
+ },
932
+ {
933
+ "id": "providerRejected",
934
+ "field": "providerRejected",
935
+ "optional": true
936
+ },
937
+ {
938
+ "id": "defect",
939
+ "field": "defect",
940
+ "optional": true
941
+ }
942
+ ],
943
+ "inputSchema": {
944
+ "additionalProperties": false,
945
+ "description": "DeleteCustomVerificationEmailTemplateInput names one regional template.",
946
+ "properties": {
947
+ "templateName": {
948
+ "description": "TemplateName is the exact template name in SES.",
949
+ "type": "string"
950
+ }
951
+ },
952
+ "required": [
953
+ "templateName"
954
+ ],
955
+ "type": "object"
956
+ }
957
+ },
958
+ {
959
+ "name": "newSendCustomVerificationEmailStep",
960
+ "kind": "mutation",
961
+ "operationId": "sendCustomVerificationEmail",
962
+ "inputType": "SendCustomVerificationEmailInput",
963
+ "description": "Send a custom verification email with bounded possible sends.",
964
+ "fields": {
965
+ "stepType": "stepType",
966
+ "annotations": "annotations",
967
+ "connectionName": "connectionName",
968
+ "resultAttribute": "resultAttribute"
969
+ },
970
+ "branches": [
971
+ {
972
+ "id": "sent",
973
+ "field": "sent",
974
+ "optional": false
975
+ },
976
+ {
977
+ "id": "providerRejected",
978
+ "field": "providerRejected",
979
+ "optional": true
980
+ },
981
+ {
982
+ "id": "uncertain",
983
+ "field": "uncertain",
984
+ "optional": true
985
+ },
986
+ {
987
+ "id": "defect",
988
+ "field": "defect",
989
+ "optional": true
990
+ }
991
+ ],
992
+ "inputSchema": {
993
+ "additionalProperties": false,
994
+ "description": "SendCustomVerificationEmailInput requests one verification email.",
995
+ "properties": {
996
+ "configurationSetName": {
997
+ "description": "ConfigurationSetName is optional; blank uses the account default.",
998
+ "type": "string"
999
+ },
1000
+ "emailAddress": {
1001
+ "description": "EmailAddress is the recipient to verify.",
1002
+ "type": "string"
1003
+ },
1004
+ "templateName": {
1005
+ "description": "TemplateName is the existing custom verification template.",
1006
+ "type": "string"
1007
+ }
1008
+ },
1009
+ "required": [
1010
+ "emailAddress",
1011
+ "templateName"
1012
+ ],
1013
+ "type": "object"
1014
+ }
62
1015
  }
63
1016
  ]
64
1017
  }