@lansweeper/data-platform-outbound-grpc 0.4.10 → 0.6.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 (58) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/gen-proto/image.json +1 -1
  3. package/gen-proto/outbound_grpc_pb.d.ts +17 -0
  4. package/gen-proto/outbound_grpc_pb.js +12 -0
  5. package/gen-proto/outbound_pb.d.ts +254 -0
  6. package/gen-proto/outbound_pb.js +2056 -1
  7. package/generated-go/outbound.pb.go +4048 -3501
  8. package/generated-go/outbound_grpc.pb.go +40 -0
  9. package/java.json +1 -1
  10. package/model/pom.xml +1 -1
  11. package/model/src/main/proto/outbound.proto +47 -1
  12. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter$1.class +0 -0
  13. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter$Builder.class +0 -0
  14. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter.class +0 -0
  15. package/model/target/classes/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinterOrBuilder.class +0 -0
  16. package/model/target/classes/com/lansweeper/dp/outbound/v1/Outbound.class +0 -0
  17. package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$1.class +0 -0
  18. package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer$Builder.class +0 -0
  19. package/model/target/classes/com/lansweeper/dp/outbound/v1/Printer.class +0 -0
  20. package/model/target/classes/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.class +0 -0
  21. package/model/target/classes/outbound.proto +47 -1
  22. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinter.java +5697 -0
  23. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ActiveDirectoryPrinterOrBuilder.java +649 -0
  24. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Outbound.java +1071 -1007
  25. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/Printer.java +243 -4
  26. package/model/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/PrinterOrBuilder.java +27 -0
  27. package/model/target/maven-archiver/pom.properties +2 -2
  28. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +4 -0
  29. package/model/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +3 -1
  30. package/model/target/{outbound-model-0.4.9-sources.jar → outbound-model-0.5.0-sources.jar} +0 -0
  31. package/model/target/{outbound-model-0.4.9.jar → outbound-model-0.5.0.jar} +0 -0
  32. package/package.json +2 -2
  33. package/pom.xml +1 -1
  34. package/proto/outbound.proto +47 -1
  35. package/service/pom.xml +1 -1
  36. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$1.class +0 -0
  37. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$2.class +0 -0
  38. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$3.class +0 -0
  39. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBaseDescriptorSupplier.class +0 -0
  40. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceBlockingStub.class +0 -0
  41. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFileDescriptorSupplier.class +0 -0
  42. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceFutureStub.class +0 -0
  43. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  44. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceMethodDescriptorSupplier.class +0 -0
  45. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceStub.class +0 -0
  46. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  47. package/service/target/classes/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.class +0 -0
  48. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$DataCoreBackofficeServiceImplBase.class +0 -0
  49. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$MethodHandlers.class +0 -0
  50. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc$ReactorDataCoreBackofficeServiceStub.class +0 -0
  51. package/service/target/classes/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.class +0 -0
  52. package/service/target/generated-sources/protobuf/grpc-java/com/lansweeper/dp/outbound/v1/DataCoreBackofficeServiceGrpc.java +86 -0
  53. package/service/target/generated-sources/protobuf/java/com/lansweeper/dp/outbound/v1/ReactorDataCoreBackofficeServiceGrpc.java +40 -0
  54. package/service/target/maven-archiver/pom.properties +2 -2
  55. package/service/target/outbound-service-0.5.0-sources.jar +0 -0
  56. package/service/target/outbound-service-0.5.0.jar +0 -0
  57. package/service/target/outbound-service-0.4.9-sources.jar +0 -0
  58. package/service/target/outbound-service-0.4.9.jar +0 -0
@@ -360,6 +360,37 @@ public final class DataCoreBackofficeServiceGrpc {
360
360
  return getCorrelationIndexRealignmentMethod;
361
361
  }
362
362
 
