@conduitplatform/grpc-sdk 0.15.16 → 0.15.18

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.
@@ -51,19 +51,19 @@ exports.GenerateProtoRequest = {
51
51
  var tag = reader.uint32();
52
52
  switch (tag >>> 3) {
53
53
  case 1:
54
- if (tag != 10) {
54
+ if (tag !== 10) {
55
55
  break;
56
56
  }
57
57
  message.moduleName = reader.string();
58
58
  continue;
59
59
  case 2:
60
- if (tag != 18) {
60
+ if (tag !== 18) {
61
61
  break;
62
62
  }
63
63
  message.routes.push(reader.string());
64
64
  continue;
65
65
  }
66
- if ((tag & 7) == 4 || tag == 0) {
66
+ if ((tag & 7) === 4 || tag === 0) {
67
67
  break;
68
68
  }
69
69
  reader.skipType(tag & 7);
@@ -120,19 +120,19 @@ exports.GenerateProtoResponse = {
120
120
  var tag = reader.uint32();
121
121
  switch (tag >>> 3) {
122
122
  case 1:
123
- if (tag != 10) {
123
+ if (tag !== 10) {
124
124
  break;
125
125
  }
126
126
  message.protoFile = reader.string();
127
127
  continue;
128
128
  case 2:
129
- if (tag != 18) {
129
+ if (tag !== 18) {
130
130
  break;
131
131
  }
132
132
  message.formattedModuleName = reader.string();
133
133
  continue;
134
134
  }
135
- if ((tag & 7) == 4 || tag == 0) {
135
+ if ((tag & 7) === 4 || tag === 0) {
136
136
  break;
137
137
  }
138
138
  reader.skipType(tag & 7);
@@ -198,25 +198,25 @@ exports.RegisterAdminRouteRequest = {
198
198
  var tag = reader.uint32();
199
199
  switch (tag >>> 3) {
200
200
  case 1:
201
- if (tag != 10) {
201
+ if (tag !== 10) {
202
202
  break;
203
203
  }
204
204
  message.routes.push(exports.RegisterAdminRouteRequest_PathDefinition.decode(reader, reader.uint32()));
205
205
  continue;
206
206
  case 2:
207
- if (tag != 18) {
207
+ if (tag !== 18) {
208
208
  break;
209
209
  }
210
210
  message.protoFile = reader.string();
211
211
  continue;
212
212
  case 3:
213
- if (tag != 26) {
213
+ if (tag !== 26) {
214
214
  break;
215
215
  }
216
216
  message.routerUrl = reader.string();
217
217
  continue;
218
218
  }
219
- if ((tag & 7) == 4 || tag == 0) {
219
+ if ((tag & 7) === 4 || tag === 0) {
220
220
  break;
221
221
  }
222
222
  reader.skipType(tag & 7);
@@ -297,43 +297,43 @@ exports.RegisterAdminRouteRequest_PathDefinition = {
297
297
  var tag = reader.uint32();
298
298
  switch (tag >>> 3) {
299
299
  case 1:
300
- if (tag != 10) {
300
+ if (tag !== 10) {
301
301
  break;
302
302
  }
303
303
  message.options = exports.RegisterAdminRouteRequest_ConduitRouteOptions.decode(reader, reader.uint32());
304
304
  continue;
305
305
  case 2:
306
- if (tag != 18) {
306
+ if (tag !== 18) {
307
307
  break;
308
308
  }
309
309
  message.returns = exports.RegisterAdminRouteRequest_ConduitRouteReturnDefinition.decode(reader, reader.uint32());
310
310
  continue;
311
311
  case 3:
312
- if (tag != 26) {
312
+ if (tag !== 26) {
313
313
  break;
314
314
  }
315
315
  message.grpcFunction = reader.string();
316
316
  continue;
317
317
  case 4:
318
- if (tag != 32) {
318
+ if (tag !== 32) {
319
319
  break;
320
320
  }
321
321
  message.isMiddleware = reader.bool();
322
322
  continue;
323
323
  case 5:
324
- if (tag != 42) {
324
+ if (tag !== 42) {
325
325
  break;
326
326
  }
327
327
  message.events = reader.string();
328
328
  continue;
329
329
  case 6:
330
- if (tag != 50) {
330
+ if (tag !== 50) {
331
331
  break;
332
332
  }
333
333
  message.proxy = exports.RegisterAdminRouteRequest_ProxyRouteOptions.decode(reader, reader.uint32());
334
334
  continue;
335
335
  }
336
- if ((tag & 7) == 4 || tag == 0) {
336
+ if ((tag & 7) === 4 || tag === 0) {
337
337
  break;
338
338
  }
339
339
  reader.skipType(tag & 7);
@@ -455,61 +455,61 @@ exports.RegisterAdminRouteRequest_ConduitRouteOptions = {
455
455
  var tag = reader.uint32();
456
456
  switch (tag >>> 3) {
457
457
  case 1:
458
- if (tag != 10) {
458
+ if (tag !== 10) {
459
459
  break;
460
460
  }
461
461
  message.queryParams = reader.string();
462
462
  continue;
463
463
  case 2:
464
- if (tag != 18) {
464
+ if (tag !== 18) {
465
465
  break;
466
466
  }
467
467
  message.bodyParams = reader.string();
468
468
  continue;
469
469
  case 3:
470
- if (tag != 26) {
470
+ if (tag !== 26) {
471
471
  break;
472
472
  }
473
473
  message.urlParams = reader.string();
474
474
  continue;
475
475
  case 4:
476
- if (tag != 34) {
476
+ if (tag !== 34) {
477
477
  break;
478
478
  }
479
479
  message.action = reader.string();
480
480
  continue;
481
481
  case 5:
482
- if (tag != 42) {
482
+ if (tag !== 42) {
483
483
  break;
484
484
  }
485
485
  message.path = reader.string();
486
486
  continue;
487
487
  case 6:
488
- if (tag != 50) {
488
+ if (tag !== 50) {
489
489
  break;
490
490
  }
491
491
  message.name = reader.string();
492
492
  continue;
493
493
  case 7:
494
- if (tag != 58) {
494
+ if (tag !== 58) {
495
495
  break;
496
496
  }
497
497
  message.description = reader.string();
498
498
  continue;
499
499
  case 8:
500
- if (tag != 66) {
500
+ if (tag !== 66) {
501
501
  break;
502
502
  }
503
503
  message.middlewares.push(reader.string());
504
504
  continue;
505
505
  case 9:
506
- if (tag != 74) {
506
+ if (tag !== 74) {
507
507
  break;
508
508
  }
509
509
  message.cacheControl = reader.string();
510
510
  continue;
511
511
  }
512
- if ((tag & 7) == 4 || tag == 0) {
512
+ if ((tag & 7) === 4 || tag === 0) {
513
513
  break;
514
514
  }
515
515
  reader.skipType(tag & 7);
@@ -638,91 +638,91 @@ exports.RegisterAdminRouteRequest_ProxyRouteOptions = {
638
638
  var tag = reader.uint32();
639
639
  switch (tag >>> 3) {
640
640
  case 1:
641
- if (tag != 10) {
641
+ if (tag !== 10) {
642
642
  break;
643
643
  }
644
644
  message.target = reader.string();
645
645
  continue;
646
646
  case 2:
647
- if (tag != 16) {
647
+ if (tag !== 16) {
648
648
  break;
649
649
  }
650
650
  message.changeOrigin = reader.bool();
651
651
  continue;
652
652
  case 3:
653
- if (tag != 24) {
653
+ if (tag !== 24) {
654
654
  break;
655
655
  }
656
656
  message.secure = reader.bool();
657
657
  continue;
658
658
  case 4:
659
- if (tag != 34) {
659
+ if (tag !== 34) {
660
660
  break;
661
661
  }
662
662
  message.context = reader.string();
663
663
  continue;
664
664
  case 5:
665
- if (tag != 42) {
665
+ if (tag !== 42) {
666
666
  break;
667
667
  }
668
668
  message.pathRewrite = reader.string();
669
669
  continue;
670
670
  case 6:
671
- if (tag != 50) {
671
+ if (tag !== 50) {
672
672
  break;
673
673
  }
674
674
  message.headers = reader.string();
675
675
  continue;
676
676
  case 7:
677
- if (tag != 56) {
677
+ if (tag !== 56) {
678
678
  break;
679
679
  }
680
680
  message.proxyTimeout = reader.int32();
681
681
  continue;
682
682
  case 8:
683
- if (tag != 66) {
683
+ if (tag !== 66) {
684
684
  break;
685
685
  }
686
686
  message.cookieDomainRewrite = reader.string();
687
687
  continue;
688
688
  case 9:
689
- if (tag != 72) {
689
+ if (tag !== 72) {
690
690
  break;
691
691
  }
692
692
  message.autoRewrite = reader.bool();
693
693
  continue;
694
694
  case 10:
695
- if (tag != 80) {
695
+ if (tag !== 80) {
696
696
  break;
697
697
  }
698
698
  message.followRedirects = reader.bool();
699
699
  continue;
700
700
  case 11:
701
- if (tag != 88) {
701
+ if (tag !== 88) {
702
702
  break;
703
703
  }
704
704
  message.xfwd = reader.bool();
705
705
  continue;
706
706
  case 12:
707
- if (tag != 96) {
707
+ if (tag !== 96) {
708
708
  break;
709
709
  }
710
710
  message.ws = reader.bool();
711
711
  continue;
712
712
  case 13:
713
- if (tag != 106) {
713
+ if (tag !== 106) {
714
714
  break;
715
715
  }
716
716
  message.router = reader.string();
717
717
  continue;
718
718
  case 14:
719
- if (tag != 112) {
719
+ if (tag !== 112) {
720
720
  break;
721
721
  }
722
722
  message.preserveHeaderKeyCase = reader.bool();
723
723
  continue;
724
724
  }
725
- if ((tag & 7) == 4 || tag == 0) {
725
+ if ((tag & 7) === 4 || tag === 0) {
726
726
  break;
727
727
  }
728
728
  reader.skipType(tag & 7);
@@ -810,19 +810,19 @@ exports.RegisterAdminRouteRequest_ConduitRouteReturnDefinition = {
810
810
  var tag = reader.uint32();
811
811
  switch (tag >>> 3) {
812
812
  case 1:
813
- if (tag != 10) {
813
+ if (tag !== 10) {
814
814
  break;
815
815
  }
816
816
  message.name = reader.string();
817
817
  continue;
818
818
  case 2:
819
- if (tag != 18) {
819
+ if (tag !== 18) {
820
820
  break;
821
821
  }
822
822
  message.fields = reader.string();
823
823
  continue;
824
824
  }
825
- if ((tag & 7) == 4 || tag == 0) {
825
+ if ((tag & 7) === 4 || tag === 0) {
826
826
  break;
827
827
  }
828
828
  reader.skipType(tag & 7);
@@ -868,7 +868,7 @@ exports.Empty = {
868
868
  var tag = reader.uint32();
869
869
  switch (tag >>> 3) {
870
870
  }
871
- if ((tag & 7) == 4 || tag == 0) {
871
+ if ((tag & 7) === 4 || tag === 0) {
872
872
  break;
873
873
  }
874
874
  reader.skipType(tag & 7);
@@ -915,25 +915,25 @@ exports.ModuleHealthRequest = {
915
915
  var tag = reader.uint32();
916
916
  switch (tag >>> 3) {
917
917
  case 1:
918
- if (tag != 10) {
918
+ if (tag !== 10) {
919
919
  break;
920
920
  }
921
921
  message.moduleName = reader.string();
922
922
  continue;
923
923
  case 2:
924
- if (tag != 18) {
924
+ if (tag !== 18) {
925
925
  break;
926
926
  }
927
927
  message.url = reader.string();
928
928
  continue;
929
929
  case 3:
930
- if (tag != 24) {
930
+ if (tag !== 24) {
931
931
  break;
932
932
  }
933
933
  message.status = reader.int32();
934
934
  continue;
935
935
  }
936
- if ((tag & 7) == 4 || tag == 0) {
936
+ if ((tag & 7) === 4 || tag === 0) {
937
937
  break;
938
938
  }
939
939
  reader.skipType(tag & 7);
@@ -985,13 +985,13 @@ exports.ModuleByNameRequest = {
985
985
  var tag = reader.uint32();
986
986
  switch (tag >>> 3) {
987
987
  case 1:
988
- if (tag != 10) {
988
+ if (tag !== 10) {
989
989
  break;
990
990
  }
991
991
  message.name = reader.string();
992
992
  continue;
993
993
  }
994
- if ((tag & 7) == 4 || tag == 0) {
994
+ if ((tag & 7) === 4 || tag === 0) {
995
995
  break;
996
996
  }
997
997
  reader.skipType(tag & 7);
@@ -1035,13 +1035,13 @@ exports.ModuleByNameResponse = {
1035
1035
  var tag = reader.uint32();
1036
1036
  switch (tag >>> 3) {
1037
1037
  case 1:
1038
- if (tag != 10) {
1038
+ if (tag !== 10) {
1039
1039
  break;
1040
1040
  }
1041
1041
  message.moduleUrl = reader.string();
1042
1042
  continue;
1043
1043
  }
1044
- if ((tag & 7) == 4 || tag == 0) {
1044
+ if ((tag & 7) === 4 || tag === 0) {
1045
1045
  break;
1046
1046
  }
1047
1047
  reader.skipType(tag & 7);
@@ -1091,25 +1091,25 @@ exports.RegisterModuleRequest = {
1091
1091
  var tag = reader.uint32();
1092
1092
  switch (tag >>> 3) {
1093
1093
  case 1:
1094
- if (tag != 10) {
1094
+ if (tag !== 10) {
1095
1095
  break;
1096
1096
  }
1097
1097
  message.moduleName = reader.string();
1098
1098
  continue;
1099
1099
  case 2:
1100
- if (tag != 18) {
1100
+ if (tag !== 18) {
1101
1101
  break;
1102
1102
  }
1103
1103
  message.url = reader.string();
1104
1104
  continue;
1105
1105
  case 3:
1106
- if (tag != 24) {
1106
+ if (tag !== 24) {
1107
1107
  break;
1108
1108
  }
1109
1109
  message.healthStatus = reader.int32();
1110
1110
  continue;
1111
1111
  }
1112
- if ((tag & 7) == 4 || tag == 0) {
1112
+ if ((tag & 7) === 4 || tag === 0) {
1113
1113
  break;
1114
1114
  }
1115
1115
  reader.skipType(tag & 7);
@@ -1161,13 +1161,13 @@ exports.RegisterModuleResponse = {
1161
1161
  var tag = reader.uint32();
1162
1162
  switch (tag >>> 3) {
1163
1163
  case 1:
1164
- if (tag != 8) {
1164
+ if (tag !== 8) {
1165
1165
  break;
1166
1166
  }
1167
1167
  message.result = reader.bool();
1168
1168
  continue;
1169
1169
  }
1170
- if ((tag & 7) == 4 || tag == 0) {
1170
+ if ((tag & 7) === 4 || tag === 0) {
1171
1171
  break;
1172
1172
  }
1173
1173
  reader.skipType(tag & 7);
@@ -1222,13 +1222,13 @@ exports.ModuleListResponse = {
1222
1222
  var tag = reader.uint32();
1223
1223
  switch (tag >>> 3) {
1224
1224
  case 1:
1225
- if (tag != 10) {
1225
+ if (tag !== 10) {
1226
1226
  break;
1227
1227
  }
1228
1228
  message.modules.push(exports.ModuleListResponse_ModuleResponse.decode(reader, reader.uint32()));
1229
1229
  continue;
1230
1230
  }
1231
- if ((tag & 7) == 4 || tag == 0) {
1231
+ if ((tag & 7) === 4 || tag === 0) {
1232
1232
  break;
1233
1233
  }
1234
1234
  reader.skipType(tag & 7);
@@ -1287,25 +1287,25 @@ exports.ModuleListResponse_ModuleResponse = {
1287
1287
  var tag = reader.uint32();
1288
1288
  switch (tag >>> 3) {
1289
1289
  case 1:
1290
- if (tag != 10) {
1290
+ if (tag !== 10) {
1291
1291
  break;
1292
1292
  }
1293
1293
  message.moduleName = reader.string();
1294
1294
  continue;
1295
1295
  case 2:
1296
- if (tag != 18) {
1296
+ if (tag !== 18) {
1297
1297
  break;
1298
1298
  }
1299
1299
  message.url = reader.string();
1300
1300
  continue;
1301
1301
  case 3:
1302
- if (tag != 24) {
1302
+ if (tag !== 24) {
1303
1303
  break;
1304
1304
  }
1305
1305
  message.serving = reader.bool();
1306
1306
  continue;
1307
1307
  }
1308
- if ((tag & 7) == 4 || tag == 0) {
1308
+ if ((tag & 7) === 4 || tag === 0) {
1309
1309
  break;
1310
1310
  }
1311
1311
  reader.skipType(tag & 7);
@@ -1357,13 +1357,13 @@ exports.ModuleExistsRequest = {
1357
1357
  var tag = reader.uint32();
1358
1358
  switch (tag >>> 3) {
1359
1359
  case 1:
1360
- if (tag != 10) {
1360
+ if (tag !== 10) {
1361
1361
  break;
1362
1362
  }
1363
1363
  message.moduleName = reader.string();
1364
1364
  continue;
1365
1365
  }
1366
- if ((tag & 7) == 4 || tag == 0) {
1366
+ if ((tag & 7) === 4 || tag === 0) {
1367
1367
  break;
1368
1368
  }
1369
1369
  reader.skipType(tag & 7);
@@ -1407,13 +1407,13 @@ exports.ModuleExistsResponse = {
1407
1407
  var tag = reader.uint32();
1408
1408
  switch (tag >>> 3) {
1409
1409
  case 1:
1410
- if (tag != 10) {
1410
+ if (tag !== 10) {
1411
1411
  break;
1412
1412
  }
1413
1413
  message.url = reader.string();
1414
1414
  continue;
1415
1415
  }
1416
- if ((tag & 7) == 4 || tag == 0) {
1416
+ if ((tag & 7) === 4 || tag === 0) {
1417
1417
  break;
1418
1418
  }
1419
1419
  reader.skipType(tag & 7);
@@ -1457,13 +1457,13 @@ exports.GetConfigRequest = {
1457
1457
  var tag = reader.uint32();
1458
1458
  switch (tag >>> 3) {
1459
1459
  case 1:
1460
- if (tag != 10) {
1460
+ if (tag !== 10) {
1461
1461
  break;
1462
1462
  }
1463
1463
  message.key = reader.string();
1464
1464
  continue;
1465
1465
  }
1466
- if ((tag & 7) == 4 || tag == 0) {
1466
+ if ((tag & 7) === 4 || tag === 0) {
1467
1467
  break;
1468
1468
  }
1469
1469
  reader.skipType(tag & 7);
@@ -1525,37 +1525,37 @@ exports.GetRedisDetailsResponse = {
1525
1525
  var tag = reader.uint32();
1526
1526
  switch (tag >>> 3) {
1527
1527
  case 1:
1528
- if (tag != 10) {
1528
+ if (tag !== 10) {
1529
1529
  break;
1530
1530
  }
1531
1531
  message.redisHost = reader.string();
1532
1532
  continue;
1533
1533
  case 2:
1534
- if (tag != 16) {
1534
+ if (tag !== 16) {
1535
1535
  break;
1536
1536
  }
1537
1537
  message.redisPort = reader.int32();
1538
1538
  continue;
1539
1539
  case 3:
1540
- if (tag != 26) {
1540
+ if (tag !== 26) {
1541
1541
  break;
1542
1542
  }
1543
1543
  message.redisUsername = reader.string();
1544
1544
  continue;
1545
1545
  case 4:
1546
- if (tag != 34) {
1546
+ if (tag !== 34) {
1547
1547
  break;
1548
1548
  }
1549
1549
  message.redisPassword = reader.string();
1550
1550
  continue;
1551
1551
  case 5:
1552
- if (tag != 42) {
1552
+ if (tag !== 42) {
1553
1553
  break;
1554
1554
  }
1555
1555
  message.redisConfig = reader.string();
1556
1556
  continue;
1557
1557
  }
1558
- if ((tag & 7) == 4 || tag == 0) {
1558
+ if ((tag & 7) === 4 || tag === 0) {
1559
1559
  break;
1560
1560
  }
1561
1561
  reader.skipType(tag & 7);
@@ -1613,13 +1613,13 @@ exports.GetConfigResponse = {
1613
1613
  var tag = reader.uint32();
1614
1614
  switch (tag >>> 3) {
1615
1615
  case 1:
1616
- if (tag != 10) {
1616
+ if (tag !== 10) {
1617
1617
  break;
1618
1618
  }
1619
1619
  message.data = reader.string();
1620
1620
  continue;
1621
1621
  }
1622
- if ((tag & 7) == 4 || tag == 0) {
1622
+ if ((tag & 7) === 4 || tag === 0) {
1623
1623
  break;
1624
1624
  }
1625
1625
  reader.skipType(tag & 7);
@@ -1669,25 +1669,25 @@ exports.UpdateRequest = {
1669
1669
  var tag = reader.uint32();
1670
1670
  switch (tag >>> 3) {
1671
1671
  case 1:
1672
- if (tag != 10) {
1672
+ if (tag !== 10) {
1673
1673
  break;
1674
1674
  }
1675
1675
  message.config = reader.string();
1676
1676
  continue;
1677
1677
  case 2:
1678
- if (tag != 18) {
1678
+ if (tag !== 18) {
1679
1679
  break;
1680
1680
  }
1681
1681
  message.schema = reader.string();
1682
1682
  continue;
1683
1683
  case 3:
1684
- if (tag != 24) {
1684
+ if (tag !== 24) {
1685
1685
  break;
1686
1686
  }
1687
1687
  message.override = reader.bool();
1688
1688
  continue;
1689
1689
  }
1690
- if ((tag & 7) == 4 || tag == 0) {
1690
+ if ((tag & 7) === 4 || tag === 0) {
1691
1691
  break;
1692
1692
  }
1693
1693
  reader.skipType(tag & 7);
@@ -1739,13 +1739,13 @@ exports.UpdateResponse = {
1739
1739
  var tag = reader.uint32();
1740
1740
  switch (tag >>> 3) {
1741
1741
  case 1:
1742
- if (tag != 10) {
1742
+ if (tag !== 10) {
1743
1743
  break;
1744
1744
  }
1745
1745
  message.result = reader.string();
1746
1746
  continue;
1747
1747
  }
1748
- if ((tag & 7) == 4 || tag == 0) {
1748
+ if ((tag & 7) === 4 || tag === 0) {
1749
1749
  break;
1750
1750
  }
1751
1751
  reader.skipType(tag & 7);
@@ -1789,13 +1789,13 @@ exports.RegisterModulesConfigRequest = {
1789
1789
  var tag = reader.uint32();
1790
1790
  switch (tag >>> 3) {
1791
1791
  case 1:
1792
- if (tag != 10) {
1792
+ if (tag !== 10) {
1793
1793
  break;
1794
1794
  }
1795
1795
  message.newModulesConfigSchema = reader.string();
1796
1796
  continue;
1797
1797
  }
1798
- if ((tag & 7) == 4 || tag == 0) {
1798
+ if ((tag & 7) === 4 || tag === 0) {
1799
1799
  break;
1800
1800
  }
1801
1801
  reader.skipType(tag & 7);