@itentialopensource/adapter-tiger_connect 2.0.0 → 3.1.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.
Files changed (45) hide show
  1. package/.eslintignore +0 -1
  2. package/.jshintrc +3 -0
  3. package/CALLS.md +300 -0
  4. package/CHANGELOG.md +16 -0
  5. package/CONTRIBUTING.md +1 -160
  6. package/ENHANCE.md +2 -2
  7. package/README.md +31 -22
  8. package/adapter.js +159 -330
  9. package/adapterBase.js +538 -873
  10. package/changelogs/changelog.md +24 -0
  11. package/metadata.json +49 -0
  12. package/package.json +23 -26
  13. package/pronghorn.json +474 -142
  14. package/propertiesSchema.json +453 -40
  15. package/refs?service=git-upload-pack +0 -0
  16. package/report/adapter-openapi.json +2843 -0
  17. package/report/adapter-openapi.yaml +1812 -0
  18. package/report/adapterInfo.json +10 -0
  19. package/report/updateReport1691506957449.json +120 -0
  20. package/report/updateReport1692201567664.json +120 -0
  21. package/report/updateReport1692202988955.json +120 -0
  22. package/report/updateReport1694455085096.json +120 -0
  23. package/report/updateReport1694466559556.json +120 -0
  24. package/report/updateReport1698421996302.json +120 -0
  25. package/sampleProperties.json +63 -2
  26. package/test/integration/adapterTestBasicGet.js +1 -1
  27. package/test/integration/adapterTestConnectivity.js +91 -42
  28. package/test/integration/adapterTestIntegration.js +130 -2
  29. package/test/unit/adapterBaseTestUnit.js +388 -313
  30. package/test/unit/adapterTestUnit.js +306 -109
  31. package/utils/adapterInfo.js +1 -1
  32. package/utils/addAuth.js +1 -1
  33. package/utils/artifactize.js +1 -1
  34. package/utils/checkMigrate.js +1 -1
  35. package/utils/entitiesToDB.js +1 -0
  36. package/utils/findPath.js +1 -1
  37. package/utils/methodDocumentor.js +71 -23
  38. package/utils/modify.js +13 -15
  39. package/utils/packModificationScript.js +1 -1
  40. package/utils/taskMover.js +309 -0
  41. package/utils/tbScript.js +3 -10
  42. package/utils/tbUtils.js +2 -3
  43. package/utils/testRunner.js +1 -1
  44. package/utils/troubleshootingAdapter.js +1 -3
  45. package/workflows/README.md +0 -3
