@jibb-open/jssdk 3.5.5

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 (46) hide show
  1. package/.babelrc +31 -0
  2. package/README.md +3 -0
  3. package/package.json +72 -0
  4. package/src/api/admin.js +333 -0
  5. package/src/api/auth.js +208 -0
  6. package/src/api/eventbus.js +246 -0
  7. package/src/api/index.js +26 -0
  8. package/src/api/meeting.js +421 -0
  9. package/src/api/recording.js +225 -0
  10. package/src/api/superadmin.js +84 -0
  11. package/src/api/user.js +46 -0
  12. package/src/api/webexbot.js +32 -0
  13. package/src/api/whiteboard.js +175 -0
  14. package/src/config.js +12 -0
  15. package/src/examples/browser/462.jibb.js +1 -0
  16. package/src/examples/browser/index.html +13 -0
  17. package/src/examples/browser/jibb.js +2 -0
  18. package/src/examples/browser/startSession.js +112 -0
  19. package/src/examples/examples.js +5 -0
  20. package/src/examples/webexDevicesMacros/cameraPresets/jibb.js +338 -0
  21. package/src/examples/webexDevicesMacros/simplestExample/jibb.js +212 -0
  22. package/src/examples/webexDevicesMacros/webexDevice JSSDK/jibb_WebexXapi.js +2 -0
  23. package/src/examples/webexDevicesMacros/withCameraControl/jibb.js +303 -0
  24. package/src/index.webex-devices.js +13 -0
  25. package/src/post-processing.js +39 -0
  26. package/src/types/exceptions.js +48 -0
  27. package/src/types/jibb.pb.js +1426 -0
  28. package/src/types/proto.js +7 -0
  29. package/src/types/types.js +64 -0
  30. package/src/utils/cached_variable.js +23 -0
  31. package/src/utils/future.js +24 -0
  32. package/src/utils/http/http.axios.js +34 -0
  33. package/src/utils/http/http.xapi.js +87 -0
  34. package/src/utils/http/index.js +8 -0
  35. package/src/utils/index.js +5 -0
  36. package/src/utils/logger/index.js +11 -0
  37. package/src/utils/logger/logger.empty.js +25 -0
  38. package/src/utils/logger/logger.pino.js +15 -0
  39. package/src/ws/connection_base.js +81 -0
  40. package/src/ws/eventbus.js +363 -0
  41. package/src/ws/index.js +15 -0
  42. package/src/ws/ipsa.js +238 -0
  43. package/src/ws/meeting.js +170 -0
  44. package/src/ws/observable_connection.js +84 -0
  45. package/src/ws/retry_connection.js +82 -0
  46. package/webpack.config.cjs +144 -0