363
+ private static volatile io.grpc.MethodDescriptor<com.lansweeper.dp.outbound.v1.SiteKey,
364
+ com.lansweeper.dp.outbound.v1.Site> getRefreshEntityCountMethod;
365
+
366
+ @io.grpc.stub.annotations.RpcMethod(
367
+ fullMethodName = SERVICE_NAME + '/' + "RefreshEntityCount",
368
+ requestType = com.lansweeper.dp.outbound.v1.SiteKey.class,
369
+ responseType = com.lansweeper.dp.outbound.v1.Site.class,
370
+ methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
371
+ public static io.grpc.MethodDescriptor<com.lansweeper.dp.outbound.v1.SiteKey,
372
+ com.lansweeper.dp.outbound.v1.Site> getRefreshEntityCountMethod() {
373
+ io.grpc.MethodDescriptor<com.lansweeper.dp.outbound.v1.SiteKey, com.lansweeper.dp.outbound.v1.Site> getRefreshEntityCountMethod;
374
+ if ((getRefreshEntityCountMethod = DataCoreBackofficeServiceGrpc.getRefreshEntityCountMethod) == null) {
375
+ synchronized (DataCoreBackofficeServiceGrpc.class) {
376
+ if ((getRefreshEntityCountMethod = DataCoreBackofficeServiceGrpc.getRefreshEntityCountMethod) == null) {
377
+ DataCoreBackofficeServiceGrpc.getRefreshEntityCountMethod = getRefreshEntityCountMethod =
378
+ io.grpc.MethodDescriptor.<com.lansweeper.dp.outbound.v1.SiteKey, com.lansweeper.dp.outbound.v1.Site>newBuilder()
379
+ .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
380
+ .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RefreshEntityCount"))
381
+ .setSampledToLocalTracing(true)
382
+ .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
383
+ com.lansweeper.dp.outbound.v1.SiteKey.getDefaultInstance()))
384
+ .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
385
+ com.lansweeper.dp.outbound.v1.Site.getDefaultInstance()))
386
+ .setSchemaDescriptor(new DataCoreBackofficeServiceMethodDescriptorSupplier("RefreshEntityCount"))
387
+ .build();
388
+ }
389
+ }
390
+ }
391
+ return getRefreshEntityCountMethod;
392
+ }
393
+
363
394
  /**
364
395
  * Creates a new async stub that supports all call types for the service
365
396
  */
@@ -504,6 +535,16 @@ public final class DataCoreBackofficeServiceGrpc {
504
535
  io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCorrelationIndexRealignmentMethod(), responseObserver);
505
536
  }
506
537
 
538
+ /**
539
+ * <pre>
540
+ * Sync Number of saved entities in site storage
541
+ * </pre>
542
+ */
543
+ public void refreshEntityCount(com.lansweeper.dp.outbound.v1.SiteKey request,
544
+ io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.Site> responseObserver) {
545
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRefreshEntityCountMethod(), responseObserver);
546
+ }
547
+
507
548
  @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
508
549
  return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
509
550
  .addMethod(
@@ -583,6 +624,13 @@ public final class DataCoreBackofficeServiceGrpc {
583
624
  com.lansweeper.dp.outbound.v1.CorrelationRealignmentRequest,
584
625
  com.lansweeper.dp.outbound.v1.CorrelationIndexRealignmentResponse>(
585
626
  this, METHODID_CORRELATION_INDEX_REALIGNMENT)))
627
+ .addMethod(
628
+ getRefreshEntityCountMethod(),
629
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
630
+ new MethodHandlers<
631
+ com.lansweeper.dp.outbound.v1.SiteKey,
632
+ com.lansweeper.dp.outbound.v1.Site>(
633
+ this, METHODID_REFRESH_ENTITY_COUNT)))
586
634
  .build();
587
635
  }
588
636
  }
@@ -707,6 +755,17 @@ public final class DataCoreBackofficeServiceGrpc {
707
755
  io.grpc.stub.ClientCalls.asyncUnaryCall(
708
756
  getChannel().newCall(getCorrelationIndexRealignmentMethod(), getCallOptions()), request, responseObserver);
709
757
  }
758
+
759
+ /**
760
+ * <pre>
761
+ * Sync Number of saved entities in site storage
762
+ * </pre>
763
+ */
764
+ public void refreshEntityCount(com.lansweeper.dp.outbound.v1.SiteKey request,
765
+ io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.Site> responseObserver) {
766
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
767
+ getChannel().newCall(getRefreshEntityCountMethod(), getCallOptions()), request, responseObserver);
768
+ }
710
769
  }
711
770
 
