@lansweeper/multitenant-api-grpc 0.4.78 → 0.4.80
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/multitenant_grpc_pb.d.ts +17 -0
- package/gen-proto/multitenant_grpc_pb.js +33 -0
- package/gen-proto/multitenant_pb.d.ts +46 -0
- package/gen-proto/multitenant_pb.js +365 -1
- package/generated-go/multitenant.pb.go +1207 -1047
- package/generated-go/multitenant_grpc.pb.go +38 -0
- package/package.json +2 -2
- package/proto/multitenant.proto +11 -0
|
@@ -61,6 +61,7 @@ interface IMultitenantService extends grpc.ServiceDefinition<grpc.UntypedService
|
|
|
61
61
|
getSites: IMultitenantService_IGetSites;
|
|
62
62
|
createOwnerPersonalAccessToken: IMultitenantService_ICreateOwnerPersonalAccessToken;
|
|
63
63
|
getInstallationSettings: IMultitenantService_IGetInstallationSettings;
|
|
64
|
+
createFlowBuilderBotAccount: IMultitenantService_ICreateFlowBuilderBotAccount;
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
interface IMultitenantService_ICheckAccessToSiteByAccountId extends grpc.MethodDefinition<multitenant_pb.CheckAccessToSiteByAccountIdRequest, multitenant_pb.CheckAccessToSiteByAccountIdResponse> {
|
|
@@ -522,6 +523,15 @@ interface IMultitenantService_IGetInstallationSettings extends grpc.MethodDefini
|
|
|
522
523
|
responseSerialize: grpc.serialize<multitenant_pb.GetInstallationSettingsResponse>;
|
|
523
524
|
responseDeserialize: grpc.deserialize<multitenant_pb.GetInstallationSettingsResponse>;
|
|
524
525
|
}
|
|
526
|
+
interface IMultitenantService_ICreateFlowBuilderBotAccount extends grpc.MethodDefinition<multitenant_pb.CreateFlowBuilderBotAccountRequest, multitenant_pb.CreateFlowBuilderBotAccountResponse> {
|
|
527
|
+
path: "/lansweeper.multitenant.v1.Multitenant/CreateFlowBuilderBotAccount";
|
|
528
|
+
requestStream: false;
|
|
529
|
+
responseStream: false;
|
|
530
|
+
requestSerialize: grpc.serialize<multitenant_pb.CreateFlowBuilderBotAccountRequest>;
|
|
531
|
+
requestDeserialize: grpc.deserialize<multitenant_pb.CreateFlowBuilderBotAccountRequest>;
|
|
532
|
+
responseSerialize: grpc.serialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
533
|
+
responseDeserialize: grpc.deserialize<multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
534
|
+
}
|
|
525
535
|
|
|
526
536
|
export const MultitenantService: IMultitenantService;
|
|
527
537
|
|
|
@@ -577,6 +587,7 @@ export interface IMultitenantServer extends grpc.UntypedServiceImplementation {
|
|
|
577
587
|
getSites: grpc.handleUnaryCall<multitenant_pb.GetSitesRequest, multitenant_pb.GetSitesResponse>;
|
|
578
588
|
createOwnerPersonalAccessToken: grpc.handleUnaryCall<multitenant_pb.CreateOwnerPersonalAccessTokenRequest, multitenant_pb.CreateOwnerPersonalAccessTokenResponse>;
|
|
579
589
|
getInstallationSettings: grpc.handleUnaryCall<multitenant_pb.GetInstallationSettingsRequest, multitenant_pb.GetInstallationSettingsResponse>;
|
|
590
|
+
createFlowBuilderBotAccount: grpc.handleUnaryCall<multitenant_pb.CreateFlowBuilderBotAccountRequest, multitenant_pb.CreateFlowBuilderBotAccountResponse>;
|
|
580
591
|
}
|
|
581
592
|
|
|
582
593
|
export interface IMultitenantClient {
|
|
@@ -733,6 +744,9 @@ export interface IMultitenantClient {
|
|
|
733
744
|
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
734
745
|
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
735
746
|
getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
747
|
+
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
748
|
+
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
749
|
+
createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
736
750
|
}
|
|
737
751
|
|
|
738
752
|
export class MultitenantClient extends grpc.Client implements IMultitenantClient {
|
|
@@ -890,4 +904,7 @@ export class MultitenantClient extends grpc.Client implements IMultitenantClient
|
|
|
890
904
|
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
891
905
|
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
892
906
|
public getInstallationSettings(request: multitenant_pb.GetInstallationSettingsRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.GetInstallationSettingsResponse) => void): grpc.ClientUnaryCall;
|
|
907
|
+
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
908
|
+
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
909
|
+
public createFlowBuilderBotAccount(request: multitenant_pb.CreateFlowBuilderBotAccountRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: multitenant_pb.CreateFlowBuilderBotAccountResponse) => void): grpc.ClientUnaryCall;
|
|
893
910
|
}
|
|
@@ -193,6 +193,28 @@ function deserialize_lansweeper_multitenant_v1_CreateAndLinkInstallResponse(buff
|
|
|
193
193
|
return multitenant_pb.CreateAndLinkInstallResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
function serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountRequest(arg) {
|
|
197
|
+
if (!(arg instanceof multitenant_pb.CreateFlowBuilderBotAccountRequest)) {
|
|
198
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest');
|
|
199
|
+
}
|
|
200
|
+
return Buffer.from(arg.serializeBinary());
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountRequest(buffer_arg) {
|
|
204
|
+
return multitenant_pb.CreateFlowBuilderBotAccountRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse(arg) {
|
|
208
|
+
if (!(arg instanceof multitenant_pb.CreateFlowBuilderBotAccountResponse)) {
|
|
209
|
+
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse');
|
|
210
|
+
}
|
|
211
|
+
return Buffer.from(arg.serializeBinary());
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse(buffer_arg) {
|
|
215
|
+
return multitenant_pb.CreateFlowBuilderBotAccountResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
216
|
+
}
|
|
217
|
+
|
|
196
218
|
function serialize_lansweeper_multitenant_v1_CreateInstallRequest(arg) {
|
|
197
219
|
if (!(arg instanceof multitenant_pb.CreateInstallRequest)) {
|
|
198
220
|
throw new Error('Expected argument of type lansweeper.multitenant.v1.CreateInstallRequest');
|
|
@@ -1680,6 +1702,17 @@ var MultitenantService = exports.MultitenantService = {
|
|
|
1680
1702
|
responseSerialize: serialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse,
|
|
1681
1703
|
responseDeserialize: deserialize_lansweeper_multitenant_v1_GetInstallationSettingsResponse,
|
|
1682
1704
|
},
|
|
1705
|
+
createFlowBuilderBotAccount: {
|
|
1706
|
+
path: '/lansweeper.multitenant.v1.Multitenant/CreateFlowBuilderBotAccount',
|
|
1707
|
+
requestStream: false,
|
|
1708
|
+
responseStream: false,
|
|
1709
|
+
requestType: multitenant_pb.CreateFlowBuilderBotAccountRequest,
|
|
1710
|
+
responseType: multitenant_pb.CreateFlowBuilderBotAccountResponse,
|
|
1711
|
+
requestSerialize: serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountRequest,
|
|
1712
|
+
requestDeserialize: deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountRequest,
|
|
1713
|
+
responseSerialize: serialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
|
|
1714
|
+
responseDeserialize: deserialize_lansweeper_multitenant_v1_CreateFlowBuilderBotAccountResponse,
|
|
1715
|
+
},
|
|
1683
1716
|
};
|
|
1684
1717
|
|
|
1685
1718
|
exports.MultitenantClient = grpc.makeGenericClientConstructor(MultitenantService);
|
|
@@ -1632,6 +1632,8 @@ export namespace GetUserPermissionsResponse {
|
|
|
1632
1632
|
export class ValidateApplicationPersonalAccessTokenRequest extends jspb.Message {
|
|
1633
1633
|
getPersonalAccessToken(): string;
|
|
1634
1634
|
setPersonalAccessToken(value: string): ValidateApplicationPersonalAccessTokenRequest;
|
|
1635
|
+
getTraceId(): string;
|
|
1636
|
+
setTraceId(value: string): ValidateApplicationPersonalAccessTokenRequest;
|
|
1635
1637
|
|
|
1636
1638
|
serializeBinary(): Uint8Array;
|
|
1637
1639
|
toObject(includeInstance?: boolean): ValidateApplicationPersonalAccessTokenRequest.AsObject;
|
|
@@ -1646,6 +1648,7 @@ export class ValidateApplicationPersonalAccessTokenRequest extends jspb.Message
|
|
|
1646
1648
|
export namespace ValidateApplicationPersonalAccessTokenRequest {
|
|
1647
1649
|
export type AsObject = {
|
|
1648
1650
|
personalAccessToken: string,
|
|
1651
|
+
traceId: string,
|
|
1649
1652
|
}
|
|
1650
1653
|
}
|
|
1651
1654
|
|
|
@@ -3301,6 +3304,49 @@ export namespace GetInstallationSettingsResponse {
|
|
|
3301
3304
|
}
|
|
3302
3305
|
}
|
|
3303
3306
|
|
|
3307
|
+
export class CreateFlowBuilderBotAccountRequest extends jspb.Message {
|
|
3308
|
+
getTraceId(): string;
|
|
3309
|
+
setTraceId(value: string): CreateFlowBuilderBotAccountRequest;
|
|
3310
|
+
getSiteId(): string;
|
|
3311
|
+
setSiteId(value: string): CreateFlowBuilderBotAccountRequest;
|
|
3312
|
+
|
|
3313
|
+
serializeBinary(): Uint8Array;
|
|
3314
|
+
toObject(includeInstance?: boolean): CreateFlowBuilderBotAccountRequest.AsObject;
|
|
3315
|
+
static toObject(includeInstance: boolean, msg: CreateFlowBuilderBotAccountRequest): CreateFlowBuilderBotAccountRequest.AsObject;
|
|
3316
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3317
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3318
|
+
static serializeBinaryToWriter(message: CreateFlowBuilderBotAccountRequest, writer: jspb.BinaryWriter): void;
|
|
3319
|
+
static deserializeBinary(bytes: Uint8Array): CreateFlowBuilderBotAccountRequest;
|
|
3320
|
+
static deserializeBinaryFromReader(message: CreateFlowBuilderBotAccountRequest, reader: jspb.BinaryReader): CreateFlowBuilderBotAccountRequest;
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
export namespace CreateFlowBuilderBotAccountRequest {
|
|
3324
|
+
export type AsObject = {
|
|
3325
|
+
traceId: string,
|
|
3326
|
+
siteId: string,
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
export class CreateFlowBuilderBotAccountResponse extends jspb.Message {
|
|
3331
|
+
getAccountId(): string;
|
|
3332
|
+
setAccountId(value: string): CreateFlowBuilderBotAccountResponse;
|
|
3333
|
+
|
|
3334
|
+
serializeBinary(): Uint8Array;
|
|
3335
|
+
toObject(includeInstance?: boolean): CreateFlowBuilderBotAccountResponse.AsObject;
|
|
3336
|
+
static toObject(includeInstance: boolean, msg: CreateFlowBuilderBotAccountResponse): CreateFlowBuilderBotAccountResponse.AsObject;
|
|
3337
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3338
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3339
|
+
static serializeBinaryToWriter(message: CreateFlowBuilderBotAccountResponse, writer: jspb.BinaryWriter): void;
|
|
3340
|
+
static deserializeBinary(bytes: Uint8Array): CreateFlowBuilderBotAccountResponse;
|
|
3341
|
+
static deserializeBinaryFromReader(message: CreateFlowBuilderBotAccountResponse, reader: jspb.BinaryReader): CreateFlowBuilderBotAccountResponse;
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
export namespace CreateFlowBuilderBotAccountResponse {
|
|
3345
|
+
export type AsObject = {
|
|
3346
|
+
accountId: string,
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3304
3350
|
export enum SiteMode {
|
|
3305
3351
|
UNESPECIFIED = 0,
|
|
3306
3352
|
CLOUD_NATIVE = 1,
|
|
@@ -42,6 +42,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnab
|
|
|
42
42
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckStandardizedSoftwareEnabledResponse', null, global);
|
|
43
43
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateAndLinkInstallRequest', null, global);
|
|
44
44
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateAndLinkInstallResponse', null, global);
|
|
45
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest', null, global);
|
|
46
|
+
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse', null, global);
|
|
45
47
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
|
|
46
48
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
|
|
47
49
|
goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateLinkingCodeRequest', null, global);
|
|
@@ -2869,6 +2871,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2869
2871
|
*/
|
|
2870
2872
|
proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse';
|
|
2871
2873
|
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Generated by JsPbCodeGenerator.
|
|
2876
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2877
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2878
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2879
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2880
|
+
* valid.
|
|
2881
|
+
* @extends {jspb.Message}
|
|
2882
|
+
* @constructor
|
|
2883
|
+
*/
|
|
2884
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest = function(opt_data) {
|
|
2885
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2886
|
+
};
|
|
2887
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest, jspb.Message);
|
|
2888
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2889
|
+
/**
|
|
2890
|
+
* @public
|
|
2891
|
+
* @override
|
|
2892
|
+
*/
|
|
2893
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.displayName = 'proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest';
|
|
2894
|
+
}
|
|
2895
|
+
/**
|
|
2896
|
+
* Generated by JsPbCodeGenerator.
|
|
2897
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2898
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
2899
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
2900
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
2901
|
+
* valid.
|
|
2902
|
+
* @extends {jspb.Message}
|
|
2903
|
+
* @constructor
|
|
2904
|
+
*/
|
|
2905
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse = function(opt_data) {
|
|
2906
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2907
|
+
};
|
|
2908
|
+
goog.inherits(proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse, jspb.Message);
|
|
2909
|
+
if (goog.DEBUG && !COMPILED) {
|
|
2910
|
+
/**
|
|
2911
|
+
* @public
|
|
2912
|
+
* @override
|
|
2913
|
+
*/
|
|
2914
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.displayName = 'proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse';
|
|
2915
|
+
}
|
|
2872
2916
|
|
|
2873
2917
|
|
|
2874
2918
|
|
|
@@ -14658,7 +14702,8 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.pr
|
|
|
14658
14702
|
*/
|
|
14659
14703
|
proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.toObject = function(includeInstance, msg) {
|
|
14660
14704
|
var f, obj = {
|
|
14661
|
-
personalAccessToken: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
14705
|
+
personalAccessToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14706
|
+
traceId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
14662
14707
|
};
|
|
14663
14708
|
|
|
14664
14709
|
if (includeInstance) {
|
|
@@ -14699,6 +14744,10 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.de
|
|
|
14699
14744
|
var value = /** @type {string} */ (reader.readString());
|
|
14700
14745
|
msg.setPersonalAccessToken(value);
|
|
14701
14746
|
break;
|
|
14747
|
+
case 2:
|
|
14748
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14749
|
+
msg.setTraceId(value);
|
|
14750
|
+
break;
|
|
14702
14751
|
default:
|
|
14703
14752
|
reader.skipField();
|
|
14704
14753
|
break;
|
|
@@ -14735,6 +14784,13 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.se
|
|
|
14735
14784
|
f
|
|
14736
14785
|
);
|
|
14737
14786
|
}
|
|
14787
|
+
f = message.getTraceId();
|
|
14788
|
+
if (f.length > 0) {
|
|
14789
|
+
writer.writeString(
|
|
14790
|
+
2,
|
|
14791
|
+
f
|
|
14792
|
+
);
|
|
14793
|
+
}
|
|
14738
14794
|
};
|
|
14739
14795
|
|
|
14740
14796
|
|
|
@@ -14756,6 +14812,24 @@ proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.pr
|
|
|
14756
14812
|
};
|
|
14757
14813
|
|
|
14758
14814
|
|
|
14815
|
+
/**
|
|
14816
|
+
* optional string trace_id = 2;
|
|
14817
|
+
* @return {string}
|
|
14818
|
+
*/
|
|
14819
|
+
proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.prototype.getTraceId = function() {
|
|
14820
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14821
|
+
};
|
|
14822
|
+
|
|
14823
|
+
|
|
14824
|
+
/**
|
|
14825
|
+
* @param {string} value
|
|
14826
|
+
* @return {!proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest} returns this
|
|
14827
|
+
*/
|
|
14828
|
+
proto.lansweeper.multitenant.v1.ValidateApplicationPersonalAccessTokenRequest.prototype.setTraceId = function(value) {
|
|
14829
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
14830
|
+
};
|
|
14831
|
+
|
|
14832
|
+
|
|
14759
14833
|
|
|
14760
14834
|
|
|
14761
14835
|
|
|
@@ -26386,6 +26460,296 @@ proto.lansweeper.multitenant.v1.GetInstallationSettingsResponse.prototype.setDig
|
|
|
26386
26460
|
};
|
|
26387
26461
|
|
|
26388
26462
|
|
|
26463
|
+
|
|
26464
|
+
|
|
26465
|
+
|
|
26466
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26467
|
+
/**
|
|
26468
|
+
* Creates an object representation of this proto.
|
|
26469
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26470
|
+
* Optional fields that are not set will be set to undefined.
|
|
26471
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26472
|
+
* For the list of reserved names please see:
|
|
26473
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26474
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26475
|
+
* JSPB instance for transitional soy proto support:
|
|
26476
|
+
* http://goto/soy-param-migration
|
|
26477
|
+
* @return {!Object}
|
|
26478
|
+
*/
|
|
26479
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
26480
|
+
return proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.toObject(opt_includeInstance, this);
|
|
26481
|
+
};
|
|
26482
|
+
|
|
26483
|
+
|
|
26484
|
+
/**
|
|
26485
|
+
* Static version of the {@see toObject} method.
|
|
26486
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26487
|
+
* the JSPB instance for transitional soy proto support:
|
|
26488
|
+
* http://goto/soy-param-migration
|
|
26489
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest} msg The msg instance to transform.
|
|
26490
|
+
* @return {!Object}
|
|
26491
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26492
|
+
*/
|
|
26493
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.toObject = function(includeInstance, msg) {
|
|
26494
|
+
var f, obj = {
|
|
26495
|
+
traceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
26496
|
+
siteId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
26497
|
+
};
|
|
26498
|
+
|
|
26499
|
+
if (includeInstance) {
|
|
26500
|
+
obj.$jspbMessageInstance = msg;
|
|
26501
|
+
}
|
|
26502
|
+
return obj;
|
|
26503
|
+
};
|
|
26504
|
+
}
|
|
26505
|
+
|
|
26506
|
+
|
|
26507
|
+
/**
|
|
26508
|
+
* Deserializes binary data (in protobuf wire format).
|
|
26509
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26510
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest}
|
|
26511
|
+
*/
|
|
26512
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.deserializeBinary = function(bytes) {
|
|
26513
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
26514
|
+
var msg = new proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest;
|
|
26515
|
+
return proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.deserializeBinaryFromReader(msg, reader);
|
|
26516
|
+
};
|
|
26517
|
+
|
|
26518
|
+
|
|
26519
|
+
/**
|
|
26520
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
26521
|
+
* given reader into the given message object.
|
|
26522
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest} msg The message object to deserialize into.
|
|
26523
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26524
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest}
|
|
26525
|
+
*/
|
|
26526
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
26527
|
+
while (reader.nextField()) {
|
|
26528
|
+
if (reader.isEndGroup()) {
|
|
26529
|
+
break;
|
|
26530
|
+
}
|
|
26531
|
+
var field = reader.getFieldNumber();
|
|
26532
|
+
switch (field) {
|
|
26533
|
+
case 1:
|
|
26534
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26535
|
+
msg.setTraceId(value);
|
|
26536
|
+
break;
|
|
26537
|
+
case 2:
|
|
26538
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26539
|
+
msg.setSiteId(value);
|
|
26540
|
+
break;
|
|
26541
|
+
default:
|
|
26542
|
+
reader.skipField();
|
|
26543
|
+
break;
|
|
26544
|
+
}
|
|
26545
|
+
}
|
|
26546
|
+
return msg;
|
|
26547
|
+
};
|
|
26548
|
+
|
|
26549
|
+
|
|
26550
|
+
/**
|
|
26551
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
26552
|
+
* @return {!Uint8Array}
|
|
26553
|
+
*/
|
|
26554
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.serializeBinary = function() {
|
|
26555
|
+
var writer = new jspb.BinaryWriter();
|
|
26556
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.serializeBinaryToWriter(this, writer);
|
|
26557
|
+
return writer.getResultBuffer();
|
|
26558
|
+
};
|
|
26559
|
+
|
|
26560
|
+
|
|
26561
|
+
/**
|
|
26562
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
26563
|
+
* format), writing to the given BinaryWriter.
|
|
26564
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest} message
|
|
26565
|
+
* @param {!jspb.BinaryWriter} writer
|
|
26566
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26567
|
+
*/
|
|
26568
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
26569
|
+
var f = undefined;
|
|
26570
|
+
f = message.getTraceId();
|
|
26571
|
+
if (f.length > 0) {
|
|
26572
|
+
writer.writeString(
|
|
26573
|
+
1,
|
|
26574
|
+
f
|
|
26575
|
+
);
|
|
26576
|
+
}
|
|
26577
|
+
f = message.getSiteId();
|
|
26578
|
+
if (f.length > 0) {
|
|
26579
|
+
writer.writeString(
|
|
26580
|
+
2,
|
|
26581
|
+
f
|
|
26582
|
+
);
|
|
26583
|
+
}
|
|
26584
|
+
};
|
|
26585
|
+
|
|
26586
|
+
|
|
26587
|
+
/**
|
|
26588
|
+
* optional string trace_id = 1;
|
|
26589
|
+
* @return {string}
|
|
26590
|
+
*/
|
|
26591
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.getTraceId = function() {
|
|
26592
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
26593
|
+
};
|
|
26594
|
+
|
|
26595
|
+
|
|
26596
|
+
/**
|
|
26597
|
+
* @param {string} value
|
|
26598
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest} returns this
|
|
26599
|
+
*/
|
|
26600
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.setTraceId = function(value) {
|
|
26601
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
26602
|
+
};
|
|
26603
|
+
|
|
26604
|
+
|
|
26605
|
+
/**
|
|
26606
|
+
* optional string site_id = 2;
|
|
26607
|
+
* @return {string}
|
|
26608
|
+
*/
|
|
26609
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.getSiteId = function() {
|
|
26610
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
26611
|
+
};
|
|
26612
|
+
|
|
26613
|
+
|
|
26614
|
+
/**
|
|
26615
|
+
* @param {string} value
|
|
26616
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest} returns this
|
|
26617
|
+
*/
|
|
26618
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountRequest.prototype.setSiteId = function(value) {
|
|
26619
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
26620
|
+
};
|
|
26621
|
+
|
|
26622
|
+
|
|
26623
|
+
|
|
26624
|
+
|
|
26625
|
+
|
|
26626
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
26627
|
+
/**
|
|
26628
|
+
* Creates an object representation of this proto.
|
|
26629
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
26630
|
+
* Optional fields that are not set will be set to undefined.
|
|
26631
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
26632
|
+
* For the list of reserved names please see:
|
|
26633
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
26634
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
26635
|
+
* JSPB instance for transitional soy proto support:
|
|
26636
|
+
* http://goto/soy-param-migration
|
|
26637
|
+
* @return {!Object}
|
|
26638
|
+
*/
|
|
26639
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.toObject = function(opt_includeInstance) {
|
|
26640
|
+
return proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.toObject(opt_includeInstance, this);
|
|
26641
|
+
};
|
|
26642
|
+
|
|
26643
|
+
|
|
26644
|
+
/**
|
|
26645
|
+
* Static version of the {@see toObject} method.
|
|
26646
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
26647
|
+
* the JSPB instance for transitional soy proto support:
|
|
26648
|
+
* http://goto/soy-param-migration
|
|
26649
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse} msg The msg instance to transform.
|
|
26650
|
+
* @return {!Object}
|
|
26651
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26652
|
+
*/
|
|
26653
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.toObject = function(includeInstance, msg) {
|
|
26654
|
+
var f, obj = {
|
|
26655
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
26656
|
+
};
|
|
26657
|
+
|
|
26658
|
+
if (includeInstance) {
|
|
26659
|
+
obj.$jspbMessageInstance = msg;
|
|
26660
|
+
}
|
|
26661
|
+
return obj;
|
|
26662
|
+
};
|
|
26663
|
+
}
|
|
26664
|
+
|
|
26665
|
+
|
|
26666
|
+
/**
|
|
26667
|
+
* Deserializes binary data (in protobuf wire format).
|
|
26668
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
26669
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse}
|
|
26670
|
+
*/
|
|
26671
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.deserializeBinary = function(bytes) {
|
|
26672
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
26673
|
+
var msg = new proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse;
|
|
26674
|
+
return proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.deserializeBinaryFromReader(msg, reader);
|
|
26675
|
+
};
|
|
26676
|
+
|
|
26677
|
+
|
|
26678
|
+
/**
|
|
26679
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
26680
|
+
* given reader into the given message object.
|
|
26681
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse} msg The message object to deserialize into.
|
|
26682
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
26683
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse}
|
|
26684
|
+
*/
|
|
26685
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
26686
|
+
while (reader.nextField()) {
|
|
26687
|
+
if (reader.isEndGroup()) {
|
|
26688
|
+
break;
|
|
26689
|
+
}
|
|
26690
|
+
var field = reader.getFieldNumber();
|
|
26691
|
+
switch (field) {
|
|
26692
|
+
case 1:
|
|
26693
|
+
var value = /** @type {string} */ (reader.readString());
|
|
26694
|
+
msg.setAccountId(value);
|
|
26695
|
+
break;
|
|
26696
|
+
default:
|
|
26697
|
+
reader.skipField();
|
|
26698
|
+
break;
|
|
26699
|
+
}
|
|
26700
|
+
}
|
|
26701
|
+
return msg;
|
|
26702
|
+
};
|
|
26703
|
+
|
|
26704
|
+
|
|
26705
|
+
/**
|
|
26706
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
26707
|
+
* @return {!Uint8Array}
|
|
26708
|
+
*/
|
|
26709
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.serializeBinary = function() {
|
|
26710
|
+
var writer = new jspb.BinaryWriter();
|
|
26711
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.serializeBinaryToWriter(this, writer);
|
|
26712
|
+
return writer.getResultBuffer();
|
|
26713
|
+
};
|
|
26714
|
+
|
|
26715
|
+
|
|
26716
|
+
/**
|
|
26717
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
26718
|
+
* format), writing to the given BinaryWriter.
|
|
26719
|
+
* @param {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse} message
|
|
26720
|
+
* @param {!jspb.BinaryWriter} writer
|
|
26721
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
26722
|
+
*/
|
|
26723
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.serializeBinaryToWriter = function(message, writer) {
|
|
26724
|
+
var f = undefined;
|
|
26725
|
+
f = message.getAccountId();
|
|
26726
|
+
if (f.length > 0) {
|
|
26727
|
+
writer.writeString(
|
|
26728
|
+
1,
|
|
26729
|
+
f
|
|
26730
|
+
);
|
|
26731
|
+
}
|
|
26732
|
+
};
|
|
26733
|
+
|
|
26734
|
+
|
|
26735
|
+
/**
|
|
26736
|
+
* optional string account_id = 1;
|
|
26737
|
+
* @return {string}
|
|
26738
|
+
*/
|
|
26739
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.getAccountId = function() {
|
|
26740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
26741
|
+
};
|
|
26742
|
+
|
|
26743
|
+
|
|
26744
|
+
/**
|
|
26745
|
+
* @param {string} value
|
|
26746
|
+
* @return {!proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse} returns this
|
|
26747
|
+
*/
|
|
26748
|
+
proto.lansweeper.multitenant.v1.CreateFlowBuilderBotAccountResponse.prototype.setAccountId = function(value) {
|
|
26749
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
26750
|
+
};
|
|
26751
|
+
|
|
26752
|
+
|
|
26389
26753
|
/**
|
|
26390
26754
|
* @enum {number}
|
|
26391
26755
|
*/
|