@superdurable/connector-activecampaign 0.1.0 → 0.3.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,2801 @@
1
1
  {
2
2
  "connectorId": "activecampaign",
3
- "releaseTag": "connectors/activecampaign/go/v0.1.0",
3
+ "releaseTag": "connectors/activecampaign/go/v0.3.0",
4
4
  "package": {
5
5
  "ecosystem": "npm",
6
6
  "name": "@superdurable/connector-activecampaign",
7
- "version": "0.1.0"
7
+ "version": "0.3.0"
8
8
  },
9
9
  "factories": [
10
+ {
11
+ "name": "newUpsertEcommerceOrderStep",
12
+ "kind": "mutation",
13
+ "operationId": "upsertEcommerceOrder",
14
+ "inputType": "UpsertEcommerceOrderInput",
15
+ "description": "Create or replace a store order through the ecommerce GraphQL API.",
16
+ "fields": {
17
+ "stepType": "stepType",
18
+ "annotations": "annotations",
19
+ "connectionName": "connectionName",
20
+ "resultAttribute": "resultAttribute"
21
+ },
22
+ "branches": [
23
+ {
24
+ "id": "upserted",
25
+ "field": "upserted",
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
+ "inputSchema": {
40
+ "$defs": {
41
+ "EcommerceOrderLineItemInput": {
42
+ "additionalProperties": false,
43
+ "description": "EcommerceOrderLineItemInput describes one store product line in major currency units.",
44
+ "properties": {
45
+ "name": {
46
+ "description": "Name is the purchased product's display name.",
47
+ "type": "string"
48
+ },
49
+ "priceAmount": {
50
+ "description": "PriceAmount is the non-negative unit price in major currency units.",
51
+ "type": "string"
52
+ },
53
+ "productStorePrimaryId": {
54
+ "description": "ProductStorePrimaryID identifies the purchased store product or variant.",
55
+ "type": "string"
56
+ },
57
+ "quantity": {
58
+ "description": "Quantity is a positive count of purchased units.",
59
+ "type": "integer"
60
+ },
61
+ "storeLineItemId": {
62
+ "description": "StoreLineItemID is the stable external line ID.",
63
+ "type": "string"
64
+ }
65
+ },
66
+ "required": [
67
+ "name",
68
+ "priceAmount",
69
+ "productStorePrimaryId",
70
+ "quantity",
71
+ "storeLineItemId"
72
+ ],
73
+ "type": "object"
74
+ }
75
+ },
76
+ "additionalProperties": false,
77
+ "description": "UpsertEcommerceOrderInput identifies a store order and its absolute commercial state.",
78
+ "properties": {
79
+ "connectionId": {
80
+ "description": "ConnectionID is the numeric Deep Data connection ID.",
81
+ "type": "string"
82
+ },
83
+ "createdAt": {
84
+ "description": "CreatedAt is the store creation timestamp in RFC3339 format.",
85
+ "type": "string"
86
+ },
87
+ "creationSource": {
88
+ "description": "CreationSource is REAL_TIME or HISTORICAL; REAL_TIME can start order automations.",
89
+ "type": "string"
90
+ },
91
+ "currency": {
92
+ "description": "Currency is the three-letter ISO currency code.",
93
+ "type": "string"
94
+ },
95
+ "email": {
96
+ "description": "Email is the purchasing contact's email address.",
97
+ "type": "string"
98
+ },
99
+ "finalAmount": {
100
+ "description": "FinalAmount is the non-negative total in major currency units, with up to four decimal places.",
101
+ "type": "string"
102
+ },
103
+ "lineItems": {
104
+ "description": "LineItems optionally replaces the order's product lines; nil lets the provider retain its default behavior.",
105
+ "items": {
106
+ "$ref": "#/$defs/EcommerceOrderLineItemInput"
107
+ },
108
+ "type": "array"
109
+ },
110
+ "status": {
111
+ "description": "Status is the provider's normalized order status.",
112
+ "type": "string"
113
+ },
114
+ "storeCustomerId": {
115
+ "description": "StoreCustomerID is the stable customer ID in the external store.",
116
+ "type": "string"
117
+ },
118
+ "storeOrderId": {
119
+ "description": "StoreOrderID is the stable order ID in the external store.",
120
+ "type": "string"
121
+ }
122
+ },
123
+ "required": [
124
+ "connectionId",
125
+ "createdAt",
126
+ "creationSource",
127
+ "currency",
128
+ "email",
129
+ "finalAmount",
130
+ "status",
131
+ "storeCustomerId",
132
+ "storeOrderId"
133
+ ],
134
+ "type": "object"
135
+ }
136
+ },
137
+ {
138
+ "name": "newListEcommerceOrdersStep",
139
+ "kind": "query",
140
+ "operationId": "listEcommerceOrders",
141
+ "inputType": "ListEcommerceOrdersInput",
142
+ "description": "List Deep Data ecommerce orders.",
143
+ "fields": {
144
+ "stepType": "stepType",
145
+ "annotations": "annotations",
146
+ "connectionName": "connectionName",
147
+ "resultAttribute": "resultAttribute"
148
+ },
149
+ "branches": [
150
+ {
151
+ "id": "listed",
152
+ "field": "listed",
153
+ "optional": false
154
+ },
155
+ {
156
+ "id": "providerRejected",
157
+ "field": "providerRejected",
158
+ "optional": true
159
+ },
160
+ {
161
+ "id": "invalidResponse",
162
+ "field": "invalidResponse",
163
+ "optional": true
164
+ },
165
+ {
166
+ "id": "defect",
167
+ "field": "defect",
168
+ "optional": true
169
+ }
170
+ ],
171
+ "inputSchema": {
172
+ "additionalProperties": false,
173
+ "description": "ListEcommerceOrdersInput filters Deep Data orders.",
174
+ "properties": {
175
+ "connectionId": {
176
+ "description": "ConnectionID optionally filters by numeric ecommerce connection ID.",
177
+ "type": "string"
178
+ },
179
+ "email": {
180
+ "description": "Email optionally filters by buyer email address.",
181
+ "type": "string"
182
+ },
183
+ "externalId": {
184
+ "description": "ExternalID optionally filters by store order ID.",
185
+ "type": "string"
186
+ },
187
+ "limit": {
188
+ "description": "Limit caps the returned orders; zero uses the provider default, at most 100.",
189
+ "type": "integer"
190
+ },
191
+ "offset": {
192
+ "description": "Offset skips this many orders.",
193
+ "type": "integer"
194
+ }
195
+ },
196
+ "type": "object"
197
+ }
198
+ },
199
+ {
200
+ "name": "newGetEcommerceOrderStep",
201
+ "kind": "query",
202
+ "operationId": "getEcommerceOrder",
203
+ "inputType": "GetEcommerceOrderInput",
204
+ "description": "Read one Deep Data ecommerce order.",
205
+ "fields": {
206
+ "stepType": "stepType",
207
+ "annotations": "annotations",
208
+ "connectionName": "connectionName",
209
+ "resultAttribute": "resultAttribute"
210
+ },
211
+ "branches": [
212
+ {
213
+ "id": "found",
214
+ "field": "found",
215
+ "optional": false
216
+ },
217
+ {
218
+ "id": "notFound",
219
+ "field": "notFound",
220
+ "optional": true
221
+ },
222
+ {
223
+ "id": "providerRejected",
224
+ "field": "providerRejected",
225
+ "optional": true
226
+ },
227
+ {
228
+ "id": "invalidResponse",
229
+ "field": "invalidResponse",
230
+ "optional": true
231
+ },
232
+ {
233
+ "id": "defect",
234
+ "field": "defect",
235
+ "optional": true
236
+ }
237
+ ],
238
+ "inputSchema": {
239
+ "additionalProperties": false,
240
+ "description": "GetEcommerceOrderInput selects one order by numeric provider ID.",
241
+ "properties": {
242
+ "orderId": {
243
+ "description": "OrderID is the numeric Deep Data order ID.",
244
+ "type": "string"
245
+ }
246
+ },
247
+ "required": [
248
+ "orderId"
249
+ ],
250
+ "type": "object"
251
+ }
252
+ },
253
+ {
254
+ "name": "newListEcommerceOrderProductsStep",
255
+ "kind": "query",
256
+ "operationId": "listEcommerceOrderProducts",
257
+ "inputType": "ListEcommerceOrderProductsInput",
258
+ "description": "List Deep Data order products.",
259
+ "fields": {
260
+ "stepType": "stepType",
261
+ "annotations": "annotations",
262
+ "connectionName": "connectionName",
263
+ "resultAttribute": "resultAttribute"
264
+ },
265
+ "branches": [
266
+ {
267
+ "id": "listed",
268
+ "field": "listed",
269
+ "optional": false
270
+ },
271
+ {
272
+ "id": "providerRejected",
273
+ "field": "providerRejected",
274
+ "optional": true
275
+ },
276
+ {
277
+ "id": "invalidResponse",
278
+ "field": "invalidResponse",
279
+ "optional": true
280
+ },
281
+ {
282
+ "id": "defect",
283
+ "field": "defect",
284
+ "optional": true
285
+ }
286
+ ],
287
+ "inputSchema": {
288
+ "additionalProperties": false,
289
+ "description": "ListEcommerceOrderProductsInput selects one page of Deep Data order products.",
290
+ "properties": {
291
+ "limit": {
292
+ "description": "Limit caps the returned products; zero uses the provider default, at most 100.",
293
+ "type": "integer"
294
+ },
295
+ "offset": {
296
+ "description": "Offset skips this many order products.",
297
+ "type": "integer"
298
+ }
299
+ },
300
+ "type": "object"
301
+ }
302
+ },
303
+ {
304
+ "name": "newGetEcommerceOrderProductStep",
305
+ "kind": "query",
306
+ "operationId": "getEcommerceOrderProduct",
307
+ "inputType": "GetEcommerceOrderProductInput",
308
+ "description": "Read one Deep Data order product.",
309
+ "fields": {
310
+ "stepType": "stepType",
311
+ "annotations": "annotations",
312
+ "connectionName": "connectionName",
313
+ "resultAttribute": "resultAttribute"
314
+ },
315
+ "branches": [
316
+ {
317
+ "id": "found",
318
+ "field": "found",
319
+ "optional": false
320
+ },
321
+ {
322
+ "id": "notFound",
323
+ "field": "notFound",
324
+ "optional": true
325
+ },
326
+ {
327
+ "id": "providerRejected",
328
+ "field": "providerRejected",
329
+ "optional": true
330
+ },
331
+ {
332
+ "id": "invalidResponse",
333
+ "field": "invalidResponse",
334
+ "optional": true
335
+ },
336
+ {
337
+ "id": "defect",
338
+ "field": "defect",
339
+ "optional": true
340
+ }
341
+ ],
342
+ "inputSchema": {
343
+ "additionalProperties": false,
344
+ "description": "GetEcommerceOrderProductInput selects one line item by numeric provider ID.",
345
+ "properties": {
346
+ "productId": {
347
+ "description": "ProductID is the numeric Deep Data order-product ID.",
348
+ "type": "string"
349
+ }
350
+ },
351
+ "required": [
352
+ "productId"
353
+ ],
354
+ "type": "object"
355
+ }
356
+ },
357
+ {
358
+ "name": "newListProductsForEcommerceOrderStep",
359
+ "kind": "query",
360
+ "operationId": "listProductsForEcommerceOrder",
361
+ "inputType": "ListProductsForEcommerceOrderInput",
362
+ "description": "List products belonging to one Deep Data order.",
363
+ "fields": {
364
+ "stepType": "stepType",
365
+ "annotations": "annotations",
366
+ "connectionName": "connectionName",
367
+ "resultAttribute": "resultAttribute"
368
+ },
369
+ "branches": [
370
+ {
371
+ "id": "listed",
372
+ "field": "listed",
373
+ "optional": false
374
+ },
375
+ {
376
+ "id": "notFound",
377
+ "field": "notFound",
378
+ "optional": true
379
+ },
380
+ {
381
+ "id": "providerRejected",
382
+ "field": "providerRejected",
383
+ "optional": true
384
+ },
385
+ {
386
+ "id": "invalidResponse",
387
+ "field": "invalidResponse",
388
+ "optional": true
389
+ },
390
+ {
391
+ "id": "defect",
392
+ "field": "defect",
393
+ "optional": true
394
+ }
395
+ ],
396
+ "inputSchema": {
397
+ "additionalProperties": false,
398
+ "description": "ListProductsForEcommerceOrderInput selects one order's line items.",
399
+ "properties": {
400
+ "limit": {
401
+ "description": "Limit caps the returned products; zero uses the provider default, at most 100.",
402
+ "type": "integer"
403
+ },
404
+ "offset": {
405
+ "description": "Offset skips this many products for the selected order.",
406
+ "type": "integer"
407
+ },
408
+ "orderId": {
409
+ "description": "OrderID is the numeric Deep Data order ID.",
410
+ "type": "string"
411
+ }
412
+ },
413
+ "required": [
414
+ "orderId"
415
+ ],
416
+ "type": "object"
417
+ }
418
+ },
419
+ {
420
+ "name": "newListEcommerceCustomersStep",
421
+ "kind": "query",
422
+ "operationId": "listEcommerceCustomers",
423
+ "inputType": "ListEcommerceCustomersInput",
424
+ "description": "List Deep Data ecommerce customers.",
425
+ "fields": {
426
+ "stepType": "stepType",
427
+ "annotations": "annotations",
428
+ "connectionName": "connectionName",
429
+ "resultAttribute": "resultAttribute"
430
+ },
431
+ "branches": [
432
+ {
433
+ "id": "listed",
434
+ "field": "listed",
435
+ "optional": false
436
+ },
437
+ {
438
+ "id": "providerRejected",
439
+ "field": "providerRejected",
440
+ "optional": true
441
+ },
442
+ {
443
+ "id": "invalidResponse",
444
+ "field": "invalidResponse",
445
+ "optional": true
446
+ },
447
+ {
448
+ "id": "defect",
449
+ "field": "defect",
450
+ "optional": true
451
+ }
452
+ ],
453
+ "inputSchema": {
454
+ "additionalProperties": false,
455
+ "description": "ListEcommerceCustomersInput filters Deep Data customers.",
456
+ "properties": {
457
+ "connectionId": {
458
+ "description": "ConnectionID optionally filters by numeric ecommerce connection ID.",
459
+ "type": "string"
460
+ },
461
+ "email": {
462
+ "description": "Email optionally filters by customer email address.",
463
+ "type": "string"
464
+ },
465
+ "externalId": {
466
+ "description": "ExternalID optionally filters by store customer ID.",
467
+ "type": "string"
468
+ },
469
+ "limit": {
470
+ "description": "Limit caps the returned customers; zero uses the provider default, at most 100.",
471
+ "type": "integer"
472
+ },
473
+ "offset": {
474
+ "description": "Offset skips this many customers.",
475
+ "type": "integer"
476
+ }
477
+ },
478
+ "type": "object"
479
+ }
480
+ },
481
+ {
482
+ "name": "newGetEcommerceCustomerStep",
483
+ "kind": "query",
484
+ "operationId": "getEcommerceCustomer",
485
+ "inputType": "GetEcommerceCustomerInput",
486
+ "description": "Read one Deep Data ecommerce customer.",
487
+ "fields": {
488
+ "stepType": "stepType",
489
+ "annotations": "annotations",
490
+ "connectionName": "connectionName",
491
+ "resultAttribute": "resultAttribute"
492
+ },
493
+ "branches": [
494
+ {
495
+ "id": "found",
496
+ "field": "found",
497
+ "optional": false
498
+ },
499
+ {
500
+ "id": "notFound",
501
+ "field": "notFound",
502
+ "optional": true
503
+ },
504
+ {
505
+ "id": "providerRejected",
506
+ "field": "providerRejected",
507
+ "optional": true
508
+ },
509
+ {
510
+ "id": "invalidResponse",
511
+ "field": "invalidResponse",
512
+ "optional": true
513
+ },
514
+ {
515
+ "id": "defect",
516
+ "field": "defect",
517
+ "optional": true
518
+ }
519
+ ],
520
+ "inputSchema": {
521
+ "additionalProperties": false,
522
+ "description": "GetEcommerceCustomerInput selects one customer by numeric provider ID.",
523
+ "properties": {
524
+ "customerId": {
525
+ "description": "CustomerID is the numeric Deep Data customer ID.",
526
+ "type": "string"
527
+ }
528
+ },
529
+ "required": [
530
+ "customerId"
531
+ ],
532
+ "type": "object"
533
+ }
534
+ },
535
+ {
536
+ "name": "newCreateEcommerceCustomerStep",
537
+ "kind": "mutation",
538
+ "operationId": "createEcommerceCustomer",
539
+ "inputType": "CreateEcommerceCustomerInput",
540
+ "description": "Create one ecommerce customer with bounded sends.",
541
+ "fields": {
542
+ "stepType": "stepType",
543
+ "annotations": "annotations",
544
+ "connectionName": "connectionName",
545
+ "resultAttribute": "resultAttribute"
546
+ },
547
+ "branches": [
548
+ {
549
+ "id": "created",
550
+ "field": "created",
551
+ "optional": false
552
+ },
553
+ {
554
+ "id": "uncertain",
555
+ "field": "uncertain",
556
+ "optional": true
557
+ },
558
+ {
559
+ "id": "providerRejected",
560
+ "field": "providerRejected",
561
+ "optional": true
562
+ },
563
+ {
564
+ "id": "defect",
565
+ "field": "defect",
566
+ "optional": true
567
+ }
568
+ ],
569
+ "inputSchema": {
570
+ "additionalProperties": false,
571
+ "description": "CreateEcommerceCustomerInput creates one Deep Data store customer.",
572
+ "properties": {
573
+ "connectionId": {
574
+ "description": "ConnectionID is the numeric ecommerce connection ID.",
575
+ "type": "string"
576
+ },
577
+ "email": {
578
+ "description": "Email is the customer's email address.",
579
+ "type": "string"
580
+ },
581
+ "externalId": {
582
+ "description": "ExternalID is the customer's ID in the external store.",
583
+ "type": "string"
584
+ }
585
+ },
586
+ "required": [
587
+ "connectionId",
588
+ "email",
589
+ "externalId"
590
+ ],
591
+ "type": "object"
592
+ }
593
+ },
594
+ {
595
+ "name": "newUpdateEcommerceCustomerStep",
596
+ "kind": "mutation",
597
+ "operationId": "updateEcommerceCustomer",
598
+ "inputType": "UpdateEcommerceCustomerInput",
599
+ "description": "Replace selected ecommerce customer identity fields.",
600
+ "fields": {
601
+ "stepType": "stepType",
602
+ "annotations": "annotations",
603
+ "connectionName": "connectionName",
604
+ "resultAttribute": "resultAttribute"
605
+ },
606
+ "branches": [
607
+ {
608
+ "id": "updated",
609
+ "field": "updated",
610
+ "optional": false
611
+ },
612
+ {
613
+ "id": "notFound",
614
+ "field": "notFound",
615
+ "optional": true
616
+ },
617
+ {
618
+ "id": "providerRejected",
619
+ "field": "providerRejected",
620
+ "optional": true
621
+ },
622
+ {
623
+ "id": "invalidResponse",
624
+ "field": "invalidResponse",
625
+ "optional": true
626
+ },
627
+ {
628
+ "id": "defect",
629
+ "field": "defect",
630
+ "optional": true
631
+ }
632
+ ],
633
+ "inputSchema": {
634
+ "additionalProperties": false,
635
+ "description": "UpdateEcommerceCustomerInput replaces a store customer's identity fields.",
636
+ "properties": {
637
+ "customerId": {
638
+ "description": "CustomerID is the numeric provider customer ID.",
639
+ "type": "string"
640
+ },
641
+ "email": {
642
+ "description": "Email replaces the customer email when supplied.",
643
+ "type": "string"
644
+ },
645
+ "externalId": {
646
+ "description": "ExternalID replaces the store customer ID when supplied.",
647
+ "type": "string"
648
+ }
649
+ },
650
+ "required": [
651
+ "customerId"
652
+ ],
653
+ "type": "object"
654
+ }
655
+ },
656
+ {
657
+ "name": "newDeleteEcommerceCustomerStep",
658
+ "kind": "mutation",
659
+ "operationId": "deleteEcommerceCustomer",
660
+ "inputType": "DeleteEcommerceCustomerInput",
661
+ "description": "Delete one Deep Data ecommerce customer.",
662
+ "fields": {
663
+ "stepType": "stepType",
664
+ "annotations": "annotations",
665
+ "connectionName": "connectionName",
666
+ "resultAttribute": "resultAttribute"
667
+ },
668
+ "branches": [
669
+ {
670
+ "id": "deleted",
671
+ "field": "deleted",
672
+ "optional": false
673
+ },
674
+ {
675
+ "id": "providerRejected",
676
+ "field": "providerRejected",
677
+ "optional": true
678
+ },
679
+ {
680
+ "id": "invalidResponse",
681
+ "field": "invalidResponse",
682
+ "optional": true
683
+ },
684
+ {
685
+ "id": "defect",
686
+ "field": "defect",
687
+ "optional": true
688
+ }
689
+ ],
690
+ "inputSchema": {
691
+ "additionalProperties": false,
692
+ "description": "DeleteEcommerceCustomerInput selects one store customer for removal.",
693
+ "properties": {
694
+ "customerId": {
695
+ "description": "CustomerID is the numeric provider customer ID.",
696
+ "type": "string"
697
+ }
698
+ },
699
+ "required": [
700
+ "customerId"
701
+ ],
702
+ "type": "object"
703
+ }
704
+ },
705
+ {
706
+ "name": "newListConnectionsStep",
707
+ "kind": "query",
708
+ "operationId": "listConnections",
709
+ "inputType": "ListConnectionsInput",
710
+ "description": "List Deep Data ecommerce connections.",
711
+ "fields": {
712
+ "stepType": "stepType",
713
+ "annotations": "annotations",
714
+ "connectionName": "connectionName",
715
+ "resultAttribute": "resultAttribute"
716
+ },
717
+ "branches": [
718
+ {
719
+ "id": "listed",
720
+ "field": "listed",
721
+ "optional": false
722
+ },
723
+ {
724
+ "id": "providerRejected",
725
+ "field": "providerRejected",
726
+ "optional": true
727
+ },
728
+ {
729
+ "id": "invalidResponse",
730
+ "field": "invalidResponse",
731
+ "optional": true
732
+ },
733
+ {
734
+ "id": "defect",
735
+ "field": "defect",
736
+ "optional": true
737
+ }
738
+ ],
739
+ "inputSchema": {
740
+ "additionalProperties": false,
741
+ "description": "ListConnectionsInput filters Deep Data ecommerce integrations.",
742
+ "properties": {
743
+ "externalId": {
744
+ "description": "ExternalID optionally filters by the store identifier in that service.",
745
+ "type": "string"
746
+ },
747
+ "limit": {
748
+ "description": "Limit caps the returned connections; zero uses the provider default, at most 100.",
749
+ "type": "integer"
750
+ },
751
+ "offset": {
752
+ "description": "Offset skips this many connections.",
753
+ "type": "integer"
754
+ },
755
+ "service": {
756
+ "description": "Service optionally filters by the integration's service name.",
757
+ "type": "string"
758
+ }
759
+ },
760
+ "type": "object"
761
+ }
762
+ },
763
+ {
764
+ "name": "newGetConnectionStep",
765
+ "kind": "query",
766
+ "operationId": "getConnection",
767
+ "inputType": "GetConnectionInput",
768
+ "description": "Read one ecommerce connection.",
769
+ "fields": {
770
+ "stepType": "stepType",
771
+ "annotations": "annotations",
772
+ "connectionName": "connectionName",
773
+ "resultAttribute": "resultAttribute"
774
+ },
775
+ "branches": [
776
+ {
777
+ "id": "found",
778
+ "field": "found",
779
+ "optional": false
780
+ },
781
+ {
782
+ "id": "notFound",
783
+ "field": "notFound",
784
+ "optional": true
785
+ },
786
+ {
787
+ "id": "providerRejected",
788
+ "field": "providerRejected",
789
+ "optional": true
790
+ },
791
+ {
792
+ "id": "invalidResponse",
793
+ "field": "invalidResponse",
794
+ "optional": true
795
+ },
796
+ {
797
+ "id": "defect",
798
+ "field": "defect",
799
+ "optional": true
800
+ }
801
+ ],
802
+ "inputSchema": {
803
+ "additionalProperties": false,
804
+ "description": "GetConnectionInput selects one ecommerce connection by numeric ID.",
805
+ "properties": {
806
+ "connectionId": {
807
+ "description": "ConnectionID is the numeric provider connection ID.",
808
+ "type": "string"
809
+ }
810
+ },
811
+ "required": [
812
+ "connectionId"
813
+ ],
814
+ "type": "object"
815
+ }
816
+ },
817
+ {
818
+ "name": "newCreateConnectionStep",
819
+ "kind": "mutation",
820
+ "operationId": "createConnection",
821
+ "inputType": "CreateConnectionInput",
822
+ "description": "Create one ecommerce connection with bounded sends.",
823
+ "fields": {
824
+ "stepType": "stepType",
825
+ "annotations": "annotations",
826
+ "connectionName": "connectionName",
827
+ "resultAttribute": "resultAttribute"
828
+ },
829
+ "branches": [
830
+ {
831
+ "id": "created",
832
+ "field": "created",
833
+ "optional": false
834
+ },
835
+ {
836
+ "id": "uncertain",
837
+ "field": "uncertain",
838
+ "optional": true
839
+ },
840
+ {
841
+ "id": "providerRejected",
842
+ "field": "providerRejected",
843
+ "optional": true
844
+ },
845
+ {
846
+ "id": "defect",
847
+ "field": "defect",
848
+ "optional": true
849
+ }
850
+ ],
851
+ "inputSchema": {
852
+ "additionalProperties": false,
853
+ "description": "CreateConnectionInput creates one Deep Data ecommerce integration.",
854
+ "properties": {
855
+ "externalId": {
856
+ "description": "ExternalID is the store identifier within that service.",
857
+ "type": "string"
858
+ },
859
+ "listId": {
860
+ "description": "ListID is the optional numeric contact list ID.",
861
+ "type": "string"
862
+ },
863
+ "name": {
864
+ "description": "Name is the connection's display name.",
865
+ "type": "string"
866
+ },
867
+ "service": {
868
+ "description": "Service is the external commerce service name.",
869
+ "type": "string"
870
+ }
871
+ },
872
+ "required": [
873
+ "externalId",
874
+ "name",
875
+ "service"
876
+ ],
877
+ "type": "object"
878
+ }
879
+ },
880
+ {
881
+ "name": "newUpdateConnectionStep",
882
+ "kind": "mutation",
883
+ "operationId": "updateConnection",
884
+ "inputType": "UpdateConnectionInput",
885
+ "description": "Replace selected ecommerce connection fields.",
886
+ "fields": {
887
+ "stepType": "stepType",
888
+ "annotations": "annotations",
889
+ "connectionName": "connectionName",
890
+ "resultAttribute": "resultAttribute"
891
+ },
892
+ "branches": [
893
+ {
894
+ "id": "updated",
895
+ "field": "updated",
896
+ "optional": false
897
+ },
898
+ {
899
+ "id": "notFound",
900
+ "field": "notFound",
901
+ "optional": true
902
+ },
903
+ {
904
+ "id": "providerRejected",
905
+ "field": "providerRejected",
906
+ "optional": true
907
+ },
908
+ {
909
+ "id": "invalidResponse",
910
+ "field": "invalidResponse",
911
+ "optional": true
912
+ },
913
+ {
914
+ "id": "defect",
915
+ "field": "defect",
916
+ "optional": true
917
+ }
918
+ ],
919
+ "inputSchema": {
920
+ "additionalProperties": false,
921
+ "description": "UpdateConnectionInput replaces selected ecommerce connection fields.",
922
+ "properties": {
923
+ "connectionId": {
924
+ "description": "ConnectionID is the numeric provider connection ID.",
925
+ "type": "string"
926
+ },
927
+ "externalId": {
928
+ "description": "ExternalID replaces the store identifier when supplied.",
929
+ "type": "string"
930
+ },
931
+ "listId": {
932
+ "description": "ListID replaces the assigned contact list when supplied.",
933
+ "type": "string"
934
+ },
935
+ "name": {
936
+ "description": "Name replaces the display name when supplied.",
937
+ "type": "string"
938
+ },
939
+ "service": {
940
+ "description": "Service replaces the integration service name when supplied.",
941
+ "type": "string"
942
+ }
943
+ },
944
+ "required": [
945
+ "connectionId"
946
+ ],
947
+ "type": "object"
948
+ }
949
+ },
950
+ {
951
+ "name": "newDeleteConnectionStep",
952
+ "kind": "mutation",
953
+ "operationId": "deleteConnection",
954
+ "inputType": "DeleteConnectionInput",
955
+ "description": "Delete one ecommerce connection.",
956
+ "fields": {
957
+ "stepType": "stepType",
958
+ "annotations": "annotations",
959
+ "connectionName": "connectionName",
960
+ "resultAttribute": "resultAttribute"
961
+ },
962
+ "branches": [
963
+ {
964
+ "id": "deleted",
965
+ "field": "deleted",
966
+ "optional": false
967
+ },
968
+ {
969
+ "id": "providerRejected",
970
+ "field": "providerRejected",
971
+ "optional": true
972
+ },
973
+ {
974
+ "id": "invalidResponse",
975
+ "field": "invalidResponse",
976
+ "optional": true
977
+ },
978
+ {
979
+ "id": "defect",
980
+ "field": "defect",
981
+ "optional": true
982
+ }
983
+ ],
984
+ "inputSchema": {
985
+ "additionalProperties": false,
986
+ "description": "DeleteConnectionInput selects one ecommerce connection for removal.",
987
+ "properties": {
988
+ "connectionId": {
989
+ "description": "ConnectionID is the numeric provider connection ID.",
990
+ "type": "string"
991
+ }
992
+ },
993
+ "required": [
994
+ "connectionId"
995
+ ],
996
+ "type": "object"
997
+ }
998
+ },
999
+ {
1000
+ "name": "newListAccountContactsStep",
1001
+ "kind": "query",
1002
+ "operationId": "listAccountContacts",
1003
+ "inputType": "ListAccountContactsInput",
1004
+ "description": "List one page of account-contact links.",
1005
+ "fields": {
1006
+ "stepType": "stepType",
1007
+ "annotations": "annotations",
1008
+ "connectionName": "connectionName",
1009
+ "resultAttribute": "resultAttribute"
1010
+ },
1011
+ "branches": [
1012
+ {
1013
+ "id": "listed",
1014
+ "field": "listed",
1015
+ "optional": false
1016
+ },
1017
+ {
1018
+ "id": "providerRejected",
1019
+ "field": "providerRejected",
1020
+ "optional": true
1021
+ },
1022
+ {
1023
+ "id": "invalidResponse",
1024
+ "field": "invalidResponse",
1025
+ "optional": true
1026
+ },
1027
+ {
1028
+ "id": "defect",
1029
+ "field": "defect",
1030
+ "optional": true
1031
+ }
1032
+ ],
1033
+ "inputSchema": {
1034
+ "additionalProperties": false,
1035
+ "description": "ListAccountContactsInput selects one page of account-contact links.",
1036
+ "properties": {
1037
+ "accountId": {
1038
+ "description": "AccountID optionally filters by numeric CRM account ID.",
1039
+ "type": "string"
1040
+ },
1041
+ "contactId": {
1042
+ "description": "ContactID optionally filters by numeric contact ID.",
1043
+ "type": "string"
1044
+ },
1045
+ "limit": {
1046
+ "description": "Limit is the maximum link count; zero uses 20 and 100 is the maximum.",
1047
+ "type": "integer"
1048
+ },
1049
+ "offset": {
1050
+ "description": "Offset is the zero-based number of links to skip.",
1051
+ "type": "integer"
1052
+ }
1053
+ },
1054
+ "type": "object"
1055
+ }
1056
+ },
1057
+ {
1058
+ "name": "newGetAccountContactStep",
1059
+ "kind": "query",
1060
+ "operationId": "getAccountContact",
1061
+ "inputType": "GetAccountContactInput",
1062
+ "description": "Read one account-contact link.",
1063
+ "fields": {
1064
+ "stepType": "stepType",
1065
+ "annotations": "annotations",
1066
+ "connectionName": "connectionName",
1067
+ "resultAttribute": "resultAttribute"
1068
+ },
1069
+ "branches": [
1070
+ {
1071
+ "id": "found",
1072
+ "field": "found",
1073
+ "optional": false
1074
+ },
1075
+ {
1076
+ "id": "notFound",
1077
+ "field": "notFound",
1078
+ "optional": true
1079
+ },
1080
+ {
1081
+ "id": "providerRejected",
1082
+ "field": "providerRejected",
1083
+ "optional": true
1084
+ },
1085
+ {
1086
+ "id": "invalidResponse",
1087
+ "field": "invalidResponse",
1088
+ "optional": true
1089
+ },
1090
+ {
1091
+ "id": "defect",
1092
+ "field": "defect",
1093
+ "optional": true
1094
+ }
1095
+ ],
1096
+ "inputSchema": {
1097
+ "additionalProperties": false,
1098
+ "description": "GetAccountContactInput selects one link by numeric provider ID.",
1099
+ "properties": {
1100
+ "associationId": {
1101
+ "description": "AssociationID is the numeric account-contact link ID.",
1102
+ "type": "string"
1103
+ }
1104
+ },
1105
+ "required": [
1106
+ "associationId"
1107
+ ],
1108
+ "type": "object"
1109
+ }
1110
+ },
1111
+ {
1112
+ "name": "newCreateAccountContactStep",
1113
+ "kind": "mutation",
1114
+ "operationId": "createAccountContact",
1115
+ "inputType": "CreateAccountContactInput",
1116
+ "description": "Link one contact to one CRM account with bounded sends.",
1117
+ "fields": {
1118
+ "stepType": "stepType",
1119
+ "annotations": "annotations",
1120
+ "connectionName": "connectionName",
1121
+ "resultAttribute": "resultAttribute"
1122
+ },
1123
+ "branches": [
1124
+ {
1125
+ "id": "created",
1126
+ "field": "created",
1127
+ "optional": false
1128
+ },
1129
+ {
1130
+ "id": "uncertain",
1131
+ "field": "uncertain",
1132
+ "optional": true
1133
+ },
1134
+ {
1135
+ "id": "providerRejected",
1136
+ "field": "providerRejected",
1137
+ "optional": true
1138
+ },
1139
+ {
1140
+ "id": "defect",
1141
+ "field": "defect",
1142
+ "optional": true
1143
+ }
1144
+ ],
1145
+ "inputSchema": {
1146
+ "additionalProperties": false,
1147
+ "description": "CreateAccountContactInput links one contact to one CRM account.",
1148
+ "properties": {
1149
+ "accountId": {
1150
+ "description": "AccountID is the numeric target account ID.",
1151
+ "type": "string"
1152
+ },
1153
+ "contactId": {
1154
+ "description": "ContactID is the numeric contact ID; ActiveCampaign allows one account per contact.",
1155
+ "type": "string"
1156
+ },
1157
+ "jobTitle": {
1158
+ "description": "JobTitle is the contact's optional role at that account.",
1159
+ "type": "string"
1160
+ }
1161
+ },
1162
+ "required": [
1163
+ "accountId",
1164
+ "contactId"
1165
+ ],
1166
+ "type": "object"
1167
+ }
1168
+ },
1169
+ {
1170
+ "name": "newUpdateAccountContactStep",
1171
+ "kind": "mutation",
1172
+ "operationId": "updateAccountContact",
1173
+ "inputType": "UpdateAccountContactInput",
1174
+ "description": "Replace a link's job title or move it to another account.",
1175
+ "fields": {
1176
+ "stepType": "stepType",
1177
+ "annotations": "annotations",
1178
+ "connectionName": "connectionName",
1179
+ "resultAttribute": "resultAttribute"
1180
+ },
1181
+ "branches": [
1182
+ {
1183
+ "id": "updated",
1184
+ "field": "updated",
1185
+ "optional": false
1186
+ },
1187
+ {
1188
+ "id": "notFound",
1189
+ "field": "notFound",
1190
+ "optional": true
1191
+ },
1192
+ {
1193
+ "id": "providerRejected",
1194
+ "field": "providerRejected",
1195
+ "optional": true
1196
+ },
1197
+ {
1198
+ "id": "invalidResponse",
1199
+ "field": "invalidResponse",
1200
+ "optional": true
1201
+ },
1202
+ {
1203
+ "id": "defect",
1204
+ "field": "defect",
1205
+ "optional": true
1206
+ }
1207
+ ],
1208
+ "inputSchema": {
1209
+ "additionalProperties": false,
1210
+ "description": "UpdateAccountContactInput replaces a link's job title or account assignment.",
1211
+ "properties": {
1212
+ "accountId": {
1213
+ "description": "AccountID moves the contact to this numeric account when supplied.",
1214
+ "type": "string"
1215
+ },
1216
+ "associationId": {
1217
+ "description": "AssociationID is the numeric link ID.",
1218
+ "type": "string"
1219
+ },
1220
+ "jobTitle": {
1221
+ "description": "JobTitle replaces the contact's role; blank clears it.",
1222
+ "type": "string"
1223
+ }
1224
+ },
1225
+ "required": [
1226
+ "associationId"
1227
+ ],
1228
+ "type": "object"
1229
+ }
1230
+ },
1231
+ {
1232
+ "name": "newDeleteAccountContactStep",
1233
+ "kind": "mutation",
1234
+ "operationId": "deleteAccountContact",
1235
+ "inputType": "DeleteAccountContactInput",
1236
+ "description": "Remove a contact-account link while retaining both records.",
1237
+ "fields": {
1238
+ "stepType": "stepType",
1239
+ "annotations": "annotations",
1240
+ "connectionName": "connectionName",
1241
+ "resultAttribute": "resultAttribute"
1242
+ },
1243
+ "branches": [
1244
+ {
1245
+ "id": "deleted",
1246
+ "field": "deleted",
1247
+ "optional": false
1248
+ },
1249
+ {
1250
+ "id": "providerRejected",
1251
+ "field": "providerRejected",
1252
+ "optional": true
1253
+ },
1254
+ {
1255
+ "id": "invalidResponse",
1256
+ "field": "invalidResponse",
1257
+ "optional": true
1258
+ },
1259
+ {
1260
+ "id": "defect",
1261
+ "field": "defect",
1262
+ "optional": true
1263
+ }
1264
+ ],
1265
+ "inputSchema": {
1266
+ "additionalProperties": false,
1267
+ "description": "DeleteAccountContactInput selects one link for removal.",
1268
+ "properties": {
1269
+ "associationId": {
1270
+ "description": "AssociationID is the numeric link ID.",
1271
+ "type": "string"
1272
+ }
1273
+ },
1274
+ "required": [
1275
+ "associationId"
1276
+ ],
1277
+ "type": "object"
1278
+ }
1279
+ },
1280
+ {
1281
+ "name": "newListAccountsStep",
1282
+ "kind": "query",
1283
+ "operationId": "listAccounts",
1284
+ "inputType": "ListAccountsInput",
1285
+ "description": "List one page of CRM accounts.",
1286
+ "fields": {
1287
+ "stepType": "stepType",
1288
+ "annotations": "annotations",
1289
+ "connectionName": "connectionName",
1290
+ "resultAttribute": "resultAttribute"
1291
+ },
1292
+ "branches": [
1293
+ {
1294
+ "id": "listed",
1295
+ "field": "listed",
1296
+ "optional": false
1297
+ },
1298
+ {
1299
+ "id": "providerRejected",
1300
+ "field": "providerRejected",
1301
+ "optional": true
1302
+ },
1303
+ {
1304
+ "id": "invalidResponse",
1305
+ "field": "invalidResponse",
1306
+ "optional": true
1307
+ },
1308
+ {
1309
+ "id": "defect",
1310
+ "field": "defect",
1311
+ "optional": true
1312
+ }
1313
+ ],
1314
+ "inputSchema": {
1315
+ "additionalProperties": false,
1316
+ "description": "ListAccountsInput selects one page of CRM accounts.",
1317
+ "properties": {
1318
+ "limit": {
1319
+ "description": "Limit is the maximum account count; zero uses 20 and 100 is the maximum.",
1320
+ "type": "integer"
1321
+ },
1322
+ "offset": {
1323
+ "description": "Offset is the zero-based number of accounts to skip.",
1324
+ "type": "integer"
1325
+ }
1326
+ },
1327
+ "type": "object"
1328
+ }
1329
+ },
1330
+ {
1331
+ "name": "newGetAccountStep",
1332
+ "kind": "query",
1333
+ "operationId": "getAccount",
1334
+ "inputType": "GetAccountInput",
1335
+ "description": "Read one CRM account.",
1336
+ "fields": {
1337
+ "stepType": "stepType",
1338
+ "annotations": "annotations",
1339
+ "connectionName": "connectionName",
1340
+ "resultAttribute": "resultAttribute"
1341
+ },
1342
+ "branches": [
1343
+ {
1344
+ "id": "found",
1345
+ "field": "found",
1346
+ "optional": false
1347
+ },
1348
+ {
1349
+ "id": "notFound",
1350
+ "field": "notFound",
1351
+ "optional": true
1352
+ },
1353
+ {
1354
+ "id": "providerRejected",
1355
+ "field": "providerRejected",
1356
+ "optional": true
1357
+ },
1358
+ {
1359
+ "id": "invalidResponse",
1360
+ "field": "invalidResponse",
1361
+ "optional": true
1362
+ },
1363
+ {
1364
+ "id": "defect",
1365
+ "field": "defect",
1366
+ "optional": true
1367
+ }
1368
+ ],
1369
+ "inputSchema": {
1370
+ "additionalProperties": false,
1371
+ "description": "GetAccountInput selects one account by numeric provider ID.",
1372
+ "properties": {
1373
+ "accountId": {
1374
+ "description": "AccountID is the numeric CRM account ID.",
1375
+ "type": "string"
1376
+ }
1377
+ },
1378
+ "required": [
1379
+ "accountId"
1380
+ ],
1381
+ "type": "object"
1382
+ }
1383
+ },
1384
+ {
1385
+ "name": "newCreateAccountStep",
1386
+ "kind": "mutation",
1387
+ "operationId": "createAccount",
1388
+ "inputType": "CreateAccountInput",
1389
+ "description": "Create a CRM account with bounded sends and provider-ID read-back when available.",
1390
+ "fields": {
1391
+ "stepType": "stepType",
1392
+ "annotations": "annotations",
1393
+ "connectionName": "connectionName",
1394
+ "resultAttribute": "resultAttribute"
1395
+ },
1396
+ "branches": [
1397
+ {
1398
+ "id": "created",
1399
+ "field": "created",
1400
+ "optional": false
1401
+ },
1402
+ {
1403
+ "id": "uncertain",
1404
+ "field": "uncertain",
1405
+ "optional": true
1406
+ },
1407
+ {
1408
+ "id": "providerRejected",
1409
+ "field": "providerRejected",
1410
+ "optional": true
1411
+ },
1412
+ {
1413
+ "id": "defect",
1414
+ "field": "defect",
1415
+ "optional": true
1416
+ }
1417
+ ],
1418
+ "inputSchema": {
1419
+ "additionalProperties": false,
1420
+ "description": "CreateAccountInput creates a CRM account by its name and optional website.",
1421
+ "properties": {
1422
+ "accountUrl": {
1423
+ "description": "AccountURL is the optional public company website.",
1424
+ "type": "string"
1425
+ },
1426
+ "name": {
1427
+ "description": "Name is the account's 1–250-character display name.",
1428
+ "type": "string"
1429
+ }
1430
+ },
1431
+ "required": [
1432
+ "name"
1433
+ ],
1434
+ "type": "object"
1435
+ }
1436
+ },
1437
+ {
1438
+ "name": "newUpdateAccountStep",
1439
+ "kind": "mutation",
1440
+ "operationId": "updateAccount",
1441
+ "inputType": "UpdateAccountInput",
1442
+ "description": "Replace a CRM account's selected fields.",
1443
+ "fields": {
1444
+ "stepType": "stepType",
1445
+ "annotations": "annotations",
1446
+ "connectionName": "connectionName",
1447
+ "resultAttribute": "resultAttribute"
1448
+ },
1449
+ "branches": [
1450
+ {
1451
+ "id": "updated",
1452
+ "field": "updated",
1453
+ "optional": false
1454
+ },
1455
+ {
1456
+ "id": "notFound",
1457
+ "field": "notFound",
1458
+ "optional": true
1459
+ },
1460
+ {
1461
+ "id": "providerRejected",
1462
+ "field": "providerRejected",
1463
+ "optional": true
1464
+ },
1465
+ {
1466
+ "id": "invalidResponse",
1467
+ "field": "invalidResponse",
1468
+ "optional": true
1469
+ },
1470
+ {
1471
+ "id": "defect",
1472
+ "field": "defect",
1473
+ "optional": true
1474
+ }
1475
+ ],
1476
+ "inputSchema": {
1477
+ "additionalProperties": false,
1478
+ "description": "UpdateAccountInput replaces selected account fields by numeric ID.",
1479
+ "properties": {
1480
+ "accountId": {
1481
+ "description": "AccountID is the numeric CRM account ID.",
1482
+ "type": "string"
1483
+ },
1484
+ "accountUrl": {
1485
+ "description": "AccountURL replaces the website when supplied; blank clears it.",
1486
+ "type": "string"
1487
+ },
1488
+ "name": {
1489
+ "description": "Name replaces the name when supplied.",
1490
+ "type": "string"
1491
+ }
1492
+ },
1493
+ "required": [
1494
+ "accountId"
1495
+ ],
1496
+ "type": "object"
1497
+ }
1498
+ },
1499
+ {
1500
+ "name": "newDeleteAccountStep",
1501
+ "kind": "mutation",
1502
+ "operationId": "deleteAccount",
1503
+ "inputType": "DeleteAccountInput",
1504
+ "description": "Delete a CRM account by ID.",
1505
+ "fields": {
1506
+ "stepType": "stepType",
1507
+ "annotations": "annotations",
1508
+ "connectionName": "connectionName",
1509
+ "resultAttribute": "resultAttribute"
1510
+ },
1511
+ "branches": [
1512
+ {
1513
+ "id": "deleted",
1514
+ "field": "deleted",
1515
+ "optional": false
1516
+ },
1517
+ {
1518
+ "id": "providerRejected",
1519
+ "field": "providerRejected",
1520
+ "optional": true
1521
+ },
1522
+ {
1523
+ "id": "invalidResponse",
1524
+ "field": "invalidResponse",
1525
+ "optional": true
1526
+ },
1527
+ {
1528
+ "id": "defect",
1529
+ "field": "defect",
1530
+ "optional": true
1531
+ }
1532
+ ],
1533
+ "inputSchema": {
1534
+ "additionalProperties": false,
1535
+ "description": "DeleteAccountInput selects one CRM account for deletion.",
1536
+ "properties": {
1537
+ "accountId": {
1538
+ "description": "AccountID is the numeric CRM account ID.",
1539
+ "type": "string"
1540
+ }
1541
+ },
1542
+ "required": [
1543
+ "accountId"
1544
+ ],
1545
+ "type": "object"
1546
+ }
1547
+ },
1548
+ {
1549
+ "name": "newListContactListMembershipsStep",
1550
+ "kind": "query",
1551
+ "operationId": "listContactListMemberships",
1552
+ "inputType": "ListContactListMembershipsInput",
1553
+ "description": "List one page of a contact's list memberships.",
1554
+ "fields": {
1555
+ "stepType": "stepType",
1556
+ "annotations": "annotations",
1557
+ "connectionName": "connectionName",
1558
+ "resultAttribute": "resultAttribute"
1559
+ },
1560
+ "branches": [
1561
+ {
1562
+ "id": "listed",
1563
+ "field": "listed",
1564
+ "optional": false
1565
+ },
1566
+ {
1567
+ "id": "providerRejected",
1568
+ "field": "providerRejected",
1569
+ "optional": true
1570
+ },
1571
+ {
1572
+ "id": "invalidResponse",
1573
+ "field": "invalidResponse",
1574
+ "optional": true
1575
+ },
1576
+ {
1577
+ "id": "defect",
1578
+ "field": "defect",
1579
+ "optional": true
1580
+ }
1581
+ ],
1582
+ "inputSchema": {
1583
+ "additionalProperties": false,
1584
+ "description": "ListContactListMembershipsInput selects one page of a contact's list memberships.",
1585
+ "properties": {
1586
+ "contactId": {
1587
+ "description": "ContactID is the numeric provider contact ID.",
1588
+ "type": "string"
1589
+ },
1590
+ "limit": {
1591
+ "description": "Limit is the maximum membership count; zero uses 20 and 100 is the maximum.",
1592
+ "type": "integer"
1593
+ },
1594
+ "offset": {
1595
+ "description": "Offset is the zero-based number of memberships to skip.",
1596
+ "type": "integer"
1597
+ }
1598
+ },
1599
+ "required": [
1600
+ "contactId"
1601
+ ],
1602
+ "type": "object"
1603
+ }
1604
+ },
1605
+ {
1606
+ "name": "newSubscribeContactToListStep",
1607
+ "kind": "mutation",
1608
+ "operationId": "subscribeContactToList",
1609
+ "inputType": "SetContactListMembershipInput",
1610
+ "description": "Subscribe a contact to an email list with bounded sends.",
1611
+ "fields": {
1612
+ "stepType": "stepType",
1613
+ "annotations": "annotations",
1614
+ "connectionName": "connectionName",
1615
+ "resultAttribute": "resultAttribute"
1616
+ },
1617
+ "branches": [
1618
+ {
1619
+ "id": "subscribed",
1620
+ "field": "subscribed",
1621
+ "optional": false
1622
+ },
1623
+ {
1624
+ "id": "uncertain",
1625
+ "field": "uncertain",
1626
+ "optional": true
1627
+ },
1628
+ {
1629
+ "id": "providerRejected",
1630
+ "field": "providerRejected",
1631
+ "optional": true
1632
+ },
1633
+ {
1634
+ "id": "defect",
1635
+ "field": "defect",
1636
+ "optional": true
1637
+ }
1638
+ ],
1639
+ "inputSchema": {
1640
+ "additionalProperties": false,
1641
+ "description": "SetContactListMembershipInput selects a contact and email list.",
1642
+ "properties": {
1643
+ "contactId": {
1644
+ "description": "ContactID is the numeric provider contact ID.",
1645
+ "type": "string"
1646
+ },
1647
+ "listId": {
1648
+ "description": "ListID is the numeric provider email list ID.",
1649
+ "type": "string"
1650
+ }
1651
+ },
1652
+ "required": [
1653
+ "contactId",
1654
+ "listId"
1655
+ ],
1656
+ "type": "object"
1657
+ }
1658
+ },
1659
+ {
1660
+ "name": "newUnsubscribeContactFromListStep",
1661
+ "kind": "mutation",
1662
+ "operationId": "unsubscribeContactFromList",
1663
+ "inputType": "SetContactListMembershipInput",
1664
+ "description": "Unsubscribe a contact from an email list with bounded sends.",
1665
+ "fields": {
1666
+ "stepType": "stepType",
1667
+ "annotations": "annotations",
1668
+ "connectionName": "connectionName",
1669
+ "resultAttribute": "resultAttribute"
1670
+ },
1671
+ "branches": [
1672
+ {
1673
+ "id": "unsubscribed",
1674
+ "field": "unsubscribed",
1675
+ "optional": false
1676
+ },
1677
+ {
1678
+ "id": "uncertain",
1679
+ "field": "uncertain",
1680
+ "optional": true
1681
+ },
1682
+ {
1683
+ "id": "providerRejected",
1684
+ "field": "providerRejected",
1685
+ "optional": true
1686
+ },
1687
+ {
1688
+ "id": "defect",
1689
+ "field": "defect",
1690
+ "optional": true
1691
+ }
1692
+ ],
1693
+ "inputSchema": {
1694
+ "additionalProperties": false,
1695
+ "description": "SetContactListMembershipInput selects a contact and email list.",
1696
+ "properties": {
1697
+ "contactId": {
1698
+ "description": "ContactID is the numeric provider contact ID.",
1699
+ "type": "string"
1700
+ },
1701
+ "listId": {
1702
+ "description": "ListID is the numeric provider email list ID.",
1703
+ "type": "string"
1704
+ }
1705
+ },
1706
+ "required": [
1707
+ "contactId",
1708
+ "listId"
1709
+ ],
1710
+ "type": "object"
1711
+ }
1712
+ },
1713
+ {
1714
+ "name": "newListContactTagsStep",
1715
+ "kind": "query",
1716
+ "operationId": "listContactTags",
1717
+ "inputType": "ListContactTagsInput",
1718
+ "description": "List the tag associations of one contact.",
1719
+ "fields": {
1720
+ "stepType": "stepType",
1721
+ "annotations": "annotations",
1722
+ "connectionName": "connectionName",
1723
+ "resultAttribute": "resultAttribute"
1724
+ },
1725
+ "branches": [
1726
+ {
1727
+ "id": "listed",
1728
+ "field": "listed",
1729
+ "optional": false
1730
+ },
1731
+ {
1732
+ "id": "notFound",
1733
+ "field": "notFound",
1734
+ "optional": true
1735
+ },
1736
+ {
1737
+ "id": "providerRejected",
1738
+ "field": "providerRejected",
1739
+ "optional": true
1740
+ },
1741
+ {
1742
+ "id": "invalidResponse",
1743
+ "field": "invalidResponse",
1744
+ "optional": true
1745
+ },
1746
+ {
1747
+ "id": "defect",
1748
+ "field": "defect",
1749
+ "optional": true
1750
+ }
1751
+ ],
1752
+ "inputSchema": {
1753
+ "additionalProperties": false,
1754
+ "description": "ListContactTagsInput selects one contact's tag associations.",
1755
+ "properties": {
1756
+ "contactId": {
1757
+ "description": "ContactID is the numeric provider contact ID.",
1758
+ "type": "string"
1759
+ }
1760
+ },
1761
+ "required": [
1762
+ "contactId"
1763
+ ],
1764
+ "type": "object"
1765
+ }
1766
+ },
1767
+ {
1768
+ "name": "newApplyTagToContactStep",
1769
+ "kind": "mutation",
1770
+ "operationId": "applyTagToContact",
1771
+ "inputType": "ApplyTagToContactInput",
1772
+ "description": "Apply one existing contact tag by ID without creating definitions.",
1773
+ "fields": {
1774
+ "stepType": "stepType",
1775
+ "annotations": "annotations",
1776
+ "connectionName": "connectionName",
1777
+ "resultAttribute": "resultAttribute"
1778
+ },
1779
+ "branches": [
1780
+ {
1781
+ "id": "applied",
1782
+ "field": "applied",
1783
+ "optional": false
1784
+ },
1785
+ {
1786
+ "id": "notFound",
1787
+ "field": "notFound",
1788
+ "optional": true
1789
+ },
1790
+ {
1791
+ "id": "providerRejected",
1792
+ "field": "providerRejected",
1793
+ "optional": true
1794
+ },
1795
+ {
1796
+ "id": "invalidResponse",
1797
+ "field": "invalidResponse",
1798
+ "optional": true
1799
+ },
1800
+ {
1801
+ "id": "defect",
1802
+ "field": "defect",
1803
+ "optional": true
1804
+ }
1805
+ ],
1806
+ "inputSchema": {
1807
+ "additionalProperties": false,
1808
+ "description": "ApplyTagToContactInput applies an existing tag to one contact.",
1809
+ "properties": {
1810
+ "contactId": {
1811
+ "description": "ContactID is the numeric provider contact ID.",
1812
+ "type": "string"
1813
+ },
1814
+ "tagId": {
1815
+ "description": "TagID is the numeric ID of an existing tag definition.",
1816
+ "type": "string"
1817
+ }
1818
+ },
1819
+ "required": [
1820
+ "contactId",
1821
+ "tagId"
1822
+ ],
1823
+ "type": "object"
1824
+ }
1825
+ },
1826
+ {
1827
+ "name": "newRemoveTagFromContactStep",
1828
+ "kind": "mutation",
1829
+ "operationId": "removeTagFromContact",
1830
+ "inputType": "RemoveTagFromContactInput",
1831
+ "description": "Remove one tag from one contact by tag ID.",
1832
+ "fields": {
1833
+ "stepType": "stepType",
1834
+ "annotations": "annotations",
1835
+ "connectionName": "connectionName",
1836
+ "resultAttribute": "resultAttribute"
1837
+ },
1838
+ "branches": [
1839
+ {
1840
+ "id": "removed",
1841
+ "field": "removed",
1842
+ "optional": false
1843
+ },
1844
+ {
1845
+ "id": "providerRejected",
1846
+ "field": "providerRejected",
1847
+ "optional": true
1848
+ },
1849
+ {
1850
+ "id": "invalidResponse",
1851
+ "field": "invalidResponse",
1852
+ "optional": true
1853
+ },
1854
+ {
1855
+ "id": "defect",
1856
+ "field": "defect",
1857
+ "optional": true
1858
+ }
1859
+ ],
1860
+ "inputSchema": {
1861
+ "additionalProperties": false,
1862
+ "description": "RemoveTagFromContactInput removes one tag from one contact.",
1863
+ "properties": {
1864
+ "contactId": {
1865
+ "description": "ContactID is the numeric provider contact ID.",
1866
+ "type": "string"
1867
+ },
1868
+ "tagId": {
1869
+ "description": "TagID is the numeric provider tag ID.",
1870
+ "type": "string"
1871
+ }
1872
+ },
1873
+ "required": [
1874
+ "contactId",
1875
+ "tagId"
1876
+ ],
1877
+ "type": "object"
1878
+ }
1879
+ },
1880
+ {
1881
+ "name": "newListDealNotesStep",
1882
+ "kind": "query",
1883
+ "operationId": "listDealNotes",
1884
+ "inputType": "ListDealNotesInput",
1885
+ "description": "List one page of notes for a deal.",
1886
+ "fields": {
1887
+ "stepType": "stepType",
1888
+ "annotations": "annotations",
1889
+ "connectionName": "connectionName",
1890
+ "resultAttribute": "resultAttribute"
1891
+ },
1892
+ "branches": [
1893
+ {
1894
+ "id": "listed",
1895
+ "field": "listed",
1896
+ "optional": false
1897
+ },
1898
+ {
1899
+ "id": "providerRejected",
1900
+ "field": "providerRejected",
1901
+ "optional": true
1902
+ },
1903
+ {
1904
+ "id": "invalidResponse",
1905
+ "field": "invalidResponse",
1906
+ "optional": true
1907
+ },
1908
+ {
1909
+ "id": "defect",
1910
+ "field": "defect",
1911
+ "optional": true
1912
+ }
1913
+ ],
1914
+ "inputSchema": {
1915
+ "additionalProperties": false,
1916
+ "description": "ListDealNotesInput selects one page of notes attached to a deal.",
1917
+ "properties": {
1918
+ "dealId": {
1919
+ "description": "DealID is the numeric provider deal ID.",
1920
+ "type": "string"
1921
+ },
1922
+ "limit": {
1923
+ "description": "Limit is the maximum note count; zero uses 20 and 100 is the maximum.",
1924
+ "type": "integer"
1925
+ },
1926
+ "offset": {
1927
+ "description": "Offset is the zero-based number of notes to skip.",
1928
+ "type": "integer"
1929
+ }
1930
+ },
1931
+ "required": [
1932
+ "dealId"
1933
+ ],
1934
+ "type": "object"
1935
+ }
1936
+ },
1937
+ {
1938
+ "name": "newGetDealNoteStep",
1939
+ "kind": "query",
1940
+ "operationId": "getDealNote",
1941
+ "inputType": "GetDealNoteInput",
1942
+ "description": "Read one note belonging to a deal.",
1943
+ "fields": {
1944
+ "stepType": "stepType",
1945
+ "annotations": "annotations",
1946
+ "connectionName": "connectionName",
1947
+ "resultAttribute": "resultAttribute"
1948
+ },
1949
+ "branches": [
1950
+ {
1951
+ "id": "found",
1952
+ "field": "found",
1953
+ "optional": false
1954
+ },
1955
+ {
1956
+ "id": "notFound",
1957
+ "field": "notFound",
1958
+ "optional": true
1959
+ },
1960
+ {
1961
+ "id": "providerRejected",
1962
+ "field": "providerRejected",
1963
+ "optional": true
1964
+ },
1965
+ {
1966
+ "id": "invalidResponse",
1967
+ "field": "invalidResponse",
1968
+ "optional": true
1969
+ },
1970
+ {
1971
+ "id": "defect",
1972
+ "field": "defect",
1973
+ "optional": true
1974
+ }
1975
+ ],
1976
+ "inputSchema": {
1977
+ "additionalProperties": false,
1978
+ "description": "GetDealNoteInput selects one deal note by its numeric note ID.",
1979
+ "properties": {
1980
+ "noteId": {
1981
+ "description": "NoteID is the provider note ID.",
1982
+ "type": "string"
1983
+ }
1984
+ },
1985
+ "required": [
1986
+ "noteId"
1987
+ ],
1988
+ "type": "object"
1989
+ }
1990
+ },
1991
+ {
1992
+ "name": "newCreateDealNoteStep",
1993
+ "kind": "mutation",
1994
+ "operationId": "createDealNote",
1995
+ "inputType": "CreateDealNoteInput",
1996
+ "description": "Create a deal note with bounded sends and provider-ID read-back when available.",
1997
+ "fields": {
1998
+ "stepType": "stepType",
1999
+ "annotations": "annotations",
2000
+ "connectionName": "connectionName",
2001
+ "resultAttribute": "resultAttribute"
2002
+ },
2003
+ "branches": [
2004
+ {
2005
+ "id": "created",
2006
+ "field": "created",
2007
+ "optional": false
2008
+ },
2009
+ {
2010
+ "id": "uncertain",
2011
+ "field": "uncertain",
2012
+ "optional": true
2013
+ },
2014
+ {
2015
+ "id": "providerRejected",
2016
+ "field": "providerRejected",
2017
+ "optional": true
2018
+ },
2019
+ {
2020
+ "id": "invalidResponse",
2021
+ "field": "invalidResponse",
2022
+ "optional": true
2023
+ },
2024
+ {
2025
+ "id": "defect",
2026
+ "field": "defect",
2027
+ "optional": true
2028
+ }
2029
+ ],
2030
+ "inputSchema": {
2031
+ "additionalProperties": false,
2032
+ "description": "CreateDealNoteInput adds text to one deal.",
2033
+ "properties": {
2034
+ "dealId": {
2035
+ "description": "DealID is the numeric provider deal ID.",
2036
+ "type": "string"
2037
+ },
2038
+ "text": {
2039
+ "description": "Text is the non-empty note body.",
2040
+ "type": "string"
2041
+ }
2042
+ },
2043
+ "required": [
2044
+ "dealId",
2045
+ "text"
2046
+ ],
2047
+ "type": "object"
2048
+ }
2049
+ },
2050
+ {
2051
+ "name": "newUpdateDealNoteStep",
2052
+ "kind": "mutation",
2053
+ "operationId": "updateDealNote",
2054
+ "inputType": "UpdateDealNoteInput",
2055
+ "description": "Replace one deal note's text by ID.",
2056
+ "fields": {
2057
+ "stepType": "stepType",
2058
+ "annotations": "annotations",
2059
+ "connectionName": "connectionName",
2060
+ "resultAttribute": "resultAttribute"
2061
+ },
2062
+ "branches": [
2063
+ {
2064
+ "id": "updated",
2065
+ "field": "updated",
2066
+ "optional": false
2067
+ },
2068
+ {
2069
+ "id": "notFound",
2070
+ "field": "notFound",
2071
+ "optional": true
2072
+ },
2073
+ {
2074
+ "id": "providerRejected",
2075
+ "field": "providerRejected",
2076
+ "optional": true
2077
+ },
2078
+ {
2079
+ "id": "invalidResponse",
2080
+ "field": "invalidResponse",
2081
+ "optional": true
2082
+ },
2083
+ {
2084
+ "id": "defect",
2085
+ "field": "defect",
2086
+ "optional": true
2087
+ }
2088
+ ],
2089
+ "inputSchema": {
2090
+ "additionalProperties": false,
2091
+ "description": "UpdateDealNoteInput replaces an existing deal note's text.",
2092
+ "properties": {
2093
+ "dealId": {
2094
+ "description": "DealID is the numeric provider deal ID.",
2095
+ "type": "string"
2096
+ },
2097
+ "noteId": {
2098
+ "description": "NoteID is the numeric provider note ID.",
2099
+ "type": "string"
2100
+ },
2101
+ "text": {
2102
+ "description": "Text is the complete replacement note body.",
2103
+ "type": "string"
2104
+ }
2105
+ },
2106
+ "required": [
2107
+ "dealId",
2108
+ "noteId",
2109
+ "text"
2110
+ ],
2111
+ "type": "object"
2112
+ }
2113
+ },
2114
+ {
2115
+ "name": "newListDealsStep",
2116
+ "kind": "query",
2117
+ "operationId": "listDeals",
2118
+ "inputType": "ListDealsInput",
2119
+ "description": "List one page of deals and their basic metadata.",
2120
+ "fields": {
2121
+ "stepType": "stepType",
2122
+ "annotations": "annotations",
2123
+ "connectionName": "connectionName",
2124
+ "resultAttribute": "resultAttribute"
2125
+ },
2126
+ "branches": [
2127
+ {
2128
+ "id": "listed",
2129
+ "field": "listed",
2130
+ "optional": false
2131
+ },
2132
+ {
2133
+ "id": "providerRejected",
2134
+ "field": "providerRejected",
2135
+ "optional": true
2136
+ },
2137
+ {
2138
+ "id": "invalidResponse",
2139
+ "field": "invalidResponse",
2140
+ "optional": true
2141
+ },
2142
+ {
2143
+ "id": "defect",
2144
+ "field": "defect",
2145
+ "optional": true
2146
+ }
2147
+ ],
2148
+ "inputSchema": {
2149
+ "additionalProperties": false,
2150
+ "description": "ListDealsInput selects one offset-based page of deals.",
2151
+ "properties": {
2152
+ "limit": {
2153
+ "description": "Limit is the requested page size; zero uses the provider's default.",
2154
+ "type": "integer"
2155
+ },
2156
+ "offset": {
2157
+ "description": "Offset is the zero-based number of deals to skip.",
2158
+ "type": "integer"
2159
+ }
2160
+ },
2161
+ "type": "object"
2162
+ }
2163
+ },
2164
+ {
2165
+ "name": "newGetDealStep",
2166
+ "kind": "query",
2167
+ "operationId": "getDeal",
2168
+ "inputType": "GetDealInput",
2169
+ "description": "Read one deal by ID.",
2170
+ "fields": {
2171
+ "stepType": "stepType",
2172
+ "annotations": "annotations",
2173
+ "connectionName": "connectionName",
2174
+ "resultAttribute": "resultAttribute"
2175
+ },
2176
+ "branches": [
2177
+ {
2178
+ "id": "found",
2179
+ "field": "found",
2180
+ "optional": false
2181
+ },
2182
+ {
2183
+ "id": "notFound",
2184
+ "field": "notFound",
2185
+ "optional": true
2186
+ },
2187
+ {
2188
+ "id": "providerRejected",
2189
+ "field": "providerRejected",
2190
+ "optional": true
2191
+ },
2192
+ {
2193
+ "id": "invalidResponse",
2194
+ "field": "invalidResponse",
2195
+ "optional": true
2196
+ },
2197
+ {
2198
+ "id": "defect",
2199
+ "field": "defect",
2200
+ "optional": true
2201
+ }
2202
+ ],
2203
+ "inputSchema": {
2204
+ "additionalProperties": false,
2205
+ "description": "GetDealInput selects one numeric ActiveCampaign deal ID.",
2206
+ "properties": {
2207
+ "dealId": {
2208
+ "description": "DealID is the provider ID from a Deals page or API.",
2209
+ "type": "string"
2210
+ }
2211
+ },
2212
+ "required": [
2213
+ "dealId"
2214
+ ],
2215
+ "type": "object"
2216
+ }
2217
+ },
2218
+ {
2219
+ "name": "newCreateDealStep",
2220
+ "kind": "mutation",
2221
+ "operationId": "createDeal",
2222
+ "inputType": "CreateDealInput",
2223
+ "description": "Create a deal for a contact with bounded sends and provider-ID read-back when available.",
2224
+ "fields": {
2225
+ "stepType": "stepType",
2226
+ "annotations": "annotations",
2227
+ "connectionName": "connectionName",
2228
+ "resultAttribute": "resultAttribute"
2229
+ },
2230
+ "branches": [
2231
+ {
2232
+ "id": "created",
2233
+ "field": "created",
2234
+ "optional": false
2235
+ },
2236
+ {
2237
+ "id": "uncertain",
2238
+ "field": "uncertain",
2239
+ "optional": true
2240
+ },
2241
+ {
2242
+ "id": "providerRejected",
2243
+ "field": "providerRejected",
2244
+ "optional": true
2245
+ },
2246
+ {
2247
+ "id": "invalidResponse",
2248
+ "field": "invalidResponse",
2249
+ "optional": true
2250
+ },
2251
+ {
2252
+ "id": "defect",
2253
+ "field": "defect",
2254
+ "optional": true
2255
+ }
2256
+ ],
2257
+ "inputSchema": {
2258
+ "additionalProperties": false,
2259
+ "description": "CreateDealInput creates a deal for one primary contact in a pipeline stage.",
2260
+ "properties": {
2261
+ "contactId": {
2262
+ "description": "ContactID is the numeric primary contact ID.",
2263
+ "type": "string"
2264
+ },
2265
+ "currency": {
2266
+ "description": "Currency is a three-letter ISO currency code.",
2267
+ "type": "string"
2268
+ },
2269
+ "pipelineId": {
2270
+ "description": "PipelineID is the numeric deal pipeline ID.",
2271
+ "type": "string"
2272
+ },
2273
+ "stageId": {
2274
+ "description": "StageID is the numeric stage ID in the pipeline.",
2275
+ "type": "string"
2276
+ },
2277
+ "title": {
2278
+ "description": "Title is the deal title.",
2279
+ "type": "string"
2280
+ },
2281
+ "valueMinor": {
2282
+ "description": "ValueMinor is the deal value in the currency's minor unit.",
2283
+ "type": "integer"
2284
+ }
2285
+ },
2286
+ "required": [
2287
+ "contactId",
2288
+ "currency",
2289
+ "pipelineId",
2290
+ "stageId",
2291
+ "title",
2292
+ "valueMinor"
2293
+ ],
2294
+ "type": "object"
2295
+ }
2296
+ },
2297
+ {
2298
+ "name": "newUpdateDealStep",
2299
+ "kind": "mutation",
2300
+ "operationId": "updateDeal",
2301
+ "inputType": "UpdateDealInput",
2302
+ "description": "Set absolute deal fields by ID.",
2303
+ "fields": {
2304
+ "stepType": "stepType",
2305
+ "annotations": "annotations",
2306
+ "connectionName": "connectionName",
2307
+ "resultAttribute": "resultAttribute"
2308
+ },
2309
+ "branches": [
2310
+ {
2311
+ "id": "updated",
2312
+ "field": "updated",
2313
+ "optional": false
2314
+ },
2315
+ {
2316
+ "id": "notFound",
2317
+ "field": "notFound",
2318
+ "optional": true
2319
+ },
2320
+ {
2321
+ "id": "providerRejected",
2322
+ "field": "providerRejected",
2323
+ "optional": true
2324
+ },
2325
+ {
2326
+ "id": "invalidResponse",
2327
+ "field": "invalidResponse",
2328
+ "optional": true
2329
+ },
2330
+ {
2331
+ "id": "defect",
2332
+ "field": "defect",
2333
+ "optional": true
2334
+ }
2335
+ ],
2336
+ "inputSchema": {
2337
+ "additionalProperties": false,
2338
+ "description": "UpdateDealInput replaces selected absolute fields on one deal.",
2339
+ "properties": {
2340
+ "currency": {
2341
+ "description": "Currency replaces the three-letter ISO currency code when supplied.",
2342
+ "type": "string"
2343
+ },
2344
+ "dealId": {
2345
+ "description": "DealID is the numeric provider deal ID.",
2346
+ "type": "string"
2347
+ },
2348
+ "stageId": {
2349
+ "description": "StageID moves the deal to this numeric stage when supplied.",
2350
+ "type": "string"
2351
+ },
2352
+ "status": {
2353
+ "description": "Status replaces the status: 0 open, 1 won, or 2 lost.",
2354
+ "type": "integer"
2355
+ },
2356
+ "title": {
2357
+ "description": "Title replaces the deal title when supplied.",
2358
+ "type": "string"
2359
+ },
2360
+ "valueMinor": {
2361
+ "description": "ValueMinor replaces the deal value in minor currency units when supplied.",
2362
+ "type": "integer"
2363
+ }
2364
+ },
2365
+ "required": [
2366
+ "dealId"
2367
+ ],
2368
+ "type": "object"
2369
+ }
2370
+ },
2371
+ {
2372
+ "name": "newDeleteDealStep",
2373
+ "kind": "mutation",
2374
+ "operationId": "deleteDeal",
2375
+ "inputType": "DeleteDealInput",
2376
+ "description": "Delete a deal by ID and converge on absence.",
2377
+ "fields": {
2378
+ "stepType": "stepType",
2379
+ "annotations": "annotations",
2380
+ "connectionName": "connectionName",
2381
+ "resultAttribute": "resultAttribute"
2382
+ },
2383
+ "branches": [
2384
+ {
2385
+ "id": "deleted",
2386
+ "field": "deleted",
2387
+ "optional": false
2388
+ },
2389
+ {
2390
+ "id": "providerRejected",
2391
+ "field": "providerRejected",
2392
+ "optional": true
2393
+ },
2394
+ {
2395
+ "id": "invalidResponse",
2396
+ "field": "invalidResponse",
2397
+ "optional": true
2398
+ },
2399
+ {
2400
+ "id": "defect",
2401
+ "field": "defect",
2402
+ "optional": true
2403
+ }
2404
+ ],
2405
+ "inputSchema": {
2406
+ "additionalProperties": false,
2407
+ "description": "DeleteDealInput selects one deal for removal.",
2408
+ "properties": {
2409
+ "dealId": {
2410
+ "description": "DealID is the numeric provider deal ID.",
2411
+ "type": "string"
2412
+ }
2413
+ },
2414
+ "required": [
2415
+ "dealId"
2416
+ ],
2417
+ "type": "object"
2418
+ }
2419
+ },
2420
+ {
2421
+ "name": "newListTagsStep",
2422
+ "kind": "query",
2423
+ "operationId": "listTags",
2424
+ "inputType": "ListTagsInput",
2425
+ "description": "List contact tag definitions by page.",
2426
+ "fields": {
2427
+ "stepType": "stepType",
2428
+ "annotations": "annotations",
2429
+ "connectionName": "connectionName",
2430
+ "resultAttribute": "resultAttribute"
2431
+ },
2432
+ "branches": [
2433
+ {
2434
+ "id": "listed",
2435
+ "field": "listed",
2436
+ "optional": false
2437
+ },
2438
+ {
2439
+ "id": "providerRejected",
2440
+ "field": "providerRejected",
2441
+ "optional": true
2442
+ },
2443
+ {
2444
+ "id": "invalidResponse",
2445
+ "field": "invalidResponse",
2446
+ "optional": true
2447
+ },
2448
+ {
2449
+ "id": "defect",
2450
+ "field": "defect",
2451
+ "optional": true
2452
+ }
2453
+ ],
2454
+ "inputSchema": {
2455
+ "additionalProperties": false,
2456
+ "description": "ListTagsInput selects one page of contact tag definitions.",
2457
+ "properties": {
2458
+ "limit": {
2459
+ "description": "Limit is the maximum tag count; zero uses 20 and 100 is the maximum.",
2460
+ "type": "integer"
2461
+ },
2462
+ "offset": {
2463
+ "description": "Offset is the zero-based number of tags to skip.",
2464
+ "type": "integer"
2465
+ }
2466
+ },
2467
+ "type": "object"
2468
+ }
2469
+ },
2470
+ {
2471
+ "name": "newGetTagStep",
2472
+ "kind": "query",
2473
+ "operationId": "getTag",
2474
+ "inputType": "GetTagInput",
2475
+ "description": "Read one contact tag definition by ID.",
2476
+ "fields": {
2477
+ "stepType": "stepType",
2478
+ "annotations": "annotations",
2479
+ "connectionName": "connectionName",
2480
+ "resultAttribute": "resultAttribute"
2481
+ },
2482
+ "branches": [
2483
+ {
2484
+ "id": "found",
2485
+ "field": "found",
2486
+ "optional": false
2487
+ },
2488
+ {
2489
+ "id": "notFound",
2490
+ "field": "notFound",
2491
+ "optional": true
2492
+ },
2493
+ {
2494
+ "id": "providerRejected",
2495
+ "field": "providerRejected",
2496
+ "optional": true
2497
+ },
2498
+ {
2499
+ "id": "invalidResponse",
2500
+ "field": "invalidResponse",
2501
+ "optional": true
2502
+ },
2503
+ {
2504
+ "id": "defect",
2505
+ "field": "defect",
2506
+ "optional": true
2507
+ }
2508
+ ],
2509
+ "inputSchema": {
2510
+ "additionalProperties": false,
2511
+ "description": "GetTagInput selects a tag by its numeric ActiveCampaign ID.",
2512
+ "properties": {
2513
+ "tagId": {
2514
+ "description": "TagID is the numeric ID from the Tags page or API.",
2515
+ "type": "string"
2516
+ }
2517
+ },
2518
+ "required": [
2519
+ "tagId"
2520
+ ],
2521
+ "type": "object"
2522
+ }
2523
+ },
2524
+ {
2525
+ "name": "newCreateTagStep",
2526
+ "kind": "mutation",
2527
+ "operationId": "createTag",
2528
+ "inputType": "CreateTagInput",
2529
+ "description": "Create a contact tag definition by name with bounded sends.",
2530
+ "fields": {
2531
+ "stepType": "stepType",
2532
+ "annotations": "annotations",
2533
+ "connectionName": "connectionName",
2534
+ "resultAttribute": "resultAttribute"
2535
+ },
2536
+ "branches": [
2537
+ {
2538
+ "id": "created",
2539
+ "field": "created",
2540
+ "optional": false
2541
+ },
2542
+ {
2543
+ "id": "uncertain",
2544
+ "field": "uncertain",
2545
+ "optional": true
2546
+ },
2547
+ {
2548
+ "id": "providerRejected",
2549
+ "field": "providerRejected",
2550
+ "optional": true
2551
+ },
2552
+ {
2553
+ "id": "invalidResponse",
2554
+ "field": "invalidResponse",
2555
+ "optional": true
2556
+ },
2557
+ {
2558
+ "id": "defect",
2559
+ "field": "defect",
2560
+ "optional": true
2561
+ }
2562
+ ],
2563
+ "inputSchema": {
2564
+ "additionalProperties": false,
2565
+ "description": "CreateTagInput creates a contact tag definition identified by its name.",
2566
+ "properties": {
2567
+ "description": {
2568
+ "description": "Description is optional text shown with the tag.",
2569
+ "type": "string"
2570
+ },
2571
+ "name": {
2572
+ "description": "Name is a 1–250-character contact tag name without commas, line breaks, markup, or emoji.",
2573
+ "type": "string"
2574
+ }
2575
+ },
2576
+ "required": [
2577
+ "name"
2578
+ ],
2579
+ "type": "object"
2580
+ }
2581
+ },
2582
+ {
2583
+ "name": "newUpdateTagStep",
2584
+ "kind": "mutation",
2585
+ "operationId": "updateTag",
2586
+ "inputType": "UpdateTagInput",
2587
+ "description": "Set a contact tag definition's name and description by ID.",
2588
+ "fields": {
2589
+ "stepType": "stepType",
2590
+ "annotations": "annotations",
2591
+ "connectionName": "connectionName",
2592
+ "resultAttribute": "resultAttribute"
2593
+ },
2594
+ "branches": [
2595
+ {
2596
+ "id": "updated",
2597
+ "field": "updated",
2598
+ "optional": false
2599
+ },
2600
+ {
2601
+ "id": "notFound",
2602
+ "field": "notFound",
2603
+ "optional": true
2604
+ },
2605
+ {
2606
+ "id": "providerRejected",
2607
+ "field": "providerRejected",
2608
+ "optional": true
2609
+ },
2610
+ {
2611
+ "id": "invalidResponse",
2612
+ "field": "invalidResponse",
2613
+ "optional": true
2614
+ },
2615
+ {
2616
+ "id": "defect",
2617
+ "field": "defect",
2618
+ "optional": true
2619
+ }
2620
+ ],
2621
+ "inputSchema": {
2622
+ "additionalProperties": false,
2623
+ "description": "UpdateTagInput replaces a contact tag's name and description by ID.",
2624
+ "properties": {
2625
+ "description": {
2626
+ "description": "Description is the complete replacement description; blank clears it.",
2627
+ "type": "string"
2628
+ },
2629
+ "name": {
2630
+ "description": "Name is the complete replacement tag name.",
2631
+ "type": "string"
2632
+ },
2633
+ "tagId": {
2634
+ "description": "TagID is the numeric provider tag ID.",
2635
+ "type": "string"
2636
+ }
2637
+ },
2638
+ "required": [
2639
+ "description",
2640
+ "name",
2641
+ "tagId"
2642
+ ],
2643
+ "type": "object"
2644
+ }
2645
+ },
2646
+ {
2647
+ "name": "newDeleteTagStep",
2648
+ "kind": "mutation",
2649
+ "operationId": "deleteTag",
2650
+ "inputType": "DeleteTagInput",
2651
+ "description": "Delete one tag definition and remove its effect from all contacts.",
2652
+ "fields": {
2653
+ "stepType": "stepType",
2654
+ "annotations": "annotations",
2655
+ "connectionName": "connectionName",
2656
+ "resultAttribute": "resultAttribute"
2657
+ },
2658
+ "branches": [
2659
+ {
2660
+ "id": "deleted",
2661
+ "field": "deleted",
2662
+ "optional": false
2663
+ },
2664
+ {
2665
+ "id": "providerRejected",
2666
+ "field": "providerRejected",
2667
+ "optional": true
2668
+ },
2669
+ {
2670
+ "id": "invalidResponse",
2671
+ "field": "invalidResponse",
2672
+ "optional": true
2673
+ },
2674
+ {
2675
+ "id": "defect",
2676
+ "field": "defect",
2677
+ "optional": true
2678
+ }
2679
+ ],
2680
+ "inputSchema": {
2681
+ "additionalProperties": false,
2682
+ "description": "DeleteTagInput selects a tag definition for removal from the account and all contacts.",
2683
+ "properties": {
2684
+ "tagId": {
2685
+ "description": "TagID is the numeric provider tag ID.",
2686
+ "type": "string"
2687
+ }
2688
+ },
2689
+ "required": [
2690
+ "tagId"
2691
+ ],
2692
+ "type": "object"
2693
+ }
2694
+ },
2695
+ {
2696
+ "name": "newListListsStep",
2697
+ "kind": "query",
2698
+ "operationId": "listLists",
2699
+ "inputType": "ListListsInput",
2700
+ "description": "List one page of email contact lists and their subscriber counts.",
2701
+ "fields": {
2702
+ "stepType": "stepType",
2703
+ "annotations": "annotations",
2704
+ "connectionName": "connectionName",
2705
+ "resultAttribute": "resultAttribute"
2706
+ },
2707
+ "branches": [
2708
+ {
2709
+ "id": "listed",
2710
+ "field": "listed",
2711
+ "optional": false
2712
+ },
2713
+ {
2714
+ "id": "providerRejected",
2715
+ "field": "providerRejected",
2716
+ "optional": true
2717
+ },
2718
+ {
2719
+ "id": "invalidResponse",
2720
+ "field": "invalidResponse",
2721
+ "optional": true
2722
+ },
2723
+ {
2724
+ "id": "defect",
2725
+ "field": "defect",
2726
+ "optional": true
2727
+ }
2728
+ ],
2729
+ "inputSchema": {
2730
+ "additionalProperties": false,
2731
+ "description": "ListListsInput selects one offset-based page of email lists.",
2732
+ "properties": {
2733
+ "limit": {
2734
+ "description": "Limit is the maximum list count; zero uses 20 and 100 is the maximum.",
2735
+ "type": "integer"
2736
+ },
2737
+ "offset": {
2738
+ "description": "Offset is the zero-based number of lists to skip.",
2739
+ "type": "integer"
2740
+ }
2741
+ },
2742
+ "type": "object"
2743
+ }
2744
+ },
2745
+ {
2746
+ "name": "newGetListStep",
2747
+ "kind": "query",
2748
+ "operationId": "getList",
2749
+ "inputType": "GetListInput",
2750
+ "description": "Read one contact list by numeric ID.",
2751
+ "fields": {
2752
+ "stepType": "stepType",
2753
+ "annotations": "annotations",
2754
+ "connectionName": "connectionName",
2755
+ "resultAttribute": "resultAttribute"
2756
+ },
2757
+ "branches": [
2758
+ {
2759
+ "id": "found",
2760
+ "field": "found",
2761
+ "optional": false
2762
+ },
2763
+ {
2764
+ "id": "notFound",
2765
+ "field": "notFound",
2766
+ "optional": true
2767
+ },
2768
+ {
2769
+ "id": "providerRejected",
2770
+ "field": "providerRejected",
2771
+ "optional": true
2772
+ },
2773
+ {
2774
+ "id": "invalidResponse",
2775
+ "field": "invalidResponse",
2776
+ "optional": true
2777
+ },
2778
+ {
2779
+ "id": "defect",
2780
+ "field": "defect",
2781
+ "optional": true
2782
+ }
2783
+ ],
2784
+ "inputSchema": {
2785
+ "additionalProperties": false,
2786
+ "description": "GetListInput selects a list by its numeric ActiveCampaign ID.",
2787
+ "properties": {
2788
+ "listId": {
2789
+ "description": "ListID is the numeric ID from the Lists page or API.",
2790
+ "type": "string"
2791
+ }
2792
+ },
2793
+ "required": [
2794
+ "listId"
2795
+ ],
2796
+ "type": "object"
2797
+ }
2798
+ },
10
2799
  {
11
2800
  "name": "newListContactsStep",
12
2801
  "kind": "query",
@@ -50,13 +2839,10 @@
50
2839
  "type": "integer"
51
2840
  },
52
2841
  "offset": {
53
- "description": "Offset is the zero-based number of contacts to skip.",
2842
+ "description": "Offset is the zero-based number of contacts to skip; zero starts at the first contact.",
54
2843
  "type": "integer"
55
2844
  }
56
2845
  },
57
- "required": [
58
- "offset"
59
- ],
60
2846
  "type": "object"
61
2847
  }
62
2848
  },
@@ -113,6 +2899,129 @@
113
2899
  ],