712
771
  /**
@@ -819,6 +878,16 @@ public final class DataCoreBackofficeServiceGrpc {
819
878
  return io.grpc.stub.ClientCalls.blockingUnaryCall(
820
879
  getChannel(), getCorrelationIndexRealignmentMethod(), getCallOptions(), request);
821
880
  }
881
+
882
+ /**
883
+ * <pre>
884
+ * Sync Number of saved entities in site storage
885
+ * </pre>
886
+ */
887
+ public com.lansweeper.dp.outbound.v1.Site refreshEntityCount(com.lansweeper.dp.outbound.v1.SiteKey request) {
888
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
889
+ getChannel(), getRefreshEntityCountMethod(), getCallOptions(), request);
890
+ }
822
891
  }
823
892
 
824
893
  /**
@@ -930,6 +999,17 @@ public final class DataCoreBackofficeServiceGrpc {
930
999
  return io.grpc.stub.ClientCalls.futureUnaryCall(
931
1000
  getChannel().newCall(getCorrelationIndexRealignmentMethod(), getCallOptions()), request);
932
1001
  }
1002
+
1003
+ /**
1004
+ * <pre>
1005
+ * Sync Number of saved entities in site storage
1006
+ * </pre>
1007
+ */
1008
+ public com.google.common.util.concurrent.ListenableFuture<com.lansweeper.dp.outbound.v1.Site> refreshEntityCount(
1009
+ com.lansweeper.dp.outbound.v1.SiteKey request) {
1010
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
1011
+ getChannel().newCall(getRefreshEntityCountMethod(), getCallOptions()), request);
1012
+ }
933
1013
  }
934
1014
 
935
1015
  private static final int METHODID_CREATE_ENTITY = 0;
@@ -943,6 +1023,7 @@ public final class DataCoreBackofficeServiceGrpc {
943
1023
  private static final int METHODID_DELETE_SITE = 8;
944
1024
  private static final int METHODID_ENTITY_DECONCILE = 9;
945
1025
  private static final int METHODID_CORRELATION_INDEX_REALIGNMENT = 10;
1026
+ private static final int METHODID_REFRESH_ENTITY_COUNT = 11;
946
1027
 
947
1028
  private static final class MethodHandlers<Req, Resp> implements
948
1029
  io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
@@ -1005,6 +1086,10 @@ public final class DataCoreBackofficeServiceGrpc {
1005
1086
  serviceImpl.correlationIndexRealignment((com.lansweeper.dp.outbound.v1.CorrelationRealignmentRequest) request,
1006
1087
  (io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.CorrelationIndexRealignmentResponse>) responseObserver);
1007
1088
  break;
1089
+ case METHODID_REFRESH_ENTITY_COUNT:
1090
+ serviceImpl.refreshEntityCount((com.lansweeper.dp.outbound.v1.SiteKey) request,
1091
+ (io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.Site>) responseObserver);
1092
+ break;
1008
1093
  default:
1009
1094
  throw new AssertionError();
1010
1095
  }
@@ -1077,6 +1162,7 @@ public final class DataCoreBackofficeServiceGrpc {
1077
1162
  .addMethod(getDeleteSiteMethod())
1078
1163
  .addMethod(getEntityDeconcileMethod())
1079
1164
  .addMethod(getCorrelationIndexRealignmentMethod())
1165
+ .addMethod(getRefreshEntityCountMethod())
1080
1166
  .build();
1081
1167
  }
1082
1168
  }
@@ -125,6 +125,15 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
125
125
  return com.salesforce.reactorgrpc.stub.ClientCalls.oneToOne(reactorRequest, delegateStub::correlationIndexRealignment, getCallOptions());
126
126
  }
127
127
 
