@lansweeper/discovery-hub-proto 2.16.0 → 2.18.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.
@@ -52,14 +52,134 @@ export namespace CredentialResponse {
52
52
  }
53
53
  }
54
54
 
55
+ export class ShareCredentialResponse extends jspb.Message {
56
+ clearCredentialsToShareList(): void;
57
+ getCredentialsToShareList(): Array<ShareCredentialResponseObject>;
58
+ setCredentialsToShareList(value: Array<ShareCredentialResponseObject>): ShareCredentialResponse;
59
+ addCredentialsToShare(value?: ShareCredentialResponseObject, index?: number): ShareCredentialResponseObject;
60
+
61
+ serializeBinary(): Uint8Array;
62
+ toObject(includeInstance?: boolean): ShareCredentialResponse.AsObject;
63
+ static toObject(includeInstance: boolean, msg: ShareCredentialResponse): ShareCredentialResponse.AsObject;
64
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
65
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
66
+ static serializeBinaryToWriter(message: ShareCredentialResponse, writer: jspb.BinaryWriter): void;
67
+ static deserializeBinary(bytes: Uint8Array): ShareCredentialResponse;
68
+ static deserializeBinaryFromReader(message: ShareCredentialResponse, reader: jspb.BinaryReader): ShareCredentialResponse;
69
+ }
70
+
71
+ export namespace ShareCredentialResponse {
72
+ export type AsObject = {
73
+ credentialsToShareList: Array<ShareCredentialResponseObject.AsObject>,
74
+ }
75
+ }
76
+
77
+ export class ShareCredentialResponseObject extends jspb.Message {
78
+ clearCredentialTypesList(): void;
79
+ getCredentialTypesList(): Array<CredentialType>;
80
+ setCredentialTypesList(value: Array<CredentialType>): ShareCredentialResponseObject;
81
+ addCredentialTypes(value: CredentialType, index?: number): CredentialType;
82
+ getDisplayName(): string;
83
+ setDisplayName(value: string): ShareCredentialResponseObject;
84
+ getId(): string;
85
+ setId(value: string): ShareCredentialResponseObject;
86
+
87
+ hasLastModifiedTimestamp(): boolean;
88
+ clearLastModifiedTimestamp(): void;
89
+ getLastModifiedTimestamp(): google_protobuf_timestamp_pb.Timestamp | undefined;
90
+ setLastModifiedTimestamp(value?: google_protobuf_timestamp_pb.Timestamp): ShareCredentialResponseObject;
91
+
92
+ hasCredentialMetadata(): boolean;
93
+ clearCredentialMetadata(): void;
94
+ getCredentialMetadata(): Metadata | undefined;
95
+ setCredentialMetadata(value?: Metadata): ShareCredentialResponseObject;
96
+ getOperation(): Operation;
97
+ setOperation(value: Operation): ShareCredentialResponseObject;
98
+ getMessage(): string;
99
+ setMessage(value: string): ShareCredentialResponseObject;
100
+ getKey(): string;
101
+ setKey(value: string): ShareCredentialResponseObject;
102
+ getNonce(): string;
103
+ setNonce(value: string): ShareCredentialResponseObject;
104
+ getTag(): string;
105
+ setTag(value: string): ShareCredentialResponseObject;
106
+ getVersion(): string;
107
+ setVersion(value: string): ShareCredentialResponseObject;
108
+ getFormat(): string;
109
+ setFormat(value: string): ShareCredentialResponseObject;
110
+
111
+ serializeBinary(): Uint8Array;
112
+ toObject(includeInstance?: boolean): ShareCredentialResponseObject.AsObject;
113
+ static toObject(includeInstance: boolean, msg: ShareCredentialResponseObject): ShareCredentialResponseObject.AsObject;
114
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
115
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
116
+ static serializeBinaryToWriter(message: ShareCredentialResponseObject, writer: jspb.BinaryWriter): void;
117
+ static deserializeBinary(bytes: Uint8Array): ShareCredentialResponseObject;
118
+ static deserializeBinaryFromReader(message: ShareCredentialResponseObject, reader: jspb.BinaryReader): ShareCredentialResponseObject;
119
+ }
120
+
121
+ export namespace ShareCredentialResponseObject {
122
+ export type AsObject = {
123
+ credentialTypesList: Array<CredentialType>,
124
+ displayName: string,
125
+ id: string,
126
+ lastModifiedTimestamp?: google_protobuf_timestamp_pb.Timestamp.AsObject,
127
+ credentialMetadata?: Metadata.AsObject,
128
+ operation: Operation,
129
+ message: string,
130
+ key: string,
131
+ nonce: string,
132
+ tag: string,
133
+ version: string,
134
+ format: string,
135
+ }
136
+ }
137
+
138
+ export class Metadata extends jspb.Message {
139
+ getClientKey(): string;
140
+ setClientKey(value: string): Metadata;
141
+ getInstallKey(): string;
142
+ setInstallKey(value: string): Metadata;
143
+
144
+ serializeBinary(): Uint8Array;
145
+ toObject(includeInstance?: boolean): Metadata.AsObject;
146
+ static toObject(includeInstance: boolean, msg: Metadata): Metadata.AsObject;
147
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
148
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
149
+ static serializeBinaryToWriter(message: Metadata, writer: jspb.BinaryWriter): void;
150
+ static deserializeBinary(bytes: Uint8Array): Metadata;
151
+ static deserializeBinaryFromReader(message: Metadata, reader: jspb.BinaryReader): Metadata;
152
+ }
153
+
154
+ export namespace Metadata {
155
+ export type AsObject = {
156
+ clientKey: string,
157
+ installKey: string,
158
+ }
159
+ }
160
+
55
161
  export enum Operation {
56
162
  NONE = 0,
57
163
  INSERT = 1,
58
164
  UPDATE = 2,
59
165
  DELETE = 3,
166
+ UPSERT = 4,
167
+ SHARE = 5,
60
168
  }
61
169
 
62
170
  export enum Reason {
63
171
  UNKNOWN = 0,
64
172
  DUPLICATE_NAME = 1,
65
173
  }
174
+
175
+ export enum CredentialType {
176
+ UNKNOWN_CREDENTIAL_TYPE = 0,
177
+ WINDOWS = 1,
178
+ SNMP_V1 = 2,
179
+ SNMP_V2 = 3,
180
+ SNMP_V3 = 4,
181
+ SSH = 5,
182
+ SSH_CERTIFICATE = 6,
183
+ SCCM = 7,
184
+ AD = 8,
185
+ }