@jibb-open/jssdk 3.5.13 → 3.5.14

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