@superdurable/connector-copper 0.0.0-stage → 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.
@@ -0,0 +1,1760 @@
1
+ {
2
+ "connectorId": "copper",
3
+ "releaseTag": "connectors/copper/go/v0.2.1",
4
+ "package": {
5
+ "ecosystem": "npm",
6
+ "name": "@superdurable/connector-copper",
7
+ "version": "0.2.0"
8
+ },
9
+ "factories": [
10
+ {
11
+ "name": "newCreateCompanyStep",
12
+ "kind": "mutation",
13
+ "operationId": "createCompany",
14
+ "inputType": "CreateCompanyInput",
15
+ "description": "Create a Copper company with a unique email domain for read-back.",
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": "CreateCompanyInput supplies the new company's name and unique email domain.",
47
+ "properties": {
48
+ "emailDomain": {
49
+ "description": "EmailDomain is required to check a previous send by a unique provider field.",
50
+ "type": "string"
51
+ },
52
+ "name": {
53
+ "description": "Name is the required display name.",
54
+ "type": "string"
55
+ }
56
+ },
57
+ "required": [
58
+ "emailDomain",
59
+ "name"
60
+ ],
61
+ "type": "object"
62
+ }
63
+ },
64
+ {
65
+ "name": "newGetCompanyStep",
66
+ "kind": "query",
67
+ "operationId": "getCompany",
68
+ "inputType": "GetCompanyInput",
69
+ "description": "Read a Copper company by numeric ID.",
70
+ "fields": {
71
+ "stepType": "stepType",
72
+ "annotations": "annotations",
73
+ "connectionName": "connectionName",
74
+ "resultAttribute": "resultAttribute"
75
+ },
76
+ "branches": [
77
+ {
78
+ "id": "found",
79
+ "field": "found",
80
+ "optional": false
81
+ },
82
+ {
83
+ "id": "notFound",
84
+ "field": "notFound",
85
+ "optional": true
86
+ },
87
+ {
88
+ "id": "providerRejected",
89
+ "field": "providerRejected",
90
+ "optional": true
91
+ },
92
+ {
93
+ "id": "invalidResponse",
94
+ "field": "invalidResponse",
95
+ "optional": true
96
+ },
97
+ {
98
+ "id": "defect",
99
+ "field": "defect",
100
+ "optional": true
101
+ }
102
+ ],
103
+ "inputSchema": {
104
+ "additionalProperties": false,
105
+ "description": "GetCompanyInput identifies a company by positive numeric ID.",
106
+ "properties": {
107
+ "companyId": {
108
+ "description": "CompanyID is a positive decimal Copper company ID.",
109
+ "type": "string"
110
+ }
111
+ },
112
+ "required": [
113
+ "companyId"
114
+ ],
115
+ "type": "object"
116
+ }
117
+ },
118
+ {
119
+ "name": "newListCompaniesStep",
120
+ "kind": "query",
121
+ "operationId": "listCompanies",
122
+ "inputType": "ListCompaniesInput",
123
+ "description": "Search one bounded page of companies by name or email domain.",
124
+ "fields": {
125
+ "stepType": "stepType",
126
+ "annotations": "annotations",
127
+ "connectionName": "connectionName",
128
+ "resultAttribute": "resultAttribute"
129
+ },
130
+ "branches": [
131
+ {
132
+ "id": "listed",
133
+ "field": "listed",
134
+ "optional": false
135
+ },
136
+ {
137
+ "id": "providerRejected",
138
+ "field": "providerRejected",
139
+ "optional": true
140
+ },
141
+ {
142
+ "id": "invalidResponse",
143
+ "field": "invalidResponse",
144
+ "optional": true
145
+ },
146
+ {
147
+ "id": "defect",
148
+ "field": "defect",
149
+ "optional": true
150
+ }
151
+ ],
152
+ "inputSchema": {
153
+ "additionalProperties": false,
154
+ "description": "ListCompaniesInput selects one Copper search page with optional filters.",
155
+ "properties": {
156
+ "emailDomain": {
157
+ "description": "EmailDomain optionally matches a company's unique email domain.",
158
+ "type": "string"
159
+ },
160
+ "name": {
161
+ "description": "Name optionally matches a full company name.",
162
+ "type": "string"
163
+ },
164
+ "pageNumber": {
165
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
166
+ "type": "integer"
167
+ },
168
+ "pageSize": {
169
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
170
+ "type": "integer"
171
+ }
172
+ },
173
+ "type": "object"
174
+ }
175
+ },
176
+ {
177
+ "name": "newUpdateCompanyStep",
178
+ "kind": "mutation",
179
+ "operationId": "updateCompany",
180
+ "inputType": "UpdateCompanyInput",
181
+ "description": "Replace a Copper company's name and details without changing other fields.",
182
+ "fields": {
183
+ "stepType": "stepType",
184
+ "annotations": "annotations",
185
+ "connectionName": "connectionName",
186
+ "resultAttribute": "resultAttribute"
187
+ },
188
+ "branches": [
189
+ {
190
+ "id": "updated",
191
+ "field": "updated",
192
+ "optional": false
193
+ },
194
+ {
195
+ "id": "notFound",
196
+ "field": "notFound",
197
+ "optional": true
198
+ },
199
+ {
200
+ "id": "providerRejected",
201
+ "field": "providerRejected",
202
+ "optional": true
203
+ },
204
+ {
205
+ "id": "defect",
206
+ "field": "defect",
207
+ "optional": true
208
+ }
209
+ ],
210
+ "inputSchema": {
211
+ "additionalProperties": false,
212
+ "description": "UpdateCompanyInput changes the named fields of one company.",
213
+ "properties": {
214
+ "companyId": {
215
+ "description": "CompanyID is a positive numeric ID.",
216
+ "type": "string"
217
+ },
218
+ "details": {
219
+ "description": "Details replaces the notes; blank clears them.",
220
+ "type": "string"
221
+ },
222
+ "name": {
223
+ "description": "Name replaces the display name.",
224
+ "type": "string"
225
+ }
226
+ },
227
+ "required": [
228
+ "companyId",
229
+ "details",
230
+ "name"
231
+ ],
232
+ "type": "object"
233
+ }
234
+ },
235
+ {
236
+ "name": "newDeleteCompanyStep",
237
+ "kind": "mutation",
238
+ "operationId": "deleteCompany",
239
+ "inputType": "DeleteCompanyInput",
240
+ "description": "Permanently delete a Copper company by numeric ID.",
241
+ "fields": {
242
+ "stepType": "stepType",
243
+ "annotations": "annotations",
244
+ "connectionName": "connectionName",
245
+ "resultAttribute": "resultAttribute"
246
+ },
247
+ "branches": [
248
+ {
249
+ "id": "deleted",
250
+ "field": "deleted",
251
+ "optional": false
252
+ },
253
+ {
254
+ "id": "notFound",
255
+ "field": "notFound",
256
+ "optional": true
257
+ },
258
+ {
259
+ "id": "providerRejected",
260
+ "field": "providerRejected",
261
+ "optional": true
262
+ },
263
+ {
264
+ "id": "defect",
265
+ "field": "defect",
266
+ "optional": true
267
+ }
268
+ ],
269
+ "inputSchema": {
270
+ "additionalProperties": false,
271
+ "description": "DeleteCompanyInput identifies the company to remove permanently.",
272
+ "properties": {
273
+ "companyId": {
274
+ "description": "CompanyID is a positive decimal Copper company ID.",
275
+ "type": "string"
276
+ }
277
+ },
278
+ "required": [
279
+ "companyId"
280
+ ],
281
+ "type": "object"
282
+ }
283
+ },
284
+ {
285
+ "name": "newCreatePersonStep",
286
+ "kind": "mutation",
287
+ "operationId": "createPerson",
288
+ "inputType": "CreatePersonInput",
289
+ "description": "Create a Copper person with a name and work email.",
290
+ "fields": {
291
+ "stepType": "stepType",
292
+ "annotations": "annotations",
293
+ "connectionName": "connectionName",
294
+ "resultAttribute": "resultAttribute"
295
+ },
296
+ "branches": [
297
+ {
298
+ "id": "created",
299
+ "field": "created",
300
+ "optional": false
301
+ },
302
+ {
303
+ "id": "providerRejected",
304
+ "field": "providerRejected",
305
+ "optional": true
306
+ },
307
+ {
308
+ "id": "uncertain",
309
+ "field": "uncertain",
310
+ "optional": true
311
+ },
312
+ {
313
+ "id": "defect",
314
+ "field": "defect",
315
+ "optional": true
316
+ }
317
+ ],
318
+ "inputSchema": {
319
+ "additionalProperties": false,
320
+ "description": "CreatePersonInput supplies the new person's name and work email.",
321
+ "properties": {
322
+ "email": {
323
+ "description": "Email is a required work email used to check a previous send.",
324
+ "type": "string"
325
+ },
326
+ "name": {
327
+ "description": "Name is the required display name.",
328
+ "type": "string"
329
+ }
330
+ },
331
+ "required": [
332
+ "email",
333
+ "name"
334
+ ],
335
+ "type": "object"
336
+ }
337
+ },
338
+ {
339
+ "name": "newGetPersonStep",
340
+ "kind": "query",
341
+ "operationId": "getPerson",
342
+ "inputType": "GetPersonInput",
343
+ "description": "Read a Copper person by numeric ID.",
344
+ "fields": {
345
+ "stepType": "stepType",
346
+ "annotations": "annotations",
347
+ "connectionName": "connectionName",
348
+ "resultAttribute": "resultAttribute"
349
+ },
350
+ "branches": [
351
+ {
352
+ "id": "found",
353
+ "field": "found",
354
+ "optional": false
355
+ },
356
+ {
357
+ "id": "notFound",
358
+ "field": "notFound",
359
+ "optional": true
360
+ },
361
+ {
362
+ "id": "providerRejected",
363
+ "field": "providerRejected",
364
+ "optional": true
365
+ },
366
+ {
367
+ "id": "invalidResponse",
368
+ "field": "invalidResponse",
369
+ "optional": true
370
+ },
371
+ {
372
+ "id": "defect",
373
+ "field": "defect",
374
+ "optional": true
375
+ }
376
+ ],
377
+ "inputSchema": {
378
+ "additionalProperties": false,
379
+ "description": "GetPersonInput identifies a person by positive numeric ID.",
380
+ "properties": {
381
+ "personId": {
382
+ "description": "PersonID is a positive decimal Copper person ID.",
383
+ "type": "string"
384
+ }
385
+ },
386
+ "required": [
387
+ "personId"
388
+ ],
389
+ "type": "object"
390
+ }
391
+ },
392
+ {
393
+ "name": "newListPeopleStep",
394
+ "kind": "query",
395
+ "operationId": "listPeople",
396
+ "inputType": "ListPeopleInput",
397
+ "description": "Search one bounded page of people by name or work email.",
398
+ "fields": {
399
+ "stepType": "stepType",
400
+ "annotations": "annotations",
401
+ "connectionName": "connectionName",
402
+ "resultAttribute": "resultAttribute"
403
+ },
404
+ "branches": [
405
+ {
406
+ "id": "listed",
407
+ "field": "listed",
408
+ "optional": false
409
+ },
410
+ {
411
+ "id": "providerRejected",
412
+ "field": "providerRejected",
413
+ "optional": true
414
+ },
415
+ {
416
+ "id": "invalidResponse",
417
+ "field": "invalidResponse",
418
+ "optional": true
419
+ },
420
+ {
421
+ "id": "defect",
422
+ "field": "defect",
423
+ "optional": true
424
+ }
425
+ ],
426
+ "inputSchema": {
427
+ "additionalProperties": false,
428
+ "description": "ListPeopleInput selects one Copper search page with optional filters.",
429
+ "properties": {
430
+ "email": {
431
+ "description": "Email optionally matches a work email address.",
432
+ "type": "string"
433
+ },
434
+ "name": {
435
+ "description": "Name optionally matches a full person name.",
436
+ "type": "string"
437
+ },
438
+ "pageNumber": {
439
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
440
+ "type": "integer"
441
+ },
442
+ "pageSize": {
443
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
444
+ "type": "integer"
445
+ }
446
+ },
447
+ "type": "object"
448
+ }
449
+ },
450
+ {
451
+ "name": "newUpdatePersonStep",
452
+ "kind": "mutation",
453
+ "operationId": "updatePerson",
454
+ "inputType": "UpdatePersonInput",
455
+ "description": "Replace a Copper person's name and details without changing other fields.",
456
+ "fields": {
457
+ "stepType": "stepType",
458
+ "annotations": "annotations",
459
+ "connectionName": "connectionName",
460
+ "resultAttribute": "resultAttribute"
461
+ },
462
+ "branches": [
463
+ {
464
+ "id": "updated",
465
+ "field": "updated",
466
+ "optional": false
467
+ },
468
+ {
469
+ "id": "notFound",
470
+ "field": "notFound",
471
+ "optional": true
472
+ },
473
+ {
474
+ "id": "providerRejected",
475
+ "field": "providerRejected",
476
+ "optional": true
477
+ },
478
+ {
479
+ "id": "defect",
480
+ "field": "defect",
481
+ "optional": true
482
+ }
483
+ ],
484
+ "inputSchema": {
485
+ "additionalProperties": false,
486
+ "description": "UpdatePersonInput changes the named fields of one person.",
487
+ "properties": {
488
+ "details": {
489
+ "description": "Details replaces the notes; blank clears them.",
490
+ "type": "string"
491
+ },
492
+ "name": {
493
+ "description": "Name replaces the display name.",
494
+ "type": "string"
495
+ },
496
+ "personId": {
497
+ "description": "PersonID is a positive numeric ID.",
498
+ "type": "string"
499
+ }
500
+ },
501
+ "required": [
502
+ "details",
503
+ "name",
504
+ "personId"
505
+ ],
506
+ "type": "object"
507
+ }
508
+ },
509
+ {
510
+ "name": "newDeletePersonStep",
511
+ "kind": "mutation",
512
+ "operationId": "deletePerson",
513
+ "inputType": "DeletePersonInput",
514
+ "description": "Permanently delete a Copper person by numeric ID.",
515
+ "fields": {
516
+ "stepType": "stepType",
517
+ "annotations": "annotations",
518
+ "connectionName": "connectionName",
519
+ "resultAttribute": "resultAttribute"
520
+ },
521
+ "branches": [
522
+ {
523
+ "id": "deleted",
524
+ "field": "deleted",
525
+ "optional": false
526
+ },
527
+ {
528
+ "id": "notFound",
529
+ "field": "notFound",
530
+ "optional": true
531
+ },
532
+ {
533
+ "id": "providerRejected",
534
+ "field": "providerRejected",
535
+ "optional": true
536
+ },
537
+ {
538
+ "id": "defect",
539
+ "field": "defect",
540
+ "optional": true
541
+ }
542
+ ],
543
+ "inputSchema": {
544
+ "additionalProperties": false,
545
+ "description": "DeletePersonInput identifies the person to remove permanently.",
546
+ "properties": {
547
+ "personId": {
548
+ "description": "PersonID is a positive decimal Copper person ID.",
549
+ "type": "string"
550
+ }
551
+ },
552
+ "required": [
553
+ "personId"
554
+ ],
555
+ "type": "object"
556
+ }
557
+ },
558
+ {
559
+ "name": "newListCustomerSourcesStep",
560
+ "kind": "query",
561
+ "operationId": "listCustomerSources",
562
+ "inputType": "ListCustomerSourcesInput",
563
+ "description": "List stable IDs and names of Copper customer sources.",
564
+ "fields": {
565
+ "stepType": "stepType",
566
+ "annotations": "annotations",
567
+ "connectionName": "connectionName",
568
+ "resultAttribute": "resultAttribute"
569
+ },
570
+ "branches": [
571
+ {
572
+ "id": "listed",
573
+ "field": "listed",
574
+ "optional": false
575
+ },
576
+ {
577
+ "id": "providerRejected",
578
+ "field": "providerRejected",
579
+ "optional": true
580
+ },
581
+ {
582
+ "id": "invalidResponse",
583
+ "field": "invalidResponse",
584
+ "optional": true
585
+ },
586
+ {
587
+ "id": "defect",
588
+ "field": "defect",
589
+ "optional": true
590
+ }
591
+ ],
592
+ "inputSchema": {
593
+ "additionalProperties": false,
594
+ "description": "ListCustomerSourcesInput requests the sources visible to this Copper user.",
595
+ "properties": {},
596
+ "type": "object"
597
+ }
598
+ },
599
+ {
600
+ "name": "newListLeadStatusesStep",
601
+ "kind": "query",
602
+ "operationId": "listLeadStatuses",
603
+ "inputType": "ListLeadStatusesInput",
604
+ "description": "List stable IDs and names of Copper lead statuses.",
605
+ "fields": {
606
+ "stepType": "stepType",
607
+ "annotations": "annotations",
608
+ "connectionName": "connectionName",
609
+ "resultAttribute": "resultAttribute"
610
+ },
611
+ "branches": [
612
+ {
613
+ "id": "listed",
614
+ "field": "listed",
615
+ "optional": false
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": "ListLeadStatusesInput selects lead statuses visible to the connected Copper user.",
636
+ "properties": {},
637
+ "type": "object"
638
+ }
639
+ },
640
+ {
641
+ "name": "newListUsersStep",
642
+ "kind": "query",
643
+ "operationId": "listUsers",
644
+ "inputType": "ListUsersInput",
645
+ "description": "List one bounded page of Copper users.",
646
+ "fields": {
647
+ "stepType": "stepType",
648
+ "annotations": "annotations",
649
+ "connectionName": "connectionName",
650
+ "resultAttribute": "resultAttribute"
651
+ },
652
+ "branches": [
653
+ {
654
+ "id": "listed",
655
+ "field": "listed",
656
+ "optional": false
657
+ },
658
+ {
659
+ "id": "providerRejected",
660
+ "field": "providerRejected",
661
+ "optional": true
662
+ },
663
+ {
664
+ "id": "invalidResponse",
665
+ "field": "invalidResponse",
666
+ "optional": true
667
+ },
668
+ {
669
+ "id": "defect",
670
+ "field": "defect",
671
+ "optional": true
672
+ }
673
+ ],
674
+ "inputSchema": {
675
+ "additionalProperties": false,
676
+ "description": "ListUsersInput selects one Copper users page.",
677
+ "properties": {
678
+ "pageNumber": {
679
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
680
+ "type": "integer"
681
+ },
682
+ "pageSize": {
683
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
684
+ "type": "integer"
685
+ }
686
+ },
687
+ "type": "object"
688
+ }
689
+ },
690
+ {
691
+ "name": "newCreateTaskStep",
692
+ "kind": "mutation",
693
+ "operationId": "createTask",
694
+ "inputType": "CreateTaskInput",
695
+ "description": "Create a Copper task with a name and bounded retry.",
696
+ "fields": {
697
+ "stepType": "stepType",
698
+ "annotations": "annotations",
699
+ "connectionName": "connectionName",
700
+ "resultAttribute": "resultAttribute"
701
+ },
702
+ "branches": [
703
+ {
704
+ "id": "created",
705
+ "field": "created",
706
+ "optional": false
707
+ },
708
+ {
709
+ "id": "providerRejected",
710
+ "field": "providerRejected",
711
+ "optional": true
712
+ },
713
+ {
714
+ "id": "uncertain",
715
+ "field": "uncertain",
716
+ "optional": true
717
+ },
718
+ {
719
+ "id": "defect",
720
+ "field": "defect",
721
+ "optional": true
722
+ }
723
+ ],
724
+ "inputSchema": {
725
+ "additionalProperties": false,
726
+ "description": "CreateTaskInput supplies the new task's name.",
727
+ "properties": {
728
+ "name": {
729
+ "description": "Name is the required display name.",
730
+ "type": "string"
731
+ }
732
+ },
733
+ "required": [
734
+ "name"
735
+ ],
736
+ "type": "object"
737
+ }
738
+ },
739
+ {
740
+ "name": "newListTasksStep",
741
+ "kind": "query",
742
+ "operationId": "listTasks",
743
+ "inputType": "ListTasksInput",
744
+ "description": "Search one bounded page of tasks by status.",
745
+ "fields": {
746
+ "stepType": "stepType",
747
+ "annotations": "annotations",
748
+ "connectionName": "connectionName",
749
+ "resultAttribute": "resultAttribute"
750
+ },
751
+ "branches": [
752
+ {
753
+ "id": "listed",
754
+ "field": "listed",
755
+ "optional": false
756
+ },
757
+ {
758
+ "id": "providerRejected",
759
+ "field": "providerRejected",
760
+ "optional": true
761
+ },
762
+ {
763
+ "id": "invalidResponse",
764
+ "field": "invalidResponse",
765
+ "optional": true
766
+ },
767
+ {
768
+ "id": "defect",
769
+ "field": "defect",
770
+ "optional": true
771
+ }
772
+ ],
773
+ "inputSchema": {
774
+ "additionalProperties": false,
775
+ "description": "ListTasksInput selects one Copper search page with optional filters.",
776
+ "properties": {
777
+ "pageNumber": {
778
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
779
+ "type": "integer"
780
+ },
781
+ "pageSize": {
782
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
783
+ "type": "integer"
784
+ },
785
+ "status": {
786
+ "description": "Status optionally selects Open or Completed tasks.",
787
+ "type": "string"
788
+ }
789
+ },
790
+ "type": "object"
791
+ }
792
+ },
793
+ {
794
+ "name": "newUpdateTaskStep",
795
+ "kind": "mutation",
796
+ "operationId": "updateTask",
797
+ "inputType": "UpdateTaskInput",
798
+ "description": "Replace a Copper task's name and details without changing other fields.",
799
+ "fields": {
800
+ "stepType": "stepType",
801
+ "annotations": "annotations",
802
+ "connectionName": "connectionName",
803
+ "resultAttribute": "resultAttribute"
804
+ },
805
+ "branches": [
806
+ {
807
+ "id": "updated",
808
+ "field": "updated",
809
+ "optional": false
810
+ },
811
+ {
812
+ "id": "notFound",
813
+ "field": "notFound",
814
+ "optional": true
815
+ },
816
+ {
817
+ "id": "providerRejected",
818
+ "field": "providerRejected",
819
+ "optional": true
820
+ },
821
+ {
822
+ "id": "defect",
823
+ "field": "defect",
824
+ "optional": true
825
+ }
826
+ ],
827
+ "inputSchema": {
828
+ "additionalProperties": false,
829
+ "description": "UpdateTaskInput changes the named fields of one task.",
830
+ "properties": {
831
+ "details": {
832
+ "description": "Details replaces the notes; blank clears them.",
833
+ "type": "string"
834
+ },
835
+ "name": {
836
+ "description": "Name replaces the display name.",
837
+ "type": "string"
838
+ },
839
+ "taskId": {
840
+ "description": "TaskID is a positive numeric ID.",
841
+ "type": "string"
842
+ }
843
+ },
844
+ "required": [
845
+ "details",
846
+ "name",
847
+ "taskId"
848
+ ],
849
+ "type": "object"
850
+ }
851
+ },
852
+ {
853
+ "name": "newDeleteTaskStep",
854
+ "kind": "mutation",
855
+ "operationId": "deleteTask",
856
+ "inputType": "DeleteTaskInput",
857
+ "description": "Permanently delete a Copper task by numeric ID.",
858
+ "fields": {
859
+ "stepType": "stepType",
860
+ "annotations": "annotations",
861
+ "connectionName": "connectionName",
862
+ "resultAttribute": "resultAttribute"
863
+ },
864
+ "branches": [
865
+ {
866
+ "id": "deleted",
867
+ "field": "deleted",
868
+ "optional": false
869
+ },
870
+ {
871
+ "id": "notFound",
872
+ "field": "notFound",
873
+ "optional": true
874
+ },
875
+ {
876
+ "id": "providerRejected",
877
+ "field": "providerRejected",
878
+ "optional": true
879
+ },
880
+ {
881
+ "id": "defect",
882
+ "field": "defect",
883
+ "optional": true
884
+ }
885
+ ],
886
+ "inputSchema": {
887
+ "additionalProperties": false,
888
+ "description": "DeleteTaskInput identifies the task to remove permanently.",
889
+ "properties": {
890
+ "taskId": {
891
+ "description": "TaskID is a positive decimal Copper task ID.",
892
+ "type": "string"
893
+ }
894
+ },
895
+ "required": [
896
+ "taskId"
897
+ ],
898
+ "type": "object"
899
+ }
900
+ },
901
+ {
902
+ "name": "newGetTaskStep",
903
+ "kind": "query",
904
+ "operationId": "getTask",
905
+ "inputType": "GetTaskInput",
906
+ "description": "Read a Copper task's ID, name, and status by ID.",
907
+ "fields": {
908
+ "stepType": "stepType",
909
+ "annotations": "annotations",
910
+ "connectionName": "connectionName",
911
+ "resultAttribute": "resultAttribute"
912
+ },
913
+ "branches": [
914
+ {
915
+ "id": "found",
916
+ "field": "found",
917
+ "optional": false
918
+ },
919
+ {
920
+ "id": "notFound",
921
+ "field": "notFound",
922
+ "optional": true
923
+ },
924
+ {
925
+ "id": "providerRejected",
926
+ "field": "providerRejected",
927
+ "optional": true
928
+ },
929
+ {
930
+ "id": "invalidResponse",
931
+ "field": "invalidResponse",
932
+ "optional": true
933
+ },
934
+ {
935
+ "id": "defect",
936
+ "field": "defect",
937
+ "optional": true
938
+ }
939
+ ],
940
+ "inputSchema": {
941
+ "additionalProperties": false,
942
+ "description": "GetTaskInput identifies one task by Copper ID.",
943
+ "properties": {
944
+ "taskId": {
945
+ "description": "TaskID is a positive decimal identifier.",
946
+ "type": "string"
947
+ }
948
+ },
949
+ "required": [
950
+ "taskId"
951
+ ],
952
+ "type": "object"
953
+ }
954
+ },
955
+ {
956
+ "name": "newCreateProjectStep",
957
+ "kind": "mutation",
958
+ "operationId": "createProject",
959
+ "inputType": "CreateProjectInput",
960
+ "description": "Create a Copper project with a name and bounded retry.",
961
+ "fields": {
962
+ "stepType": "stepType",
963
+ "annotations": "annotations",
964
+ "connectionName": "connectionName",
965
+ "resultAttribute": "resultAttribute"
966
+ },
967
+ "branches": [
968
+ {
969
+ "id": "created",
970
+ "field": "created",
971
+ "optional": false
972
+ },
973
+ {
974
+ "id": "providerRejected",
975
+ "field": "providerRejected",
976
+ "optional": true
977
+ },
978
+ {
979
+ "id": "uncertain",
980
+ "field": "uncertain",
981
+ "optional": true
982
+ },
983
+ {
984
+ "id": "defect",
985
+ "field": "defect",
986
+ "optional": true
987
+ }
988
+ ],
989
+ "inputSchema": {
990
+ "additionalProperties": false,
991
+ "description": "CreateProjectInput supplies the new project's name.",
992
+ "properties": {
993
+ "name": {
994
+ "description": "Name is the required display name.",
995
+ "type": "string"
996
+ }
997
+ },
998
+ "required": [
999
+ "name"
1000
+ ],
1001
+ "type": "object"
1002
+ }
1003
+ },
1004
+ {
1005
+ "name": "newListProjectsStep",
1006
+ "kind": "query",
1007
+ "operationId": "listProjects",
1008
+ "inputType": "ListProjectsInput",
1009
+ "description": "Search one bounded page of projects by name.",
1010
+ "fields": {
1011
+ "stepType": "stepType",
1012
+ "annotations": "annotations",
1013
+ "connectionName": "connectionName",
1014
+ "resultAttribute": "resultAttribute"
1015
+ },
1016
+ "branches": [
1017
+ {
1018
+ "id": "listed",
1019
+ "field": "listed",
1020
+ "optional": false
1021
+ },
1022
+ {
1023
+ "id": "providerRejected",
1024
+ "field": "providerRejected",
1025
+ "optional": true
1026
+ },
1027
+ {
1028
+ "id": "invalidResponse",
1029
+ "field": "invalidResponse",
1030
+ "optional": true
1031
+ },
1032
+ {
1033
+ "id": "defect",
1034
+ "field": "defect",
1035
+ "optional": true
1036
+ }
1037
+ ],
1038
+ "inputSchema": {
1039
+ "additionalProperties": false,
1040
+ "description": "ListProjectsInput selects one Copper search page with optional filters.",
1041
+ "properties": {
1042
+ "name": {
1043
+ "description": "Name optionally matches a full project name.",
1044
+ "type": "string"
1045
+ },
1046
+ "pageNumber": {
1047
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
1048
+ "type": "integer"
1049
+ },
1050
+ "pageSize": {
1051
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
1052
+ "type": "integer"
1053
+ }
1054
+ },
1055
+ "type": "object"
1056
+ }
1057
+ },
1058
+ {
1059
+ "name": "newUpdateProjectStep",
1060
+ "kind": "mutation",
1061
+ "operationId": "updateProject",
1062
+ "inputType": "UpdateProjectInput",
1063
+ "description": "Replace a Copper project's name and details without changing other fields.",
1064
+ "fields": {
1065
+ "stepType": "stepType",
1066
+ "annotations": "annotations",
1067
+ "connectionName": "connectionName",
1068
+ "resultAttribute": "resultAttribute"
1069
+ },
1070
+ "branches": [
1071
+ {
1072
+ "id": "updated",
1073
+ "field": "updated",
1074
+ "optional": false
1075
+ },
1076
+ {
1077
+ "id": "notFound",
1078
+ "field": "notFound",
1079
+ "optional": true
1080
+ },
1081
+ {
1082
+ "id": "providerRejected",
1083
+ "field": "providerRejected",
1084
+ "optional": true
1085
+ },
1086
+ {
1087
+ "id": "defect",
1088
+ "field": "defect",
1089
+ "optional": true
1090
+ }
1091
+ ],
1092
+ "inputSchema": {
1093
+ "additionalProperties": false,
1094
+ "description": "UpdateProjectInput changes the named fields of one project.",
1095
+ "properties": {
1096
+ "details": {
1097
+ "description": "Details replaces the notes; blank clears them.",
1098
+ "type": "string"
1099
+ },
1100
+ "name": {
1101
+ "description": "Name replaces the display name.",
1102
+ "type": "string"
1103
+ },
1104
+ "projectId": {
1105
+ "description": "ProjectID is a positive numeric ID.",
1106
+ "type": "string"
1107
+ }
1108
+ },
1109
+ "required": [
1110
+ "details",
1111
+ "name",
1112
+ "projectId"
1113
+ ],
1114
+ "type": "object"
1115
+ }
1116
+ },
1117
+ {
1118
+ "name": "newDeleteProjectStep",
1119
+ "kind": "mutation",
1120
+ "operationId": "deleteProject",
1121
+ "inputType": "DeleteProjectInput",
1122
+ "description": "Permanently delete a Copper project by numeric ID.",
1123
+ "fields": {
1124
+ "stepType": "stepType",
1125
+ "annotations": "annotations",
1126
+ "connectionName": "connectionName",
1127
+ "resultAttribute": "resultAttribute"
1128
+ },
1129
+ "branches": [
1130
+ {
1131
+ "id": "deleted",
1132
+ "field": "deleted",
1133
+ "optional": false
1134
+ },
1135
+ {
1136
+ "id": "notFound",
1137
+ "field": "notFound",
1138
+ "optional": true
1139
+ },
1140
+ {
1141
+ "id": "providerRejected",
1142
+ "field": "providerRejected",
1143
+ "optional": true
1144
+ },
1145
+ {
1146
+ "id": "defect",
1147
+ "field": "defect",
1148
+ "optional": true
1149
+ }
1150
+ ],
1151
+ "inputSchema": {
1152
+ "additionalProperties": false,
1153
+ "description": "DeleteProjectInput identifies the project to remove permanently.",
1154
+ "properties": {
1155
+ "projectId": {
1156
+ "description": "ProjectID is a positive decimal Copper project ID.",
1157
+ "type": "string"
1158
+ }
1159
+ },
1160
+ "required": [
1161
+ "projectId"
1162
+ ],
1163
+ "type": "object"
1164
+ }
1165
+ },
1166
+ {
1167
+ "name": "newGetProjectStep",
1168
+ "kind": "query",
1169
+ "operationId": "getProject",
1170
+ "inputType": "GetProjectInput",
1171
+ "description": "Read a Copper project's ID, name, and status by ID.",
1172
+ "fields": {
1173
+ "stepType": "stepType",
1174
+ "annotations": "annotations",
1175
+ "connectionName": "connectionName",
1176
+ "resultAttribute": "resultAttribute"
1177
+ },
1178
+ "branches": [
1179
+ {
1180
+ "id": "found",
1181
+ "field": "found",
1182
+ "optional": false
1183
+ },
1184
+ {
1185
+ "id": "notFound",
1186
+ "field": "notFound",
1187
+ "optional": true
1188
+ },
1189
+ {
1190
+ "id": "providerRejected",
1191
+ "field": "providerRejected",
1192
+ "optional": true
1193
+ },
1194
+ {
1195
+ "id": "invalidResponse",
1196
+ "field": "invalidResponse",
1197
+ "optional": true
1198
+ },
1199
+ {
1200
+ "id": "defect",
1201
+ "field": "defect",
1202
+ "optional": true
1203
+ }
1204
+ ],
1205
+ "inputSchema": {
1206
+ "additionalProperties": false,
1207
+ "description": "GetProjectInput identifies one project by Copper ID.",
1208
+ "properties": {
1209
+ "projectId": {
1210
+ "description": "ProjectID is a positive decimal identifier.",
1211
+ "type": "string"
1212
+ }
1213
+ },
1214
+ "required": [
1215
+ "projectId"
1216
+ ],
1217
+ "type": "object"
1218
+ }
1219
+ },
1220
+ {
1221
+ "name": "newCreateOpportunityStep",
1222
+ "kind": "mutation",
1223
+ "operationId": "createOpportunity",
1224
+ "inputType": "CreateOpportunityInput",
1225
+ "description": "Create a Copper opportunity with a name and bounded retry.",
1226
+ "fields": {
1227
+ "stepType": "stepType",
1228
+ "annotations": "annotations",
1229
+ "connectionName": "connectionName",
1230
+ "resultAttribute": "resultAttribute"
1231
+ },
1232
+ "branches": [
1233
+ {
1234
+ "id": "created",
1235
+ "field": "created",
1236
+ "optional": false
1237
+ },
1238
+ {
1239
+ "id": "providerRejected",
1240
+ "field": "providerRejected",
1241
+ "optional": true
1242
+ },
1243
+ {
1244
+ "id": "uncertain",
1245
+ "field": "uncertain",
1246
+ "optional": true
1247
+ },
1248
+ {
1249
+ "id": "defect",
1250
+ "field": "defect",
1251
+ "optional": true
1252
+ }
1253
+ ],
1254
+ "inputSchema": {
1255
+ "additionalProperties": false,
1256
+ "description": "CreateOpportunityInput supplies the new opportunity's name.",
1257
+ "properties": {
1258
+ "name": {
1259
+ "description": "Name is the required display name.",
1260
+ "type": "string"
1261
+ }
1262
+ },
1263
+ "required": [
1264
+ "name"
1265
+ ],
1266
+ "type": "object"
1267
+ }
1268
+ },
1269
+ {
1270
+ "name": "newListOpportunitiesStep",
1271
+ "kind": "query",
1272
+ "operationId": "listOpportunities",
1273
+ "inputType": "ListOpportunitiesInput",
1274
+ "description": "Search one bounded page of opportunities by name.",
1275
+ "fields": {
1276
+ "stepType": "stepType",
1277
+ "annotations": "annotations",
1278
+ "connectionName": "connectionName",
1279
+ "resultAttribute": "resultAttribute"
1280
+ },
1281
+ "branches": [
1282
+ {
1283
+ "id": "listed",
1284
+ "field": "listed",
1285
+ "optional": false
1286
+ },
1287
+ {
1288
+ "id": "providerRejected",
1289
+ "field": "providerRejected",
1290
+ "optional": true
1291
+ },
1292
+ {
1293
+ "id": "invalidResponse",
1294
+ "field": "invalidResponse",
1295
+ "optional": true
1296
+ },
1297
+ {
1298
+ "id": "defect",
1299
+ "field": "defect",
1300
+ "optional": true
1301
+ }
1302
+ ],
1303
+ "inputSchema": {
1304
+ "additionalProperties": false,
1305
+ "description": "ListOpportunitiesInput selects one Copper search page with optional filters.",
1306
+ "properties": {
1307
+ "name": {
1308
+ "description": "Name optionally matches a full opportunity name.",
1309
+ "type": "string"
1310
+ },
1311
+ "pageNumber": {
1312
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
1313
+ "type": "integer"
1314
+ },
1315
+ "pageSize": {
1316
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
1317
+ "type": "integer"
1318
+ }
1319
+ },
1320
+ "type": "object"
1321
+ }
1322
+ },
1323
+ {
1324
+ "name": "newUpdateOpportunityStep",
1325
+ "kind": "mutation",
1326
+ "operationId": "updateOpportunity",
1327
+ "inputType": "UpdateOpportunityInput",
1328
+ "description": "Replace a Copper opportunity's name and details without changing other fields.",
1329
+ "fields": {
1330
+ "stepType": "stepType",
1331
+ "annotations": "annotations",
1332
+ "connectionName": "connectionName",
1333
+ "resultAttribute": "resultAttribute"
1334
+ },
1335
+ "branches": [
1336
+ {
1337
+ "id": "updated",
1338
+ "field": "updated",
1339
+ "optional": false
1340
+ },
1341
+ {
1342
+ "id": "notFound",
1343
+ "field": "notFound",
1344
+ "optional": true
1345
+ },
1346
+ {
1347
+ "id": "providerRejected",
1348
+ "field": "providerRejected",
1349
+ "optional": true
1350
+ },
1351
+ {
1352
+ "id": "defect",
1353
+ "field": "defect",
1354
+ "optional": true
1355
+ }
1356
+ ],
1357
+ "inputSchema": {
1358
+ "additionalProperties": false,
1359
+ "description": "UpdateOpportunityInput changes the named fields of one opportunity.",
1360
+ "properties": {
1361
+ "details": {
1362
+ "description": "Details replaces the notes; blank clears them.",
1363
+ "type": "string"
1364
+ },
1365
+ "name": {
1366
+ "description": "Name replaces the display name.",
1367
+ "type": "string"
1368
+ },
1369
+ "opportunityId": {
1370
+ "description": "OpportunityID is a positive numeric ID.",
1371
+ "type": "string"
1372
+ }
1373
+ },
1374
+ "required": [
1375
+ "details",
1376
+ "name",
1377
+ "opportunityId"
1378
+ ],
1379
+ "type": "object"
1380
+ }
1381
+ },
1382
+ {
1383
+ "name": "newDeleteOpportunityStep",
1384
+ "kind": "mutation",
1385
+ "operationId": "deleteOpportunity",
1386
+ "inputType": "DeleteOpportunityInput",
1387
+ "description": "Permanently delete a Copper opportunity by numeric ID.",
1388
+ "fields": {
1389
+ "stepType": "stepType",
1390
+ "annotations": "annotations",
1391
+ "connectionName": "connectionName",
1392
+ "resultAttribute": "resultAttribute"
1393
+ },
1394
+ "branches": [
1395
+ {
1396
+ "id": "deleted",
1397
+ "field": "deleted",
1398
+ "optional": false
1399
+ },
1400
+ {
1401
+ "id": "notFound",
1402
+ "field": "notFound",
1403
+ "optional": true
1404
+ },
1405
+ {
1406
+ "id": "providerRejected",
1407
+ "field": "providerRejected",
1408
+ "optional": true
1409
+ },
1410
+ {
1411
+ "id": "defect",
1412
+ "field": "defect",
1413
+ "optional": true
1414
+ }
1415
+ ],
1416
+ "inputSchema": {
1417
+ "additionalProperties": false,
1418
+ "description": "DeleteOpportunityInput identifies the opportunity to remove permanently.",
1419
+ "properties": {
1420
+ "opportunityId": {
1421
+ "description": "OpportunityID is a positive decimal Copper opportunity ID.",
1422
+ "type": "string"
1423
+ }
1424
+ },
1425
+ "required": [
1426
+ "opportunityId"
1427
+ ],
1428
+ "type": "object"
1429
+ }
1430
+ },
1431
+ {
1432
+ "name": "newGetOpportunityStep",
1433
+ "kind": "query",
1434
+ "operationId": "getOpportunity",
1435
+ "inputType": "GetOpportunityInput",
1436
+ "description": "Read a Copper opportunity's ID, name, and status by ID.",
1437
+ "fields": {
1438
+ "stepType": "stepType",
1439
+ "annotations": "annotations",
1440
+ "connectionName": "connectionName",
1441
+ "resultAttribute": "resultAttribute"
1442
+ },
1443
+ "branches": [
1444
+ {
1445
+ "id": "found",
1446
+ "field": "found",
1447
+ "optional": false
1448
+ },
1449
+ {
1450
+ "id": "notFound",
1451
+ "field": "notFound",
1452
+ "optional": true
1453
+ },
1454
+ {
1455
+ "id": "providerRejected",
1456
+ "field": "providerRejected",
1457
+ "optional": true
1458
+ },
1459
+ {
1460
+ "id": "invalidResponse",
1461
+ "field": "invalidResponse",
1462
+ "optional": true
1463
+ },
1464
+ {
1465
+ "id": "defect",
1466
+ "field": "defect",
1467
+ "optional": true
1468
+ }
1469
+ ],
1470
+ "inputSchema": {
1471
+ "additionalProperties": false,
1472
+ "description": "GetOpportunityInput identifies one opportunity by Copper ID.",
1473
+ "properties": {
1474
+ "opportunityId": {
1475
+ "description": "OpportunityID is a positive decimal identifier.",
1476
+ "type": "string"
1477
+ }
1478
+ },
1479
+ "required": [
1480
+ "opportunityId"
1481
+ ],
1482
+ "type": "object"
1483
+ }
1484
+ },
1485
+ {
1486
+ "name": "newCreateLeadStep",
1487
+ "kind": "mutation",
1488
+ "operationId": "createLead",
1489
+ "inputType": "CreateLeadInput",
1490
+ "description": "Create a Copper lead with a name and email for read-back.",
1491
+ "fields": {
1492
+ "stepType": "stepType",
1493
+ "annotations": "annotations",
1494
+ "connectionName": "connectionName",
1495
+ "resultAttribute": "resultAttribute"
1496
+ },
1497
+ "branches": [
1498
+ {
1499
+ "id": "created",
1500
+ "field": "created",
1501
+ "optional": false
1502
+ },
1503
+ {
1504
+ "id": "providerRejected",
1505
+ "field": "providerRejected",
1506
+ "optional": true
1507
+ },
1508
+ {
1509
+ "id": "uncertain",
1510
+ "field": "uncertain",
1511
+ "optional": true
1512
+ },
1513
+ {
1514
+ "id": "defect",
1515
+ "field": "defect",
1516
+ "optional": true
1517
+ }
1518
+ ],
1519
+ "inputSchema": {
1520
+ "additionalProperties": false,
1521
+ "description": "CreateLeadInput supplies the new lead's name and email for read-back.",
1522
+ "properties": {
1523
+ "email": {
1524
+ "description": "Email is required to search for a possibly created lead after an unknown outcome.",
1525
+ "type": "string"
1526
+ },
1527
+ "name": {
1528
+ "description": "Name is the required display name.",
1529
+ "type": "string"
1530
+ }
1531
+ },
1532
+ "required": [
1533
+ "email",
1534
+ "name"
1535
+ ],
1536
+ "type": "object"
1537
+ }
1538
+ },
1539
+ {
1540
+ "name": "newListLeadsStep",
1541
+ "kind": "query",
1542
+ "operationId": "listLeads",
1543
+ "inputType": "ListLeadsInput",
1544
+ "description": "Search one bounded page of leads by name or email.",
1545
+ "fields": {
1546
+ "stepType": "stepType",
1547
+ "annotations": "annotations",
1548
+ "connectionName": "connectionName",
1549
+ "resultAttribute": "resultAttribute"
1550
+ },
1551
+ "branches": [
1552
+ {
1553
+ "id": "listed",
1554
+ "field": "listed",
1555
+ "optional": false
1556
+ },
1557
+ {
1558
+ "id": "providerRejected",
1559
+ "field": "providerRejected",
1560
+ "optional": true
1561
+ },
1562
+ {
1563
+ "id": "invalidResponse",
1564
+ "field": "invalidResponse",
1565
+ "optional": true
1566
+ },
1567
+ {
1568
+ "id": "defect",
1569
+ "field": "defect",
1570
+ "optional": true
1571
+ }
1572
+ ],
1573
+ "inputSchema": {
1574
+ "additionalProperties": false,
1575
+ "description": "ListLeadsInput selects one Copper search page with optional filters.",
1576
+ "properties": {
1577
+ "email": {
1578
+ "description": "Email optionally matches a lead's full email address.",
1579
+ "type": "string"
1580
+ },
1581
+ "name": {
1582
+ "description": "Name optionally matches a full lead name.",
1583
+ "type": "string"
1584
+ },
1585
+ "pageNumber": {
1586
+ "description": "PageNumber starts at one; zero uses Copper's first page.",
1587
+ "type": "integer"
1588
+ },
1589
+ "pageSize": {
1590
+ "description": "PageSize is 1 through 200; zero uses Copper's default of 20.",
1591
+ "type": "integer"
1592
+ }
1593
+ },
1594
+ "type": "object"
1595
+ }
1596
+ },
1597
+ {
1598
+ "name": "newUpdateLeadStep",
1599
+ "kind": "mutation",
1600
+ "operationId": "updateLead",
1601
+ "inputType": "UpdateLeadInput",
1602
+ "description": "Replace a Copper lead's name and details without changing other fields.",
1603
+ "fields": {
1604
+ "stepType": "stepType",
1605
+ "annotations": "annotations",
1606
+ "connectionName": "connectionName",
1607
+ "resultAttribute": "resultAttribute"
1608
+ },
1609
+ "branches": [
1610
+ {
1611
+ "id": "updated",
1612
+ "field": "updated",
1613
+ "optional": false
1614
+ },
1615
+ {
1616
+ "id": "notFound",
1617
+ "field": "notFound",
1618
+ "optional": true
1619
+ },
1620
+ {
1621
+ "id": "providerRejected",
1622
+ "field": "providerRejected",
1623
+ "optional": true
1624
+ },
1625
+ {
1626
+ "id": "defect",
1627
+ "field": "defect",
1628
+ "optional": true
1629
+ }
1630
+ ],
1631
+ "inputSchema": {
1632
+ "additionalProperties": false,
1633
+ "description": "UpdateLeadInput changes the named fields of one lead.",
1634
+ "properties": {
1635
+ "details": {
1636
+ "description": "Details replaces the notes; blank clears them.",
1637
+ "type": "string"
1638
+ },
1639
+ "leadId": {
1640
+ "description": "LeadID is a positive numeric ID.",
1641
+ "type": "string"
1642
+ },
1643
+ "name": {
1644
+ "description": "Name replaces the display name.",
1645
+ "type": "string"
1646
+ }
1647
+ },
1648
+ "required": [
1649
+ "details",
1650
+ "leadId",
1651
+ "name"
1652
+ ],
1653
+ "type": "object"
1654
+ }
1655
+ },
1656
+ {
1657
+ "name": "newDeleteLeadStep",
1658
+ "kind": "mutation",
1659
+ "operationId": "deleteLead",
1660
+ "inputType": "DeleteLeadInput",
1661
+ "description": "Permanently delete a Copper lead by numeric ID.",
1662
+ "fields": {
1663
+ "stepType": "stepType",
1664
+ "annotations": "annotations",
1665
+ "connectionName": "connectionName",
1666
+ "resultAttribute": "resultAttribute"
1667
+ },
1668
+ "branches": [
1669
+ {
1670
+ "id": "deleted",
1671
+ "field": "deleted",
1672
+ "optional": false
1673
+ },
1674
+ {
1675
+ "id": "notFound",
1676
+ "field": "notFound",
1677
+ "optional": true
1678
+ },
1679
+ {
1680
+ "id": "providerRejected",
1681
+ "field": "providerRejected",
1682
+ "optional": true
1683
+ },
1684
+ {
1685
+ "id": "defect",
1686
+ "field": "defect",
1687
+ "optional": true
1688
+ }
1689
+ ],
1690
+ "inputSchema": {
1691
+ "additionalProperties": false,
1692
+ "description": "DeleteLeadInput identifies the lead to remove permanently.",
1693
+ "properties": {
1694
+ "leadId": {
1695
+ "description": "LeadID is a positive decimal Copper lead ID.",
1696
+ "type": "string"
1697
+ }
1698
+ },
1699
+ "required": [
1700
+ "leadId"
1701
+ ],
1702
+ "type": "object"
1703
+ }
1704
+ },
1705
+ {
1706
+ "name": "newGetLeadStep",
1707
+ "kind": "query",
1708
+ "operationId": "getLead",
1709
+ "inputType": "GetLeadInput",
1710
+ "description": "Read a Copper lead's ID, name, status, and company name by ID.",
1711
+ "fields": {
1712
+ "stepType": "stepType",
1713
+ "annotations": "annotations",
1714
+ "connectionName": "connectionName",
1715
+ "resultAttribute": "resultAttribute"
1716
+ },
1717
+ "branches": [
1718
+ {
1719
+ "id": "found",
1720
+ "field": "found",
1721
+ "optional": false
1722
+ },
1723
+ {
1724
+ "id": "notFound",
1725
+ "field": "notFound",
1726
+ "optional": true
1727
+ },
1728
+ {
1729
+ "id": "providerRejected",
1730
+ "field": "providerRejected",
1731
+ "optional": true
1732
+ },
1733
+ {
1734
+ "id": "invalidResponse",
1735
+ "field": "invalidResponse",
1736
+ "optional": true
1737
+ },
1738
+ {
1739
+ "id": "defect",
1740
+ "field": "defect",
1741
+ "optional": true
1742
+ }
1743
+ ],
1744
+ "inputSchema": {
1745
+ "additionalProperties": false,
1746
+ "description": "GetLeadInput selects a Copper lead by its numeric ID.",
1747
+ "properties": {
1748
+ "leadId": {
1749
+ "description": "LeadID is the numeric ID shown on a Copper lead and returned by its API.",
1750
+ "type": "string"
1751
+ }
1752
+ },
1753
+ "required": [
1754
+ "leadId"
1755
+ ],
1756
+ "type": "object"
1757
+ }
1758
+ }
1759
+ ]
1760
+ }