@itentialopensource/adapter-salesforce 0.8.0 → 0.9.1

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.
Files changed (45) hide show
  1. package/CALLS.md +285 -0
  2. package/CHANGELOG.md +16 -0
  3. package/CONTRIBUTING.md +1 -160
  4. package/ENHANCE.md +2 -2
  5. package/README.md +32 -23
  6. package/adapter.js +161 -333
  7. package/adapterBase.js +549 -879
  8. package/changelogs/changelog.md +94 -0
  9. package/entities/.system/action.json +4 -4
  10. package/entities/.system/schemaTokenReq.json +33 -4
  11. package/entities/.system/schemaTokenResp.json +1 -34
  12. package/metadata.json +49 -0
  13. package/package.json +24 -25
  14. package/pronghorn.json +470 -138
  15. package/propertiesSchema.json +431 -31
  16. package/refs?service=git-upload-pack +0 -0
  17. package/report/adapter-openapi.json +1543 -0
  18. package/report/adapter-openapi.yaml +1201 -0
  19. package/report/adapterInfo.json +8 -8
  20. package/report/updateReport1691511372644.json +120 -0
  21. package/report/updateReport1692202876451.json +120 -0
  22. package/report/updateReport1694464610053.json +120 -0
  23. package/report/updateReport1698421735618.json +120 -0
  24. package/sampleProperties.json +63 -2
  25. package/test/integration/adapterTestBasicGet.js +2 -4
  26. package/test/integration/adapterTestConnectivity.js +91 -42
  27. package/test/integration/adapterTestIntegration.js +130 -2
  28. package/test/unit/adapterBaseTestUnit.js +388 -313
  29. package/test/unit/adapterTestUnit.js +338 -112
  30. package/utils/adapterInfo.js +1 -1
  31. package/utils/addAuth.js +1 -1
  32. package/utils/artifactize.js +1 -1
  33. package/utils/checkMigrate.js +1 -1
  34. package/utils/entitiesToDB.js +2 -2
  35. package/utils/findPath.js +1 -1
  36. package/utils/methodDocumentor.js +273 -0
  37. package/utils/modify.js +13 -15
  38. package/utils/packModificationScript.js +1 -1
  39. package/utils/pre-commit.sh +2 -0
  40. package/utils/taskMover.js +309 -0
  41. package/utils/tbScript.js +89 -34
  42. package/utils/tbUtils.js +41 -21
  43. package/utils/testRunner.js +1 -1
  44. package/utils/troubleshootingAdapter.js +9 -6
  45. package/workflows/README.md +0 -3