@@ -0,0 +1,2843 @@
1
+ {
2
+ "openapi": "3.0.0",
3
+ "info": {
4
+ "title": "TigerConnect",
5
+ "description": "This is a sample description. You can find out more about the OpenAPI Specification at http://spec.openapis.org/oas/v3.0.3.",
6
+ "contact": {
7
+ "email": "apiteam@swagger.io"
8
+ },
9
+ "version": "1.0"
10
+ },
11
+ "servers": [
12
+ {
13
+ "url": "https://developer.tigertext.me",
14
+ "variables": {}
15
+ },
16
+ {
17
+ "url": "https://api.tigertext.me/group/{groupid}/members",
18
+ "variables": {
19
+ "groupid": {
20
+ "default": "DefaultParameterValue"
21
+ }
22
+ }
23
+ },
24
+ {
25
+ "url": "https://developer.tigertex.me/message/{messageid}/attachment",
26
+ "variables": {
27
+ "messageid": {
28
+ "default": "DefaultParameterValue"
29
+ }
30
+ }
31
+ },
32
+ {
33
+ "url": "http://developer.tigertext.me",
34
+ "variables": {}
35
+ },
36
+ {
37
+ "url": "http:",
38
+ "variables": {}
39
+ },
40
+ {
41
+ "url": "https://devapi.tigertext.me/integrations/scheduler",
42
+ "variables": {}
43
+ }
44
+ ],
45
+ "paths": {
46
+ "/group": {
47
+ "post": {
48
+ "tags": [
49
+ "Group"
50
+ ],
51
+ "summary": "postCreateNewGroup",
52
+ "description": "postCreateNewGroup",
53
+ "operationId": "postCreateNewGroup",
54
+ "parameters": [],
55
+ "requestBody": {
56
+ "description": "",
57
+ "content": {
58
+ "application/json": {
59
+ "schema": {
60
+ "allOf": [
61
+ {
62
+ "$ref": "#/components/schemas/postCreateNewGroupRequest"
63
+ },
64
+ {
65
+ "example": {
66
+ "members": [
67
+ "a1bf9402-6939-4487-9349-49768a4cc1fe",
68
+ "@user2"
69
+ ]
70
+ }
71
+ }
72
+ ]
73
+ },
74
+ "example": {
75
+ "members": [
76
+ "a1bf9402-6939-4487-9349-49768a4cc1fe",
77
+ "@user2"
78
+ ]
79
+ }
80
+ }
81
+ },
82
+ "required": true
83
+ },
84
+ "responses": {
85
+ "200": {
86
+ "description": "",
87
+ "headers": {},
88
+ "content": {}
89
+ }
90
+ },
91
+ "deprecated": false,
92
+ "security": [
93
+ {
94
+ "basic": []
95
+ }
96
+ ]
97
+ }
98
+ },
99
+ "/group/{groupid}": {
100
+ "get": {
101
+ "tags": [
102
+ "Group"
103
+ ],
104
+ "summary": "getGroupInfo",
105
+ "description": "getGroupInfo",
106
+ "operationId": "getGroupInfo",
107
+ "parameters": [
108
+ {
109
+ "name": "groupid",
110
+ "in": "path",
111
+ "description": "",
112
+ "required": true,
113
+ "style": "simple",
114
+ "schema": {
115
+ "type": "string"
116
+ }
117
+ }
118
+ ],
119
+ "responses": {
120
+ "200": {
121
+ "description": "",
122
+ "headers": {},
123
+ "content": {}
124
+ }
125
+ },
126
+ "deprecated": false,
127
+ "security": [
128
+ {
129
+ "basic": []
130
+ }
131
+ ]
132
+ },
133
+ "delete": {
134
+ "tags": [
135
+ "Group"
136
+ ],
137
+ "summary": "deleteGroup",
138
+ "description": "deleteGroup",
139
+ "operationId": "deleteGroup",
140
+ "parameters": [
141
+ {
142
+ "name": "groupid",
143
+ "in": "path",
144
+ "description": "",
145
+ "required": true,
146
+ "style": "simple",
147
+ "schema": {
148
+ "type": "string"
149
+ }
150
+ }
151
+ ],
152
+ "responses": {
153
+ "200": {
154
+ "description": "",
155
+ "headers": {},
156
+ "content": {}
157
+ }
158
+ },
159
+ "deprecated": false,
160
+ "security": [
161
+ {
162
+ "basic": []
163
+ }
164
+ ]
165
+ },
166
+ "post": {
167
+ "tags": [
168
+ "default"
169
+ ],
170
+ "summary": "postUpdateGroup",
171
+ "description": "",
172
+ "operationId": "postUpdateGroup",
173
+ "parameters": [
174
+ {
175
+ "name": "groupid",
176
+ "in": "path",
177
+ "description": "groupid",
178
+ "required": true,
179
+ "style": "simple",
180
+ "schema": {
181
+ "type": "string"
182
+ }
183
+ }
184
+ ],
185
+ "requestBody": {
186
+ "description": "body",
187
+ "content": {
188
+ "*/*": {
189
+ "schema": {
190
+ "description": "body"
191
+ }
192
+ }
193
+ },
194
+ "required": true
195
+ },
196
+ "responses": {
197
+ "200": {
198
+ "description": "successful operation",
199
+ "headers": {},
200
+ "content": {}
201
+ },
202
+ "400": {
203
+ "description": "failed operation",
204
+ "headers": {},
205
+ "content": {}
206
+ }
207
+ },
208
+ "deprecated": false
209
+ }
210
+ },
211
+ "/group/{groupid}/members": {
212
+ "post": {
213
+ "tags": [
214
+ "Group"
215
+ ],
216
+ "summary": "postAddMemberToGroup",
217
+ "description": "postAddMemberToGroup",
218
+ "operationId": "postAddMemberToGroup",
219
+ "parameters": [
220
+ {
221
+ "name": "Content-Type",
222
+ "in": "header",
223
+ "description": "",
224
+ "required": true,
225
+ "style": "simple",
226
+ "schema": {
227
+ "allOf": [
228
+ {
229
+ "$ref": "#/components/schemas/Content-Type"
230
+ },
231
+ {
232
+ "example": "application/x-www-form-urlencoded"
233
+ }
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ "name": "groupid",
239
+ "in": "path",
240
+ "description": "",
241
+ "required": true,
242
+ "style": "simple",
243
+ "schema": {
244
+ "type": "string"
245
+ }
246
+ }
247
+ ],
248
+ "requestBody": {
249
+ "content": {
250
+ "application/x-www-form-urlencoded": {
251
+ "encoding": {},
252
+ "schema": {
253
+ "required": [
254
+ "members"
255
+ ],
256
+ "type": "object",
257
+ "properties": {
258
+ "members": {
259
+ "type": "string",
260
+ "example": "d5ff3799-86ef-4ed2-893e-66fe86470001,user2@email.address"
261
+ }
262
+ }
263
+ }
264
+ }
265
+ },
266
+ "required": false
267
+ },
268
+ "responses": {
269
+ "200": {
270
+ "description": "",
271
+ "headers": {},
272
+ "content": {}
273
+ }
274
+ },
275
+ "deprecated": false,
276
+ "security": [
277
+ {
278
+ "basic": []
279
+ }
280
+ ]
281
+ }
282
+ },
283
+ "/remove": {
284
+ "post": {
285
+ "tags": [
286
+ "Group"
287
+ ],
288
+ "summary": "postRemoveGroupMember",
289
+ "description": "postRemoveGroupMember",
290
+ "operationId": "postRemoveGroupMember",
291
+ "parameters": [
292
+ {
293
+ "name": "Content-Type",
294
+ "in": "header",
295
+ "description": "",
296
+ "required": true,
297
+ "style": "simple",
298
+ "schema": {
299
+ "allOf": [
300
+ {
301
+ "$ref": "#/components/schemas/Content-Type"
302
+ },
303
+ {
304
+ "example": "application/x-www-form-urlencoded"
305
+ }
306
+ ]
307
+ }
308
+ }
309
+ ],
310
+ "requestBody": {
311
+ "content": {
312
+ "application/x-www-form-urlencoded": {
313
+ "encoding": {},
314
+ "schema": {
315
+ "required": [
316
+ "members"
317
+ ],
318
+ "type": "object",
319
+ "properties": {
320
+ "members": {
321
+ "type": "string",
322
+ "example": "d5ff3799-86ef-4ed2-893e-66fe86470001,user2@email.address"
323
+ }
324
+ }
325
+ }
326
+ }
327
+ },
328
+ "required": false
329
+ },
330
+ "responses": {
331
+ "200": {
332
+ "description": "",
333
+ "headers": {},
334
+ "content": {}
335
+ }
336
+ },
337
+ "deprecated": false,
338
+ "security": [
339
+ {
340
+ "basic": []
341
+ }
342
+ ]
343
+ }
344
+ },
345
+ "/message": {
346
+ "post": {
347
+ "tags": [
348
+ "Messages"
349
+ ],
350
+ "summary": "postNewMsgAfterConnection",
351
+ "description": "postNewMsgAfterConnection",
352
+ "operationId": "postNewMsgAfterConnection",
353
+ "parameters": [
354
+ {
355
+ "name": "Content-Type",
356
+ "in": "header",
357
+ "description": "",
358
+ "required": true,
359
+ "style": "simple",
360
+ "schema": {
361
+ "allOf": [
362
+ {
363
+ "$ref": "#/components/schemas/Content-Type"
364
+ },
365
+ {
366
+ "example": "application/x-www-form-urlencoded"
367
+ }
368
+ ]
369
+ }
370
+ }
371
+ ],
372
+ "requestBody": {
373
+ "content": {
374
+ "application/x-www-form-urlencoded": {
375
+ "encoding": {},
376
+ "schema": {
377
+ "required": [
378
+ "'recipient",
379
+ "ttl",
380
+ "body"
381
+ ],
382
+ "type": "object",
383
+ "properties": {
384
+ "'recipient": {
385
+ "type": "string",
386
+ "example": "tester@xyzco.com"
387
+ },
388
+ "ttl": {
389
+ "type": "integer",
390
+ "format": "int32",
391
+ "example": 1440
392
+ },
393
+ "body": {
394
+ "type": "string",
395
+ "example": "just' testing"
396
+ }
397
+ }
398
+ }
399
+ }
400
+ },
401
+ "required": false
402
+ },
403
+ "responses": {
404
+ "200": {
405
+ "description": "",
406
+ "headers": {},
407
+ "content": {}
408
+ }
409
+ },
410
+ "deprecated": false,
411
+ "security": [
412
+ {
413
+ "basic": []
414
+ }
415
+ ]
416
+ }
417
+ },
418
+ "/message/{messageid}": {
419
+ "get": {
420
+ "tags": [
421
+ "Messages"
422
+ ],
423
+ "summary": "getMsgInfo",
424
+ "description": "getMsgInfo",
425
+ "operationId": "getMsgInfo",
426
+ "parameters": [
427
+ {
428
+ "name": "messageid",
429
+ "in": "path",
430
+ "description": "",
431
+ "required": true,
432
+ "style": "simple",
433
+ "schema": {
434
+ "type": "string"
435
+ }
436
+ }
437
+ ],
438
+ "responses": {
439
+ "200": {
440
+ "description": "",
441
+ "headers": {},
442
+ "content": {}
443
+ }
444
+ },
445
+ "deprecated": false,
446
+ "security": [
447
+ {
448
+ "basic": []
449
+ }
450
+ ]
451
+ }
452
+ },
453
+ "/message/{messageid}/status": {
454
+ "get": {
455
+ "tags": [
456
+ "Messages"
457
+ ],
458
+ "summary": "getMsgRecipientInfo",
459
+ "description": "getMsgRecipientInfo",
460
+ "operationId": "getMsgRecipientInfo",
461
+ "parameters": [
462
+ {
463
+ "name": "messageid",
464
+ "in": "path",
465
+ "description": "",
466
+ "required": true,
467
+ "style": "simple",
468
+ "schema": {
469
+ "type": "string"
470
+ }
471
+ }
472
+ ],
473
+ "responses": {
474
+ "200": {
475
+ "description": "",
476
+ "headers": {},
477
+ "content": {}
478
+ }
479
+ },
480
+ "deprecated": false,
481
+ "security": [
482
+ {
483
+ "basic": []
484
+ }
485
+ ]
486
+ }
487
+ },
488
+ "/message/status": {
489
+ "post": {
490
+ "tags": [
491
+ "Messages"
492
+ ],
493
+ "summary": "postSetMsgStatus",
494
+ "description": "postSetMsgStatus",
495
+ "operationId": "postSetMsgStatus",
496
+ "parameters": [
497
+ {
498
+ "name": "Content-Type",
499
+ "in": "header",
500
+ "description": "",
501
+ "required": true,
502
+ "style": "simple",
503
+ "schema": {
504
+ "allOf": [
505
+ {
506
+ "$ref": "#/components/schemas/Content-Type"
507
+ },
508
+ {
509
+ "example": "application/x-www-form-urlencoded"
510
+ }
511
+ ]
512
+ }
513
+ }
514
+ ],
515
+ "requestBody": {
516
+ "content": {
517
+ "application/x-www-form-urlencoded": {
518
+ "encoding": {},
519
+ "schema": {
520
+ "required": [
521
+ "read",
522
+ "delivered"
523
+ ],
524
+ "type": "object",
525
+ "properties": {
526
+ "read": {
527
+ "type": "string",
528
+ "example": "082a563f-c237-45b5-a234-5a484779d308"
529
+ },
530
+ "delivered": {
531
+ "type": "string",
532
+ "example": "2c0386e0-b092-476b-a892-23364ed2d689,b7c7fb2b-5059-4937-a4a1-018ba2390310"
533
+ }
534
+ }
535
+ }
536
+ }
537
+ },
538
+ "required": false
539
+ },
540
+ "responses": {
541
+ "200": {
542
+ "description": "",
543
+ "headers": {},
544
+ "content": {}
545
+ }
546
+ },
547
+ "deprecated": false,
548
+ "security": [
549
+ {
550
+ "basic": []
551
+ }
552
+ ]
553
+ }
554
+ },
555
+ "//api.tigertext.me/message/{messageid}": {
556
+ "delete": {
557
+ "tags": [
558
+ "Messages"
559
+ ],
560
+ "summary": "deleteMsg",
561
+ "description": "deleteMsg",
562
+ "operationId": "deleteMsg",
563
+ "parameters": [
564
+ {
565
+ "name": "messageid",
566
+ "in": "path",
567
+ "description": "",
568
+ "required": true,
569
+ "style": "simple",
570
+ "schema": {
571
+ "type": "string"
572
+ }
573
+ }
574
+ ],
575
+ "responses": {
576
+ "200": {
577
+ "description": "",
578
+ "headers": {},
579
+ "content": {}
580
+ }
581
+ },
582
+ "deprecated": false,
583
+ "security": [
584
+ {
585
+ "basic": []
586
+ }
587
+ ]
588
+ }
589
+ },
590
+ "/1": {
591
+ "get": {
592
+ "tags": [
593
+ "Messages"
594
+ ],
595
+ "summary": "getMsgAttachment",
596
+ "description": "getMsgAttachment",
597
+ "operationId": "getMsgAttachment",
598
+ "parameters": [
599
+ {
600
+ "name": "Accept",
601
+ "in": "header",
602
+ "description": "",
603
+ "required": true,
604
+ "style": "simple",
605
+ "schema": {
606
+ "type": "string",
607
+ "example": "image/tt-zip"
608
+ }
609
+ }
610
+ ],
611
+ "responses": {
612
+ "200": {
613
+ "description": "",
614
+ "headers": {},
615
+ "content": {}
616
+ }
617
+ },
618
+ "deprecated": false,
619
+ "security": [
620
+ {
621
+ "basic": []
622
+ }
623
+ ]
624
+ }
625
+ },
626
+ "/message/typing": {
627
+ "post": {
628
+ "tags": [
629
+ "Messages"
630
+ ],
631
+ "summary": "postNotifyUserAbtNewMsg",
632
+ "description": "postNotifyUserAbtNewMsg",
633
+ "operationId": "postNotifyUserAbtNewMsg",
634
+ "parameters": [
635
+ {
636
+ "name": "Content-Type",
637
+ "in": "header",
638
+ "description": "",
639
+ "required": true,
640
+ "style": "simple",
641
+ "schema": {
642
+ "allOf": [
643
+ {
644
+ "$ref": "#/components/schemas/Content-Type"
645
+ },
646
+ {
647
+ "example": "application/x-www-form-urlencoded"
648
+ }
649
+ ]
650
+ }
651
+ }
652
+ ],
653
+ "requestBody": {
654
+ "content": {
655
+ "application/x-www-form-urlencoded": {
656
+ "encoding": {},
657
+ "schema": {
658
+ "required": [
659
+ "recipient"
660
+ ],
661
+ "type": "object",
662
+ "properties": {
663
+ "recipient": {
664
+ "type": "string",
665
+ "example": "@tester"
666
+ }
667
+ }
668
+ }
669
+ }
670
+ },
671
+ "required": false
672
+ },
673
+ "responses": {
674
+ "200": {
675
+ "description": "",
676
+ "headers": {},
677
+ "content": {}
678
+ }
679
+ },
680
+ "deprecated": false,
681
+ "security": [
682
+ {
683
+ "basic": []
684
+ }
685
+ ]
686
+ }
687
+ },
688
+ "/message/typing/{recipient}": {
689
+ "delete": {
690
+ "tags": [
691
+ "Messages"
692
+ ],
693
+ "summary": "deleteUserNotifyAbtNewMsg",
694
+ "description": "deleteUserNotifyAbtNewMsg",
695
+ "operationId": "deleteUserNotifyAbtNewMsg",
696
+ "parameters": [
697
+ {
698
+ "name": "recipient",
699
+ "in": "path",
700
+ "description": "",
701
+ "required": true,
702
+ "style": "simple",
703
+ "schema": {
704
+ "type": "string"
705
+ }
706
+ }
707
+ ],
708
+ "responses": {
709
+ "200": {
710
+ "description": "",
711
+ "headers": {},
712
+ "content": {}
713
+ }
714
+ },
715
+ "deprecated": false,
716
+ "security": [
717
+ {
718
+ "basic": []
719
+ }
720
+ ]
721
+ }
722
+ },
723
+ "/metadata/{entity}": {
724
+ "get": {
725
+ "tags": [
726
+ "Metadata"
727
+ ],
728
+ "summary": "getMetadata",
729
+ "description": "getMetadata",
730
+ "operationId": "getMetadata",
731
+ "parameters": [
732
+ {
733
+ "name": "accept",
734
+ "in": "header",
735
+ "description": "",
736
+ "required": true,
737
+ "style": "simple",
738
+ "schema": {
739
+ "type": "string",
740
+ "example": "application/json"
741
+ }
742
+ },
743
+ {
744
+ "name": "entity",
745
+ "in": "path",
746
+ "description": "",
747
+ "required": true,
748
+ "style": "simple",
749
+ "schema": {
750
+ "type": "string"
751
+ }
752
+ }
753
+ ],
754
+ "responses": {
755
+ "200": {
756
+ "description": "",
757
+ "headers": {},
758
+ "content": {}
759
+ }
760
+ },
761
+ "deprecated": false
762
+ },
763
+ "post": {
764
+ "tags": [
765
+ "Metadata"
766
+ ],
767
+ "summary": "postMetadata",
768
+ "description": "postMetadata",
769
+ "operationId": "postMetadata",
770
+ "parameters": [
771
+ {
772
+ "name": "accept",
773
+ "in": "header",
774
+ "description": "",
775
+ "required": true,
776
+ "style": "simple",
777
+ "schema": {
778
+ "type": "string",
779
+ "example": "application/json"
780
+ }
781
+ },
782
+ {
783
+ "name": "content-type",
784
+ "in": "header",
785
+ "description": "",
786
+ "required": true,
787
+ "style": "simple",
788
+ "schema": {
789
+ "allOf": [
790
+ {
791
+ "$ref": "#/components/schemas/content-type5"
792
+ },
793
+ {
794
+ "example": "application/json"
795
+ }
796
+ ]
797
+ }
798
+ },
799
+ {
800
+ "name": "entity",
801
+ "in": "path",
802
+ "description": "",
803
+ "required": true,
804
+ "style": "simple",
805
+ "schema": {
806
+ "type": "string"
807
+ }
808
+ }
809
+ ],
810
+ "responses": {
811
+ "200": {
812
+ "description": "",
813
+ "headers": {},
814
+ "content": {}
815
+ }
816
+ },
817
+ "deprecated": false
818
+ }
819
+ },
820
+ "/roster": {
821
+ "get": {
822
+ "tags": [
823
+ "Roster"
824
+ ],
825
+ "summary": "getRecentConversationList",
826
+ "description": "getRecentConversationList",
827
+ "operationId": "getRecentConversationList",
828
+ "parameters": [
829
+ {
830
+ "name": "accept",
831
+ "in": "header",
832
+ "description": "",
833
+ "required": true,
834
+ "style": "simple",
835
+ "schema": {
836
+ "type": "string",
837
+ "example": "application/json"
838
+ }
839
+ }
840
+ ],
841
+ "responses": {
842
+ "200": {
843
+ "description": "",
844
+ "headers": {},
845
+ "content": {}
846
+ }
847
+ },
848
+ "deprecated": false
849
+ },
850
+ "post": {
851
+ "tags": [
852
+ "Roster"
853
+ ],
854
+ "summary": "postUsersOrListsToRoster",
855
+ "description": "postUsersOrListsToRoster",
856
+ "operationId": "postUsersOrListsToRoster",
857
+ "parameters": [
858
+ {
859
+ "name": "Content-Type",
860
+ "in": "header",
861
+ "description": "",
862
+ "required": true,
863
+ "style": "simple",
864
+ "schema": {
865
+ "allOf": [
866
+ {
867
+ "$ref": "#/components/schemas/Content-Type"
868
+ },
869
+ {
870
+ "example": "application/x-www-form-urlencoded"
871
+ }
872
+ ]
873
+ }
874
+ }
875
+ ],
876
+ "requestBody": {
877
+ "content": {
878
+ "application/x-www-form-urlencoded": {
879
+ "encoding": {},
880
+ "schema": {
881
+ "required": [
882
+ "entity",
883
+ "type"
884
+ ],
885
+ "type": "object",
886
+ "properties": {
887
+ "entity": {
888
+ "type": "string",
889
+ "example": "da52cee5-227f-43ed-bdde-6b9554cc0914"
890
+ },
891
+ "type": {
892
+ "type": "string",
893
+ "example": "tigertext:entity:account"
894
+ }
895
+ }
896
+ }
897
+ }
898
+ },
899
+ "required": false
900
+ },
901
+ "responses": {
902
+ "200": {
903
+ "description": "",
904
+ "headers": {},
905
+ "content": {}
906
+ }
907
+ },
908
+ "deprecated": false,
909
+ "security": [
910
+ {
911
+ "basic": []
912
+ }
913
+ ]
914
+ }
915
+ },
916
+ "/roster/{entity}": {
917
+ "delete": {
918
+ "tags": [
919
+ "Roster"
920
+ ],
921
+ "summary": "deleteConversation",
922
+ "description": "deleteConversation",
923
+ "operationId": "deleteConversation",
924
+ "parameters": [
925
+ {
926
+ "name": "accept",
927
+ "in": "header",
928
+ "description": "",
929
+ "required": true,
930
+ "style": "simple",
931
+ "schema": {
932
+ "type": "string",
933
+ "example": "application/json"
934
+ }
935
+ },
936
+ {
937
+ "name": "entity",
938
+ "in": "path",
939
+ "description": "",
940
+ "required": true,
941
+ "style": "simple",
942
+ "schema": {
943
+ "type": "string"
944
+ }
945
+ }
946
+ ],
947
+ "responses": {
948
+ "200": {
949
+ "description": "",
950
+ "headers": {},
951
+ "content": {}
952
+ }
953
+ },
954
+ "deprecated": false
955
+ }
956
+ },
957
+ "/user/{userid}": {
958
+ "get": {
959
+ "tags": [
960
+ "Users"
961
+ ],
962
+ "summary": "getUserInfo",
963
+ "description": "getUserInfo",
964
+ "operationId": "getUserInfo",
965
+ "parameters": [
966
+ {
967
+ "name": "userid",
968
+ "in": "path",
969
+ "description": "",
970
+ "required": true,
971
+ "style": "simple",
972
+ "schema": {
973
+ "type": "string"
974
+ }
975
+ }
976
+ ],
977
+ "responses": {
978
+ "200": {
979
+ "description": "",
980
+ "headers": {},
981
+ "content": {}
982
+ }
983
+ },
984
+ "deprecated": false,
985
+ "security": [
986
+ {
987
+ "basic": []
988
+ }
989
+ ]
990
+ }
991
+ },
992
+ "/user/{userid}/message/unread_count": {
993
+ "get": {
994
+ "tags": [
995
+ "Users"
996
+ ],
997
+ "summary": "getUnreadMsgCountAcrossAllOrg",
998
+ "description": "getUnreadMsgCountAcrossAllOrg",
999
+ "operationId": "getUnreadMsgCountAcrossAllOrg",
1000
+ "parameters": [
1001
+ {
1002
+ "name": "Authorization",
1003
+ "in": "header",
1004
+ "description": "",
1005
+ "required": true,
1006
+ "style": "simple",
1007
+ "schema": {
1008
+ "type": "string",
1009
+ "example": "XMPP-Simple"
1010
+ }
1011
+ },
1012
+ {
1013
+ "name": "userid",
1014
+ "in": "path",
1015
+ "description": "",
1016
+ "required": true,
1017
+ "style": "simple",
1018
+ "schema": {
1019
+ "type": "string"
1020
+ }
1021
+ }
1022
+ ],
1023
+ "responses": {
1024
+ "200": {
1025
+ "description": "",
1026
+ "headers": {},
1027
+ "content": {}
1028
+ }
1029
+ },
1030
+ "deprecated": false,
1031
+ "security": []
1032
+ }
1033
+ },
1034
+ "/user/{userid}/organization/{organization}/message/unread_count": {
1035
+ "get": {
1036
+ "tags": [
1037
+ "Users"
1038
+ ],
1039
+ "summary": "getUnreadMsgCountForUserForSingleOrg",
1040
+ "description": "getUnreadMsgCountForUserForSingleOrg",
1041
+ "operationId": "getUnreadMsgCountForUserForSingleOrg",
1042
+ "parameters": [
1043
+ {
1044
+ "name": "Authorization",
1045
+ "in": "header",
1046
+ "description": "",
1047
+ "required": true,
1048
+ "style": "simple",
1049
+ "schema": {
1050
+ "type": "string",
1051
+ "example": "XMPP-Simple"
1052
+ }
1053
+ },
1054
+ {
1055
+ "name": "userid",
1056
+ "in": "path",
1057
+ "description": "",
1058
+ "required": true,
1059
+ "style": "simple",
1060
+ "schema": {
1061
+ "type": "string"
1062
+ }
1063
+ },
1064
+ {
1065
+ "name": "organization",
1066
+ "in": "path",
1067
+ "description": "",
1068
+ "required": true,
1069
+ "style": "simple",
1070
+ "schema": {
1071
+ "type": "string"
1072
+ }
1073
+ }
1074
+ ],
1075
+ "responses": {
1076
+ "200": {
1077
+ "description": "",
1078
+ "headers": {},
1079
+ "content": {}
1080
+ }
1081
+ },
1082
+ "deprecated": false,
1083
+ "security": []
1084
+ }
1085
+ },
1086
+ "/user_lookup/{userid}": {
1087
+ "get": {
1088
+ "tags": [
1089
+ "Users"
1090
+ ],
1091
+ "summary": "getUserBasicDetails",
1092
+ "description": "getUserBasicDetails",
1093
+ "operationId": "getUserBasicDetails",
1094
+ "parameters": [
1095
+ {
1096
+ "name": "userid",
1097
+ "in": "path",
1098
+ "description": "",
1099
+ "required": true,
1100
+ "style": "simple",
1101
+ "schema": {
1102
+ "type": "string"
1103
+ }
1104
+ }
1105
+ ],
1106
+ "responses": {
1107
+ "200": {
1108
+ "description": "",
1109
+ "headers": {},
1110
+ "content": {}
1111
+ }
1112
+ },
1113
+ "deprecated": false,
1114
+ "security": [
1115
+ {
1116
+ "basic": []
1117
+ }
1118
+ ]
1119
+ }
1120
+ },
1121
+ "/user/{userid}/organization": {
1122
+ "post": {
1123
+ "tags": [
1124
+ "Users"
1125
+ ],
1126
+ "summary": "postAddUserToOrg",
1127
+ "description": "postAddUserToOrg",
1128
+ "operationId": "postAddUserToOrg",
1129
+ "parameters": [
1130
+ {
1131
+ "name": "Content-Type",
1132
+ "in": "header",
1133
+ "description": "",
1134
+ "required": true,
1135
+ "style": "simple",
1136
+ "schema": {
1137
+ "allOf": [
1138
+ {
1139
+ "$ref": "#/components/schemas/Content-Type"
1140
+ },
1141
+ {
1142
+ "example": "application/x-www-form-urlencoded"
1143
+ }
1144
+ ]
1145
+ }
1146
+ },
1147
+ {
1148
+ "name": "userid",
1149
+ "in": "path",
1150
+ "description": "",
1151
+ "required": true,
1152
+ "style": "simple",
1153
+ "schema": {
1154
+ "type": "string"
1155
+ }
1156
+ }
1157
+ ],
1158
+ "requestBody": {
1159
+ "content": {
1160
+ "application/x-www-form-urlencoded": {
1161
+ "encoding": {},
1162
+ "schema": {
1163
+ "required": [
1164
+ "organization_key"
1165
+ ],
1166
+ "type": "object",
1167
+ "properties": {
1168
+ "organization_key": {
1169
+ "type": "string",
1170
+ "example": "WNIDOsKoKLEUNWnUJBoExmCB"
1171
+ }
1172
+ }
1173
+ }
1174
+ }
1175
+ },
1176
+ "required": false
1177
+ },
1178
+ "responses": {
1179
+ "200": {
1180
+ "description": "",
1181
+ "headers": {},
1182
+ "content": {}
1183
+ }
1184
+ },
1185
+ "deprecated": false,
1186
+ "security": [
1187
+ {
1188
+ "basic": []
1189
+ }
1190
+ ]
1191
+ }
1192
+ },
1193
+ "/user/{userid}/organization/{organization}": {
1194
+ "delete": {
1195
+ "tags": [
1196
+ "Users"
1197
+ ],
1198
+ "summary": "deleteUserFromOrg",
1199
+ "description": "deleteUserFromOrg",
1200
+ "operationId": "deleteUserFromOrg",
1201
+ "parameters": [
1202
+ {
1203
+ "name": "userid",
1204
+ "in": "path",
1205
+ "description": "",
1206
+ "required": true,
1207
+ "style": "simple",
1208
+ "schema": {
1209
+ "type": "string"
1210
+ }
1211
+ },
1212
+ {
1213
+ "name": "organization",
1214
+ "in": "path",
1215
+ "description": "",
1216
+ "required": true,
1217
+ "style": "simple",
1218
+ "schema": {
1219
+ "type": "string"
1220
+ }
1221
+ }
1222
+ ],
1223
+ "responses": {
1224
+ "200": {
1225
+ "description": "",
1226
+ "headers": {},
1227
+ "content": {}
1228
+ }
1229
+ },
1230
+ "deprecated": false
1231
+ }
1232
+ },
1233
+ "/user/{userid}/organization/{organization}/roles": {
1234
+ "get": {
1235
+ "tags": [
1236
+ "Users"
1237
+ ],
1238
+ "summary": "getUserRole",
1239
+ "description": "getUserRole",
1240
+ "operationId": "getUserRole",
1241
+ "parameters": [
1242
+ {
1243
+ "name": "userid",
1244
+ "in": "path",
1245
+ "description": "",
1246
+ "required": true,
1247
+ "style": "simple",
1248
+ "schema": {
1249
+ "type": "string"
1250
+ }
1251
+ },
1252
+ {
1253
+ "name": "organization",
1254
+ "in": "path",
1255
+ "description": "",
1256
+ "required": true,
1257
+ "style": "simple",
1258
+ "schema": {
1259
+ "type": "string"
1260
+ }
1261
+ }
1262
+ ],
1263
+ "responses": {
1264
+ "200": {
1265
+ "description": "",
1266
+ "headers": {},
1267
+ "content": {}
1268
+ }
1269
+ },
1270
+ "deprecated": false,
1271
+ "security": [
1272
+ {
1273
+ "basic": []
1274
+ }
1275
+ ]
1276
+ }
1277
+ },
1278
+ "/user/{userid}/organization/{organization}/roles/{role}": {
1279
+ "post": {
1280
+ "tags": [
1281
+ "Users"
1282
+ ],
1283
+ "summary": "postSpecificRoleToUser",
1284
+ "description": "postSpecificRoleToUser",
1285
+ "operationId": "postSpecificRoleToUser",
1286
+ "parameters": [
1287
+ {
1288
+ "name": "userid",
1289
+ "in": "path",
1290
+ "description": "",
1291
+ "required": true,
1292
+ "style": "simple",
1293
+ "schema": {
1294
+ "type": "string"
1295
+ }
1296
+ },
1297
+ {
1298
+ "name": "organization",
1299
+ "in": "path",
1300
+ "description": "",
1301
+ "required": true,
1302
+ "style": "simple",
1303
+ "schema": {
1304
+ "type": "string"
1305
+ }
1306
+ },
1307
+ {
1308
+ "name": "role",
1309
+ "in": "path",
1310
+ "description": "",
1311
+ "required": true,
1312
+ "style": "simple",
1313
+ "schema": {
1314
+ "type": "string"
1315
+ }
1316
+ }
1317
+ ],
1318
+ "responses": {
1319
+ "200": {
1320
+ "description": "",
1321
+ "headers": {},
1322
+ "content": {}
1323
+ }
1324
+ },
1325
+ "deprecated": false,
1326
+ "security": [
1327
+ {
1328
+ "basic": []
1329
+ }
1330
+ ]
1331
+ },
1332
+ "delete": {
1333
+ "tags": [
1334
+ "Users"
1335
+ ],
1336
+ "summary": "deleteUserRole",
1337
+ "description": "deleteUserRole",
1338
+ "operationId": "deleteUserRole",
1339
+ "parameters": [
1340
+ {
1341
+ "name": "userid",
1342
+ "in": "path",
1343
+ "description": "",
1344
+ "required": true,
1345
+ "style": "simple",
1346
+ "schema": {
1347
+ "type": "string"
1348
+ }
1349
+ },
1350
+ {
1351
+ "name": "organization",
1352
+ "in": "path",
1353
+ "description": "",
1354
+ "required": true,
1355
+ "style": "simple",
1356
+ "schema": {
1357
+ "type": "string"
1358
+ }
1359
+ },
1360
+ {
1361
+ "name": "role",
1362
+ "in": "path",
1363
+ "description": "",
1364
+ "required": true,
1365
+ "style": "simple",
1366
+ "schema": {
1367
+ "type": "string"
1368
+ }
1369
+ }
1370
+ ],
1371
+ "responses": {
1372
+ "200": {
1373
+ "description": "",
1374
+ "headers": {},
1375
+ "content": {}
1376
+ }
1377
+ },
1378
+ "deprecated": false,
1379
+ "security": [
1380
+ {
1381
+ "basic": []
1382
+ }
1383
+ ]
1384
+ }
1385
+ },
1386
+ "/user": {
1387
+ "post": {
1388
+ "tags": [
1389
+ "Users"
1390
+ ],
1391
+ "summary": "postUpdateUsers",
1392
+ "description": "postUpdateUsers",
1393
+ "operationId": "postUpdateUsers",
1394
+ "parameters": [
1395
+ {
1396
+ "name": "TT-X-Organization-Key",
1397
+ "in": "header",
1398
+ "description": "",
1399
+ "required": true,
1400
+ "style": "simple",
1401
+ "schema": {
1402
+ "type": "string",
1403
+ "example": "org_unique_id"
1404
+ }
1405
+ },
1406
+ {
1407
+ "name": "Content-Type",
1408
+ "in": "header",
1409
+ "description": "",
1410
+ "required": true,
1411
+ "style": "simple",
1412
+ "schema": {
1413
+ "allOf": [
1414
+ {
1415
+ "$ref": "#/components/schemas/Content-Type"
1416
+ },
1417
+ {
1418
+ "example": "application/x-www-form-urlencoded"
1419
+ }
1420
+ ]
1421
+ }
1422
+ }
1423
+ ],
1424
+ "requestBody": {
1425
+ "content": {
1426
+ "application/x-www-form-urlencoded": {
1427
+ "encoding": {},
1428
+ "schema": {
1429
+ "required": [
1430
+ "unique_id",
1431
+ "emails",
1432
+ "phones",
1433
+ "first_name",
1434
+ "last_name"
1435
+ ],
1436
+ "type": "object",
1437
+ "properties": {
1438
+ "unique_id": {
1439
+ "type": "string",
1440
+ "example": "a_new_user@the.org"
1441
+ },
1442
+ "emails": {
1443
+ "type": "string",
1444
+ "example": "a_new_user@the.org"
1445
+ },
1446
+ "phones": {
1447
+ "type": "string",
1448
+ "example": "+15555555555"
1449
+ },
1450
+ "first_name": {
1451
+ "type": "string",
1452
+ "example": "New"
1453
+ },
1454
+ "last_name": {
1455
+ "type": "string",
1456
+ "example": "User"
1457
+ }
1458
+ }
1459
+ }
1460
+ }
1461
+ },
1462
+ "required": false
1463
+ },
1464
+ "responses": {
1465
+ "200": {
1466
+ "description": "",
1467
+ "headers": {},
1468
+ "content": {}
1469
+ }
1470
+ },
1471
+ "deprecated": false,
1472
+ "security": [
1473
+ {
1474
+ "basic": []
1475
+ }
1476
+ ]
1477
+ }
1478
+ },
1479
+ "/events": {
1480
+ "get": {
1481
+ "tags": [
1482
+ "Events"
1483
+ ],
1484
+ "summary": "getSseEventStream",
1485
+ "description": "getSseEventStream",
1486
+ "operationId": "getSseEventStream",
1487
+ "parameters": [
1488
+ {
1489
+ "name": "accept",
1490
+ "in": "header",
1491
+ "description": "",
1492
+ "required": true,
1493
+ "style": "simple",
1494
+ "schema": {
1495
+ "type": "string",
1496
+ "example": "application/json"
1497
+ }
1498
+ }
1499
+ ],
1500
+ "responses": {
1501
+ "200": {
1502
+ "description": "",
1503
+ "headers": {},
1504
+ "content": {}
1505
+ }
1506
+ },
1507
+ "deprecated": false
1508
+ },
1509
+ "delete": {
1510
+ "tags": [
1511
+ "Events"
1512
+ ],
1513
+ "summary": "deleteEventsConnections",
1514
+ "description": "deleteEventsConnections",
1515
+ "operationId": "deleteEventsConnections",
1516
+ "parameters": [],
1517
+ "responses": {
1518
+ "200": {
1519
+ "description": "",
1520
+ "headers": {},
1521
+ "content": {}
1522
+ }
1523
+ },
1524
+ "deprecated": false,
1525
+ "security": [
1526
+ {
1527
+ "basic": []
1528
+ }
1529
+ ]
1530
+ }
1531
+ },
1532
+ "/events/ack": {
1533
+ "post": {
1534
+ "tags": [
1535
+ "Events"
1536
+ ],
1537
+ "summary": "postAckEvents",
1538
+ "description": "postAckEvents",
1539
+ "operationId": "postAckEvents",
1540
+ "parameters": [
1541
+ {
1542
+ "name": "Content-Type",
1543
+ "in": "header",
1544
+ "description": "",
1545
+ "required": true,
1546
+ "style": "simple",
1547
+ "schema": {
1548
+ "allOf": [
1549
+ {
1550
+ "$ref": "#/components/schemas/Content-Type"
1551
+ },
1552
+ {
1553
+ "example": "application/x-www-form-urlencoded"
1554
+ }
1555
+ ]
1556
+ }
1557
+ }
1558
+ ],
1559
+ "requestBody": {
1560
+ "content": {
1561
+ "application/x-www-form-urlencoded": {
1562
+ "encoding": {},
1563
+ "schema": {
1564
+ "required": [
1565
+ "events"
1566
+ ],
1567
+ "type": "object",
1568
+ "properties": {
1569
+ "events": {
1570
+ "type": "string",
1571
+ "example": "082a563f-c237-45b5-a234-5a484779d308"
1572
+ }
1573
+ }
1574
+ }
1575
+ }
1576
+ },
1577
+ "required": false
1578
+ },
1579
+ "responses": {
1580
+ "200": {
1581
+ "description": "",
1582
+ "headers": {},
1583
+ "content": {}
1584
+ }
1585
+ },
1586
+ "deprecated": false,
1587
+ "security": [
1588
+ {
1589
+ "basic": []
1590
+ }
1591
+ ]
1592
+ }
1593
+ },
1594
+ "/organization": {
1595
+ "post": {
1596
+ "tags": [
1597
+ "Organization"
1598
+ ],
1599
+ "summary": "postCreateTigerTxtOrg",
1600
+ "description": "postCreateTigerTxtOrg",
1601
+ "operationId": "postCreateTigerTxtOrg",
1602
+ "parameters": [
1603
+ {
1604
+ "name": "Content-Type",
1605
+ "in": "header",
1606
+ "description": "",
1607
+ "required": true,
1608
+ "style": "simple",
1609
+ "schema": {
1610
+ "allOf": [
1611
+ {
1612
+ "$ref": "#/components/schemas/Content-Type"
1613
+ },
1614
+ {
1615
+ "example": "application/x-www-form-urlencoded"
1616
+ }
1617
+ ]
1618
+ }
1619
+ }
1620
+ ],
1621
+ "requestBody": {
1622
+ "content": {
1623
+ "application/x-www-form-urlencoded": {
1624
+ "encoding": {},
1625
+ "schema": {
1626
+ "required": [
1627
+ "name",
1628
+ "billing"
1629
+ ],
1630
+ "type": "object",
1631
+ "properties": {
1632
+ "name": {
1633
+ "type": "string",
1634
+ "example": "New Org"
1635
+ },
1636
+ "billing": {
1637
+ "type": "string",
1638
+ "example": "active"
1639
+ }
1640
+ }
1641
+ }
1642
+ }
1643
+ },
1644
+ "required": false
1645
+ },
1646
+ "responses": {
1647
+ "200": {
1648
+ "description": "",
1649
+ "headers": {},
1650
+ "content": {}
1651
+ }
1652
+ },
1653
+ "deprecated": false,
1654
+ "security": [
1655
+ {
1656
+ "basic": []
1657
+ }
1658
+ ]
1659
+ }
1660
+ },
1661
+ "/organization/{organization}": {
1662
+ "post": {
1663
+ "tags": [
1664
+ "Organization"
1665
+ ],
1666
+ "summary": "postUpdateTigerTxtOrg",
1667
+ "description": "postUpdateTigerTxtOrg",
1668
+ "operationId": "postUpdateTigerTxtOrg",
1669
+ "parameters": [
1670
+ {
1671
+ "name": "Content-Type",
1672
+ "in": "header",
1673
+ "description": "",
1674
+ "required": true,
1675
+ "style": "simple",
1676
+ "schema": {
1677
+ "allOf": [
1678
+ {
1679
+ "$ref": "#/components/schemas/Content-Type"
1680
+ },
1681
+ {
1682
+ "example": "application/x-www-form-urlencoded"
1683
+ }
1684
+ ]
1685
+ }
1686
+ },
1687
+ {
1688
+ "name": "organization",
1689
+ "in": "path",
1690
+ "description": "",
1691
+ "required": true,
1692
+ "style": "simple",
1693
+ "schema": {
1694
+ "type": "string"
1695
+ }
1696
+ }
1697
+ ],
1698
+ "requestBody": {
1699
+ "content": {
1700
+ "application/x-www-form-urlencoded": {
1701
+ "encoding": {},
1702
+ "schema": {
1703
+ "required": [
1704
+ "name"
1705
+ ],
1706
+ "type": "object",
1707
+ "properties": {
1708
+ "name": {
1709
+ "type": "string",
1710
+ "example": "Change the Org Name"
1711
+ }
1712
+ }
1713
+ }
1714
+ }
1715
+ },
1716
+ "required": false
1717
+ },
1718
+ "responses": {
1719
+ "200": {
1720
+ "description": "",
1721
+ "headers": {},
1722
+ "content": {}
1723
+ }
1724
+ },
1725
+ "deprecated": false,
1726
+ "security": [
1727
+ {
1728
+ "basic": []
1729
+ }
1730
+ ]
1731
+ },
1732
+ "get": {
1733
+ "tags": [
1734
+ "Organization"
1735
+ ],
1736
+ "summary": "getTigerTxtOrgInfo",
1737
+ "description": "getTigerTxtOrgInfo",
1738
+ "operationId": "getTigerTxtOrgInfo",
1739
+ "parameters": [
1740
+ {
1741
+ "name": "organization",
1742
+ "in": "path",
1743
+ "description": "",
1744
+ "required": true,
1745
+ "style": "simple",
1746
+ "schema": {
1747
+ "type": "string"
1748
+ }
1749
+ }
1750
+ ],
1751
+ "responses": {
1752
+ "200": {
1753
+ "description": "",
1754
+ "headers": {},
1755
+ "content": {}
1756
+ }
1757
+ },
1758
+ "deprecated": false,
1759
+ "security": [
1760
+ {
1761
+ "basic": []
1762
+ }
1763
+ ]
1764
+ }
1765
+ },
1766
+ "/organization/{organization}/security_groups": {
1767
+ "post": {
1768
+ "tags": [
1769
+ "Organization"
1770
+ ],
1771
+ "summary": "postCreateCustomDirectoryForOrg",
1772
+ "description": "postCreateCustomDirectoryForOrg",
1773
+ "operationId": "postCreateCustomDirectoryForOrg",
1774
+ "parameters": [
1775
+ {
1776
+ "name": "accept",
1777
+ "in": "header",
1778
+ "description": "",
1779
+ "required": true,
1780
+ "style": "simple",
1781
+ "schema": {
1782
+ "type": "string",
1783
+ "example": "application/json"
1784
+ }
1785
+ },
1786
+ {
1787
+ "name": "content-type",
1788
+ "in": "header",
1789
+ "description": "",
1790
+ "required": true,
1791
+ "style": "simple",
1792
+ "schema": {
1793
+ "allOf": [
1794
+ {
1795
+ "$ref": "#/components/schemas/content-type5"
1796
+ },
1797
+ {
1798
+ "example": "application/json"
1799
+ }
1800
+ ]
1801
+ }
1802
+ },
1803
+ {
1804
+ "name": "organization",
1805
+ "in": "path",
1806
+ "description": "",
1807
+ "required": true,
1808
+ "style": "simple",
1809
+ "schema": {
1810
+ "type": "string"
1811
+ }
1812
+ }
1813
+ ],
1814
+ "responses": {
1815
+ "200": {
1816
+ "description": "",
1817
+ "headers": {},
1818
+ "content": {}
1819
+ }
1820
+ },
1821
+ "deprecated": false
1822
+ }
1823
+ },
1824
+ "/organization/{organizationid}": {
1825
+ "delete": {
1826
+ "tags": [
1827
+ "Organization"
1828
+ ],
1829
+ "summary": "deleteTigerTxtOrg",
1830
+ "description": "deleteTigerTxtOrg",
1831
+ "operationId": "deleteTigerTxtOrg",
1832
+ "parameters": [
1833
+ {
1834
+ "name": "organizationid",
1835
+ "in": "path",
1836
+ "description": "",
1837
+ "required": true,
1838
+ "style": "simple",
1839
+ "schema": {
1840
+ "type": "string"
1841
+ }
1842
+ }
1843
+ ],
1844
+ "responses": {
1845
+ "200": {
1846
+ "description": "",
1847
+ "headers": {},
1848
+ "content": {}
1849
+ }
1850
+ },
1851
+ "deprecated": false,
1852
+ "security": [
1853
+ {
1854
+ "basic": []
1855
+ }
1856
+ ]
1857
+ }
1858
+ },
1859
+ "/configs/info": {
1860
+ "post": {
1861
+ "tags": [
1862
+ "Scheduler"
1863
+ ],
1864
+ "summary": "postReturnIntegrationInfo",
1865
+ "description": "postReturnIntegrationInfo",
1866
+ "operationId": "postReturnIntegrationInfo",
1867
+ "parameters": [],
1868
+ "requestBody": {
1869
+ "description": "",
1870
+ "content": {
1871
+ "application/json": {
1872
+ "schema": {
1873
+ "allOf": [
1874
+ {
1875
+ "$ref": "#/components/schemas/postReturnIntegrationInfoRequest"
1876
+ },
1877
+ {
1878
+ "example": {
1879
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
1880
+ }
1881
+ }
1882
+ ]
1883
+ },
1884
+ "example": {
1885
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
1886
+ }
1887
+ }
1888
+ },
1889
+ "required": true
1890
+ },
1891
+ "responses": {
1892
+ "200": {
1893
+ "description": "",
1894
+ "headers": {},
1895
+ "content": {}
1896
+ }
1897
+ },
1898
+ "deprecated": false,
1899
+ "security": [
1900
+ {
1901
+ "basic": []
1902
+ }
1903
+ ]
1904
+ }
1905
+ },
1906
+ "/delete": {
1907
+ "post": {
1908
+ "tags": [
1909
+ "Scheduler"
1910
+ ],
1911
+ "summary": "postDeleteAllMappingsOnDeletingIntegration",
1912
+ "description": "postDeleteAllMappingsOnDeletingIntegration",
1913
+ "operationId": "postDeleteAllMappingsOnDeletingIntegration",
1914
+ "parameters": [],
1915
+ "requestBody": {
1916
+ "description": "",
1917
+ "content": {
1918
+ "application/json": {
1919
+ "schema": {
1920
+ "allOf": [
1921
+ {
1922
+ "$ref": "#/components/schemas/postReturnIntegrationInfoRequest"
1923
+ },
1924
+ {
1925
+ "example": {
1926
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
1927
+ }
1928
+ }
1929
+ ]
1930
+ },
1931
+ "example": {
1932
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
1933
+ }
1934
+ }
1935
+ },
1936
+ "required": true
1937
+ },
1938
+ "responses": {
1939
+ "200": {
1940
+ "description": "",
1941
+ "headers": {},
1942
+ "content": {}
1943
+ }
1944
+ },
1945
+ "deprecated": false,
1946
+ "security": [
1947
+ {
1948
+ "basic": []
1949
+ }
1950
+ ]
1951
+ }
1952
+ },
1953
+ "/configs/info/org": {
1954
+ "post": {
1955
+ "tags": [
1956
+ "Scheduler"
1957
+ ],
1958
+ "summary": "postDifferentIntegrationIDOfOrg",
1959
+ "description": "postDifferentIntegrationIDOfOrg",
1960
+ "operationId": "postDifferentIntegrationIDOfOrg",
1961
+ "parameters": [],
1962
+ "requestBody": {
1963
+ "description": "",
1964
+ "content": {
1965
+ "application/json": {
1966
+ "schema": {
1967
+ "allOf": [
1968
+ {
1969
+ "$ref": "#/components/schemas/postDifferentIntegrationIDOfOrgRequest"
1970
+ },
1971
+ {
1972
+ "example": {
1973
+ "org": "j4TZWC00B969t8CdZZZHe6Cit"
1974
+ }
1975
+ }
1976
+ ]
1977
+ },
1978
+ "example": {
1979
+ "org": "j4TZWC00B969t8CdZZZHe6Cit"
1980
+ }
1981
+ }
1982
+ },
1983
+ "required": true
1984
+ },
1985
+ "responses": {
1986
+ "200": {
1987
+ "description": "",
1988
+ "headers": {},
1989
+ "content": {}
1990
+ }
1991
+ },
1992
+ "deprecated": false,
1993
+ "security": [
1994
+ {
1995
+ "basic": []
1996
+ }
1997
+ ]
1998
+ }
1999
+ },
2000
+ "/configs/set": {
2001
+ "post": {
2002
+ "tags": [
2003
+ "Scheduler"
2004
+ ],
2005
+ "summary": "postAccessOrganizationKey",
2006
+ "description": "postAccessOrganizationKey",
2007
+ "operationId": "postAccessOrganizationKey",
2008
+ "parameters": [],
2009
+ "requestBody": {
2010
+ "description": "",
2011
+ "content": {
2012
+ "application/json": {
2013
+ "schema": {
2014
+ "type": "string",
2015
+ "example": "{\"org\":\"j4TZWCOOA969t8CdYRHd6Cit\", \"partner\":\"org partner name\", \"secret\":\"secret key\"]}"
2016
+ },
2017
+ "example": "{\"org\":\"j4TZWCOOA969t8CdYRHd6Cit\", \"partner\":\"org partner name\", \"secret\":\"secret key\"]}"
2018
+ }
2019
+ },
2020
+ "required": true
2021
+ },
2022
+ "responses": {
2023
+ "200": {
2024
+ "description": "",
2025
+ "headers": {},
2026
+ "content": {}
2027
+ }
2028
+ },
2029
+ "deprecated": false,
2030
+ "security": [
2031
+ {
2032
+ "basic": []
2033
+ }
2034
+ ]
2035
+ }
2036
+ },
2037
+ "/mappings/ids/info": {
2038
+ "post": {
2039
+ "tags": [
2040
+ "Scheduler"
2041
+ ],
2042
+ "summary": "postReturnAllMappings",
2043
+ "description": "postReturnAllMappings",
2044
+ "operationId": "postReturnAllMappings",
2045
+ "parameters": [],
2046
+ "requestBody": {
2047
+ "description": "",
2048
+ "content": {
2049
+ "application/json": {
2050
+ "schema": {
2051
+ "allOf": [
2052
+ {
2053
+ "$ref": "#/components/schemas/postReturnIntegrationInfoRequest"
2054
+ },
2055
+ {
2056
+ "example": {
2057
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2058
+ }
2059
+ }
2060
+ ]
2061
+ },
2062
+ "example": {
2063
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2064
+ }
2065
+ }
2066
+ },
2067
+ "required": true
2068
+ },
2069
+ "responses": {
2070
+ "200": {
2071
+ "description": "",
2072
+ "headers": {},
2073
+ "content": {}
2074
+ }
2075
+ },
2076
+ "deprecated": false,
2077
+ "security": [
2078
+ {
2079
+ "basic": []
2080
+ }
2081
+ ]
2082
+ }
2083
+ },
2084
+ "/mappings/ids/add": {
2085
+ "post": {
2086
+ "tags": [
2087
+ "Scheduler"
2088
+ ],
2089
+ "summary": "postUserOrRolesMappings",
2090
+ "description": "postUserOrRolesMappings",
2091
+ "operationId": "postUserOrRolesMappings",
2092
+ "parameters": [],
2093
+ "requestBody": {
2094
+ "description": "",
2095
+ "content": {
2096
+ "application/json": {
2097
+ "schema": {
2098
+ "allOf": [
2099
+ {
2100
+ "$ref": "#/components/schemas/postUserOrRolesMappingsRequest"
2101
+ },
2102
+ {
2103
+ "example": {
2104
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2105
+ "mappings": [
2106
+ {
2107
+ "type": "user",
2108
+ "external_id": "1",
2109
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2110
+ }
2111
+ ]
2112
+ }
2113
+ }
2114
+ ]
2115
+ },
2116
+ "example": {
2117
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2118
+ "mappings": [
2119
+ {
2120
+ "type": "user",
2121
+ "external_id": "1",
2122
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2123
+ }
2124
+ ]
2125
+ }
2126
+ }
2127
+ },
2128
+ "required": true
2129
+ },
2130
+ "responses": {
2131
+ "200": {
2132
+ "description": "",
2133
+ "headers": {},
2134
+ "content": {}
2135
+ }
2136
+ },
2137
+ "deprecated": false,
2138
+ "security": [
2139
+ {
2140
+ "basic": []
2141
+ }
2142
+ ]
2143
+ }
2144
+ },
2145
+ "/mappings/ids/delete": {
2146
+ "post": {
2147
+ "tags": [
2148
+ "Scheduler"
2149
+ ],
2150
+ "summary": "postDeleteAllMapings",
2151
+ "description": "postDeleteAllMapings",
2152
+ "operationId": "postDeleteAllMapings",
2153
+ "parameters": [],
2154
+ "requestBody": {
2155
+ "description": "",
2156
+ "content": {
2157
+ "application/json": {
2158
+ "schema": {
2159
+ "allOf": [
2160
+ {
2161
+ "$ref": "#/components/schemas/postReturnIntegrationInfoRequest"
2162
+ },
2163
+ {
2164
+ "example": {
2165
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2166
+ }
2167
+ }
2168
+ ]
2169
+ },
2170
+ "example": {
2171
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2172
+ }
2173
+ }
2174
+ },
2175
+ "required": true
2176
+ },
2177
+ "responses": {
2178
+ "200": {
2179
+ "description": "",
2180
+ "headers": {},
2181
+ "content": {}
2182
+ }
2183
+ },
2184
+ "deprecated": false,
2185
+ "security": [
2186
+ {
2187
+ "basic": []
2188
+ }
2189
+ ]
2190
+ }
2191
+ },
2192
+ "/mappings/ids/set": {
2193
+ "post": {
2194
+ "tags": [
2195
+ "Scheduler"
2196
+ ],
2197
+ "summary": "postGetIntegrationInfo",
2198
+ "description": "postGetIntegrationInfo",
2199
+ "operationId": "postGetIntegrationInfo",
2200
+ "parameters": [],
2201
+ "requestBody": {
2202
+ "description": "",
2203
+ "content": {
2204
+ "application/json": {
2205
+ "schema": {
2206
+ "allOf": [
2207
+ {
2208
+ "$ref": "#/components/schemas/postUserOrRolesMappingsRequest"
2209
+ },
2210
+ {
2211
+ "example": {
2212
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2213
+ "mappings": [
2214
+ {
2215
+ "type": "user",
2216
+ "external_id": "1",
2217
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2218
+ }
2219
+ ]
2220
+ }
2221
+ }
2222
+ ]
2223
+ },
2224
+ "example": {
2225
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2226
+ "mappings": [
2227
+ {
2228
+ "type": "user",
2229
+ "external_id": "1",
2230
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2231
+ }
2232
+ ]
2233
+ }
2234
+ }
2235
+ },
2236
+ "required": true
2237
+ },
2238
+ "responses": {
2239
+ "200": {
2240
+ "description": "",
2241
+ "headers": {},
2242
+ "content": {}
2243
+ }
2244
+ },
2245
+ "deprecated": false,
2246
+ "security": [
2247
+ {
2248
+ "basic": []
2249
+ }
2250
+ ]
2251
+ }
2252
+ },
2253
+ "/webhook/ids": {
2254
+ "post": {
2255
+ "tags": [
2256
+ "Scheduler"
2257
+ ],
2258
+ "summary": "postSubmitPayloadOfCSVInfo",
2259
+ "description": "postSubmitPayloadOfCSVInfo",
2260
+ "operationId": "postSubmitPayloadOfCSVInfo",
2261
+ "parameters": [],
2262
+ "requestBody": {
2263
+ "description": "",
2264
+ "content": {
2265
+ "application/json": {
2266
+ "schema": {
2267
+ "allOf": [
2268
+ {
2269
+ "$ref": "#/components/schemas/postSubmitPayloadOfCSVInfoRequest"
2270
+ },
2271
+ {
2272
+ "example": {
2273
+ "id": "0d505f86-e273-4dc5-ad38-0cc6ba275fea",
2274
+ "tz": "America/New_York",
2275
+ "data": [
2276
+ {
2277
+ "user": "0a1c2541-f936-4ce6-a1f0-b30aaefe7264",
2278
+ "role": "218093a7-4b93-4793-a25f-e745f55b8a8e",
2279
+ "stime": "2017-10-12T08:00:00Z",
2280
+ "etime": "2017-10-12T14:00:00Z"
2281
+ }
2282
+ ]
2283
+ }
2284
+ }
2285
+ ]
2286
+ },
2287
+ "example": {
2288
+ "id": "0d505f86-e273-4dc5-ad38-0cc6ba275fea",
2289
+ "tz": "America/New_York",
2290
+ "data": [
2291
+ {
2292
+ "user": "0a1c2541-f936-4ce6-a1f0-b30aaefe7264",
2293
+ "role": "218093a7-4b93-4793-a25f-e745f55b8a8e",
2294
+ "stime": "2017-10-12T08:00:00Z",
2295
+ "etime": "2017-10-12T14:00:00Z"
2296
+ }
2297
+ ]
2298
+ }
2299
+ }
2300
+ },
2301
+ "required": true
2302
+ },
2303
+ "responses": {
2304
+ "200": {
2305
+ "description": "",
2306
+ "headers": {},
2307
+ "content": {}
2308
+ }
2309
+ },
2310
+ "deprecated": false,
2311
+ "security": [
2312
+ {
2313
+ "basic": []
2314
+ }
2315
+ ]
2316
+ }
2317
+ },
2318
+ "/webhook/csv": {
2319
+ "post": {
2320
+ "tags": [
2321
+ "Scheduler"
2322
+ ],
2323
+ "summary": "PostpostSubmitPayloadOfCSVInfo",
2324
+ "description": "postSubmitPayloadOfCSVInfo",
2325
+ "operationId": "PostpostSubmitPayloadOfCSVInfo",
2326
+ "parameters": [
2327
+ {
2328
+ "name": "tt-x-timezone",
2329
+ "in": "header",
2330
+ "description": "",
2331
+ "required": true,
2332
+ "style": "simple",
2333
+ "schema": {
2334
+ "type": "string",
2335
+ "example": "America/New_York"
2336
+ }
2337
+ },
2338
+ {
2339
+ "name": "tt-x-integration-id",
2340
+ "in": "header",
2341
+ "description": "",
2342
+ "required": true,
2343
+ "style": "simple",
2344
+ "schema": {
2345
+ "type": "string",
2346
+ "example": "42bcd94a-324e-4b2e-bd1b-a82e8fe2f1c0"
2347
+ }
2348
+ }
2349
+ ],
2350
+ "requestBody": {
2351
+ "description": "",
2352
+ "content": {
2353
+ "application/json": {
2354
+ "schema": {
2355
+ "type": "string",
2356
+ "example": "@schedules.csv"
2357
+ },
2358
+ "example": "@schedules.csv"
2359
+ }
2360
+ },
2361
+ "required": true
2362
+ },
2363
+ "responses": {
2364
+ "200": {
2365
+ "description": "",
2366
+ "headers": {},
2367
+ "content": {}
2368
+ }
2369
+ },
2370
+ "deprecated": false,
2371
+ "security": [
2372
+ {
2373
+ "basic": []
2374
+ }
2375
+ ]
2376
+ }
2377
+ },
2378
+ "/webhook/download": {
2379
+ "post": {
2380
+ "tags": [
2381
+ "Scheduler"
2382
+ ],
2383
+ "summary": "PostRetrieveLastCsvFile",
2384
+ "description": "PostRetrieveLastCsvFile",
2385
+ "operationId": "PostRetrieveLastCsvFile",
2386
+ "parameters": [],
2387
+ "requestBody": {
2388
+ "description": "",
2389
+ "content": {
2390
+ "application/json": {
2391
+ "schema": {
2392
+ "allOf": [
2393
+ {
2394
+ "$ref": "#/components/schemas/PostRetrieveLastCsvFileRequest"
2395
+ },
2396
+ {
2397
+ "example": {
2398
+ "org": "j4TZXC00B969t8CdZZZHe6Cit",
2399
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1dd"
2400
+ }
2401
+ }
2402
+ ]
2403
+ },
2404
+ "example": {
2405
+ "org": "j4TZXC00B969t8CdZZZHe6Cit",
2406
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1dd"
2407
+ }
2408
+ }
2409
+ },
2410
+ "required": true
2411
+ },
2412
+ "responses": {
2413
+ "200": {
2414
+ "description": "",
2415
+ "headers": {},
2416
+ "content": {}
2417
+ }
2418
+ },
2419
+ "deprecated": false,
2420
+ "security": [
2421
+ {
2422
+ "basic": []
2423
+ }
2424
+ ]
2425
+ }
2426
+ },
2427
+ "/webhook": {
2428
+ "post": {
2429
+ "tags": [
2430
+ "Scheduler"
2431
+ ],
2432
+ "summary": "postSubmitPayloadOfShiftInfo",
2433
+ "description": "postSubmitPayloadOfShiftInfo",
2434
+ "operationId": "postSubmitPayloadOfShiftInfo",
2435
+ "parameters": [],
2436
+ "requestBody": {
2437
+ "description": "",
2438
+ "content": {
2439
+ "application/json": {
2440
+ "schema": {
2441
+ "type": "string",
2442
+ "example": "{\"id\":\"0d505f86-e273-4dc5-ad38-0cc6ba275fea\", \"tz\":\"America/New_York\", \"data\":[{\"external_user_id\":\"12345\", \"username\":\"soomer\", \"user_token\":\"0c505f86-e273-3456-ad38-0cc6ba275fea\", \"user_email\":\"soomer@tigertext.com\", \"user_phone\":\"15556667777\", \"external_role_id\":\"5678\", \"role_token\":\"0e505f86-d273-4dc5-ad38-0cc6ba275fea\", \"stime\":\"2017-10-12T08:00:00Z\", \"etime\":\"2017-10-12T14:00:00Z\"}]}&{\"members\":[\"a1bf9402-6939-4487-9349-49768a4cc1fe\",\"@user2\"]}"
2443
+ },
2444
+ "example": "{\"id\":\"0d505f86-e273-4dc5-ad38-0cc6ba275fea\", \"tz\":\"America/New_York\", \"data\":[{\"external_user_id\":\"12345\", \"username\":\"soomer\", \"user_token\":\"0c505f86-e273-3456-ad38-0cc6ba275fea\", \"user_email\":\"soomer@tigertext.com\", \"user_phone\":\"15556667777\", \"external_role_id\":\"5678\", \"role_token\":\"0e505f86-d273-4dc5-ad38-0cc6ba275fea\", \"stime\":\"2017-10-12T08:00:00Z\", \"etime\":\"2017-10-12T14:00:00Z\"}]}&{\"members\":[\"a1bf9402-6939-4487-9349-49768a4cc1fe\",\"@user2\"]}"
2445
+ }
2446
+ },
2447
+ "required": true
2448
+ },
2449
+ "responses": {
2450
+ "200": {
2451
+ "description": "",
2452
+ "headers": {},
2453
+ "content": {}
2454
+ }
2455
+ },
2456
+ "deprecated": false,
2457
+ "security": [
2458
+ {
2459
+ "basic": []
2460
+ }
2461
+ ]
2462
+ }
2463
+ },
2464
+ "/search": {
2465
+ "post": {
2466
+ "tags": [
2467
+ "default"
2468
+ ],
2469
+ "summary": "postSearchEntities",
2470
+ "description": "",
2471
+ "operationId": "postSearchEntities",
2472
+ "parameters": [],
2473
+ "requestBody": {
2474
+ "description": "body",
2475
+ "content": {
2476
+ "*/*": {
2477
+ "schema": {
2478
+ "description": "body",
2479
+ "example": {
2480
+ "type": [
2481
+ "group"
2482
+ ],
2483
+ "directory": "organization_id",
2484
+ "display_name": "search_term"
2485
+ }
2486
+ },
2487
+ "example": {
2488
+ "type": [
2489
+ "group"
2490
+ ],
2491
+ "directory": "organization_id",
2492
+ "display_name": "search_term"
2493
+ }
2494
+ }
2495
+ },
2496
+ "required": true
2497
+ },
2498
+ "responses": {
2499
+ "200": {
2500
+ "description": "successful operation",
2501
+ "headers": {},
2502
+ "content": {}
2503
+ },
2504
+ "400": {
2505
+ "description": "failed operation",
2506
+ "headers": {},
2507
+ "content": {}
2508
+ }
2509
+ },
2510
+ "deprecated": false
2511
+ }
2512
+ }
2513
+ },
2514
+ "components": {
2515
+ "schemas": {
2516
+ "postCreateNewGroupRequest": {
2517
+ "title": "postCreateNewGroupRequest",
2518
+ "required": [
2519
+ "members"
2520
+ ],
2521
+ "type": "object",
2522
+ "properties": {
2523
+ "members": {
2524
+ "type": "array",
2525
+ "items": {
2526
+ "type": "string"
2527
+ },
2528
+ "description": ""
2529
+ }
2530
+ },
2531
+ "example": {
2532
+ "members": [
2533
+ "a1bf9402-6939-4487-9349-49768a4cc1fe",
2534
+ "@user2"
2535
+ ]
2536
+ }
2537
+ },
2538
+ "postReturnIntegrationInfoRequest": {
2539
+ "title": "postReturnIntegrationInfoRequest",
2540
+ "required": [
2541
+ "id"
2542
+ ],
2543
+ "type": "object",
2544
+ "properties": {
2545
+ "id": {
2546
+ "type": "string"
2547
+ }
2548
+ },
2549
+ "example": {
2550
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2551
+ }
2552
+ },
2553
+ "postDeleteAllMappingsOnDeletingIntegrationRequest": {
2554
+ "title": "postDeleteAllMappingsOnDeletingIntegrationRequest",
2555
+ "required": [
2556
+ "id"
2557
+ ],
2558
+ "type": "object",
2559
+ "properties": {
2560
+ "id": {
2561
+ "type": "string"
2562
+ }
2563
+ },
2564
+ "example": {
2565
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2566
+ }
2567
+ },
2568
+ "postDifferentIntegrationIDOfOrgRequest": {
2569
+ "title": "postDifferentIntegrationIDOfOrgRequest",
2570
+ "required": [
2571
+ "org"
2572
+ ],
2573
+ "type": "object",
2574
+ "properties": {
2575
+ "org": {
2576
+ "type": "string"
2577
+ }
2578
+ },
2579
+ "example": {
2580
+ "org": "j4TZWC00B969t8CdZZZHe6Cit"
2581
+ }
2582
+ },
2583
+ "postReturnAllMappingsRequest": {
2584
+ "title": "postReturnAllMappingsRequest",
2585
+ "required": [
2586
+ "id"
2587
+ ],
2588
+ "type": "object",
2589
+ "properties": {
2590
+ "id": {
2591
+ "type": "string"
2592
+ }
2593
+ },
2594
+ "example": {
2595
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2596
+ }
2597
+ },
2598
+ "postUserOrRolesMappingsRequest": {
2599
+ "title": "postUserOrRolesMappingsRequest",
2600
+ "required": [
2601
+ "id",
2602
+ "mappings"
2603
+ ],
2604
+ "type": "object",
2605
+ "properties": {
2606
+ "id": {
2607
+ "type": "string"
2608
+ },
2609
+ "mappings": {
2610
+ "type": "array",
2611
+ "items": {
2612
+ "$ref": "#/components/schemas/Mapping"
2613
+ },
2614
+ "description": ""
2615
+ }
2616
+ },
2617
+ "example": {
2618
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2619
+ "mappings": [
2620
+ {
2621
+ "type": "user",
2622
+ "external_id": "1",
2623
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2624
+ }
2625
+ ]
2626
+ }
2627
+ },
2628
+ "Mapping": {
2629
+ "title": "Mapping",
2630
+ "required": [
2631
+ "type",
2632
+ "external_id",
2633
+ "internal_id"
2634
+ ],
2635
+ "type": "object",
2636
+ "properties": {
2637
+ "type": {
2638
+ "type": "string"
2639
+ },
2640
+ "external_id": {
2641
+ "type": "string"
2642
+ },
2643
+ "internal_id": {
2644
+ "type": "string"
2645
+ }
2646
+ },
2647
+ "example": {
2648
+ "type": "user",
2649
+ "external_id": "1",
2650
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2651
+ }
2652
+ },
2653
+ "postDeleteAllMapingsRequest": {
2654
+ "title": "postDeleteAllMapingsRequest",
2655
+ "required": [
2656
+ "id"
2657
+ ],
2658
+ "type": "object",
2659
+ "properties": {
2660
+ "id": {
2661
+ "type": "string"
2662
+ }
2663
+ },
2664
+ "example": {
2665
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1fe"
2666
+ }
2667
+ },
2668
+ "postGetIntegrationInfoRequest": {
2669
+ "title": "postGetIntegrationInfoRequest",
2670
+ "required": [
2671
+ "id",
2672
+ "mappings"
2673
+ ],
2674
+ "type": "object",
2675
+ "properties": {
2676
+ "id": {
2677
+ "type": "string"
2678
+ },
2679
+ "mappings": {
2680
+ "type": "array",
2681
+ "items": {
2682
+ "$ref": "#/components/schemas/Mapping"
2683
+ },
2684
+ "description": ""
2685
+ }
2686
+ },
2687
+ "example": {
2688
+ "id": "96bccdc4-7125-4f5c-a718-2c05039edcd3",
2689
+ "mappings": [
2690
+ {
2691
+ "type": "user",
2692
+ "external_id": "1",
2693
+ "internal_id": "a2e07931-ea27-4bf5-bfb9-8e6f04c2ce60"
2694
+ }
2695
+ ]
2696
+ }
2697
+ },
2698
+ "postSubmitPayloadOfCSVInfoRequest": {
2699
+ "title": "postSubmitPayloadOfCSVInfoRequest",
2700
+ "required": [
2701
+ "id",
2702
+ "tz",
2703
+ "data"
2704
+ ],
2705
+ "type": "object",
2706
+ "properties": {
2707
+ "id": {
2708
+ "type": "string"
2709
+ },
2710
+ "tz": {
2711
+ "type": "string"
2712
+ },
2713
+ "data": {
2714
+ "type": "array",
2715
+ "items": {
2716
+ "$ref": "#/components/schemas/Datum"
2717
+ },
2718
+ "description": ""
2719
+ }
2720
+ },
2721
+ "example": {
2722
+ "id": "0d505f86-e273-4dc5-ad38-0cc6ba275fea",
2723
+ "tz": "America/New_York",
2724
+ "data": [
2725
+ {
2726
+ "user": "0a1c2541-f936-4ce6-a1f0-b30aaefe7264",
2727
+ "role": "218093a7-4b93-4793-a25f-e745f55b8a8e",
2728
+ "stime": "2017-10-12T08:00:00Z",
2729
+ "etime": "2017-10-12T14:00:00Z"
2730
+ }
2731
+ ]
2732
+ }
2733
+ },
2734
+ "Datum": {
2735
+ "title": "Datum",
2736
+ "required": [
2737
+ "user",
2738
+ "role",
2739
+ "stime",
2740
+ "etime"
2741
+ ],
2742
+ "type": "object",
2743
+ "properties": {
2744
+ "user": {
2745
+ "type": "string"
2746
+ },
2747
+ "role": {
2748
+ "type": "string"
2749
+ },
2750
+ "stime": {
2751
+ "type": "string"
2752
+ },
2753
+ "etime": {
2754
+ "type": "string"
2755
+ }
2756
+ },
2757
+ "example": {
2758
+ "user": "0a1c2541-f936-4ce6-a1f0-b30aaefe7264",
2759
+ "role": "218093a7-4b93-4793-a25f-e745f55b8a8e",
2760
+ "stime": "2017-10-12T08:00:00Z",
2761
+ "etime": "2017-10-12T14:00:00Z"
2762
+ }
2763
+ },
2764
+ "PostRetrieveLastCsvFileRequest": {
2765
+ "title": "PostRetrieveLastCsvFileRequest",
2766
+ "required": [
2767
+ "org",
2768
+ "id"
2769
+ ],
2770
+ "type": "object",
2771
+ "properties": {
2772
+ "org": {
2773
+ "type": "string"
2774
+ },
2775
+ "id": {
2776
+ "type": "string"
2777
+ }
2778
+ },
2779
+ "example": {
2780
+ "org": "j4TZXC00B969t8CdZZZHe6Cit",
2781
+ "id": "a1bf9402-6939-4487-9349-49768a4cc1dd"
2782
+ }
2783
+ },
2784
+ "Content-Type": {
2785
+ "title": "Content-Type",
2786
+ "enum": [
2787
+ "application/x-www-form-urlencoded"
2788
+ ],
2789
+ "type": "string",
2790
+ "example": "application/x-www-form-urlencoded"
2791
+ },
2792
+ "content-type5": {
2793
+ "title": "content-type5",
2794
+ "enum": [
2795
+ "application/json"
2796
+ ],
2797
+ "type": "string",
2798
+ "example": "application/json"
2799
+ }
2800
+ },
2801
+ "securitySchemes": {
2802
+ "basic": {
2803
+ "type": "http",
2804
+ "scheme": "basic"
2805
+ }
2806
+ }
2807
+ },
2808
+ "security": [],
2809
+ "tags": [
2810
+ {
2811
+ "name": "Group"
2812
+ },
2813
+ {
2814
+ "name": "Messages"
2815
+ },
2816
+ {
2817
+ "name": "Metadata"
2818
+ },
2819
+ {
2820
+ "name": "Roster"
2821
+ },
2822
+ {
2823
+ "name": "Users"
2824
+ },
2825
+ {
2826
+ "name": "Events"
2827
+ },
2828
+ {
2829
+ "name": "Organization"
2830
+ },
2831
+ {
2832
+ "name": "Scheduler"
2833
+ },
2834
+ {
2835
+ "name": "default",
2836
+ "description": ""
2837
+ }
2838
+ ],
2839
+ "externalDocs": {
2840
+ "description": "Find out more about the OpenAPI Initiative",
2841
+ "url": "https://www.openapis.org/"
2842
+ }
2843
+ }