@ondewo/nlu-client-typescript 4.6.0 → 4.8.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 (37) hide show
  1. package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +61 -0
  2. package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
  3. package/api/ondewo/nlu/agent_pb.d.ts +222 -1
  4. package/api/ondewo/nlu/agent_pb.js +1814 -30
  5. package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
  6. package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
  7. package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
  8. package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
  9. package/api/ondewo/nlu/common_pb.d.ts +456 -0
  10. package/api/ondewo/nlu/common_pb.js +3523 -4
  11. package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
  12. package/api/ondewo/nlu/context_pb.d.ts +41 -0
  13. package/api/ondewo/nlu/context_pb.js +328 -2
  14. package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
  15. package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
  16. package/api/ondewo/nlu/entity_type_pb.js +328 -2
  17. package/api/ondewo/nlu/intent_pb.d.ts +120 -0
  18. package/api/ondewo/nlu/intent_pb.js +1058 -86
  19. package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
  20. package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
  21. package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
  22. package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
  23. package/api/ondewo/nlu/project_role_pb.js +167 -3
  24. package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
  25. package/api/ondewo/nlu/session_grpc_web_pb.js +553 -0
  26. package/api/ondewo/nlu/session_pb.d.ts +637 -0
  27. package/api/ondewo/nlu/session_pb.js +10508 -5294
  28. package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
  29. package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
  30. package/api/ondewo/nlu/user_pb.d.ts +284 -0
  31. package/api/ondewo/nlu/user_pb.js +3418 -1024
  32. package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
  33. package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
  34. package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
  35. package/api/ondewo/nlu/webhook_pb.js +1530 -34
  36. package/package.json +1 -1
  37. package/public-api.d.ts +27 -25
@@ -3,7 +3,9 @@ import * as jspb from 'google-protobuf'
3
3
  import * as google_api_annotations_pb from '../../google/api/annotations_pb';
4
4
  import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
5
5
  import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb';
6
+ import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb';
6
7
  import * as ondewo_nlu_project_role_pb from '../../ondewo/nlu/project_role_pb';
8
+ import * as ondewo_nlu_common_pb from '../../ondewo/nlu/common_pb';
7
9
 
8
10
 
9
11
  export class User extends jspb.Message {
@@ -19,6 +21,27 @@ export class User extends jspb.Message {
19
21
  getUserEmail(): string;
20
22
  setUserEmail(value: string): User;
21
23
 
24
+ getUserProfilePicture(): Uint8Array | string;
25
+ getUserProfilePicture_asU8(): Uint8Array;
26
+ getUserProfilePicture_asB64(): string;
27
+ setUserProfilePicture(value: Uint8Array | string): User;
28
+
29
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
30
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): User;
31
+ hasCreatedAt(): boolean;
32
+ clearCreatedAt(): User;
33
+
34
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
35
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): User;
36
+ hasModifiedAt(): boolean;
37
+ clearModifiedAt(): User;
38
+
39
+ getCreatedBy(): string;
40
+ setCreatedBy(value: string): User;
41
+
42
+ getModifiedBy(): string;
43
+ setModifiedBy(value: string): User;
44
+
22
45
  serializeBinary(): Uint8Array;
23
46
  toObject(includeInstance?: boolean): User.AsObject;
24
47
  static toObject(includeInstance: boolean, msg: User): User.AsObject;
@@ -33,6 +56,11 @@ export namespace User {
33
56
  displayName: string,
34
57
  serverRoleId: number,
35
58
  userEmail: string,
59
+ userProfilePicture: Uint8Array | string,
60
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
61
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
62
+ createdBy: string,
63
+ modifiedBy: string,
36
64
  }
37
65
  }
38
66
 
@@ -240,6 +268,22 @@ export class ServerRole extends jspb.Message {
240
268
  clearPermissionsList(): ServerRole;
241
269
  addPermissions(value: string, index?: number): ServerRole;
242
270
 
271
+ getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
272
+ setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): ServerRole;
273
+ hasCreatedAt(): boolean;
274
+ clearCreatedAt(): ServerRole;
275
+
276
+ getModifiedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
277
+ setModifiedAt(value?: google_protobuf_timestamp_pb.Timestamp): ServerRole;
278
+ hasModifiedAt(): boolean;
279
+ clearModifiedAt(): ServerRole;
280
+
281
+ getCreatedBy(): string;
282
+ setCreatedBy(value: string): ServerRole;
283
+
284
+ getModifiedBy(): string;
285
+ setModifiedBy(value: string): ServerRole;
286
+
243
287
  serializeBinary(): Uint8Array;
244
288
  toObject(includeInstance?: boolean): ServerRole.AsObject;
245
289
  static toObject(includeInstance: boolean, msg: ServerRole): ServerRole.AsObject;
