@lansweeper/multitenant-api-grpc 0.4.81 → 0.4.83
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/.ignorecompat +0 -0
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/multitenant_grpc_pb.d.ts +14 -14
- package/gen-proto/multitenant_grpc_pb.js +30 -30
- package/gen-proto/multitenant_pb.d.ts +26 -25
- package/gen-proto/multitenant_pb.js +96 -108
- package/generated-go/multitenant.pb.go +645 -645
- package/generated-go/multitenant_grpc.pb.go +15 -15
- package/package.json +2 -2
- package/proto/multitenant.proto +8 -6
|
@@ -72,7 +72,7 @@ const (
|
|
|
72
72
|
Multitenant_CreateOwnerPersonalAccessToken_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateOwnerPersonalAccessToken"
|
|
73
73
|
Multitenant_GetInstallationSettings_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallationSettings"
|
|
74
74
|
Multitenant_CreateFlowBuilderBotAccount_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateFlowBuilderBotAccount"
|
|
75
|
-
|
|
75
|
+
Multitenant_GetManualInstallation_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetManualInstallation"
|
|
76
76
|
)
|
|
77
77
|
|
|
78
78
|
// MultitenantClient is the client API for Multitenant service.
|
|
@@ -132,7 +132,7 @@ type MultitenantClient interface {
|
|
|
132
132
|
CreateOwnerPersonalAccessToken(ctx context.Context, in *CreateOwnerPersonalAccessTokenRequest, opts ...grpc.CallOption) (*CreateOwnerPersonalAccessTokenResponse, error)
|
|
133
133
|
GetInstallationSettings(ctx context.Context, in *GetInstallationSettingsRequest, opts ...grpc.CallOption) (*GetInstallationSettingsResponse, error)
|
|
134
134
|
CreateFlowBuilderBotAccount(ctx context.Context, in *CreateFlowBuilderBotAccountRequest, opts ...grpc.CallOption) (*CreateFlowBuilderBotAccountResponse, error)
|
|
135
|
-
|
|
135
|
+
GetManualInstallation(ctx context.Context, in *GetManualInstallationRequest, opts ...grpc.CallOption) (*GetManualInstallationResponse, error)
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
type multitenantClient struct {
|
|
@@ -664,10 +664,10 @@ func (c *multitenantClient) CreateFlowBuilderBotAccount(ctx context.Context, in
|
|
|
664
664
|
return out, nil
|
|
665
665
|
}
|
|
666
666
|
|
|
667
|
-
func (c *multitenantClient)
|
|
667
|
+
func (c *multitenantClient) GetManualInstallation(ctx context.Context, in *GetManualInstallationRequest, opts ...grpc.CallOption) (*GetManualInstallationResponse, error) {
|
|
668
668
|
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
|
|
669
|
-
out := new(
|
|
670
|
-
err := c.cc.Invoke(ctx,
|
|
669
|
+
out := new(GetManualInstallationResponse)
|
|
670
|
+
err := c.cc.Invoke(ctx, Multitenant_GetManualInstallation_FullMethodName, in, out, cOpts...)
|
|
671
671
|
if err != nil {
|
|
672
672
|
return nil, err
|
|
673
673
|
}
|
|
@@ -731,7 +731,7 @@ type MultitenantServer interface {
|
|
|
731
731
|
CreateOwnerPersonalAccessToken(context.Context, *CreateOwnerPersonalAccessTokenRequest) (*CreateOwnerPersonalAccessTokenResponse, error)
|
|
732
732
|
GetInstallationSettings(context.Context, *GetInstallationSettingsRequest) (*GetInstallationSettingsResponse, error)
|
|
733
733
|
CreateFlowBuilderBotAccount(context.Context, *CreateFlowBuilderBotAccountRequest) (*CreateFlowBuilderBotAccountResponse, error)
|
|
734
|
-
|
|
734
|
+
GetManualInstallation(context.Context, *GetManualInstallationRequest) (*GetManualInstallationResponse, error)
|
|
735
735
|
mustEmbedUnimplementedMultitenantServer()
|
|
736
736
|
}
|
|
737
737
|
|
|
@@ -895,8 +895,8 @@ func (UnimplementedMultitenantServer) GetInstallationSettings(context.Context, *
|
|
|
895
895
|
func (UnimplementedMultitenantServer) CreateFlowBuilderBotAccount(context.Context, *CreateFlowBuilderBotAccountRequest) (*CreateFlowBuilderBotAccountResponse, error) {
|
|
896
896
|
return nil, status.Errorf(codes.Unimplemented, "method CreateFlowBuilderBotAccount not implemented")
|
|
897
897
|
}
|
|
898
|
-
func (UnimplementedMultitenantServer)
|
|
899
|
-
return nil, status.Errorf(codes.Unimplemented, "method
|
|
898
|
+
func (UnimplementedMultitenantServer) GetManualInstallation(context.Context, *GetManualInstallationRequest) (*GetManualInstallationResponse, error) {
|
|
899
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetManualInstallation not implemented")
|
|
900
900
|
}
|
|
901
901
|
func (UnimplementedMultitenantServer) mustEmbedUnimplementedMultitenantServer() {}
|
|
902
902
|
|
|
@@ -1847,20 +1847,20 @@ func _Multitenant_CreateFlowBuilderBotAccount_Handler(srv interface{}, ctx conte
|
|
|
1847
1847
|
return interceptor(ctx, in, info, handler)
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
|
-
func
|
|
1851
|
-
in := new(
|
|
1850
|
+
func _Multitenant_GetManualInstallation_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
1851
|
+
in := new(GetManualInstallationRequest)
|
|
1852
1852
|
if err := dec(in); err != nil {
|
|
1853
1853
|
return nil, err
|
|
1854
1854
|
}
|
|
1855
1855
|
if interceptor == nil {
|
|
1856
|
-
return srv.(MultitenantServer).
|
|
1856
|
+
return srv.(MultitenantServer).GetManualInstallation(ctx, in)
|
|
1857
1857
|
}
|
|
1858
1858
|
info := &grpc.UnaryServerInfo{
|
|
1859
1859
|
Server: srv,
|
|
1860
|
-
FullMethod:
|
|
1860
|
+
FullMethod: Multitenant_GetManualInstallation_FullMethodName,
|
|
1861
1861
|
}
|
|
1862
1862
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1863
|
-
return srv.(MultitenantServer).
|
|
1863
|
+
return srv.(MultitenantServer).GetManualInstallation(ctx, req.(*GetManualInstallationRequest))
|
|
1864
1864
|
}
|
|
1865
1865
|
return interceptor(ctx, in, info, handler)
|
|
1866
1866
|
}
|
|
@@ -2081,8 +2081,8 @@ var Multitenant_ServiceDesc = grpc.ServiceDesc{
|
|
|
2081
2081
|
Handler: _Multitenant_CreateFlowBuilderBotAccount_Handler,
|
|
2082
2082
|
},
|
|
2083
2083
|
{
|
|
2084
|
-
MethodName: "
|
|
2085
|
-
Handler:
|
|
2084
|
+
MethodName: "GetManualInstallation",
|
|
2085
|
+
Handler: _Multitenant_GetManualInstallation_Handler,
|
|
2086
2086
|
},
|
|
2087
2087
|
},
|
|
2088
2088
|
Streams: []grpc.StreamDesc{},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/multitenant-api-grpc",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.83",
|
|
4
4
|
"description": "Multitenant grpc",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"scripts": {
|
|
19
19
|
"prepublishOnly": "cp -r ../../shared/limits ./proto"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "d9e7898e0779a0983d039910965084a26bf419ff"
|
|
22
22
|
}
|
package/proto/multitenant.proto
CHANGED
|
@@ -646,12 +646,13 @@ message CreateFlowBuilderBotAccountResponse {
|
|
|
646
646
|
string account_id = 1;
|
|
647
647
|
}
|
|
648
648
|
|
|
649
|
-
message
|
|
650
|
-
|
|
651
|
-
|
|
649
|
+
message GetManualInstallationRequest {
|
|
650
|
+
string site_id = 1;
|
|
651
|
+
optional string user_id = 2;
|
|
652
652
|
}
|
|
653
|
-
|
|
654
|
-
|
|
653
|
+
|
|
654
|
+
message GetManualInstallationResponse {
|
|
655
|
+
string manual_install_id = 1;
|
|
655
656
|
}
|
|
656
657
|
|
|
657
658
|
service Multitenant {
|
|
@@ -710,5 +711,6 @@ service Multitenant {
|
|
|
710
711
|
rpc CreateOwnerPersonalAccessToken(CreateOwnerPersonalAccessTokenRequest) returns (CreateOwnerPersonalAccessTokenResponse) {}
|
|
711
712
|
rpc GetInstallationSettings(GetInstallationSettingsRequest) returns (GetInstallationSettingsResponse) {}
|
|
712
713
|
rpc CreateFlowBuilderBotAccount(CreateFlowBuilderBotAccountRequest) returns (CreateFlowBuilderBotAccountResponse) {}
|
|
713
|
-
rpc
|
|
714
|
+
rpc GetManualInstallation(GetManualInstallationRequest) returns (GetManualInstallationResponse) {}
|
|
715
|
+
|
|
714
716
|
}
|