@@ -0,0 +1,1543 @@
1
+ {
2
+ "openapi": "3.0.2",
3
+ "info": {
4
+ "title": "adapter-salesforce",
5
+ "version": "1.0.0"
6
+ },
7
+ "paths": {
8
+ "/localizations": {
9
+ "get": {
10
+ "operationId": "getLocalizations",
11
+ "responses": {
12
+ "200": {
13
+ "description": "Successful operation",
14
+ "content": {
15
+ "application/json": {
16
+ "schema": {
17
+ "title": "result",
18
+ "type": "object"
19
+ }
20
+ }
21
+ }
22
+ }
23
+ },
24
+ "parameters": [
25
+ {
26
+ "name": "locale",
27
+ "in": "query",
28
+ "required": false,
29
+ "schema": {
30
+ "title": "locale",
31
+ "type": "string"
32
+ }
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ "/incidents": {
38
+ "get": {
39
+ "operationId": "getIncidents",
40
+ "responses": {
41
+ "200": {
42
+ "description": "Successful operation",
43
+ "content": {
44
+ "application/json": {
45
+ "schema": {
46
+ "title": "result",
47
+ "type": "object"
48
+ }
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "parameters": [
54
+ {
55
+ "name": "startTime",
56
+ "in": "query",
57
+ "required": false,
58
+ "schema": {
59
+ "title": "startTime",
60
+ "type": "string"
61
+ }
62
+ },
63
+ {
64
+ "name": "service",
65
+ "in": "query",
66
+ "required": false,
67
+ "schema": {
68
+ "title": "service",
69
+ "type": "string"
70
+ }
71
+ },
72
+ {
73
+ "name": "instance",
74
+ "in": "query",
75
+ "required": false,
76
+ "schema": {
77
+ "title": "instance",
78
+ "type": "string"
79
+ }
80
+ },
81
+ {
82
+ "name": "limit",
83
+ "in": "query",
84
+ "required": false,
85
+ "schema": {
86
+ "title": "limit",
87
+ "type": "number"
88
+ }
89
+ },
90
+ {
91
+ "name": "offset",
92
+ "in": "query",
93
+ "required": false,
94
+ "schema": {
95
+ "title": "offset",
96
+ "type": "number"
97
+ }
98
+ },
99
+ {
100
+ "name": "sort",
101
+ "in": "query",
102
+ "required": false,
103
+ "schema": {
104
+ "title": "sort",
105
+ "type": "string"
106
+ }
107
+ },
108
+ {
109
+ "name": "order",
110
+ "in": "query",
111
+ "required": false,
112
+ "schema": {
113
+ "title": "order",
114
+ "type": "string"
115
+ }
116
+ },
117
+ {
118
+ "name": "locale",
119
+ "in": "query",
120
+ "required": false,
121
+ "schema": {
122
+ "title": "locale",
123
+ "type": "string"
124
+ }
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ "/incidents/{id}": {
130
+ "get": {
131
+ "operationId": "getIncidentsid",
132
+ "responses": {
133
+ "200": {
134
+ "description": "Successful operation",
135
+ "content": {
136
+ "application/json": {
137
+ "schema": {
138
+ "title": "result",
139
+ "type": "object"
140
+ }
141
+ }
142
+ }
143
+ }
144
+ },
145
+ "parameters": [
146
+ {
147
+ "name": "id",
148
+ "in": "path",
149
+ "required": true,
150
+ "schema": {
151
+ "title": "id",
152
+ "type": "string"
153
+ }
154
+ },
155
+ {
156
+ "name": "locale",
157
+ "in": "query",
158
+ "required": false,
159
+ "schema": {
160
+ "title": "locale",
161
+ "type": "string"
162
+ }
163
+ }
164
+ ]
165
+ }
166
+ },
167
+ "/incidents/fields": {
168
+ "get": {
169
+ "operationId": "getIncidentsfields",
170
+ "responses": {
171
+ "200": {
172
+ "description": "Successful operation",
173
+ "content": {
174
+ "application/json": {
175
+ "schema": {
176
+ "title": "result",
177
+ "type": "object"
178
+ }
179
+ }
180
+ }
181
+ }
182
+ },
183
+ "parameters": [
184
+ {
185
+ "name": "locale",
186
+ "in": "query",
187
+ "required": false,
188
+ "schema": {
189
+ "title": "locale",
190
+ "type": "string"
191
+ }
192
+ }
193
+ ]
194
+ }
195
+ },
196
+ "/incidents/impactTypes": {
197
+ "get": {
198
+ "operationId": "getIncidentsimpactTypes",
199
+ "responses": {
200
+ "200": {
201
+ "description": "Successful operation",
202
+ "content": {
203
+ "application/json": {
204
+ "schema": {
205
+ "title": "result",
206
+ "type": "object"
207
+ }
208
+ }
209
+ }
210
+ }
211
+ },
212
+ "parameters": [
213
+ {
214
+ "name": "locale",
215
+ "in": "query",
216
+ "required": false,
217
+ "schema": {
218
+ "title": "locale",
219
+ "type": "string"
220
+ }
221
+ }
222
+ ]
223
+ }
224
+ },
225
+ "/incidents/eventTypes": {
226
+ "get": {
227
+ "operationId": "getIncidentseventTypes",
228
+ "responses": {
229
+ "200": {
230
+ "description": "Successful operation",
231
+ "content": {
232
+ "application/json": {
233
+ "schema": {
234
+ "title": "result",
235
+ "type": "object"
236
+ }
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "parameters": [
242
+ {
243
+ "name": "locale",
244
+ "in": "query",
245
+ "required": false,
246
+ "schema": {
247
+ "title": "locale",
248
+ "type": "string"
249
+ }
250
+ }
251
+ ]
252
+ }
253
+ },
254
+ "/maintenances": {
255
+ "get": {
256
+ "operationId": "getMaintenances",
257
+ "responses": {
258
+ "200": {
259
+ "description": "Successful operation",
260
+ "content": {
261
+ "application/json": {
262
+ "schema": {
263
+ "title": "result",
264
+ "type": "object"
265
+ }
266
+ }
267
+ }
268
+ }
269
+ },
270
+ "parameters": [
271
+ {
272
+ "name": "startTime",
273
+ "in": "query",
274
+ "required": false,
275
+ "schema": {
276
+ "title": "startTime",
277
+ "type": "string"
278
+ }
279
+ },
280
+ {
281
+ "name": "service",
282
+ "in": "query",
283
+ "required": false,
284
+ "schema": {
285
+ "title": "service",
286
+ "type": "string"
287
+ }
288
+ },
289
+ {
290
+ "name": "instance",
291
+ "in": "query",
292
+ "required": false,
293
+ "schema": {
294
+ "title": "instance",
295
+ "type": "string"
296
+ }
297
+ },
298
+ {
299
+ "name": "name",
300
+ "in": "query",
301
+ "required": false,
302
+ "schema": {
303
+ "title": "name",
304
+ "type": "string"
305
+ }
306
+ },
307
+ {
308
+ "name": "limit",
309
+ "in": "query",
310
+ "required": false,
311
+ "schema": {
312
+ "title": "limit",
313
+ "type": "number"
314
+ }
315
+ },
316
+ {
317
+ "name": "offset",
318
+ "in": "query",
319
+ "required": false,
320
+ "schema": {
321
+ "title": "offset",
322
+ "type": "number"
323
+ }
324
+ },
325
+ {
326
+ "name": "sort",
327
+ "in": "query",
328
+ "required": false,
329
+ "schema": {
330
+ "title": "sort",
331
+ "type": "string"
332
+ }
333
+ },
334
+ {
335
+ "name": "order",
336
+ "in": "query",
337
+ "required": false,
338
+ "schema": {
339
+ "title": "order",
340
+ "type": "string"
341
+ }
342
+ },
343
+ {
344
+ "name": "locale",
345
+ "in": "query",
346
+ "required": false,
347
+ "schema": {
348
+ "title": "locale",
349
+ "type": "string"
350
+ }
351
+ }
352
+ ]
353
+ }
354
+ },
355
+ "/maintenances/{id}": {
356
+ "get": {
357
+ "operationId": "getMaintenancesid",
358
+ "responses": {
359
+ "200": {
360
+ "description": "Successful operation",
361
+ "content": {
362
+ "application/json": {
363
+ "schema": {
364
+ "title": "result",
365
+ "type": "object"
366
+ }
367
+ }
368
+ }
369
+ }
370
+ },
371
+ "parameters": [
372
+ {
373
+ "name": "id",
374
+ "in": "path",
375
+ "required": true,
376
+ "schema": {
377
+ "title": "id",
378
+ "type": "string"
379
+ }
380
+ },
381
+ {
382
+ "name": "locale",
383
+ "in": "query",
384
+ "required": false,
385
+ "schema": {
386
+ "title": "locale",
387
+ "type": "string"
388
+ }
389
+ }
390
+ ]
391
+ }
392
+ },
393
+ "/maintenances/fields": {
394
+ "get": {
395
+ "operationId": "getMaintenancesfields",
396
+ "responses": {
397
+ "200": {
398
+ "description": "Successful operation",
399
+ "content": {
400
+ "application/json": {
401
+ "schema": {
402
+ "title": "result",
403
+ "type": "object"
404
+ }
405
+ }
406
+ }
407
+ }
408
+ },
409
+ "parameters": [
410
+ {
411
+ "name": "locale",
412
+ "in": "query",
413
+ "required": false,
414
+ "schema": {
415
+ "title": "locale",
416
+ "type": "string"
417
+ }
418
+ }
419
+ ]
420
+ }
421
+ },
422
+ "/maintenances/eventTypes": {
423
+ "get": {
424
+ "operationId": "getMaintenanceseventTypes",
425
+ "responses": {
426
+ "200": {
427
+ "description": "Successful operation",
428
+ "content": {
429
+ "application/json": {
430
+ "schema": {
431
+ "title": "result",
432
+ "type": "object"
433
+ }
434
+ }
435
+ }
436
+ }
437
+ },
438
+ "parameters": [
439
+ {
440
+ "name": "locale",
441
+ "in": "query",
442
+ "required": false,
443
+ "schema": {
444
+ "title": "locale",
445
+ "type": "string"
446
+ }
447
+ }
448
+ ]
449
+ }
450
+ },
451
+ "/generalMessages": {
452
+ "get": {
453
+ "operationId": "getGeneralMessages",
454
+ "responses": {
455
+ "200": {
456
+ "description": "Successful operation",
457
+ "content": {
458
+ "application/json": {
459
+ "schema": {
460
+ "title": "result",
461
+ "type": "object"
462
+ }
463
+ }
464
+ }
465
+ }
466
+ },
467
+ "parameters": [
468
+ {
469
+ "name": "limit",
470
+ "in": "query",
471
+ "required": false,
472
+ "schema": {
473
+ "title": "limit",
474
+ "type": "number"
475
+ }
476
+ },
477
+ {
478
+ "name": "offset",
479
+ "in": "query",
480
+ "required": false,
481
+ "schema": {
482
+ "title": "offset",
483
+ "type": "number"
484
+ }
485
+ }
486
+ ]
487
+ }
488
+ },
489
+ "/generalMessages/{id}": {
490
+ "get": {
491
+ "operationId": "getGeneralMessagesid",
492
+ "responses": {
493
+ "200": {
494
+ "description": "Successful operation",
495
+ "content": {
496
+ "application/json": {
497
+ "schema": {
498
+ "title": "result",
499
+ "type": "object"
500
+ }
501
+ }
502
+ }
503
+ }
504
+ },
505
+ "parameters": [
506
+ {
507
+ "name": "id",
508
+ "in": "path",
509
+ "required": true,
510
+ "schema": {
511
+ "title": "id",
512
+ "type": "string"
513
+ }
514
+ }
515
+ ]
516
+ }
517
+ },
518
+ "/metricValues": {
519
+ "get": {
520
+ "operationId": "getMetricValues",
521
+ "responses": {
522
+ "200": {
523
+ "description": "Successful operation",
524
+ "content": {
525
+ "application/json": {
526
+ "schema": {
527
+ "title": "result",
528
+ "type": "object"
529
+ }
530
+ }
531
+ }
532
+ }
533
+ },
534
+ "parameters": [
535
+ {
536
+ "name": "startTime",
537
+ "in": "query",
538
+ "required": false,
539
+ "schema": {
540
+ "title": "startTime",
541
+ "type": "string"
542
+ }
543
+ },
544
+ {
545
+ "name": "endTime",
546
+ "in": "query",
547
+ "required": false,
548
+ "schema": {
549
+ "title": "endTime",
550
+ "type": "string"
551
+ }
552
+ },
553
+ {
554
+ "name": "metricName",
555
+ "in": "query",
556
+ "required": false,
557
+ "schema": {
558
+ "title": "metricName",
559
+ "type": "string"
560
+ }
561
+ },
562
+ {
563
+ "name": "instanceKey",
564
+ "in": "query",
565
+ "required": false,
566
+ "schema": {
567
+ "title": "instanceKey",
568
+ "type": "string"
569
+ }
570
+ }
571
+ ]
572
+ }
573
+ },
574
+ "/metricValues/{id}": {
575
+ "get": {
576
+ "operationId": "getMetricValuesid",
577
+ "responses": {
578
+ "200": {
579
+ "description": "Successful operation",
580
+ "content": {
581
+ "application/json": {
582
+ "schema": {
583
+ "title": "result",
584
+ "type": "object"
585
+ }
586
+ }
587
+ }
588
+ }
589
+ },
590
+ "parameters": [
591
+ {
592
+ "name": "id",
593
+ "in": "path",
594
+ "required": true,
595
+ "schema": {
596
+ "title": "id",
597
+ "type": "string"
598
+ }
599
+ }
600
+ ]
601
+ }
602
+ },
603
+ "/locales": {
604
+ "get": {
605
+ "operationId": "getLocales",
606
+ "responses": {
607
+ "200": {
608
+ "description": "Successful operation",
609
+ "content": {
610
+ "application/json": {
611
+ "schema": {
612
+ "title": "result",
613
+ "type": "object"
614
+ }
615
+ }
616
+ }
617
+ }
618
+ },
619
+ "parameters": [
620
+ {
621
+ "name": "locale",
622
+ "in": "query",
623
+ "required": false,
624
+ "schema": {
625
+ "title": "locale",
626
+ "type": "string"
627
+ }
628
+ }
629
+ ]
630
+ }
631
+ },
632
+ "/services": {
633
+ "get": {
634
+ "operationId": "getServices",
635
+ "responses": {
636
+ "200": {
637
+ "description": "Successful operation",
638
+ "content": {
639
+ "application/json": {
640
+ "schema": {
641
+ "title": "result",
642
+ "type": "object"
643
+ }
644
+ }
645
+ }
646
+ }
647
+ },
648
+ "parameters": [
649
+ {
650
+ "name": "locale",
651
+ "in": "query",
652
+ "required": false,
653
+ "schema": {
654
+ "title": "locale",
655
+ "type": "string"
656
+ }
657
+ }
658
+ ]
659
+ }
660
+ },
661
+ "/instances": {
662
+ "get": {
663
+ "operationId": "getInstances",
664
+ "responses": {
665
+ "200": {
666
+ "description": "Successful operation",
667
+ "content": {
668
+ "application/json": {
669
+ "schema": {
670
+ "title": "result",
671
+ "type": "object"
672
+ }
673
+ }
674
+ }
675
+ }
676
+ },
677
+ "parameters": [
678
+ {
679
+ "name": "sort",
680
+ "in": "query",
681
+ "required": false,
682
+ "schema": {
683
+ "title": "sort",
684
+ "type": "string"
685
+ }
686
+ },
687
+ {
688
+ "name": "order",
689
+ "in": "query",
690
+ "required": false,
691
+ "schema": {
692
+ "title": "order",
693
+ "type": "string"
694
+ }
695
+ },
696
+ {
697
+ "name": "products",
698
+ "in": "query",
699
+ "required": false,
700
+ "schema": {
701
+ "title": "products",
702
+ "type": "string"
703
+ }
704
+ },
705
+ {
706
+ "name": "tags",
707
+ "in": "query",
708
+ "required": false,
709
+ "schema": {
710
+ "title": "tags",
711
+ "type": "array"
712
+ }
713
+ },
714
+ {
715
+ "name": "childProducts",
716
+ "in": "query",
717
+ "required": false,
718
+ "schema": {
719
+ "title": "childProducts",
720
+ "type": "boolean"
721
+ }
722
+ },
723
+ {
724
+ "name": "locale",
725
+ "in": "query",
726
+ "required": false,
727
+ "schema": {
728
+ "title": "locale",
729
+ "type": "string"
730
+ }
731
+ }
732
+ ]
733
+ }
734
+ },
735
+ "/instances/status": {
736
+ "get": {
737
+ "operationId": "getInstancesstatus",
738
+ "responses": {
739
+ "200": {
740
+ "description": "Successful operation",
741
+ "content": {
742
+ "application/json": {
743
+ "schema": {
744
+ "title": "result",
745
+ "type": "object"
746
+ }
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "parameters": [
752
+ {
753
+ "name": "products",
754
+ "in": "query",
755
+ "required": false,
756
+ "schema": {
757
+ "title": "products",
758
+ "type": "string"
759
+ }
760
+ },
761
+ {
762
+ "name": "childProducts",
763
+ "in": "query",
764
+ "required": false,
765
+ "schema": {
766
+ "title": "childProducts",
767
+ "type": "boolean"
768
+ }
769
+ },
770
+ {
771
+ "name": "locale",
772
+ "in": "query",
773
+ "required": false,
774
+ "schema": {
775
+ "title": "locale",
776
+ "type": "string"
777
+ }
778
+ }
779
+ ]
780
+ }
781
+ },
782
+ "/instances/status/preview": {
783
+ "get": {
784
+ "operationId": "getInstancesstatuspreview",
785
+ "responses": {
786
+ "200": {
787
+ "description": "Successful operation",
788
+ "content": {
789
+ "application/json": {
790
+ "schema": {
791
+ "title": "result",
792
+ "type": "object"
793
+ }
794
+ }
795
+ }
796
+ }
797
+ },
798
+ "parameters": [
799
+ {
800
+ "name": "products",
801
+ "in": "query",
802
+ "required": false,
803
+ "schema": {
804
+ "title": "products",
805
+ "type": "string"
806
+ }
807
+ },
808
+ {
809
+ "name": "childProducts",
810
+ "in": "query",
811
+ "required": false,
812
+ "schema": {
813
+ "title": "childProducts",
814
+ "type": "boolean"
815
+ }
816
+ },
817
+ {
818
+ "name": "locale",
819
+ "in": "query",
820
+ "required": false,
821
+ "schema": {
822
+ "title": "locale",
823
+ "type": "string"
824
+ }
825
+ }
826
+ ]
827
+ }
828
+ },
829
+ "/instances/{key}/status/preview": {
830
+ "get": {
831
+ "operationId": "getInstanceskeystatuspreview",
832
+ "responses": {
833
+ "200": {
834
+ "description": "Successful operation",
835
+ "content": {
836
+ "application/json": {
837
+ "schema": {
838
+ "title": "result",
839
+ "type": "object"
840
+ }
841
+ }
842
+ }
843
+ }
844
+ },
845
+ "parameters": [
846
+ {
847
+ "name": "key",
848
+ "in": "path",
849
+ "required": true,
850
+ "schema": {
851
+ "title": "key",
852
+ "type": "string"
853
+ }
854
+ },
855
+ {
856
+ "name": "productKey",
857
+ "in": "query",
858
+ "required": false,
859
+ "schema": {
860
+ "title": "productKey",
861
+ "type": "string"
862
+ }
863
+ },
864
+ {
865
+ "name": "childProducts",
866
+ "in": "query",
867
+ "required": false,
868
+ "schema": {
869
+ "title": "childProducts",
870
+ "type": "boolean"
871
+ }
872
+ },
873
+ {
874
+ "name": "locale",
875
+ "in": "query",
876
+ "required": false,
877
+ "schema": {
878
+ "title": "locale",
879
+ "type": "string"
880
+ }
881
+ }
882
+ ]
883
+ }
884
+ },
885
+ "/instances/{key}/status": {
886
+ "get": {
887
+ "operationId": "getInstanceskeystatus",
888
+ "responses": {
889
+ "200": {
890
+ "description": "Successful operation",
891
+ "content": {
892
+ "application/json": {
893
+ "schema": {
894
+ "title": "result",
895
+ "type": "object"
896
+ }
897
+ }
898
+ }
899
+ }
900
+ },
901
+ "parameters": [
902
+ {
903
+ "name": "key",
904
+ "in": "path",
905
+ "required": true,
906
+ "schema": {
907
+ "title": "key",
908
+ "type": "string"
909
+ }
910
+ },
911
+ {
912
+ "name": "productKey",
913
+ "in": "query",
914
+ "required": false,
915
+ "schema": {
916
+ "title": "productKey",
917
+ "type": "string"
918
+ }
919
+ },
920
+ {
921
+ "name": "childProducts",
922
+ "in": "query",
923
+ "required": false,
924
+ "schema": {
925
+ "title": "childProducts",
926
+ "type": "boolean"
927
+ }
928
+ },
929
+ {
930
+ "name": "locale",
931
+ "in": "query",
932
+ "required": false,
933
+ "schema": {
934
+ "title": "locale",
935
+ "type": "string"
936
+ }
937
+ }
938
+ ]
939
+ }
940
+ },
941
+ "/instanceAliases/{key}/status": {
942
+ "get": {
943
+ "operationId": "getInstanceAliaseskeystatus",
944
+ "responses": {
945
+ "200": {
946
+ "description": "Successful operation",
947
+ "content": {
948
+ "application/json": {
949
+ "schema": {
950
+ "title": "result",
951
+ "type": "object"
952
+ }
953
+ }
954
+ }
955
+ }
956
+ },
957
+ "parameters": [
958
+ {
959
+ "name": "key",
960
+ "in": "path",
961
+ "required": true,
962
+ "schema": {
963
+ "title": "key",
964
+ "type": "string"
965
+ }
966
+ }
967
+ ]
968
+ }
969
+ },
970
+ "/instanceAliases/{key}": {
971
+ "get": {
972
+ "operationId": "getInstanceAliaseskey",
973
+ "responses": {
974
+ "200": {
975
+ "description": "Successful operation",
976
+ "content": {
977
+ "application/json": {
978
+ "schema": {
979
+ "title": "result",
980
+ "type": "object"
981
+ }
982
+ }
983
+ }
984
+ }
985
+ },
986
+ "parameters": [
987
+ {
988
+ "name": "key",
989
+ "in": "path",
990
+ "required": true,
991
+ "schema": {
992
+ "title": "key",
993
+ "type": "string"
994
+ }
995
+ }
996
+ ]
997
+ }
998
+ },
999
+ "/products": {
1000
+ "get": {
1001
+ "operationId": "getProducts",
1002
+ "responses": {
1003
+ "200": {
1004
+ "description": "Successful operation",
1005
+ "content": {
1006
+ "application/json": {
1007
+ "schema": {
1008
+ "title": "result",
1009
+ "type": "object"
1010
+ }
1011
+ }
1012
+ }
1013
+ }
1014
+ }
1015
+ }
1016
+ },
1017
+ "/products/{key}": {
1018
+ "get": {
1019
+ "operationId": "getProductskey",
1020
+ "responses": {
1021
+ "200": {
1022
+ "description": "Successful operation",
1023
+ "content": {
1024
+ "application/json": {
1025
+ "schema": {
1026
+ "title": "result",
1027
+ "type": "object"
1028
+ }
1029
+ }
1030
+ }
1031
+ }
1032
+ },
1033
+ "parameters": [
1034
+ {
1035
+ "name": "key",
1036
+ "in": "path",
1037
+ "required": true,
1038
+ "schema": {
1039
+ "title": "key",
1040
+ "type": "string"
1041
+ }
1042
+ }
1043
+ ]
1044
+ }
1045
+ },
1046
+ "/subscribe": {
1047
+ "post": {
1048
+ "operationId": "postSubscribe",
1049
+ "responses": {
1050
+ "200": {
1051
+ "description": "Successful operation",
1052
+ "content": {
1053
+ "application/json": {
1054
+ "schema": {
1055
+ "title": "result",
1056
+ "type": "object"
1057
+ }
1058
+ }
1059
+ }
1060
+ }
1061
+ },
1062
+ "parameters": [
1063
+ {
1064
+ "name": "XSendNotification",
1065
+ "in": "query",
1066
+ "required": false,
1067
+ "schema": {
1068
+ "title": "XSendNotification",
1069
+ "type": "string"
1070
+ }
1071
+ }
1072
+ ],
1073
+ "requestBody": {
1074
+ "content": {
1075
+ "application/json": {
1076
+ "schema": {
1077
+ "type": "object"
1078
+ }
1079
+ }
1080
+ }
1081
+ }
1082
+ }
1083
+ },
1084
+ "/unsubscribe": {
1085
+ "patch": {
1086
+ "operationId": "patchUnsubscribe",
1087
+ "responses": {
1088
+ "200": {
1089
+ "description": "Successful operation",
1090
+ "content": {
1091
+ "application/json": {
1092
+ "schema": {
1093
+ "title": "result",
1094
+ "type": "object"
1095
+ }
1096
+ }
1097
+ }
1098
+ }
1099
+ },
1100
+ "parameters": [
1101
+ {
1102
+ "name": "token",
1103
+ "in": "query",
1104
+ "required": false,
1105
+ "schema": {
1106
+ "title": "token",
1107
+ "type": "string"
1108
+ }
1109
+ }
1110
+ ],
1111
+ "requestBody": {
1112
+ "content": {
1113
+ "application/json": {
1114
+ "schema": {
1115
+ "type": "object"
1116
+ }
1117
+ }
1118
+ }
1119
+ }
1120
+ },
1121
+ "post": {
1122
+ "operationId": "postUnsubscribe",
1123
+ "responses": {
1124
+ "200": {
1125
+ "description": "Successful operation",
1126
+ "content": {
1127
+ "application/json": {
1128
+ "schema": {
1129
+ "title": "result",
1130
+ "type": "object"
1131
+ }
1132
+ }
1133
+ }
1134
+ }
1135
+ },
1136
+ "parameters": [
1137
+ {
1138
+ "name": "token",
1139
+ "in": "query",
1140
+ "required": false,
1141
+ "schema": {
1142
+ "title": "token",
1143
+ "type": "string"
1144
+ }
1145
+ }
1146
+ ],
1147
+ "requestBody": {
1148
+ "content": {
1149
+ "application/json": {
1150
+ "schema": {
1151
+ "type": "object"
1152
+ }
1153
+ }
1154
+ }
1155
+ }
1156
+ }
1157
+ },
1158
+ "/login": {
1159
+ "post": {
1160
+ "operationId": "postLogin",
1161
+ "responses": {
1162
+ "200": {
1163
+ "description": "Successful operation",
1164
+ "content": {
1165
+ "application/json": {
1166
+ "schema": {
1167
+ "title": "result",
1168
+ "type": "object"
1169
+ }
1170
+ }
1171
+ }
1172
+ }
1173
+ },
1174
+ "parameters": [
1175
+ {
1176
+ "name": "XSendNotification",
1177
+ "in": "query",
1178
+ "required": false,
1179
+ "schema": {
1180
+ "title": "XSendNotification",
1181
+ "type": "string"
1182
+ }
1183
+ }
1184
+ ],
1185
+ "requestBody": {
1186
+ "content": {
1187
+ "application/json": {
1188
+ "schema": {
1189
+ "type": "object"
1190
+ }
1191
+ }
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ "/logout": {
1197
+ "get": {
1198
+ "operationId": "getLogout",
1199
+ "responses": {
1200
+ "200": {
1201
+ "description": "Successful operation",
1202
+ "content": {
1203
+ "application/json": {
1204
+ "schema": {
1205
+ "title": "result",
1206
+ "type": "object"
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ "parameters": [
1213
+ {
1214
+ "name": "token",
1215
+ "in": "query",
1216
+ "required": true,
1217
+ "schema": {
1218
+ "title": "token",
1219
+ "type": "string"
1220
+ }
1221
+ }
1222
+ ]
1223
+ }
1224
+ },
1225
+ "/subscribers": {
1226
+ "get": {
1227
+ "operationId": "getSubscribers",
1228
+ "responses": {
1229
+ "200": {
1230
+ "description": "Successful operation",
1231
+ "content": {
1232
+ "application/json": {
1233
+ "schema": {
1234
+ "title": "result",
1235
+ "type": "object"
1236
+ }
1237
+ }
1238
+ }
1239
+ }
1240
+ },
1241
+ "parameters": [
1242
+ {
1243
+ "name": "token",
1244
+ "in": "query",
1245
+ "required": true,
1246
+ "schema": {
1247
+ "title": "token",
1248
+ "type": "string"
1249
+ }
1250
+ },
1251
+ {
1252
+ "name": "normalize",
1253
+ "in": "query",
1254
+ "required": false,
1255
+ "schema": {
1256
+ "title": "normalize",
1257
+ "type": "boolean"
1258
+ }
1259
+ }
1260
+ ]
1261
+ },
1262
+ "patch": {
1263
+ "operationId": "patchSubscribers",
1264
+ "responses": {
1265
+ "200": {
1266
+ "description": "Successful operation",
1267
+ "content": {
1268
+ "application/json": {
1269
+ "schema": {
1270
+ "title": "result",
1271
+ "type": "object"
1272
+ }
1273
+ }
1274
+ }
1275
+ }
1276
+ },
1277
+ "parameters": [
1278
+ {
1279
+ "name": "XSendNotification",
1280
+ "in": "query",
1281
+ "required": false,
1282
+ "schema": {
1283
+ "title": "XSendNotification",
1284
+ "type": "string"
1285
+ }
1286
+ },
1287
+ {
1288
+ "name": "token",
1289
+ "in": "query",
1290
+ "required": true,
1291
+ "schema": {
1292
+ "title": "token",
1293
+ "type": "string"
1294
+ }
1295
+ }
1296
+ ],
1297
+ "requestBody": {
1298
+ "content": {
1299
+ "application/json": {
1300
+ "schema": {
1301
+ "type": "object"
1302
+ }
1303
+ }
1304
+ }
1305
+ }
1306
+ }
1307
+ },
1308
+ "/subscribers/subscriptions/{id}": {
1309
+ "post": {
1310
+ "operationId": "postSubscriberssubscriptionsid",
1311
+ "responses": {
1312
+ "200": {
1313
+ "description": "Successful operation",
1314
+ "content": {
1315
+ "application/json": {
1316
+ "schema": {
1317
+ "title": "result",
1318
+ "type": "object"
1319
+ }
1320
+ }
1321
+ }
1322
+ }
1323
+ },
1324
+ "parameters": [
1325
+ {
1326
+ "name": "id",
1327
+ "in": "path",
1328
+ "required": true,
1329
+ "schema": {
1330
+ "title": "id",
1331
+ "type": "string"
1332
+ }
1333
+ },
1334
+ {
1335
+ "name": "token",
1336
+ "in": "query",
1337
+ "required": true,
1338
+ "schema": {
1339
+ "title": "token",
1340
+ "type": "string"
1341
+ }
1342
+ }
1343
+ ],
1344
+ "requestBody": {
1345
+ "content": {
1346
+ "application/json": {
1347
+ "schema": {
1348
+ "type": "object"
1349
+ }
1350
+ }
1351
+ }
1352
+ }
1353
+ },
1354
+ "patch": {
1355
+ "operationId": "patchSubscriberssubscriptionsid",
1356
+ "responses": {
1357
+ "200": {
1358
+ "description": "Successful operation",
1359
+ "content": {
1360
+ "application/json": {
1361
+ "schema": {
1362
+ "title": "result",
1363
+ "type": "object"
1364
+ }
1365
+ }
1366
+ }
1367
+ }
1368
+ },
1369
+ "parameters": [
1370
+ {
1371
+ "name": "id",
1372
+ "in": "path",
1373
+ "required": true,
1374
+ "schema": {
1375
+ "title": "id",
1376
+ "type": "string"
1377
+ }
1378
+ },
1379
+ {
1380
+ "name": "token",
1381
+ "in": "query",
1382
+ "required": true,
1383
+ "schema": {
1384
+ "title": "token",
1385
+ "type": "string"
1386
+ }
1387
+ }
1388
+ ],
1389
+ "requestBody": {
1390
+ "content": {
1391
+ "application/json": {
1392
+ "schema": {
1393
+ "type": "object"
1394
+ }
1395
+ }
1396
+ }
1397
+ }
1398
+ },
1399
+ "delete": {
1400
+ "operationId": "deleteSubscriberssubscriptionsid",
1401
+ "responses": {
1402
+ "200": {
1403
+ "description": "Successful operation",
1404
+ "content": {
1405
+ "application/json": {
1406
+ "schema": {
1407
+ "title": "result",
1408
+ "type": "object"
1409
+ }
1410
+ }
1411
+ }
1412
+ }
1413
+ },
1414
+ "parameters": [
1415
+ {
1416
+ "name": "id",
1417
+ "in": "path",
1418
+ "required": true,
1419
+ "schema": {
1420
+ "title": "id",
1421
+ "type": "string"
1422
+ }
1423
+ },
1424
+ {
1425
+ "name": "token",
1426
+ "in": "query",
1427
+ "required": true,
1428
+ "schema": {
1429
+ "title": "token",
1430
+ "type": "string"
1431
+ }
1432
+ }
1433
+ ]
1434
+ }
1435
+ },
1436
+ "/search/{key}": {
1437
+ "get": {
1438
+ "operationId": "getSearchkey",
1439
+ "responses": {
1440
+ "200": {
1441
+ "description": "Successful operation",
1442
+ "content": {
1443
+ "application/json": {
1444
+ "schema": {
1445
+ "title": "result",
1446
+ "type": "object"
1447
+ }
1448
+ }
1449
+ }
1450
+ }
1451
+ },
1452
+ "parameters": [
1453
+ {
1454
+ "name": "key",
1455
+ "in": "path",
1456
+ "required": true,
1457
+ "schema": {
1458
+ "title": "key",
1459
+ "type": "string"
1460
+ }
1461
+ }
1462
+ ]
1463
+ }
1464
+ },
1465
+ "/tags": {
1466
+ "get": {
1467
+ "operationId": "getTags",
1468
+ "responses": {
1469
+ "200": {
1470
+ "description": "Successful operation",
1471
+ "content": {
1472
+ "application/json": {
1473
+ "schema": {
1474
+ "title": "result",
1475
+ "type": "object"
1476
+ }
1477
+ }
1478
+ }
1479
+ }
1480
+ }
1481
+ }
1482
+ },
1483
+ "/tags/instance/{instanceKey}": {
1484
+ "get": {
1485
+ "operationId": "getTagsinstanceinstanceKey",
1486
+ "responses": {
1487
+ "200": {
1488
+ "description": "Successful operation",
1489
+ "content": {
1490
+ "application/json": {
1491
+ "schema": {
1492
+ "title": "result",
1493
+ "type": "object"
1494
+ }
1495
+ }
1496
+ }
1497
+ }
1498
+ },
1499
+ "parameters": [
1500
+ {
1501
+ "name": "instanceKey",
1502
+ "in": "path",
1503
+ "required": true,
1504
+ "schema": {
1505
+ "title": "instanceKey",
1506
+ "type": "string"
1507
+ }
1508
+ },
1509
+ {
1510
+ "name": "instances",
1511
+ "in": "query",
1512
+ "required": false,
1513
+ "schema": {
1514
+ "title": "instances",
1515
+ "type": "boolean"
1516
+ }
1517
+ }
1518
+ ]
1519
+ }
1520
+ },
1521
+ "/tagTypes": {
1522
+ "get": {
1523
+ "operationId": "getTagTypes",
1524
+ "responses": {
1525
+ "200": {
1526
+ "description": "Successful operation",
1527
+ "content": {
1528
+ "application/json": {
1529
+ "schema": {
1530
+ "title": "result",
1531
+ "type": "object"
1532
+ }
1533
+ }
1534
+ }
1535
+ }
1536
+ }
1537
+ }
1538
+ }
1539
+ },
1540
+ "components": {
1541
+ "schemas": {}
1542
+ }
1543
+ }