@@ -253,6 +297,10 @@ export namespace ServerRole {
253
297
  roleId: number,
254
298
  name: string,
255
299
  permissionsList: Array<string>,
300
+ createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
301
+ modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
302
+ createdBy: string,
303
+ modifiedBy: string,
256
304
  }
257
305
  }
258
306
 
@@ -480,6 +528,242 @@ export namespace LoginResponse {
480
528
  }
481
529
  }
482
530
 
531
+ export class GetUserPreferencesRequest extends jspb.Message {
532
+ getUserName(): string;
533
+ setUserName(value: string): GetUserPreferencesRequest;
534
+
535
+ getKeysList(): Array<string>;
536
+ setKeysList(value: Array<string>): GetUserPreferencesRequest;
537
+ clearKeysList(): GetUserPreferencesRequest;
538
+ addKeys(value: string, index?: number): GetUserPreferencesRequest;
539
+
540
+ getRegexInclude(): string;
541
+ setRegexInclude(value: string): GetUserPreferencesRequest;
542
+
543
+ serializeBinary(): Uint8Array;
544
+ toObject(includeInstance?: boolean): GetUserPreferencesRequest.AsObject;
545
+ static toObject(includeInstance: boolean, msg: GetUserPreferencesRequest): GetUserPreferencesRequest.AsObject;
546
+ static serializeBinaryToWriter(message: GetUserPreferencesRequest, writer: jspb.BinaryWriter): void;
547
+ static deserializeBinary(bytes: Uint8Array): GetUserPreferencesRequest;
548
+ static deserializeBinaryFromReader(message: GetUserPreferencesRequest, reader: jspb.BinaryReader): GetUserPreferencesRequest;
549
+ }
550
+
551
+ export namespace GetUserPreferencesRequest {
552
+ export type AsObject = {
553
+ userName: string,
554
+ keysList: Array<string>,
555
+ regexInclude: string,
556
+ }
557
+ }
558
+
559
+ export class GetUserPreferencesResponse extends jspb.Message {
560
+ getUserName(): string;
561
+ setUserName(value: string): GetUserPreferencesResponse;
562
+
563
+ getKeyValuePairsList(): Array<ondewo_nlu_common_pb.KeyValuePair>;
564
+ setKeyValuePairsList(value: Array<ondewo_nlu_common_pb.KeyValuePair>): GetUserPreferencesResponse;
565
+ clearKeyValuePairsList(): GetUserPreferencesResponse;
566
+ addKeyValuePairs(value?: ondewo_nlu_common_pb.KeyValuePair, index?: number): ondewo_nlu_common_pb.KeyValuePair;
567
+
568
+ getErrorMessage(): string;
569
+ setErrorMessage(value: string): GetUserPreferencesResponse;
570
+
571
+ serializeBinary(): Uint8Array;
572
+ toObject(includeInstance?: boolean): GetUserPreferencesResponse.AsObject;
573
+ static toObject(includeInstance: boolean, msg: GetUserPreferencesResponse): GetUserPreferencesResponse.AsObject;
574
+ static serializeBinaryToWriter(message: GetUserPreferencesResponse, writer: jspb.BinaryWriter): void;
575
+ static deserializeBinary(bytes: Uint8Array): GetUserPreferencesResponse;
576
+ static deserializeBinaryFromReader(message: GetUserPreferencesResponse, reader: jspb.BinaryReader): GetUserPreferencesResponse;
577
+ }
578
+
579
+ export namespace GetUserPreferencesResponse {
580
+ export type AsObject = {
581
+ userName: string,
582
+ keyValuePairsList: Array<ondewo_nlu_common_pb.KeyValuePair.AsObject>,
583
+ errorMessage: string,
584
+ }
585
+ }
586
+
587
+ export class SetUserPreferencesRequest extends jspb.Message {
588
+ getUserName(): string;
589
+ setUserName(value: string): SetUserPreferencesRequest;
590
+
591
+ getKeyValuePairsList(): Array<ondewo_nlu_common_pb.KeyValuePair>;
592
+ setKeyValuePairsList(value: Array<ondewo_nlu_common_pb.KeyValuePair>): SetUserPreferencesRequest;
593
+ clearKeyValuePairsList(): SetUserPreferencesRequest;
594
+ addKeyValuePairs(value?: ondewo_nlu_common_pb.KeyValuePair, index?: number): ondewo_nlu_common_pb.KeyValuePair;
595
+
596
+ serializeBinary(): Uint8Array;
597
+ toObject(includeInstance?: boolean): SetUserPreferencesRequest.AsObject;
598
+ static toObject(includeInstance: boolean, msg: SetUserPreferencesRequest): SetUserPreferencesRequest.AsObject;
599
+ static serializeBinaryToWriter(message: SetUserPreferencesRequest, writer: jspb.BinaryWriter): void;
600
+ static deserializeBinary(bytes: Uint8Array): SetUserPreferencesRequest;
601
+ static deserializeBinaryFromReader(message: SetUserPreferencesRequest, reader: jspb.BinaryReader): SetUserPreferencesRequest;
602
+ }
603
+
604
+ export namespace SetUserPreferencesRequest {
605
+ export type AsObject = {
606
+ userName: string,
607
+ keyValuePairsList: Array<ondewo_nlu_common_pb.KeyValuePair.AsObject>,
608
+ }
609
+ }
610
+
611
+ export class SetUserPreferencesResponse extends jspb.Message {
612
+ getUserName(): string;
613
+ setUserName(value: string): SetUserPreferencesResponse;
614
+
615
+ getKeysList(): Array<string>;
616
+ setKeysList(value: Array<string>): SetUserPreferencesResponse;
617
+ clearKeysList(): SetUserPreferencesResponse;
618
+ addKeys(value: string, index?: number): SetUserPreferencesResponse;
619
+
620
+ getErrorMessage(): string;
621
+ setErrorMessage(value: string): SetUserPreferencesResponse;
622
+
623
+ serializeBinary(): Uint8Array;
624
+ toObject(includeInstance?: boolean): SetUserPreferencesResponse.AsObject;
625
+ static toObject(includeInstance: boolean, msg: SetUserPreferencesResponse): SetUserPreferencesResponse.AsObject;
626
+ static serializeBinaryToWriter(message: SetUserPreferencesResponse, writer: jspb.BinaryWriter): void;
627
+ static deserializeBinary(bytes: Uint8Array): SetUserPreferencesResponse;
628
+ static deserializeBinaryFromReader(message: SetUserPreferencesResponse, reader: jspb.BinaryReader): SetUserPreferencesResponse;
629
+ }
630
+
631
+ export namespace SetUserPreferencesResponse {
632
+ export type AsObject = {
633
+ userName: string,
634
+ keysList: Array<string>,
635
+ errorMessage: string,
636
+ }
637
+ }
638
+
639
+ export class DeleteUserPreferencesRequest extends jspb.Message {
640
+ getUserName(): string;
641
+ setUserName(value: string): DeleteUserPreferencesRequest;
642
+
643
+ getKeysList(): Array<string>;
644
+ setKeysList(value: Array<string>): DeleteUserPreferencesRequest;
645
+ clearKeysList(): DeleteUserPreferencesRequest;
646
+ addKeys(value: string, index?: number): DeleteUserPreferencesRequest;
647
+
648
+ getRegexInclude(): string;
649
+ setRegexInclude(value: string): DeleteUserPreferencesRequest;
650
+
651
+ serializeBinary(): Uint8Array;
652
+ toObject(includeInstance?: boolean): DeleteUserPreferencesRequest.AsObject;
653
+ static toObject(includeInstance: boolean, msg: DeleteUserPreferencesRequest): DeleteUserPreferencesRequest.AsObject;
654
+ static serializeBinaryToWriter(message: DeleteUserPreferencesRequest, writer: jspb.BinaryWriter): void;
655
+ static deserializeBinary(bytes: Uint8Array): DeleteUserPreferencesRequest;
656
+ static deserializeBinaryFromReader(message: DeleteUserPreferencesRequest, reader: jspb.BinaryReader): DeleteUserPreferencesRequest;
657
+ }
658
+
659
+ export namespace DeleteUserPreferencesRequest {
660
+ export type AsObject = {
661
+ userName: string,
662
+ keysList: Array<string>,
663
+ regexInclude: string,
664
+ }
665
+ }
666
+
667
+ export class DeleteUserPreferencesResponse extends jspb.Message {
668
+ getUserName(): string;
669
+ setUserName(value: string): DeleteUserPreferencesResponse;
670
+
671
+ getKeysList(): Array<string>;
672
+ setKeysList(value: Array<string>): DeleteUserPreferencesResponse;
673
+ clearKeysList(): DeleteUserPreferencesResponse;
674
+ addKeys(value: string, index?: number): DeleteUserPreferencesResponse;
675
+
676
+ getErrorMessage(): string;
677
+ setErrorMessage(value: string): DeleteUserPreferencesResponse;
678
+
679
+ serializeBinary(): Uint8Array;
680
+ toObject(includeInstance?: boolean): DeleteUserPreferencesResponse.AsObject;
681
+ static toObject(includeInstance: boolean, msg: DeleteUserPreferencesResponse): DeleteUserPreferencesResponse.AsObject;
682
+ static serializeBinaryToWriter(message: DeleteUserPreferencesResponse, writer: jspb.BinaryWriter): void;
683
+ static deserializeBinary(bytes: Uint8Array): DeleteUserPreferencesResponse;
684
+ static deserializeBinaryFromReader(message: DeleteUserPreferencesResponse, reader: jspb.BinaryReader): DeleteUserPreferencesResponse;
685
+ }
686
+
687
+ export namespace DeleteUserPreferencesResponse {
688
+ export type AsObject = {
689
+ userName: string,
690
+ keysList: Array<string>,
691
+ errorMessage: string,
692
+ }
693
+ }
694
+
695
+ export class DeleteAllUserPreferencesRequest extends jspb.Message {
696
+ getUserName(): string;
697
+ setUserName(value: string): DeleteAllUserPreferencesRequest;
698
+
699
+ getRegexFilter(): string;
700
+ setRegexFilter(value: string): DeleteAllUserPreferencesRequest;
701
+
702
+ serializeBinary(): Uint8Array;
703
+ toObject(includeInstance?: boolean): DeleteAllUserPreferencesRequest.AsObject;
704
+ static toObject(includeInstance: boolean, msg: DeleteAllUserPreferencesRequest): DeleteAllUserPreferencesRequest.AsObject;
705
+ static serializeBinaryToWriter(message: DeleteAllUserPreferencesRequest, writer: jspb.BinaryWriter): void;
706
+ static deserializeBinary(bytes: Uint8Array): DeleteAllUserPreferencesRequest;
707
+ static deserializeBinaryFromReader(message: DeleteAllUserPreferencesRequest, reader: jspb.BinaryReader): DeleteAllUserPreferencesRequest;
708
+ }
709
+
710
+ export namespace DeleteAllUserPreferencesRequest {
711
+ export type AsObject = {
712
+ userName: string,
713
+ regexFilter: string,
714
+ }
715
+ }
716
+
717
+ export class ListUserPreferencesRequest extends jspb.Message {
718
+ getUserName(): string;
719
+ setUserName(value: string): ListUserPreferencesRequest;
720
+
721
+ getRegexFilter(): string;
722
+ setRegexFilter(value: string): ListUserPreferencesRequest;
723
+
724
+ serializeBinary(): Uint8Array;
725
+ toObject(includeInstance?: boolean): ListUserPreferencesRequest.AsObject;
726
+ static toObject(includeInstance: boolean, msg: ListUserPreferencesRequest): ListUserPreferencesRequest.AsObject;
727
+ static serializeBinaryToWriter(message: ListUserPreferencesRequest, writer: jspb.BinaryWriter): void;
728
+ static deserializeBinary(bytes: Uint8Array): ListUserPreferencesRequest;
729
+ static deserializeBinaryFromReader(message: ListUserPreferencesRequest, reader: jspb.BinaryReader): ListUserPreferencesRequest;
730
+ }
731
+
732
+ export namespace ListUserPreferencesRequest {
733
+ export type AsObject = {
734
+ userName: string,
735
+ regexFilter: string,
736
+ }
737
+ }
738
+
739
+ export class ListUserPreferencesResponse extends jspb.Message {
740
+ getUserName(): string;
741
+ setUserName(value: string): ListUserPreferencesResponse;
742
+
743
+ getKeyValuePairsList(): Array<ondewo_nlu_common_pb.KeyValuePair>;
744
+ setKeyValuePairsList(value: Array<ondewo_nlu_common_pb.KeyValuePair>): ListUserPreferencesResponse;
745
+ clearKeyValuePairsList(): ListUserPreferencesResponse;
746
+ addKeyValuePairs(value?: ondewo_nlu_common_pb.KeyValuePair, index?: number): ondewo_nlu_common_pb.KeyValuePair;
747
+
748
+ getErrorMessage(): string;
749
+ setErrorMessage(value: string): ListUserPreferencesResponse;
750
+
751
+ serializeBinary(): Uint8Array;
752
+ toObject(includeInstance?: boolean): ListUserPreferencesResponse.AsObject;
753
+ static toObject(includeInstance: boolean, msg: ListUserPreferencesResponse): ListUserPreferencesResponse.AsObject;
754
+ static serializeBinaryToWriter(message: ListUserPreferencesResponse, writer: jspb.BinaryWriter): void;
755
+ static deserializeBinary(bytes: Uint8Array): ListUserPreferencesResponse;
756
+ static deserializeBinaryFromReader(message: ListUserPreferencesResponse, reader: jspb.BinaryReader): ListUserPreferencesResponse;
757
+ }
758
+
759
+ export namespace ListUserPreferencesResponse {
760
+ export type AsObject = {
761
+ userName: string,
762
+ keyValuePairsList: Array<ondewo_nlu_common_pb.KeyValuePair.AsObject>,
763
+ errorMessage: string,
764
+ }
765
+ }
766
+
483
767
  export enum DefaultServerRole {
484
768
  SERVER_UNSPECIFIED = 0,
485
769
  SERVER_USER = 1,