@@ -0,0 +1,1426 @@
1
+ /*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
2
+ "use strict";
3
+
4
+ var $protobuf = require("protobufjs/light");
5
+
6
+ var $root = ($protobuf.roots["default"] || ($protobuf.roots["default"] = new $protobuf.Root()))
7
+ .addJSON({
8
+ types: {
9
+ options: {
10
+ go_package: "github.com/Inkerz/jibbapis/sdk/go/types"
11
+ },
12
+ nested: {
13
+ Code: {
14
+ values: {
15
+ SUCCESS: 0,
16
+ ERR_IO: 4000,
17
+ ERR_CLOSED: 4001,
18
+ ERR_TIMEOUT: 4002,
19
+ ERR_BAD_REQUEST: 4003,
20
+ ERR_UNAUTHORIZED: 4004,
21
+ ERR_INTERNAL: 4005,
22
+ ERR_TOO_MANY_CONNECTIONS: 4006,
23
+ ERR_OUT_OF_LICENSE: 4008
24
+ }
25
+ },
26
+ ErrorLevel: {
27
+ values: {
28
+ DEBUG: 0,
29
+ INFO: 1,
30
+ WARNING: 2,
31
+ ERROR: 3,
32
+ CRITICAL: 4
33
+ }
34
+ },
35
+ Error: {
36
+ fields: {
37
+ level: {
38
+ type: "ErrorLevel",
39
+ id: 1
40
+ },
41
+ code: {
42
+ type: "Code",
43
+ id: 2
44
+ },
45
+ reason: {
46
+ type: "string",
47
+ id: 3
48
+ }
49
+ }
50
+ },
51
+ TriState: {
52
+ values: {
53
+ DEFAULT: 0,
54
+ ENABLE: 1,
55
+ DISABLE: 2
56
+ }
57
+ },
58
+ SurfaceType: {
59
+ values: {
60
+ UNKNOWN: 0,
61
+ PAPER: 1,
62
+ WHITEBOARD: 2
63
+ }
64
+ },
65
+ ClientType: {
66
+ options: {
67
+ allow_alias: true
68
+ },
69
+ values: {
70
+ UNKNOWN_CLIENT_TYPE: 0,
71
+ ANY: 0,
72
+ IPSA: 1,
73
+ MOBILE: 2,
74
+ WEBAPP: 3,
75
+ COMPANION: 4,
76
+ ipsa: 1,
77
+ mobile: 2,
78
+ webapp: 3,
79
+ companion: 4
80
+ }
81
+ },
82
+ ClientDetails: {
83
+ fields: {
84
+ clientType: {
85
+ type: "ClientType",
86
+ id: 1
87
+ },
88
+ id: {
89
+ type: "string",
90
+ id: 2
91
+ },
92
+ name: {
93
+ type: "string",
94
+ id: 3
95
+ }
96
+ }
97
+ },
98
+ ContentType: {
99
+ values: {
100
+ UNKNOWN_TYPE: 0,
101
+ IMAGE_JPEG: 1,
102
+ IMAGE_WEBP: 2
103
+ }
104
+ }
105
+ }
106
+ },
107
+ jibb: {
108
+ nested: {
109
+ ipsa: {
110
+ nested: {
111
+ v1: {
112
+ options: {
113
+ java_package: "ai.jibb.ipsa",
114
+ java_outer_classname: "IPSA",
115
+ go_package: "github.com/Inkerz/jibbapis/sdk/go/ipsa"
116
+ },
117
+ nested: {
118
+ ResponseCode: {
119
+ values: {
120
+ SUCCESS: 0,
121
+ IGNORED: 1,
122
+ UNKNOWN_SESSION_TYPE: 2,
123
+ INVALID_INPUT: 3,
124
+ SESSION_TIMEOUT: 4,
125
+ SESSION_CLOSING: 5,
126
+ SESSION_BUSY: 6,
127
+ CONTENT_CHANGED: 111,
128
+ SURFACE_DETECTED: 110,
129
+ SURFACE_NOT_DETECTED: 100,
130
+ SURFACE_NOT_STABILIZED: 101,
131
+ SURFACE_NOT_FOCUSED: 102,
132
+ SURFACE_CHANGED: 103,
133
+ SURFACE_TOO_LEFT: 104,
134
+ SURFACE_TOO_RIGHT: 105,
135
+ SURFACE_TOO_CLOSE: 106,
136
+ SURFACE_TOO_FAR: 109,
137
+ SURFACE_TOO_DARK: 107,
138
+ SURFACE_TOO_BRIGHT: 108,
139
+ INTERNAL_ERROR: 200
140
+ }
141
+ },
142
+ Rotation: {
143
+ values: {
144
+ ROTATE_0: 0,
145
+ ROTATE_90_CLOCKWISE: 1,
146
+ ROTATE_180: 2,
147
+ ROTATE_90_COUNTERCLOCKWISE: 3
148
+ }
149
+ },
150
+ Config: {
151
+ fields: {
152
+ surfaceType: {
153
+ type: "types.SurfaceType",
154
+ id: 1
155
+ },
156
+ enableStabilization: {
157
+ type: "types.TriState",
158
+ id: 3
159
+ },
160
+ enableTransformation: {
161
+ type: "types.TriState",
162
+ id: 4
163
+ }
164
+ }
165
+ },
166
+ VersionRequest: {
167
+ fields: {}
168
+ },
169
+ VersionResponse: {
170
+ fields: {
171
+ version: {
172
+ type: "string",
173
+ id: 1
174
+ }
175
+ }
176
+ },
177
+ SurfaceTransformationRequest: {
178
+ fields: {
179
+ surfaceType: {
180
+ type: "types.SurfaceType",
181
+ id: 1
182
+ },
183
+ img: {
184
+ type: "bytes",
185
+ id: 2
186
+ }
187
+ }
188
+ },
189
+ SurfaceTransformationResponse: {
190
+ fields: {
191
+ img: {
192
+ type: "bytes",
193
+ id: 1
194
+ }
195
+ }
196
+ },
197
+ SurfaceSegmentationRequest: {
198
+ fields: {
199
+ surfaceType: {
200
+ type: "types.SurfaceType",
201
+ id: 1
202
+ },
203
+ overlay: {
204
+ type: "bool",
205
+ id: 2
206
+ },
207
+ img: {
208
+ type: "bytes",
209
+ id: 3
210
+ }
211
+ }
212
+ },
213
+ SurfaceSegmentationResponse: {
214
+ fields: {
215
+ img: {
216
+ type: "bytes",
217
+ id: 1
218
+ }
219
+ }
220
+ },
221
+ SurfaceDetectionRequest: {
222
+ fields: {
223
+ surfaceType: {
224
+ type: "types.SurfaceType",
225
+ id: 1
226
+ },
227
+ img: {
228
+ type: "bytes",
229
+ id: 2
230
+ },
231
+ overlay: {
232
+ type: "bool",
233
+ id: 3
234
+ }
235
+ }
236
+ },
237
+ SurfaceDetectionResponse: {
238
+ fields: {
239
+ img: {
240
+ type: "bytes",
241
+ id: 1
242
+ },
243
+ corners: {
244
+ rule: "repeated",
245
+ type: "sint32",
246
+ id: 2
247
+ }
248
+ }
249
+ },
250
+ ObjectRemovalRequest: {
251
+ fields: {
252
+ surfaceType: {
253
+ type: "types.SurfaceType",
254
+ id: 1
255
+ },
256
+ overlay: {
257
+ type: "bool",
258
+ id: 2
259
+ },
260
+ enableTransformation: {
261
+ type: "bool",
262
+ id: 3
263
+ },
264
+ img: {
265
+ type: "bytes",
266
+ id: 4
267
+ }
268
+ }
269
+ },
270
+ ObjectRemovalResponse: {
271
+ fields: {
272
+ img: {
273
+ type: "bytes",
274
+ id: 1
275
+ }
276
+ }
277
+ },
278
+ ContentExtractionRequest: {
279
+ fields: {
280
+ surfaceType: {
281
+ type: "types.SurfaceType",
282
+ id: 1
283
+ },
284
+ enableTransformation: {
285
+ type: "bool",
286
+ id: 2
287
+ },
288
+ enableColor: {
289
+ type: "bool",
290
+ id: 4
291
+ },
292
+ img: {
293
+ type: "bytes",
294
+ id: 3
295
+ }
296
+ }
297
+ },
298
+ ContentExtractionResponse: {
299
+ fields: {
300
+ img: {
301
+ type: "bytes",
302
+ id: 1
303
+ },
304
+ transformedImg: {
305
+ type: "bytes",
306
+ id: 2
307
+ }
308
+ }
309
+ },
310
+ GetSimilarityRequest: {
311
+ fields: {
312
+ newImage: {
313
+ type: "bytes",
314
+ id: 1
315
+ },
316
+ prevImage: {
317
+ type: "bytes",
318
+ id: 2
319
+ }
320
+ }
321
+ },
322
+ GetSimilarityResponse: {
323
+ fields: {
324
+ similarity: {
325
+ type: "double",
326
+ id: 1
327
+ }
328
+ }
329
+ },
330
+ Ipsa: {
331
+ fields: {
332
+ data: {
333
+ type: "bytes",
334
+ id: 1
335
+ }
336
+ }
337
+ },
338
+ ResetSession: {
339
+ fields: {}
340
+ },
341
+ Recalibrate: {
342
+ fields: {}
343
+ },
344
+ RuntimeConfig: {
345
+ fields: {
346
+ customCorners: {
347
+ rule: "repeated",
348
+ type: "sint32",
349
+ id: 1
350
+ },
351
+ fixedCorners: {
352
+ type: "bool",
353
+ id: 2
354
+ },
355
+ enableColor: {
356
+ type: "bool",
357
+ id: 3
358
+ },
359
+ rotation: {
360
+ type: "Rotation",
361
+ id: 4
362
+ },
363
+ flipUpDown: {
364
+ type: "bool",
365
+ id: 5
366
+ },
367
+ flipLeftRight: {
368
+ type: "bool",
369
+ id: 6
370
+ },
371
+ enableEstimation: {
372
+ type: "bool",
373
+ id: 7
374
+ }
375
+ }
376
+ },
377
+ AppConfig: {
378
+ fields: {
379
+ title: {
380
+ type: "string",
381
+ id: 1
382
+ },
383
+ enableResponseImage: {
384
+ type: "bool",
385
+ id: 2
386
+ },
387
+ meetingId: {
388
+ type: "string",
389
+ id: 3
390
+ },
391
+ meetingToken: {
392
+ type: "string",
393
+ id: 4
394
+ }
395
+ }
396
+ },
397
+ Request: {
398
+ oneofs: {
399
+ Command: {
400
+ oneof: [
401
+ "config",
402
+ "ipsa",
403
+ "resetSession",
404
+ "recalibrate",
405
+ "runtimeConfig",
406
+ "appConfig"
407
+ ]
408
+ }
409
+ },
410
+ fields: {
411
+ id: {
412
+ type: "int32",
413
+ id: 1
414
+ },
415
+ config: {
416
+ type: "Config",
417
+ id: 2
418
+ },
419
+ ipsa: {
420
+ type: "Ipsa",
421
+ id: 3
422
+ },
423
+ resetSession: {
424
+ type: "ResetSession",
425
+ id: 4
426
+ },
427
+ recalibrate: {
428
+ type: "Recalibrate",
429
+ id: 5
430
+ },
431
+ runtimeConfig: {
432
+ type: "RuntimeConfig",
433
+ id: 6
434
+ },
435
+ appConfig: {
436
+ type: "AppConfig",
437
+ id: 7
438
+ }
439
+ }
440
+ },
441
+ Response: {
442
+ fields: {
443
+ id: {
444
+ type: "int32",
445
+ id: 1
446
+ },
447
+ response: {
448
+ rule: "repeated",
449
+ type: "ResponseCode",
450
+ id: 2
451
+ },
452
+ corners: {
453
+ rule: "repeated",
454
+ type: "sint32",
455
+ id: 4
456
+ },
457
+ image: {
458
+ type: "bytes",
459
+ id: 5
460
+ },
461
+ processingTime: {
462
+ type: "uint32",
463
+ id: 7
464
+ }
465
+ }
466
+ }
467
+ }
468
+ }
469
+ }
470
+ }
471
+ }
472
+ },
473
+ user: {
474
+ options: {
475
+ go_package: "github.com/Inkerz/jibbapis/sdk/go/user"
476
+ },
477
+ nested: {
478
+ Level: {
479
+ values: {
480
+ FREE: 0,
481
+ BASIC: 1,
482
+ STUDENT: 2,
483
+ PRO: 3,
484
+ BUSINESS: 4,
485
+ ENTERPRISE: 5,
486
+ EDUCATION: 6
487
+ }
488
+ },
489
+ UserType: {
490
+ values: {
491
+ UNKNOWN: 0,
492
+ LIMITED: 1,
493
+ MEMBER: 2,
494
+ ADMIN: 3,
495
+ OWNER: 4
496
+ }
497
+ },
498
+ UserDetails: {
499
+ fields: {
500
+ organizationName: {
501
+ type: "string",
502
+ id: 2
503
+ },
504
+ level: {
505
+ type: "Level",
506
+ id: 3
507
+ },
508
+ firstName: {
509
+ type: "string",
510
+ id: 4
511
+ },
512
+ lastName: {
513
+ type: "string",
514
+ id: 5
515
+ },
516
+ organizationId: {
517
+ type: "int32",
518
+ id: 6
519
+ },
520
+ userType: {
521
+ type: "UserType",
522
+ id: 7
523
+ },
524
+ activated: {
525
+ type: "bool",
526
+ id: 8
527
+ },
528
+ userId: {
529
+ type: "int32",
530
+ id: 9
531
+ },
532
+ email: {
533
+ type: "string",
534
+ id: 10
535
+ }
536
+ }
537
+ },
538
+ UserList: {
539
+ fields: {
540
+ users: {
541
+ rule: "repeated",
542
+ type: "UserDetails",
543
+ id: 1
544
+ }
545
+ }
546
+ },
547
+ CreateOrganizationUserRequest: {
548
+ fields: {
549
+ organizationId: {
550
+ type: "int32",
551
+ id: 1
552
+ },
553
+ users: {
554
+ rule: "repeated",
555
+ type: "User",
556
+ id: 2
557
+ }
558
+ },
559
+ nested: {
560
+ User: {
561
+ fields: {
562
+ email: {
563
+ type: "string",
564
+ id: 2
565
+ },
566
+ firstName: {
567
+ type: "string",
568
+ id: 3
569
+ },
570
+ lastName: {
571
+ type: "string",
572
+ id: 4
573
+ },
574
+ userType: {
575
+ type: "UserType",
576
+ id: 5
577
+ }
578
+ }
579
+ }
580
+ }
581
+ },
582
+ CreateOrganizationUserResponse: {
583
+ fields: {
584
+ failedUsers: {
585
+ rule: "repeated",
586
+ type: "string",
587
+ id: 1
588
+ }
589
+ }
590
+ },
591
+ DeleteOrganizationUserRequest: {
592
+ fields: {
593
+ organizationId: {
594
+ type: "int32",
595
+ id: 1
596
+ },
597
+ userId: {
598
+ type: "int32",
599
+ id: 2
600
+ }
601
+ }
602
+ },
603
+ ChangeOrganizationUserTypeRequest: {
604
+ fields: {
605
+ organizationId: {
606
+ type: "int32",
607
+ id: 1
608
+ },
609
+ userId: {
610
+ type: "int32",
611
+ id: 2
612
+ },
613
+ userType: {
614
+ type: "UserType",
615
+ id: 3
616
+ }
617
+ }
618
+ },
619
+ GetOrganizationUsersListRequest: {
620
+ fields: {
621
+ organizationId: {
622
+ type: "int32",
623
+ id: 1
624
+ }
625
+ }
626
+ },
627
+ GetOrganizationUserRequest: {
628
+ fields: {
629
+ organizationId: {
630
+ type: "int32",
631
+ id: 1
632
+ },
633
+ userId: {
634
+ type: "int32",
635
+ id: 2
636
+ }
637
+ }
638
+ },
639
+ CreateOrganizationRequest: {
640
+ fields: {
641
+ name: {
642
+ type: "string",
643
+ id: 1
644
+ },
645
+ ownerEmail: {
646
+ type: "string",
647
+ id: 2
648
+ },
649
+ level: {
650
+ type: "Level",
651
+ id: 3
652
+ },
653
+ licenseCount: {
654
+ type: "int32",
655
+ id: 4
656
+ },
657
+ expiryDate: {
658
+ type: "google.protobuf.Timestamp",
659
+ id: 5
660
+ },
661
+ subdomainName: {
662
+ type: "string",
663
+ id: 6
664
+ }
665
+ }
666
+ },
667
+ DeleteOrganizationRequest: {
668
+ fields: {
669
+ organizationId: {
670
+ type: "int32",
671
+ id: 1
672
+ }
673
+ }
674
+ },
675
+ DeleteSAMLRequest: {
676
+ fields: {
677
+ organizationId: {
678
+ type: "int32",
679
+ id: 1
680
+ }
681
+ }
682
+ },
683
+ GetSAMLRequest: {
684
+ fields: {
685
+ organizationId: {
686
+ type: "int32",
687
+ id: 1
688
+ }
689
+ }
690
+ },
691
+ GetOrganizationSettingsRequest: {
692
+ fields: {
693
+ organizationId: {
694
+ type: "int32",
695
+ id: 1
696
+ }
697
+ }
698
+ },
699
+ SAMLDetails: {
700
+ fields: {
701
+ organizationId: {
702
+ type: "int32",
703
+ id: 1
704
+ },
705
+ metadata: {
706
+ type: "string",
707
+ id: 3
708
+ },
709
+ autoAddUsers: {
710
+ type: "bool",
711
+ id: 4
712
+ },
713
+ defaultUserType: {
714
+ type: "UserType",
715
+ id: 5
716
+ },
717
+ enabled: {
718
+ type: "bool",
719
+ id: 6
720
+ }
721
+ }
722
+ },
723
+ GetOrganizationRequest: {
724
+ fields: {
725
+ organizationId: {
726
+ type: "int32",
727
+ id: 1
728
+ }
729
+ }
730
+ },
731
+ OrganizationDetails: {
732
+ fields: {
733
+ name: {
734
+ type: "string",
735
+ id: 1
736
+ },
737
+ ownerEmail: {
738
+ type: "string",
739
+ id: 2
740
+ },
741
+ level: {
742
+ type: "Level",
743
+ id: 3
744
+ },
745
+ licenseCount: {
746
+ type: "int32",
747
+ id: 4
748
+ },
749
+ usersCount: {
750
+ type: "int32",
751
+ id: 5
752
+ },
753
+ creationDate: {
754
+ type: "google.protobuf.Timestamp",
755
+ id: 6
756
+ },
757
+ expiryDate: {
758
+ type: "google.protobuf.Timestamp",
759
+ id: 7
760
+ },
761
+ organizationId: {
762
+ type: "int32",
763
+ id: 8
764
+ },
765
+ subdomainName: {
766
+ type: "string",
767
+ id: 9
768
+ }
769
+ }
770
+ },
771
+ OrganizationList: {
772
+ fields: {
773
+ organizations: {
774
+ rule: "repeated",
775
+ type: "OrganizationDetails",
776
+ id: 1
777
+ }
778
+ }
779
+ },
780
+ UserClaims: {
781
+ fields: {
782
+ level: {
783
+ type: "Level",
784
+ id: 2
785
+ },
786
+ organizationIds: {
787
+ rule: "repeated",
788
+ type: "int32",
789
+ id: 3
790
+ },
791
+ email: {
792
+ type: "string",
793
+ id: 4
794
+ }
795
+ }
796
+ },
797
+ GetUserTokenRequest: {
798
+ fields: {
799
+ expiry: {
800
+ type: "google.protobuf.Duration",
801
+ id: 1
802
+ },
803
+ apiKey: {
804
+ type: "string",
805
+ id: 2
806
+ }
807
+ }
808
+ },
809
+ GetUserTokenResponse: {
810
+ fields: {
811
+ token: {
812
+ type: "string",
813
+ id: 1
814
+ }
815
+ }
816
+ },
817
+ GenerateAPIKeyResponse: {
818
+ fields: {
819
+ apiKey: {
820
+ type: "string",
821
+ id: 1
822
+ }
823
+ }
824
+ },
825
+ GenerateCustomAuthResponse: {
826
+ fields: {
827
+ password: {
828
+ type: "string",
829
+ id: 1
830
+ }
831
+ }
832
+ },
833
+ VerifyCustomAuthRequest: {
834
+ fields: {
835
+ username: {
836
+ type: "string",
837
+ id: 1
838
+ },
839
+ password: {
840
+ type: "string",
841
+ id: 2
842
+ }
843
+ }
844
+ },
845
+ VerifyCustomAuthResponse: {
846
+ fields: {
847
+ verified: {
848
+ type: "bool",
849
+ id: 1
850
+ }
851
+ }
852
+ },
853
+ GetUserSettingsResponse: {
854
+ fields: {
855
+ content: {
856
+ type: "google.protobuf.Struct",
857
+ id: 1
858
+ }
859
+ }
860
+ },
861
+ SetUserSettingsRequest: {
862
+ fields: {
863
+ content: {
864
+ type: "google.protobuf.Struct",
865
+ id: 1
866
+ }
867
+ }
868
+ },
869
+ GetOrganizationIdRequest: {
870
+ fields: {
871
+ organizationName: {
872
+ type: "string",
873
+ id: 1
874
+ },
875
+ subdomainName: {
876
+ type: "string",
877
+ id: 2
878
+ },
879
+ domainName: {
880
+ type: "string",
881
+ id: 3
882
+ },
883
+ userEmail: {
884
+ type: "string",
885
+ id: 4
886
+ }
887
+ }
888
+ },
889
+ GetOrganizationIdResponse: {
890
+ fields: {
891
+ organizationId: {
892
+ type: "int32",
893
+ id: 1
894
+ }
895
+ }
896
+ },
897
+ CreateDomainRequest: {
898
+ fields: {
899
+ organizationId: {
900
+ type: "int32",
901
+ id: 1
902
+ },
903
+ domainName: {
904
+ type: "string",
905
+ id: 2
906
+ }
907
+ }
908
+ },
909
+ DeleteDomainRequest: {
910
+ fields: {
911
+ organizationId: {
912
+ type: "int32",
913
+ id: 1
914
+ },
915
+ domainId: {
916
+ type: "int32",
917
+ id: 2
918
+ }
919
+ }
920
+ },
921
+ VerifyDomainRequest: {
922
+ fields: {
923
+ organizationId: {
924
+ type: "int32",
925
+ id: 1
926
+ },
927
+ domainId: {
928
+ type: "int32",
929
+ id: 2
930
+ }
931
+ }
932
+ },
933
+ GetDomainListRequest: {
934
+ fields: {
935
+ organizationId: {
936
+ type: "int32",
937
+ id: 1
938
+ }
939
+ }
940
+ },
941
+ GetDomainListResponse: {
942
+ fields: {
943
+ domains: {
944
+ rule: "repeated",
945
+ type: "DomainDetails",
946
+ id: 1
947
+ }
948
+ }
949
+ },
950
+ GetDomainRequest: {
951
+ fields: {
952
+ organizationId: {
953
+ type: "int32",
954
+ id: 1
955
+ },
956
+ domainId: {
957
+ type: "int32",
958
+ id: 2
959
+ }
960
+ }
961
+ },
962
+ DomainDetails: {
963
+ fields: {
964
+ organizationId: {
965
+ type: "int32",
966
+ id: 1
967
+ },
968
+ domainId: {
969
+ type: "int32",
970
+ id: 2
971
+ },
972
+ domainName: {
973
+ type: "string",
974
+ id: 3
975
+ },
976
+ verificationCode: {
977
+ type: "string",
978
+ id: 4
979
+ },
980
+ verified: {
981
+ type: "bool",
982
+ id: 5
983
+ }
984
+ }
985
+ },
986
+ ActivateUserRequest: {
987
+ fields: {
988
+ organizationId: {
989
+ type: "int32",
990
+ id: 1
991
+ }
992
+ }
993
+ },
994
+ SendUserActivationEmailRequest: {
995
+ fields: {
996
+ organizationId: {
997
+ type: "int32",
998
+ id: 1
999
+ },
1000
+ userIds: {
1001
+ rule: "repeated",
1002
+ type: "int32",
1003
+ id: 2
1004
+ }
1005
+ }
1006
+ },
1007
+ GetUserIdRequest: {
1008
+ fields: {
1009
+ email: {
1010
+ type: "string",
1011
+ id: 1
1012
+ },
1013
+ createIfNotExists: {
1014
+ type: "bool",
1015
+ id: 2
1016
+ }
1017
+ }
1018
+ },
1019
+ GetUserIdResponse: {
1020
+ fields: {
1021
+ userId: {
1022
+ type: "int32",
1023
+ id: 1
1024
+ }
1025
+ }
1026
+ }
1027
+ }
1028
+ },
1029
+ meeting: {
1030
+ options: {
1031
+ go_package: "github.com/Inkerz/jibbapis/sdk/go/meeting"
1032
+ },
1033
+ nested: {
1034
+ Participant: {
1035
+ fields: {
1036
+ id: {
1037
+ type: "int32",
1038
+ id: 1
1039
+ },
1040
+ userId: {
1041
+ type: "int32",
1042
+ id: 2
1043
+ },
1044
+ email: {
1045
+ type: "string",
1046
+ id: 3
1047
+ }
1048
+ }
1049
+ },
1050
+ Update: {
1051
+ fields: {
1052
+ id: {
1053
+ type: "int32",
1054
+ id: 1
1055
+ },
1056
+ userId: {
1057
+ type: "int32",
1058
+ id: 2
1059
+ },
1060
+ email: {
1061
+ type: "string",
1062
+ id: 3
1063
+ },
1064
+ title: {
1065
+ type: "string",
1066
+ id: 4
1067
+ },
1068
+ image: {
1069
+ type: "bytes",
1070
+ id: 5
1071
+ }
1072
+ }
1073
+ },
1074
+ Drawing: {
1075
+ fields: {
1076
+ id: {
1077
+ type: "int32",
1078
+ id: 1
1079
+ },
1080
+ userId: {
1081
+ type: "int32",
1082
+ id: 2
1083
+ },
1084
+ email: {
1085
+ type: "string",
1086
+ id: 3
1087
+ },
1088
+ data: {
1089
+ type: "string",
1090
+ id: 4
1091
+ }
1092
+ }
1093
+ },
1094
+ Pointer: {
1095
+ fields: {
1096
+ id: {
1097
+ type: "int32",
1098
+ id: 1
1099
+ },
1100
+ userId: {
1101
+ type: "int32",
1102
+ id: 2
1103
+ },
1104
+ email: {
1105
+ type: "string",
1106
+ id: 3
1107
+ },
1108
+ x: {
1109
+ type: "int32",
1110
+ id: 4
1111
+ },
1112
+ y: {
1113
+ type: "int32",
1114
+ id: 5
1115
+ }
1116
+ }
1117
+ },
1118
+ Message: {
1119
+ oneofs: {
1120
+ event: {
1121
+ oneof: [
1122
+ "join",
1123
+ "leave",
1124
+ "update",
1125
+ "drawing",
1126
+ "pointer"
1127
+ ]
1128
+ }
1129
+ },
1130
+ fields: {
1131
+ join: {
1132
+ type: "Participant",
1133
+ id: 1
1134
+ },
1135
+ leave: {
1136
+ type: "Participant",
1137
+ id: 2
1138
+ },
1139
+ update: {
1140
+ type: "Update",
1141
+ id: 3
1142
+ },
1143
+ drawing: {
1144
+ type: "Drawing",
1145
+ id: 6
1146
+ },
1147
+ pointer: {
1148
+ type: "Pointer",
1149
+ id: 7
1150
+ }
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ cilix: {
1156
+ options: {
1157
+ go_package: "github.com/Inkerz/jibbapis/sdk/go/cilix"
1158
+ },
1159
+ nested: {
1160
+ CameraDescription: {
1161
+ fields: {
1162
+ id: {
1163
+ type: "string",
1164
+ id: 1
1165
+ },
1166
+ name: {
1167
+ type: "string",
1168
+ id: 2
1169
+ }
1170
+ }
1171
+ },
1172
+ StartRequest: {
1173
+ fields: {
1174
+ config: {
1175
+ type: "jibb.ipsa.v1.Config",
1176
+ id: 2
1177
+ },
1178
+ appConfig: {
1179
+ type: "jibb.ipsa.v1.AppConfig",
1180
+ id: 3
1181
+ },
1182
+ runtimeConfig: {
1183
+ type: "jibb.ipsa.v1.RuntimeConfig",
1184
+ id: 4
1185
+ },
1186
+ camera: {
1187
+ type: "CameraDescription",
1188
+ id: 5
1189
+ }
1190
+ }
1191
+ },
1192
+ PreviewRequest: {
1193
+ fields: {
1194
+ source: {
1195
+ type: "CameraDescription",
1196
+ id: 2
1197
+ }
1198
+ }
1199
+ },
1200
+ PreviewResponse: {
1201
+ fields: {
1202
+ image: {
1203
+ type: "bytes",
1204
+ id: 1
1205
+ }
1206
+ }
1207
+ },
1208
+ GetCameraListResponse: {
1209
+ fields: {
1210
+ items: {
1211
+ rule: "repeated",
1212
+ type: "CameraDescription",
1213
+ id: 1
1214
+ }
1215
+ }
1216
+ },
1217
+ GetClientStatusListResponse: {
1218
+ fields: {
1219
+ clients: {
1220
+ rule: "repeated",
1221
+ type: "types.ClientDetails",
1222
+ id: 1
1223
+ }
1224
+ }
1225
+ },
1226
+ BusMessage: {
1227
+ oneofs: {
1228
+ messageType: {
1229
+ oneof: [
1230
+ "clientConnected",
1231
+ "clientDisconnected",
1232
+ "tooManyPublishers",
1233
+ "ipsaResponse",
1234
+ "startRequest",
1235
+ "stopRequest",
1236
+ "newPageRequest",
1237
+ "previewRequest",
1238
+ "previewResponse",
1239
+ "cameraListRequest",
1240
+ "cameraListResponse",
1241
+ "runtimeConfigRequest",
1242
+ "clientStatusRequest",
1243
+ "recordingStarted",
1244
+ "recordingStopped",
1245
+ "error"
1246
+ ]
1247
+ }
1248
+ },
1249
+ fields: {
1250
+ clientConnected: {
1251
+ type: "google.protobuf.Empty",
1252
+ id: 2
1253
+ },
1254
+ clientDisconnected: {
1255
+ type: "google.protobuf.Empty",
1256
+ id: 3
1257
+ },
1258
+ tooManyPublishers: {
1259
+ type: "google.protobuf.Empty",
1260
+ id: 4
1261
+ },
1262
+ ipsaResponse: {
1263
+ type: "jibb.ipsa.v1.Response",
1264
+ id: 6
1265
+ },
1266
+ startRequest: {
1267
+ type: "StartRequest",
1268
+ id: 50
1269
+ },
1270
+ stopRequest: {
1271
+ type: "google.protobuf.Empty",
1272
+ id: 51
1273
+ },
1274
+ newPageRequest: {
1275
+ type: "google.protobuf.Empty",
1276
+ id: 52
1277
+ },
1278
+ previewRequest: {
1279
+ type: "PreviewRequest",
1280
+ id: 53
1281
+ },
1282
+ previewResponse: {
1283
+ type: "PreviewResponse",
1284
+ id: 54
1285
+ },
1286
+ cameraListRequest: {
1287
+ type: "google.protobuf.Empty",
1288
+ id: 55
1289
+ },
1290
+ cameraListResponse: {
1291
+ type: "GetCameraListResponse",
1292
+ id: 56
1293
+ },
1294
+ runtimeConfigRequest: {
1295
+ type: "jibb.ipsa.v1.RuntimeConfig",
1296
+ id: 57
1297
+ },
1298
+ clientStatusRequest: {
1299
+ type: "google.protobuf.Empty",
1300
+ id: 58
1301
+ },
1302
+ recordingStarted: {
1303
+ type: "google.protobuf.Empty",
1304
+ id: 59
1305
+ },
1306
+ recordingStopped: {
1307
+ type: "google.protobuf.Empty",
1308
+ id: 60
1309
+ },
1310
+ error: {
1311
+ type: "types.Code",
1312
+ id: 100
1313
+ },
1314
+ src: {
1315
+ type: "types.ClientDetails",
1316
+ id: 30
1317
+ },
1318
+ dst: {
1319
+ type: "types.ClientDetails",
1320
+ id: 31
1321
+ }
1322
+ }
1323
+ }
1324
+ }
1325
+ },
1326
+ google: {
1327
+ nested: {
1328
+ protobuf: {
1329
+ nested: {
1330
+ Duration: {
1331
+ fields: {
1332
+ seconds: {
1333
+ type: "int64",
1334
+ id: 1
1335
+ },
1336
+ nanos: {
1337
+ type: "int32",
1338
+ id: 2
1339
+ }
1340
+ }
1341
+ },
1342
+ Timestamp: {
1343
+ fields: {
1344
+ seconds: {
1345
+ type: "int64",
1346
+ id: 1
1347
+ },
1348
+ nanos: {
1349
+ type: "int32",
1350
+ id: 2
1351
+ }
1352
+ }
1353
+ },
1354
+ Struct: {
1355
+ fields: {
1356
+ fields: {
1357
+ keyType: "string",
1358
+ type: "Value",
1359
+ id: 1
1360
+ }
1361
+ }
1362
+ },
1363
+ Value: {
1364
+ oneofs: {
1365
+ kind: {
1366
+ oneof: [
1367
+ "nullValue",
1368
+ "numberValue",
1369
+ "stringValue",
1370
+ "boolValue",
1371
+ "structValue",
1372
+ "listValue"
1373
+ ]
1374
+ }
1375
+ },
1376
+ fields: {
1377
+ nullValue: {
1378
+ type: "NullValue",
1379
+ id: 1
1380
+ },
1381
+ numberValue: {
1382
+ type: "double",
1383
+ id: 2
1384
+ },
1385
+ stringValue: {
1386
+ type: "string",
1387
+ id: 3
1388
+ },
1389
+ boolValue: {
1390
+ type: "bool",
1391
+ id: 4
1392
+ },
1393
+ structValue: {
1394
+ type: "Struct",
1395
+ id: 5
1396
+ },
1397
+ listValue: {
1398
+ type: "ListValue",
1399
+ id: 6
1400
+ }
1401
+ }
1402
+ },
1403
+ NullValue: {
1404
+ values: {
1405
+ NULL_VALUE: 0
1406
+ }
1407
+ },
1408
+ ListValue: {
1409
+ fields: {
1410
+ values: {
1411
+ rule: "repeated",
1412
+ type: "Value",
1413
+ id: 1
1414
+ }
1415
+ }
1416
+ },
1417
+ Empty: {
1418
+ fields: {}
1419
+ }
1420
+ }
1421
+ }
1422
+ }
1423
+ }
1424
+ });
1425
+
1426
+ module.exports = $root;