@lansweeper/data-platform-outbound-grpc 0.1.84 → 0.1.86
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/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_grpc_pb.d.ts +34 -0
- package/gen-proto/outbound_grpc_pb.js +82 -2
- package/gen-proto/outbound_pb.d.ts +152 -0
- package/gen-proto/outbound_pb.js +1216 -0
- package/generated-go/outbound.pb.go +6439 -5981
- package/generated-go/outbound_grpc.pb.go +81 -3
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +67 -0
|
@@ -13,6 +13,8 @@ interface IDataCoreOutboundServiceService extends grpc.ServiceDefinition<grpc.Un
|
|
|
13
13
|
getEntity: IDataCoreOutboundServiceService_IGetEntity;
|
|
14
14
|
listEntities: IDataCoreOutboundServiceService_IListEntities;
|
|
15
15
|
catalogLookup: IDataCoreOutboundServiceService_ICatalogLookup;
|
|
16
|
+
getIpLocationConfig: IDataCoreOutboundServiceService_IGetIpLocationConfig;
|
|
17
|
+
setIpLocationConfig: IDataCoreOutboundServiceService_ISetIpLocationConfig;
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
interface IDataCoreOutboundServiceService_IGetEntity extends grpc.MethodDefinition<outbound_pb.GetEntityRequest, outbound_pb.GetEntityResponse> {
|
|
@@ -42,6 +44,24 @@ interface IDataCoreOutboundServiceService_ICatalogLookup extends grpc.MethodDefi
|
|
|
42
44
|
responseSerialize: grpc.serialize<outbound_pb.CatalogLookupResponse>;
|
|
43
45
|
responseDeserialize: grpc.deserialize<outbound_pb.CatalogLookupResponse>;
|
|
44
46
|
}
|
|
47
|
+
interface IDataCoreOutboundServiceService_IGetIpLocationConfig extends grpc.MethodDefinition<outbound_pb.GetIpLocationConfigRequest, outbound_pb.GetIpLocationConfigResponse> {
|
|
48
|
+
path: "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetIpLocationConfig";
|
|
49
|
+
requestStream: false;
|
|
50
|
+
responseStream: false;
|
|
51
|
+
requestSerialize: grpc.serialize<outbound_pb.GetIpLocationConfigRequest>;
|
|
52
|
+
requestDeserialize: grpc.deserialize<outbound_pb.GetIpLocationConfigRequest>;
|
|
53
|
+
responseSerialize: grpc.serialize<outbound_pb.GetIpLocationConfigResponse>;
|
|
54
|
+
responseDeserialize: grpc.deserialize<outbound_pb.GetIpLocationConfigResponse>;
|
|
55
|
+
}
|
|
56
|
+
interface IDataCoreOutboundServiceService_ISetIpLocationConfig extends grpc.MethodDefinition<outbound_pb.SetIpLocationConfigRequest, outbound_pb.SetIpLocationConfigResponse> {
|
|
57
|
+
path: "/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/SetIpLocationConfig";
|
|
58
|
+
requestStream: false;
|
|
59
|
+
responseStream: false;
|
|
60
|
+
requestSerialize: grpc.serialize<outbound_pb.SetIpLocationConfigRequest>;
|
|
61
|
+
requestDeserialize: grpc.deserialize<outbound_pb.SetIpLocationConfigRequest>;
|
|
62
|
+
responseSerialize: grpc.serialize<outbound_pb.SetIpLocationConfigResponse>;
|
|
63
|
+
responseDeserialize: grpc.deserialize<outbound_pb.SetIpLocationConfigResponse>;
|
|
64
|
+
}
|
|
45
65
|
|
|
46
66
|
export const DataCoreOutboundServiceService: IDataCoreOutboundServiceService;
|
|
47
67
|
|
|
@@ -49,6 +69,8 @@ export interface IDataCoreOutboundServiceServer extends grpc.UntypedServiceImple
|
|
|
49
69
|
getEntity: grpc.handleUnaryCall<outbound_pb.GetEntityRequest, outbound_pb.GetEntityResponse>;
|
|
50
70
|
listEntities: grpc.handleServerStreamingCall<outbound_pb.ListEntityRequest, outbound_pb.ListEntityResponse>;
|
|
51
71
|
catalogLookup: grpc.handleUnaryCall<outbound_pb.CatalogLookupRequest, outbound_pb.CatalogLookupResponse>;
|
|
72
|
+
getIpLocationConfig: grpc.handleUnaryCall<outbound_pb.GetIpLocationConfigRequest, outbound_pb.GetIpLocationConfigResponse>;
|
|
73
|
+
setIpLocationConfig: grpc.handleUnaryCall<outbound_pb.SetIpLocationConfigRequest, outbound_pb.SetIpLocationConfigResponse>;
|
|
52
74
|
}
|
|
53
75
|
|
|
54
76
|
export interface IDataCoreOutboundServiceClient {
|
|
@@ -60,6 +82,12 @@ export interface IDataCoreOutboundServiceClient {
|
|
|
60
82
|
catalogLookup(request: outbound_pb.CatalogLookupRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
61
83
|
catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
62
84
|
catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
85
|
+
getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
86
|
+
getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
87
|
+
getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
88
|
+
setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
89
|
+
setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
90
|
+
setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
63
91
|
}
|
|
64
92
|
|
|
65
93
|
export class DataCoreOutboundServiceClient extends grpc.Client implements IDataCoreOutboundServiceClient {
|
|
@@ -72,4 +100,10 @@ export class DataCoreOutboundServiceClient extends grpc.Client implements IDataC
|
|
|
72
100
|
public catalogLookup(request: outbound_pb.CatalogLookupRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
73
101
|
public catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
74
102
|
public catalogLookup(request: outbound_pb.CatalogLookupRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.CatalogLookupResponse) => void): grpc.ClientUnaryCall;
|
|
103
|
+
public getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
104
|
+
public getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
105
|
+
public getIpLocationConfig(request: outbound_pb.GetIpLocationConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.GetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
106
|
+
public setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
107
|
+
public setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
108
|
+
public setIpLocationConfig(request: outbound_pb.SetIpLocationConfigRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: outbound_pb.SetIpLocationConfigResponse) => void): grpc.ClientUnaryCall;
|
|
75
109
|
}
|
|
@@ -57,6 +57,28 @@ function deserialize_com_lansweeper_dp_outbound_v1_GetEntityResponse(buffer_arg)
|
|
|
57
57
|
return outbound_pb.GetEntityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
function serialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigRequest(arg) {
|
|
61
|
+
if (!(arg instanceof outbound_pb.GetIpLocationConfigRequest)) {
|
|
62
|
+
throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.GetIpLocationConfigRequest');
|
|
63
|
+
}
|
|
64
|
+
return Buffer.from(arg.serializeBinary());
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
function deserialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigRequest(buffer_arg) {
|
|
68
|
+
return outbound_pb.GetIpLocationConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function serialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigResponse(arg) {
|
|
72
|
+
if (!(arg instanceof outbound_pb.GetIpLocationConfigResponse)) {
|
|
73
|
+
throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.GetIpLocationConfigResponse');
|
|
74
|
+
}
|
|
75
|
+
return Buffer.from(arg.serializeBinary());
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
function deserialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigResponse(buffer_arg) {
|
|
79
|
+
return outbound_pb.GetIpLocationConfigResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
80
|
+
}
|
|
81
|
+
|
|
60
82
|
function serialize_com_lansweeper_dp_outbound_v1_ListEntityRequest(arg) {
|
|
61
83
|
if (!(arg instanceof outbound_pb.ListEntityRequest)) {
|
|
62
84
|
throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.ListEntityRequest');
|
|
@@ -79,6 +101,28 @@ function deserialize_com_lansweeper_dp_outbound_v1_ListEntityResponse(buffer_arg
|
|
|
79
101
|
return outbound_pb.ListEntityResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
80
102
|
}
|
|
81
103
|
|
|
104
|
+
function serialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigRequest(arg) {
|
|
105
|
+
if (!(arg instanceof outbound_pb.SetIpLocationConfigRequest)) {
|
|
106
|
+
throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.SetIpLocationConfigRequest');
|
|
107
|
+
}
|
|
108
|
+
return Buffer.from(arg.serializeBinary());
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
function deserialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigRequest(buffer_arg) {
|
|
112
|
+
return outbound_pb.SetIpLocationConfigRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function serialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigResponse(arg) {
|
|
116
|
+
if (!(arg instanceof outbound_pb.SetIpLocationConfigResponse)) {
|
|
117
|
+
throw new Error('Expected argument of type com.lansweeper.dp.outbound.v1.SetIpLocationConfigResponse');
|
|
118
|
+
}
|
|
119
|
+
return Buffer.from(arg.serializeBinary());
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
function deserialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigResponse(buffer_arg) {
|
|
123
|
+
return outbound_pb.SetIpLocationConfigResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
124
|
+
}
|
|
125
|
+
|
|
82
126
|
|
|
83
127
|
// ----- Service Part ------
|
|
84
128
|
//
|
|
@@ -87,7 +131,11 @@ function deserialize_com_lansweeper_dp_outbound_v1_ListEntityResponse(buffer_arg
|
|
|
87
131
|
// - Get Entity
|
|
88
132
|
// - Stream Entities
|
|
89
133
|
var DataCoreOutboundServiceService = exports.DataCoreOutboundServiceService = {
|
|
90
|
-
//
|
|
134
|
+
// ----------------------------------------
|
|
135
|
+
// ACCESS API
|
|
136
|
+
// ----------------------------------------
|
|
137
|
+
//
|
|
138
|
+
// Retrieve a single entity by site/inst-id/type/id
|
|
91
139
|
getEntity: {
|
|
92
140
|
path: '/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetEntity',
|
|
93
141
|
requestStream: false,
|
|
@@ -111,7 +159,11 @@ listEntities: {
|
|
|
111
159
|
responseSerialize: serialize_com_lansweeper_dp_outbound_v1_ListEntityResponse,
|
|
112
160
|
responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_ListEntityResponse,
|
|
113
161
|
},
|
|
114
|
-
//
|
|
162
|
+
// ----------------------------------------
|
|
163
|
+
// ENRICHMENT API
|
|
164
|
+
// ----------------------------------------
|
|
165
|
+
//
|
|
166
|
+
// Retrieve a single entity by site/inst-id/type/id
|
|
115
167
|
catalogLookup: {
|
|
116
168
|
path: '/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/CatalogLookup',
|
|
117
169
|
requestStream: false,
|
|
@@ -123,6 +175,34 @@ catalogLookup: {
|
|
|
123
175
|
responseSerialize: serialize_com_lansweeper_dp_outbound_v1_CatalogLookupResponse,
|
|
124
176
|
responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_CatalogLookupResponse,
|
|
125
177
|
},
|
|
178
|
+
// ----------------------------------------
|
|
179
|
+
// CONFIG API
|
|
180
|
+
// ----------------------------------------
|
|
181
|
+
//
|
|
182
|
+
// Get IP Location config (BY SITE)
|
|
183
|
+
getIpLocationConfig: {
|
|
184
|
+
path: '/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/GetIpLocationConfig',
|
|
185
|
+
requestStream: false,
|
|
186
|
+
responseStream: false,
|
|
187
|
+
requestType: outbound_pb.GetIpLocationConfigRequest,
|
|
188
|
+
responseType: outbound_pb.GetIpLocationConfigResponse,
|
|
189
|
+
requestSerialize: serialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigRequest,
|
|
190
|
+
requestDeserialize: deserialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigRequest,
|
|
191
|
+
responseSerialize: serialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigResponse,
|
|
192
|
+
responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_GetIpLocationConfigResponse,
|
|
193
|
+
},
|
|
194
|
+
// Set IP Location Config far a Site
|
|
195
|
+
setIpLocationConfig: {
|
|
196
|
+
path: '/com.lansweeper.dp.outbound.v1.DataCoreOutboundService/SetIpLocationConfig',
|
|
197
|
+
requestStream: false,
|
|
198
|
+
responseStream: false,
|
|
199
|
+
requestType: outbound_pb.SetIpLocationConfigRequest,
|
|
200
|
+
responseType: outbound_pb.SetIpLocationConfigResponse,
|
|
201
|
+
requestSerialize: serialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigRequest,
|
|
202
|
+
requestDeserialize: deserialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigRequest,
|
|
203
|
+
responseSerialize: serialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigResponse,
|
|
204
|
+
responseDeserialize: deserialize_com_lansweeper_dp_outbound_v1_SetIpLocationConfigResponse,
|
|
205
|
+
},
|
|
126
206
|
};
|
|
127
207
|
|
|
128
208
|
exports.DataCoreOutboundServiceClient = grpc.makeGenericClientConstructor(DataCoreOutboundServiceService);
|
|
@@ -221,6 +221,96 @@ export namespace CatalogLookupResponse {
|
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
+
export class GetIpLocationConfigRequest extends jspb.Message {
|
|
225
|
+
getSiteId(): string;
|
|
226
|
+
setSiteId(value: string): GetIpLocationConfigRequest;
|
|
227
|
+
|
|
228
|
+
serializeBinary(): Uint8Array;
|
|
229
|
+
toObject(includeInstance?: boolean): GetIpLocationConfigRequest.AsObject;
|
|
230
|
+
static toObject(includeInstance: boolean, msg: GetIpLocationConfigRequest): GetIpLocationConfigRequest.AsObject;
|
|
231
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
232
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
233
|
+
static serializeBinaryToWriter(message: GetIpLocationConfigRequest, writer: jspb.BinaryWriter): void;
|
|
234
|
+
static deserializeBinary(bytes: Uint8Array): GetIpLocationConfigRequest;
|
|
235
|
+
static deserializeBinaryFromReader(message: GetIpLocationConfigRequest, reader: jspb.BinaryReader): GetIpLocationConfigRequest;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export namespace GetIpLocationConfigRequest {
|
|
239
|
+
export type AsObject = {
|
|
240
|
+
siteId: string,
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export class GetIpLocationConfigResponse extends jspb.Message {
|
|
245
|
+
clearConfigList(): void;
|
|
246
|
+
getConfigList(): Array<IpLocationConfig>;
|
|
247
|
+
setConfigList(value: Array<IpLocationConfig>): GetIpLocationConfigResponse;
|
|
248
|
+
addConfig(value?: IpLocationConfig, index?: number): IpLocationConfig;
|
|
249
|
+
|
|
250
|
+
serializeBinary(): Uint8Array;
|
|
251
|
+
toObject(includeInstance?: boolean): GetIpLocationConfigResponse.AsObject;
|
|
252
|
+
static toObject(includeInstance: boolean, msg: GetIpLocationConfigResponse): GetIpLocationConfigResponse.AsObject;
|
|
253
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
254
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
255
|
+
static serializeBinaryToWriter(message: GetIpLocationConfigResponse, writer: jspb.BinaryWriter): void;
|
|
256
|
+
static deserializeBinary(bytes: Uint8Array): GetIpLocationConfigResponse;
|
|
257
|
+
static deserializeBinaryFromReader(message: GetIpLocationConfigResponse, reader: jspb.BinaryReader): GetIpLocationConfigResponse;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export namespace GetIpLocationConfigResponse {
|
|
261
|
+
export type AsObject = {
|
|
262
|
+
configList: Array<IpLocationConfig.AsObject>,
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export class SetIpLocationConfigRequest extends jspb.Message {
|
|
267
|
+
getSiteId(): string;
|
|
268
|
+
setSiteId(value: string): SetIpLocationConfigRequest;
|
|
269
|
+
clearConfigList(): void;
|
|
270
|
+
getConfigList(): Array<IpLocationConfig>;
|
|
271
|
+
setConfigList(value: Array<IpLocationConfig>): SetIpLocationConfigRequest;
|
|
272
|
+
addConfig(value?: IpLocationConfig, index?: number): IpLocationConfig;
|
|
273
|
+
|
|
274
|
+
serializeBinary(): Uint8Array;
|
|
275
|
+
toObject(includeInstance?: boolean): SetIpLocationConfigRequest.AsObject;
|
|
276
|
+
static toObject(includeInstance: boolean, msg: SetIpLocationConfigRequest): SetIpLocationConfigRequest.AsObject;
|
|
277
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
278
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
279
|
+
static serializeBinaryToWriter(message: SetIpLocationConfigRequest, writer: jspb.BinaryWriter): void;
|
|
280
|
+
static deserializeBinary(bytes: Uint8Array): SetIpLocationConfigRequest;
|
|
281
|
+
static deserializeBinaryFromReader(message: SetIpLocationConfigRequest, reader: jspb.BinaryReader): SetIpLocationConfigRequest;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export namespace SetIpLocationConfigRequest {
|
|
285
|
+
export type AsObject = {
|
|
286
|
+
siteId: string,
|
|
287
|
+
configList: Array<IpLocationConfig.AsObject>,
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export class SetIpLocationConfigResponse extends jspb.Message {
|
|
292
|
+
getOk(): boolean;
|
|
293
|
+
setOk(value: boolean): SetIpLocationConfigResponse;
|
|
294
|
+
getErrorDescription(): string;
|
|
295
|
+
setErrorDescription(value: string): SetIpLocationConfigResponse;
|
|
296
|
+
|
|
297
|
+
serializeBinary(): Uint8Array;
|
|
298
|
+
toObject(includeInstance?: boolean): SetIpLocationConfigResponse.AsObject;
|
|
299
|
+
static toObject(includeInstance: boolean, msg: SetIpLocationConfigResponse): SetIpLocationConfigResponse.AsObject;
|
|
300
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
301
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
302
|
+
static serializeBinaryToWriter(message: SetIpLocationConfigResponse, writer: jspb.BinaryWriter): void;
|
|
303
|
+
static deserializeBinary(bytes: Uint8Array): SetIpLocationConfigResponse;
|
|
304
|
+
static deserializeBinaryFromReader(message: SetIpLocationConfigResponse, reader: jspb.BinaryReader): SetIpLocationConfigResponse;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export namespace SetIpLocationConfigResponse {
|
|
308
|
+
export type AsObject = {
|
|
309
|
+
ok: boolean,
|
|
310
|
+
errorDescription: string,
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
|
|
224
314
|
export class EntityPath extends jspb.Message {
|
|
225
315
|
getSiteId(): string;
|
|
226
316
|
setSiteId(value: string): EntityPath;
|
|
@@ -9891,3 +9981,65 @@ export namespace CatalogMonitor {
|
|
|
9891
9981
|
matchScore?: number,
|
|
9892
9982
|
}
|
|
9893
9983
|
}
|
|
9984
|
+
|
|
9985
|
+
export class IpLocationConfig extends jspb.Message {
|
|
9986
|
+
getName(): string;
|
|
9987
|
+
setName(value: string): IpLocationConfig;
|
|
9988
|
+
|
|
9989
|
+
hasLocalIpCidr(): boolean;
|
|
9990
|
+
clearLocalIpCidr(): void;
|
|
9991
|
+
getLocalIpCidr(): string | undefined;
|
|
9992
|
+
setLocalIpCidr(value: string): IpLocationConfig;
|
|
9993
|
+
|
|
9994
|
+
hasLocalIpStart(): boolean;
|
|
9995
|
+
clearLocalIpStart(): void;
|
|
9996
|
+
getLocalIpStart(): string | undefined;
|
|
9997
|
+
setLocalIpStart(value: string): IpLocationConfig;
|
|
9998
|
+
|
|
9999
|
+
hasLocalIpEnd(): boolean;
|
|
10000
|
+
clearLocalIpEnd(): void;
|
|
10001
|
+
getLocalIpEnd(): string | undefined;
|
|
10002
|
+
setLocalIpEnd(value: string): IpLocationConfig;
|
|
10003
|
+
|
|
10004
|
+
hasSourceId(): boolean;
|
|
10005
|
+
clearSourceId(): void;
|
|
10006
|
+
getSourceId(): string | undefined;
|
|
10007
|
+
setSourceId(value: string): IpLocationConfig;
|
|
10008
|
+
|
|
10009
|
+
hasInternetIpCidr(): boolean;
|
|
10010
|
+
clearInternetIpCidr(): void;
|
|
10011
|
+
getInternetIpCidr(): string | undefined;
|
|
10012
|
+
setInternetIpCidr(value: string): IpLocationConfig;
|
|
10013
|
+
|
|
10014
|
+
hasInternetCountryCode(): boolean;
|
|
10015
|
+
clearInternetCountryCode(): void;
|
|
10016
|
+
getInternetCountryCode(): string | undefined;
|
|
10017
|
+
setInternetCountryCode(value: string): IpLocationConfig;
|
|
10018
|
+
|
|
10019
|
+
hasInternetCountryCity(): boolean;
|
|
10020
|
+
clearInternetCountryCity(): void;
|
|
10021
|
+
getInternetCountryCity(): string | undefined;
|
|
10022
|
+
setInternetCountryCity(value: string): IpLocationConfig;
|
|
10023
|
+
|
|
10024
|
+
serializeBinary(): Uint8Array;
|
|
10025
|
+
toObject(includeInstance?: boolean): IpLocationConfig.AsObject;
|
|
10026
|
+
static toObject(includeInstance: boolean, msg: IpLocationConfig): IpLocationConfig.AsObject;
|
|
10027
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
10028
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
10029
|
+
static serializeBinaryToWriter(message: IpLocationConfig, writer: jspb.BinaryWriter): void;
|
|
10030
|
+
static deserializeBinary(bytes: Uint8Array): IpLocationConfig;
|
|
10031
|
+
static deserializeBinaryFromReader(message: IpLocationConfig, reader: jspb.BinaryReader): IpLocationConfig;
|
|
10032
|
+
}
|
|
10033
|
+
|
|
10034
|
+
export namespace IpLocationConfig {
|
|
10035
|
+
export type AsObject = {
|
|
10036
|
+
name: string,
|
|
10037
|
+
localIpCidr?: string,
|
|
10038
|
+
localIpStart?: string,
|
|
10039
|
+
localIpEnd?: string,
|
|
10040
|
+
sourceId?: string,
|
|
10041
|
+
internetIpCidr?: string,
|
|
10042
|
+
internetCountryCode?: string,
|
|
10043
|
+
internetCountryCity?: string,
|
|
10044
|
+
}
|
|
10045
|
+
}
|