128
+ /**
129
+ * <pre>
130
+ * Sync Number of saved entities in site storage
131
+ * </pre>
132
+ */
133
+ public reactor.core.publisher.Mono<com.lansweeper.dp.outbound.v1.Site> refreshEntityCount(reactor.core.publisher.Mono<com.lansweeper.dp.outbound.v1.SiteKey> reactorRequest) {
134
+ return com.salesforce.reactorgrpc.stub.ClientCalls.oneToOne(reactorRequest, delegateStub::refreshEntityCount, getCallOptions());
135
+ }
136
+
128
137
  /**
129
138
  * <pre>
130
139
  * Retrieve a single entity by site/inst-id/type/id
@@ -209,6 +218,15 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
209
218
  return com.salesforce.reactorgrpc.stub.ClientCalls.oneToOne(reactor.core.publisher.Mono.just(reactorRequest), delegateStub::correlationIndexRealignment, getCallOptions());
210
219
  }
211
220
 
221
+ /**
222
+ * <pre>
223
+ * Sync Number of saved entities in site storage
224
+ * </pre>
225
+ */
226
+ public reactor.core.publisher.Mono<com.lansweeper.dp.outbound.v1.Site> refreshEntityCount(com.lansweeper.dp.outbound.v1.SiteKey reactorRequest) {
227
+ return com.salesforce.reactorgrpc.stub.ClientCalls.oneToOne(reactor.core.publisher.Mono.just(reactorRequest), delegateStub::refreshEntityCount, getCallOptions());
228
+ }
229
+
212
230
  }
213
231
 
214
232
  /**
@@ -303,6 +321,15 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
303
321
  throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
304
322
  }
305
323
 
324
+ /**
325
+ * <pre>
326
+ * Sync Number of saved entities in site storage
327
+ * </pre>
328
+ */
329
+ public reactor.core.publisher.Mono<com.lansweeper.dp.outbound.v1.Site> refreshEntityCount(reactor.core.publisher.Mono<com.lansweeper.dp.outbound.v1.SiteKey> request) {
330
+ throw new io.grpc.StatusRuntimeException(io.grpc.Status.UNIMPLEMENTED);
331
+ }
332
+
306
333
  @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
307
334
  return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
308
335
  .addMethod(
@@ -382,6 +409,13 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
382
409
  com.lansweeper.dp.outbound.v1.CorrelationRealignmentRequest,
383
410
  com.lansweeper.dp.outbound.v1.CorrelationIndexRealignmentResponse>(
384
411
  this, METHODID_CORRELATION_INDEX_REALIGNMENT)))
412
+ .addMethod(
413
+ com.lansweeper.dp.outbound.v1.DataCoreBackofficeServiceGrpc.getRefreshEntityCountMethod(),
414
+ asyncUnaryCall(
415
+ new MethodHandlers<
416
+ com.lansweeper.dp.outbound.v1.SiteKey,
417
+ com.lansweeper.dp.outbound.v1.Site>(
418
+ this, METHODID_REFRESH_ENTITY_COUNT)))
385
419
  .build();
386
420
  }
387
421
 
@@ -402,6 +436,7 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
402
436
  public static final int METHODID_DELETE_SITE = 8;
403
437
  public static final int METHODID_ENTITY_DECONCILE = 9;
404
438
  public static final int METHODID_CORRELATION_INDEX_REALIGNMENT = 10;
439
+ public static final int METHODID_REFRESH_ENTITY_COUNT = 11;
405
440
 
406
441
  private static final class MethodHandlers<Req, Resp> implements
407
442
  io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
@@ -475,6 +510,11 @@ public final class ReactorDataCoreBackofficeServiceGrpc {
475
510
  (io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.CorrelationIndexRealignmentResponse>) responseObserver,
476
511
  serviceImpl::correlationIndexRealignment);
477
512
  break;
513
+ case METHODID_REFRESH_ENTITY_COUNT:
514
+ com.salesforce.reactorgrpc.stub.ServerCalls.oneToOne((com.lansweeper.dp.outbound.v1.SiteKey) request,
515
+ (io.grpc.stub.StreamObserver<com.lansweeper.dp.outbound.v1.Site>) responseObserver,
516
+ serviceImpl::refreshEntityCount);
517
+ break;
478
518
  default:
479
519
  throw new java.lang.AssertionError();
480
520
  }
@@ -1,5 +1,5 @@
1
1
  #Generated by Maven
2
- #Tue Mar 25 09:48:31 UTC 2025
2
+ #Tue Apr 08 14:13:30 UTC 2025
3
3
  groupId=com.lansweeper.dp.outbound.v1
4
4
  artifactId=outbound-service
5
- version=0.4.9
5
+ version=0.5.0