@ondewo/nlu-client-typescript 4.5.0 → 4.7.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.
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +48 -0
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +244 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +151 -98
- package/api/ondewo/nlu/entity_type_pb.js +858 -381
- package/api/ondewo/nlu/session_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/session_pb.d.ts +13 -0
- package/api/ondewo/nlu/session_pb.js +106 -2
- package/package.json +1 -1
|
@@ -59,6 +59,34 @@ export class EntityTypesClient {
|
|
|
59
59
|
response: ondewo_nlu_operations_pb.Operation) => void
|
|
60
60
|
): grpcWeb.ClientReadableStream<ondewo_nlu_operations_pb.Operation>;
|
|
61
61
|
|
|
62
|
+
getEntity(
|
|
63
|
+
request: ondewo_nlu_entity_type_pb.GetEntityRequest,
|
|
64
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
65
|
+
callback: (err: grpcWeb.RpcError,
|
|
66
|
+
response: ondewo_nlu_entity_type_pb.EntityType.Entity) => void
|
|
67
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
68
|
+
|
|
69
|
+
createEntity(
|
|
70
|
+
request: ondewo_nlu_entity_type_pb.CreateEntityRequest,
|
|
71
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
72
|
+
callback: (err: grpcWeb.RpcError,
|
|
73
|
+
response: ondewo_nlu_entity_type_pb.EntityType.Entity) => void
|
|
74
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
75
|
+
|
|
76
|
+
updateEntity(
|
|
77
|
+
request: ondewo_nlu_entity_type_pb.UpdateEntityRequest,
|
|
78
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
79
|
+
callback: (err: grpcWeb.RpcError,
|
|
80
|
+
response: ondewo_nlu_entity_type_pb.EntityType.Entity) => void
|
|
81
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
82
|
+
|
|
83
|
+
deleteEntity(
|
|
84
|
+
request: ondewo_nlu_entity_type_pb.DeleteEntityRequest,
|
|
85
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
86
|
+
callback: (err: grpcWeb.RpcError,
|
|
87
|
+
response: ondewo_nlu_entity_type_pb.DeleteEntityStatus) => void
|
|
88
|
+
): grpcWeb.ClientReadableStream<ondewo_nlu_entity_type_pb.DeleteEntityStatus>;
|
|
89
|
+
|
|
62
90
|
batchCreateEntities(
|
|
63
91
|
request: ondewo_nlu_entity_type_pb.BatchCreateEntitiesRequest,
|
|
64
92
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -136,6 +164,26 @@ export class EntityTypesPromiseClient {
|
|
|
136
164
|
metadata?: grpcWeb.Metadata
|
|
137
165
|
): Promise<ondewo_nlu_operations_pb.Operation>;
|
|
138
166
|
|
|
167
|
+
getEntity(
|
|
168
|
+
request: ondewo_nlu_entity_type_pb.GetEntityRequest,
|
|
169
|
+
metadata?: grpcWeb.Metadata
|
|
170
|
+
): Promise<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
171
|
+
|
|
172
|
+
createEntity(
|
|
173
|
+
request: ondewo_nlu_entity_type_pb.CreateEntityRequest,
|
|
174
|
+
metadata?: grpcWeb.Metadata
|
|
175
|
+
): Promise<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
176
|
+
|
|
177
|
+
updateEntity(
|
|
178
|
+
request: ondewo_nlu_entity_type_pb.UpdateEntityRequest,
|
|
179
|
+
metadata?: grpcWeb.Metadata
|
|
180
|
+
): Promise<ondewo_nlu_entity_type_pb.EntityType.Entity>;
|
|
181
|
+
|
|
182
|
+
deleteEntity(
|
|
183
|
+
request: ondewo_nlu_entity_type_pb.DeleteEntityRequest,
|
|
184
|
+
metadata?: grpcWeb.Metadata
|
|
185
|
+
): Promise<ondewo_nlu_entity_type_pb.DeleteEntityStatus>;
|
|
186
|
+
|
|
139
187
|
batchCreateEntities(
|
|
140
188
|
request: ondewo_nlu_entity_type_pb.BatchCreateEntitiesRequest,
|
|
141
189
|
metadata?: grpcWeb.Metadata
|
|
@@ -508,6 +508,250 @@ proto.ondewo.nlu.EntityTypesPromiseClient.prototype.batchDeleteEntityTypes =
|
|
|
508
508
|
};
|
|
509
509
|
|
|
510
510
|
|
|
511
|
+
/**
|
|
512
|
+
* @const
|
|
513
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
514
|
+
* !proto.ondewo.nlu.GetEntityRequest,
|
|
515
|
+
* !proto.ondewo.nlu.EntityType.Entity>}
|
|
516
|
+
*/
|
|
517
|
+
const methodDescriptor_EntityTypes_GetEntity = new grpc.web.MethodDescriptor(
|
|
518
|
+
'/ondewo.nlu.EntityTypes/GetEntity',
|
|
519
|
+
grpc.web.MethodType.UNARY,
|
|
520
|
+
proto.ondewo.nlu.GetEntityRequest,
|
|
521
|
+
proto.ondewo.nlu.EntityType.Entity,
|
|
522
|
+
/**
|
|
523
|
+
* @param {!proto.ondewo.nlu.GetEntityRequest} request
|
|
524
|
+
* @return {!Uint8Array}
|
|
525
|
+
*/
|
|
526
|
+
function(request) {
|
|
527
|
+
return request.serializeBinary();
|
|
528
|
+
},
|
|
529
|
+
proto.ondewo.nlu.EntityType.Entity.deserializeBinary
|
|
530
|
+
);
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* @param {!proto.ondewo.nlu.GetEntityRequest} request The
|
|
535
|
+
* request proto
|
|
536
|
+
* @param {?Object<string, string>} metadata User defined
|
|
537
|
+
* call metadata
|
|
538
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType.Entity)}
|
|
539
|
+
* callback The callback function(error, response)
|
|
540
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType.Entity>|undefined}
|
|
541
|
+
* The XHR Node Readable Stream
|
|
542
|
+
*/
|
|
543
|
+
proto.ondewo.nlu.EntityTypesClient.prototype.getEntity =
|
|
544
|
+
function(request, metadata, callback) {
|
|
545
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
546
|
+
'/ondewo.nlu.EntityTypes/GetEntity',
|
|
547
|
+
request,
|
|
548
|
+
metadata || {},
|
|
549
|
+
methodDescriptor_EntityTypes_GetEntity,
|
|
550
|
+
callback);
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* @param {!proto.ondewo.nlu.GetEntityRequest} request The
|
|
556
|
+
* request proto
|
|
557
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
558
|
+
* call metadata
|
|
559
|
+
* @return {!Promise<!proto.ondewo.nlu.EntityType.Entity>}
|
|
560
|
+
* Promise that resolves to the response
|
|
561
|
+
*/
|
|
562
|
+
proto.ondewo.nlu.EntityTypesPromiseClient.prototype.getEntity =
|
|
563
|
+
function(request, metadata) {
|
|
564
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
565
|
+
'/ondewo.nlu.EntityTypes/GetEntity',
|
|
566
|
+
request,
|
|
567
|
+
metadata || {},
|
|
568
|
+
methodDescriptor_EntityTypes_GetEntity);
|
|
569
|
+
};
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* @const
|
|
574
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
575
|
+
* !proto.ondewo.nlu.CreateEntityRequest,
|
|
576
|
+
* !proto.ondewo.nlu.EntityType.Entity>}
|
|
577
|
+
*/
|
|
578
|
+
const methodDescriptor_EntityTypes_CreateEntity = new grpc.web.MethodDescriptor(
|
|
579
|
+
'/ondewo.nlu.EntityTypes/CreateEntity',
|
|
580
|
+
grpc.web.MethodType.UNARY,
|
|
581
|
+
proto.ondewo.nlu.CreateEntityRequest,
|
|
582
|
+
proto.ondewo.nlu.EntityType.Entity,
|
|
583
|
+
/**
|
|
584
|
+
* @param {!proto.ondewo.nlu.CreateEntityRequest} request
|
|
585
|
+
* @return {!Uint8Array}
|
|
586
|
+
*/
|
|
587
|
+
function(request) {
|
|
588
|
+
return request.serializeBinary();
|
|
589
|
+
},
|
|
590
|
+
proto.ondewo.nlu.EntityType.Entity.deserializeBinary
|
|
591
|
+
);
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @param {!proto.ondewo.nlu.CreateEntityRequest} request The
|
|
596
|
+
* request proto
|
|
597
|
+
* @param {?Object<string, string>} metadata User defined
|
|
598
|
+
* call metadata
|
|
599
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType.Entity)}
|
|
600
|
+
* callback The callback function(error, response)
|
|
601
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType.Entity>|undefined}
|
|
602
|
+
* The XHR Node Readable Stream
|
|
603
|
+
*/
|
|
604
|
+
proto.ondewo.nlu.EntityTypesClient.prototype.createEntity =
|
|
605
|
+
function(request, metadata, callback) {
|
|
606
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
607
|
+
'/ondewo.nlu.EntityTypes/CreateEntity',
|
|
608
|
+
request,
|
|
609
|
+
metadata || {},
|
|
610
|
+
methodDescriptor_EntityTypes_CreateEntity,
|
|
611
|
+
callback);
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @param {!proto.ondewo.nlu.CreateEntityRequest} request The
|
|
617
|
+
* request proto
|
|
618
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
619
|
+
* call metadata
|
|
620
|
+
* @return {!Promise<!proto.ondewo.nlu.EntityType.Entity>}
|
|
621
|
+
* Promise that resolves to the response
|
|
622
|
+
*/
|
|
623
|
+
proto.ondewo.nlu.EntityTypesPromiseClient.prototype.createEntity =
|
|
624
|
+
function(request, metadata) {
|
|
625
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
626
|
+
'/ondewo.nlu.EntityTypes/CreateEntity',
|
|
627
|
+
request,
|
|
628
|
+
metadata || {},
|
|
629
|
+
methodDescriptor_EntityTypes_CreateEntity);
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @const
|
|
635
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
636
|
+
* !proto.ondewo.nlu.UpdateEntityRequest,
|
|
637
|
+
* !proto.ondewo.nlu.EntityType.Entity>}
|
|
638
|
+
*/
|
|
639
|
+
const methodDescriptor_EntityTypes_UpdateEntity = new grpc.web.MethodDescriptor(
|
|
640
|
+
'/ondewo.nlu.EntityTypes/UpdateEntity',
|
|
641
|
+
grpc.web.MethodType.UNARY,
|
|
642
|
+
proto.ondewo.nlu.UpdateEntityRequest,
|
|
643
|
+
proto.ondewo.nlu.EntityType.Entity,
|
|
644
|
+
/**
|
|
645
|
+
* @param {!proto.ondewo.nlu.UpdateEntityRequest} request
|
|
646
|
+
* @return {!Uint8Array}
|
|
647
|
+
*/
|
|
648
|
+
function(request) {
|
|
649
|
+
return request.serializeBinary();
|
|
650
|
+
},
|
|
651
|
+
proto.ondewo.nlu.EntityType.Entity.deserializeBinary
|
|
652
|
+
);
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* @param {!proto.ondewo.nlu.UpdateEntityRequest} request The
|
|
657
|
+
* request proto
|
|
658
|
+
* @param {?Object<string, string>} metadata User defined
|
|
659
|
+
* call metadata
|
|
660
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.EntityType.Entity)}
|
|
661
|
+
* callback The callback function(error, response)
|
|
662
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.EntityType.Entity>|undefined}
|
|
663
|
+
* The XHR Node Readable Stream
|
|
664
|
+
*/
|
|
665
|
+
proto.ondewo.nlu.EntityTypesClient.prototype.updateEntity =
|
|
666
|
+
function(request, metadata, callback) {
|
|
667
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
668
|
+
'/ondewo.nlu.EntityTypes/UpdateEntity',
|
|
669
|
+
request,
|
|
670
|
+
metadata || {},
|
|
671
|
+
methodDescriptor_EntityTypes_UpdateEntity,
|
|
672
|
+
callback);
|
|
673
|
+
};
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* @param {!proto.ondewo.nlu.UpdateEntityRequest} request The
|
|
678
|
+
* request proto
|
|
679
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
680
|
+
* call metadata
|
|
681
|
+
* @return {!Promise<!proto.ondewo.nlu.EntityType.Entity>}
|
|
682
|
+
* Promise that resolves to the response
|
|
683
|
+
*/
|
|
684
|
+
proto.ondewo.nlu.EntityTypesPromiseClient.prototype.updateEntity =
|
|
685
|
+
function(request, metadata) {
|
|
686
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
687
|
+
'/ondewo.nlu.EntityTypes/UpdateEntity',
|
|
688
|
+
request,
|
|
689
|
+
metadata || {},
|
|
690
|
+
methodDescriptor_EntityTypes_UpdateEntity);
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @const
|
|
696
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
697
|
+
* !proto.ondewo.nlu.DeleteEntityRequest,
|
|
698
|
+
* !proto.ondewo.nlu.DeleteEntityStatus>}
|
|
699
|
+
*/
|
|
700
|
+
const methodDescriptor_EntityTypes_DeleteEntity = new grpc.web.MethodDescriptor(
|
|
701
|
+
'/ondewo.nlu.EntityTypes/DeleteEntity',
|
|
702
|
+
grpc.web.MethodType.UNARY,
|
|
703
|
+
proto.ondewo.nlu.DeleteEntityRequest,
|
|
704
|
+
proto.ondewo.nlu.DeleteEntityStatus,
|
|
705
|
+
/**
|
|
706
|
+
* @param {!proto.ondewo.nlu.DeleteEntityRequest} request
|
|
707
|
+
* @return {!Uint8Array}
|
|
708
|
+
*/
|
|
709
|
+
function(request) {
|
|
710
|
+
return request.serializeBinary();
|
|
711
|
+
},
|
|
712
|
+
proto.ondewo.nlu.DeleteEntityStatus.deserializeBinary
|
|
713
|
+
);
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* @param {!proto.ondewo.nlu.DeleteEntityRequest} request The
|
|
718
|
+
* request proto
|
|
719
|
+
* @param {?Object<string, string>} metadata User defined
|
|
720
|
+
* call metadata
|
|
721
|
+
* @param {function(?grpc.web.RpcError, ?proto.ondewo.nlu.DeleteEntityStatus)}
|
|
722
|
+
* callback The callback function(error, response)
|
|
723
|
+
* @return {!grpc.web.ClientReadableStream<!proto.ondewo.nlu.DeleteEntityStatus>|undefined}
|
|
724
|
+
* The XHR Node Readable Stream
|
|
725
|
+
*/
|
|
726
|
+
proto.ondewo.nlu.EntityTypesClient.prototype.deleteEntity =
|
|
727
|
+
function(request, metadata, callback) {
|
|
728
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
729
|
+
'/ondewo.nlu.EntityTypes/DeleteEntity',
|
|
730
|
+
request,
|
|
731
|
+
metadata || {},
|
|
732
|
+
methodDescriptor_EntityTypes_DeleteEntity,
|
|
733
|
+
callback);
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
/**
|
|
738
|
+
* @param {!proto.ondewo.nlu.DeleteEntityRequest} request The
|
|
739
|
+
* request proto
|
|
740
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
741
|
+
* call metadata
|
|
742
|
+
* @return {!Promise<!proto.ondewo.nlu.DeleteEntityStatus>}
|
|
743
|
+
* Promise that resolves to the response
|
|
744
|
+
*/
|
|
745
|
+
proto.ondewo.nlu.EntityTypesPromiseClient.prototype.deleteEntity =
|
|
746
|
+
function(request, metadata) {
|
|
747
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
748
|
+
'/ondewo.nlu.EntityTypes/DeleteEntity',
|
|
749
|
+
request,
|
|
750
|
+
metadata || {},
|
|
751
|
+
methodDescriptor_EntityTypes_DeleteEntity);
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
|
|
511
755
|
/**
|
|
512
756
|
* @const
|
|
513
757
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -435,11 +435,43 @@ export namespace EntityTypeSorting {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
+
export class EntityStatus extends jspb.Message {
|
|
439
|
+
getEntity(): EntityType.Entity | undefined;
|
|
440
|
+
setEntity(value?: EntityType.Entity): EntityStatus;
|
|
441
|
+
hasEntity(): boolean;
|
|
442
|
+
clearEntity(): EntityStatus;
|
|
443
|
+
|
|
444
|
+
getErrorMessage(): string;
|
|
445
|
+
setErrorMessage(value: string): EntityStatus;
|
|
446
|
+
|
|
447
|
+
getEntityOrStatusCase(): EntityStatus.EntityOrStatusCase;
|
|
448
|
+
|
|
449
|
+
serializeBinary(): Uint8Array;
|
|
450
|
+
toObject(includeInstance?: boolean): EntityStatus.AsObject;
|
|
451
|
+
static toObject(includeInstance: boolean, msg: EntityStatus): EntityStatus.AsObject;
|
|
452
|
+
static serializeBinaryToWriter(message: EntityStatus, writer: jspb.BinaryWriter): void;
|
|
453
|
+
static deserializeBinary(bytes: Uint8Array): EntityStatus;
|
|
454
|
+
static deserializeBinaryFromReader(message: EntityStatus, reader: jspb.BinaryReader): EntityStatus;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export namespace EntityStatus {
|
|
458
|
+
export type AsObject = {
|
|
459
|
+
entity?: EntityType.Entity.AsObject,
|
|
460
|
+
errorMessage: string,
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export enum EntityOrStatusCase {
|
|
464
|
+
ENTITY_OR_STATUS_NOT_SET = 0,
|
|
465
|
+
ENTITY = 1,
|
|
466
|
+
ERROR_MESSAGE = 2,
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
|
|
438
470
|
export class BatchEntitiesResponse extends jspb.Message {
|
|
439
|
-
getEntityStatusesList(): Array<
|
|
440
|
-
setEntityStatusesList(value: Array<
|
|
471
|
+
getEntityStatusesList(): Array<EntityStatus>;
|
|
472
|
+
setEntityStatusesList(value: Array<EntityStatus>): BatchEntitiesResponse;
|
|
441
473
|
clearEntityStatusesList(): BatchEntitiesResponse;
|
|
442
|
-
addEntityStatuses(value?:
|
|
474
|
+
addEntityStatuses(value?: EntityStatus, index?: number): EntityStatus;
|
|
443
475
|
|
|
444
476
|
getHasErrors(): boolean;
|
|
445
477
|
setHasErrors(value: boolean): BatchEntitiesResponse;
|
|
@@ -454,49 +486,40 @@ export class BatchEntitiesResponse extends jspb.Message {
|
|
|
454
486
|
|
|
455
487
|
export namespace BatchEntitiesResponse {
|
|
456
488
|
export type AsObject = {
|
|
457
|
-
entityStatusesList: Array<
|
|
489
|
+
entityStatusesList: Array<EntityStatus.AsObject>,
|
|
458
490
|
hasErrors: boolean,
|
|
459
491
|
}
|
|
492
|
+
}
|
|
460
493
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
hasEntity(): boolean;
|
|
465
|
-
clearEntity(): EntityStatus;
|
|
466
|
-
|
|
467
|
-
getErrorMessage(): string;
|
|
468
|
-
setErrorMessage(value: string): EntityStatus;
|
|
469
|
-
|
|
470
|
-
getEntityOrStatusCase(): EntityStatus.EntityOrStatusCase;
|
|
494
|
+
export class CreateEntityRequest extends jspb.Message {
|
|
495
|
+
getEntityTypeName(): string;
|
|
496
|
+
setEntityTypeName(value: string): CreateEntityRequest;
|
|
471
497
|
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
static deserializeBinary(bytes: Uint8Array): EntityStatus;
|
|
477
|
-
static deserializeBinaryFromReader(message: EntityStatus, reader: jspb.BinaryReader): EntityStatus;
|
|
478
|
-
}
|
|
498
|
+
getEntity(): EntityType.Entity | undefined;
|
|
499
|
+
setEntity(value?: EntityType.Entity): CreateEntityRequest;
|
|
500
|
+
hasEntity(): boolean;
|
|
501
|
+
clearEntity(): CreateEntityRequest;
|
|
479
502
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
503
|
+
serializeBinary(): Uint8Array;
|
|
504
|
+
toObject(includeInstance?: boolean): CreateEntityRequest.AsObject;
|
|
505
|
+
static toObject(includeInstance: boolean, msg: CreateEntityRequest): CreateEntityRequest.AsObject;
|
|
506
|
+
static serializeBinaryToWriter(message: CreateEntityRequest, writer: jspb.BinaryWriter): void;
|
|
507
|
+
static deserializeBinary(bytes: Uint8Array): CreateEntityRequest;
|
|
508
|
+
static deserializeBinaryFromReader(message: CreateEntityRequest, reader: jspb.BinaryReader): CreateEntityRequest;
|
|
509
|
+
}
|
|
485
510
|
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
}
|
|
511
|
+
export namespace CreateEntityRequest {
|
|
512
|
+
export type AsObject = {
|
|
513
|
+
entityTypeName: string,
|
|
514
|
+
entity?: EntityType.Entity.AsObject,
|
|
491
515
|
}
|
|
492
|
-
|
|
493
516
|
}
|
|
494
517
|
|
|
495
518
|
export class BatchCreateEntitiesRequest extends jspb.Message {
|
|
496
|
-
getCreateEntityRequestsList(): Array<
|
|
497
|
-
setCreateEntityRequestsList(value: Array<
|
|
519
|
+
getCreateEntityRequestsList(): Array<CreateEntityRequest>;
|
|
520
|
+
setCreateEntityRequestsList(value: Array<CreateEntityRequest>): BatchCreateEntitiesRequest;
|
|
498
521
|
clearCreateEntityRequestsList(): BatchCreateEntitiesRequest;
|
|
499
|
-
addCreateEntityRequests(value?:
|
|
522
|
+
addCreateEntityRequests(value?: CreateEntityRequest, index?: number): CreateEntityRequest;
|
|
500
523
|
|
|
501
524
|
serializeBinary(): Uint8Array;
|
|
502
525
|
toObject(includeInstance?: boolean): BatchCreateEntitiesRequest.AsObject;
|
|
@@ -508,33 +531,8 @@ export class BatchCreateEntitiesRequest extends jspb.Message {
|
|
|
508
531
|
|
|
509
532
|
export namespace BatchCreateEntitiesRequest {
|
|
510
533
|
export type AsObject = {
|
|
511
|
-
createEntityRequestsList: Array<
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
export class CreateEntityRequest extends jspb.Message {
|
|
515
|
-
getEntityTypeName(): string;
|
|
516
|
-
setEntityTypeName(value: string): CreateEntityRequest;
|
|
517
|
-
|
|
518
|
-
getEntity(): EntityType.Entity | undefined;
|
|
519
|
-
setEntity(value?: EntityType.Entity): CreateEntityRequest;
|
|
520
|
-
hasEntity(): boolean;
|
|
521
|
-
clearEntity(): CreateEntityRequest;
|
|
522
|
-
|
|
523
|
-
serializeBinary(): Uint8Array;
|
|
524
|
-
toObject(includeInstance?: boolean): CreateEntityRequest.AsObject;
|
|
525
|
-
static toObject(includeInstance: boolean, msg: CreateEntityRequest): CreateEntityRequest.AsObject;
|
|
526
|
-
static serializeBinaryToWriter(message: CreateEntityRequest, writer: jspb.BinaryWriter): void;
|
|
527
|
-
static deserializeBinary(bytes: Uint8Array): CreateEntityRequest;
|
|
528
|
-
static deserializeBinaryFromReader(message: CreateEntityRequest, reader: jspb.BinaryReader): CreateEntityRequest;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
export namespace CreateEntityRequest {
|
|
532
|
-
export type AsObject = {
|
|
533
|
-
entityTypeName: string,
|
|
534
|
-
entity?: EntityType.Entity.AsObject,
|
|
535
|
-
}
|
|
534
|
+
createEntityRequestsList: Array<CreateEntityRequest.AsObject>,
|
|
536
535
|
}
|
|
537
|
-
|
|
538
536
|
}
|
|
539
537
|
|
|
540
538
|
export class BatchUpdateEntitiesRequest extends jspb.Message {
|
|
@@ -557,6 +555,44 @@ export namespace BatchUpdateEntitiesRequest {
|
|
|
557
555
|
}
|
|
558
556
|
}
|
|
559
557
|
|
|
558
|
+
export class UpdateEntityRequest extends jspb.Message {
|
|
559
|
+
getEntity(): EntityType.Entity | undefined;
|
|
560
|
+
setEntity(value?: EntityType.Entity): UpdateEntityRequest;
|
|
561
|
+
hasEntity(): boolean;
|
|
562
|
+
clearEntity(): UpdateEntityRequest;
|
|
563
|
+
|
|
564
|
+
serializeBinary(): Uint8Array;
|
|
565
|
+
toObject(includeInstance?: boolean): UpdateEntityRequest.AsObject;
|
|
566
|
+
static toObject(includeInstance: boolean, msg: UpdateEntityRequest): UpdateEntityRequest.AsObject;
|
|
567
|
+
static serializeBinaryToWriter(message: UpdateEntityRequest, writer: jspb.BinaryWriter): void;
|
|
568
|
+
static deserializeBinary(bytes: Uint8Array): UpdateEntityRequest;
|
|
569
|
+
static deserializeBinaryFromReader(message: UpdateEntityRequest, reader: jspb.BinaryReader): UpdateEntityRequest;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export namespace UpdateEntityRequest {
|
|
573
|
+
export type AsObject = {
|
|
574
|
+
entity?: EntityType.Entity.AsObject,
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export class GetEntityRequest extends jspb.Message {
|
|
579
|
+
getName(): string;
|
|
580
|
+
setName(value: string): GetEntityRequest;
|
|
581
|
+
|
|
582
|
+
serializeBinary(): Uint8Array;
|
|
583
|
+
toObject(includeInstance?: boolean): GetEntityRequest.AsObject;
|
|
584
|
+
static toObject(includeInstance: boolean, msg: GetEntityRequest): GetEntityRequest.AsObject;
|
|
585
|
+
static serializeBinaryToWriter(message: GetEntityRequest, writer: jspb.BinaryWriter): void;
|
|
586
|
+
static deserializeBinary(bytes: Uint8Array): GetEntityRequest;
|
|
587
|
+
static deserializeBinaryFromReader(message: GetEntityRequest, reader: jspb.BinaryReader): GetEntityRequest;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export namespace GetEntityRequest {
|
|
591
|
+
export type AsObject = {
|
|
592
|
+
name: string,
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
560
596
|
export class BatchGetEntitiesRequest extends jspb.Message {
|
|
561
597
|
getNamesList(): Array<string>;
|
|
562
598
|
setNamesList(value: Array<string>): BatchGetEntitiesRequest;
|
|
@@ -597,11 +633,61 @@ export namespace BatchDeleteEntitiesRequest {
|
|
|
597
633
|
}
|
|
598
634
|
}
|
|
599
635
|
|
|
636
|
+
export class DeleteEntityRequest extends jspb.Message {
|
|
637
|
+
getName(): string;
|
|
638
|
+
setName(value: string): DeleteEntityRequest;
|
|
639
|
+
|
|
640
|
+
serializeBinary(): Uint8Array;
|
|
641
|
+
toObject(includeInstance?: boolean): DeleteEntityRequest.AsObject;
|
|
642
|
+
static toObject(includeInstance: boolean, msg: DeleteEntityRequest): DeleteEntityRequest.AsObject;
|
|
643
|
+
static serializeBinaryToWriter(message: DeleteEntityRequest, writer: jspb.BinaryWriter): void;
|
|
644
|
+
static deserializeBinary(bytes: Uint8Array): DeleteEntityRequest;
|
|
645
|
+
static deserializeBinaryFromReader(message: DeleteEntityRequest, reader: jspb.BinaryReader): DeleteEntityRequest;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
export namespace DeleteEntityRequest {
|
|
649
|
+
export type AsObject = {
|
|
650
|
+
name: string,
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export class DeleteEntityStatus extends jspb.Message {
|
|
655
|
+
getSuccessfullyDeleted(): google_protobuf_empty_pb.Empty | undefined;
|
|
656
|
+
setSuccessfullyDeleted(value?: google_protobuf_empty_pb.Empty): DeleteEntityStatus;
|
|
657
|
+
hasSuccessfullyDeleted(): boolean;
|
|
658
|
+
clearSuccessfullyDeleted(): DeleteEntityStatus;
|
|
659
|
+
|
|
660
|
+
getErrorMessage(): string;
|
|
661
|
+
setErrorMessage(value: string): DeleteEntityStatus;
|
|
662
|
+
|
|
663
|
+
getDeleteStatusCase(): DeleteEntityStatus.DeleteStatusCase;
|
|
664
|
+
|
|
665
|
+
serializeBinary(): Uint8Array;
|
|
666
|
+
toObject(includeInstance?: boolean): DeleteEntityStatus.AsObject;
|
|
667
|
+
static toObject(includeInstance: boolean, msg: DeleteEntityStatus): DeleteEntityStatus.AsObject;
|
|
668
|
+
static serializeBinaryToWriter(message: DeleteEntityStatus, writer: jspb.BinaryWriter): void;
|
|
669
|
+
static deserializeBinary(bytes: Uint8Array): DeleteEntityStatus;
|
|
670
|
+
static deserializeBinaryFromReader(message: DeleteEntityStatus, reader: jspb.BinaryReader): DeleteEntityStatus;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export namespace DeleteEntityStatus {
|
|
674
|
+
export type AsObject = {
|
|
675
|
+
successfullyDeleted?: google_protobuf_empty_pb.Empty.AsObject,
|
|
676
|
+
errorMessage: string,
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export enum DeleteStatusCase {
|
|
680
|
+
DELETE_STATUS_NOT_SET = 0,
|
|
681
|
+
SUCCESSFULLY_DELETED = 1,
|
|
682
|
+
ERROR_MESSAGE = 2,
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
600
686
|
export class BatchDeleteEntitiesResponse extends jspb.Message {
|
|
601
|
-
getDeleteStatusesList(): Array<
|
|
602
|
-
setDeleteStatusesList(value: Array<
|
|
687
|
+
getDeleteStatusesList(): Array<DeleteEntityStatus>;
|
|
688
|
+
setDeleteStatusesList(value: Array<DeleteEntityStatus>): BatchDeleteEntitiesResponse;
|
|
603
689
|
clearDeleteStatusesList(): BatchDeleteEntitiesResponse;
|
|
604
|
-
addDeleteStatuses(value?:
|
|
690
|
+
addDeleteStatuses(value?: DeleteEntityStatus, index?: number): DeleteEntityStatus;
|
|
605
691
|
|
|
606
692
|
getHasErrors(): boolean;
|
|
607
693
|
setHasErrors(value: boolean): BatchDeleteEntitiesResponse;
|
|
@@ -616,42 +702,9 @@ export class BatchDeleteEntitiesResponse extends jspb.Message {
|
|
|
616
702
|
|
|
617
703
|
export namespace BatchDeleteEntitiesResponse {
|
|
618
704
|
export type AsObject = {
|
|
619
|
-
deleteStatusesList: Array<
|
|
705
|
+
deleteStatusesList: Array<DeleteEntityStatus.AsObject>,
|
|
620
706
|
hasErrors: boolean,
|
|
621
707
|
}
|
|
622
|
-
|
|
623
|
-
export class DeleteEntityStatus extends jspb.Message {
|
|
624
|
-
getSuccessfullyDeleted(): google_protobuf_empty_pb.Empty | undefined;
|
|
625
|
-
setSuccessfullyDeleted(value?: google_protobuf_empty_pb.Empty): DeleteEntityStatus;
|
|
626
|
-
hasSuccessfullyDeleted(): boolean;
|
|
627
|
-
clearSuccessfullyDeleted(): DeleteEntityStatus;
|
|
628
|
-
|
|
629
|
-
getErrorMessage(): string;
|
|
630
|
-
setErrorMessage(value: string): DeleteEntityStatus;
|
|
631
|
-
|
|
632
|
-
getDeleteStatusCase(): DeleteEntityStatus.DeleteStatusCase;
|
|
633
|
-
|
|
634
|
-
serializeBinary(): Uint8Array;
|
|
635
|
-
toObject(includeInstance?: boolean): DeleteEntityStatus.AsObject;
|
|
636
|
-
static toObject(includeInstance: boolean, msg: DeleteEntityStatus): DeleteEntityStatus.AsObject;
|
|
637
|
-
static serializeBinaryToWriter(message: DeleteEntityStatus, writer: jspb.BinaryWriter): void;
|
|
638
|
-
static deserializeBinary(bytes: Uint8Array): DeleteEntityStatus;
|
|
639
|
-
static deserializeBinaryFromReader(message: DeleteEntityStatus, reader: jspb.BinaryReader): DeleteEntityStatus;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
export namespace DeleteEntityStatus {
|
|
643
|
-
export type AsObject = {
|
|
644
|
-
successfullyDeleted?: google_protobuf_empty_pb.Empty.AsObject,
|
|
645
|
-
errorMessage: string,
|
|
646
|
-
}
|
|
647
|
-
|
|
648
|
-
export enum DeleteStatusCase {
|
|
649
|
-
DELETE_STATUS_NOT_SET = 0,
|
|
650
|
-
SUCCESSFULLY_DELETED = 1,
|
|
651
|
-
ERROR_MESSAGE = 2,
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
|
|
655
708
|
}
|
|
656
709
|
|
|
657
710
|
export class ListEntitiesRequest extends jspb.Message {
|