114
2900
  "type": "object"
115
2901
  }
2902
+ },
2903
+ {
2904
+ "name": "newSyncContactStep",
2905
+ "kind": "mutation",
2906
+ "operationId": "syncContact",
2907
+ "inputType": "SyncContactInput",
2908
+ "description": "Create or update one contact by email, returning its stable ID and names.",
2909
+ "fields": {
2910
+ "stepType": "stepType",
2911
+ "annotations": "annotations",
2912
+ "connectionName": "connectionName",
2913
+ "resultAttribute": "resultAttribute"
2914
+ },
2915
+ "branches": [
2916
+ {
2917
+ "id": "synced",
2918
+ "field": "synced",
2919
+ "optional": false
2920
+ },
2921
+ {
2922
+ "id": "providerRejected",
2923
+ "field": "providerRejected",
2924
+ "optional": true
2925
+ },
2926
+ {
2927
+ "id": "invalidResponse",
2928
+ "field": "invalidResponse",
2929
+ "optional": true
2930
+ },
2931
+ {
2932
+ "id": "defect",
2933
+ "field": "defect",
2934
+ "optional": true
2935
+ }
2936
+ ],
2937
+ "inputSchema": {
2938
+ "additionalProperties": false,
2939
+ "description": "SyncContactInput creates or updates a contact identified by its email address.",
2940
+ "properties": {
2941
+ "email": {
2942
+ "description": "Email is the contact's email address and the upsert identity.",
2943
+ "type": "string"
2944
+ },
2945
+ "firstName": {
2946
+ "description": "FirstName replaces the given name when supplied; nil leaves it unchanged.",
2947
+ "type": "string"
2948
+ },
2949
+ "lastName": {
2950
+ "description": "LastName replaces the family name when supplied; nil leaves it unchanged.",
2951
+ "type": "string"
2952
+ }
2953
+ },
2954
+ "required": [
2955
+ "email"
2956
+ ],
2957
+ "type": "object"
2958
+ }
2959
+ },
2960
+ {
2961
+ "name": "newUpdateContactStep",
2962
+ "kind": "mutation",
2963
+ "operationId": "updateContact",
2964
+ "inputType": "UpdateContactInput",
2965
+ "description": "Set one contact's email or names by numeric contact ID.",
2966
+ "fields": {
2967
+ "stepType": "stepType",
2968
+ "annotations": "annotations",
2969
+ "connectionName": "connectionName",
2970
+ "resultAttribute": "resultAttribute"
2971
+ },
2972
+ "branches": [
2973
+ {
2974
+ "id": "updated",
2975
+ "field": "updated",
2976
+ "optional": false
2977
+ },
2978
+ {
2979
+ "id": "notFound",
2980
+ "field": "notFound",
2981
+ "optional": true
2982
+ },
2983
+ {
2984
+ "id": "providerRejected",
2985
+ "field": "providerRejected",
2986
+ "optional": true
2987
+ },
2988
+ {
2989
+ "id": "invalidResponse",
2990
+ "field": "invalidResponse",
2991
+ "optional": true
2992
+ },
2993
+ {
2994
+ "id": "defect",
2995
+ "field": "defect",
2996
+ "optional": true
2997
+ }
2998
+ ],
2999
+ "inputSchema": {
3000
+ "additionalProperties": false,
3001
+ "description": "UpdateContactInput replaces selected contact fields by provider ID.",
3002
+ "properties": {
3003
+ "contactId": {
3004
+ "description": "ContactID is the numeric ID shown by ActiveCampaign's Contacts page.",
3005
+ "type": "string"
3006
+ },
3007
+ "email": {
3008
+ "description": "Email replaces the email when supplied; nil leaves it unchanged.",
3009
+ "type": "string"
3010
+ },
3011
+ "firstName": {
3012
+ "description": "FirstName replaces the given name when supplied; nil leaves it unchanged.",
3013
+ "type": "string"
3014
+ },
3015
+ "lastName": {
3016
+ "description": "LastName replaces the family name when supplied; nil leaves it unchanged.",
3017
+ "type": "string"
3018
+ }
3019
+ },
3020
+ "required": [
3021
+ "contactId"
3022
+ ],
3023
+ "type": "object"
3024
+ }
116
3025
  }
117
3026
  ]
118
3027
  }