@lansweeper/multitenant-api-grpc 0.4.25 → 0.4.26
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 +8 -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 +43 -0
- package/gen-proto/multitenant_pb.js +334 -0
- package/generated-go/multitenant.pb.go +3619 -947
- package/generated-go/multitenant_grpc.pb.go +577 -36
- package/package.json +2 -2
- package/proto/multitenant.proto +11 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// - protoc-gen-go-grpc v1.
|
|
4
|
-
// - protoc v3.
|
|
3
|
+
// - protoc-gen-go-grpc v1.3.0
|
|
4
|
+
// - protoc v3.15.6
|
|
5
5
|
// source: packages/multitenant/grpc/proto/multitenant.proto
|
|
6
6
|
|
|
7
7
|
package generated_go
|
|
@@ -18,6 +18,40 @@ import (
|
|
|
18
18
|
// Requires gRPC-Go v1.32.0 or later.
|
|
19
19
|
const _ = grpc.SupportPackageIsVersion7
|
|
20
20
|
|
|
21
|
+
const (
|
|
22
|
+
Multitenant_CheckAccessToSiteByAccountId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CheckAccessToSiteByAccountId"
|
|
23
|
+
Multitenant_GetPreviewAccountById_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetPreviewAccountById"
|
|
24
|
+
Multitenant_ListProfilesByAccountId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/ListProfilesByAccountId"
|
|
25
|
+
Multitenant_ListAuthorizedLinkProfiles_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/ListAuthorizedLinkProfiles"
|
|
26
|
+
Multitenant_PatchSiteMode_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/PatchSiteMode"
|
|
27
|
+
Multitenant_CreateInstall_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateInstall"
|
|
28
|
+
Multitenant_CreateAndLinkInstall_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateAndLinkInstall"
|
|
29
|
+
Multitenant_GetInstallsBySite_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallsBySite"
|
|
30
|
+
Multitenant_GetInstallsById_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallsById"
|
|
31
|
+
Multitenant_GetInstallsCountBySite_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallsCountBySite"
|
|
32
|
+
Multitenant_GetInstallbyClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallbyClientId"
|
|
33
|
+
Multitenant_UpdateInstallByClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/UpdateInstallByClientId"
|
|
34
|
+
Multitenant_RotateInstallByClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/RotateInstallByClientId"
|
|
35
|
+
Multitenant_LinkTrialInstallByClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/LinkTrialInstallByClientId"
|
|
36
|
+
Multitenant_UnlinkInstallByClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/UnlinkInstallByClientId"
|
|
37
|
+
Multitenant_RemoveInstallDataBySiteId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/RemoveInstallDataBySiteId"
|
|
38
|
+
Multitenant_GetDuplicatedInstallsByGlobalId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetDuplicatedInstallsByGlobalId"
|
|
39
|
+
Multitenant_GetUserPermissions_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetUserPermissions"
|
|
40
|
+
Multitenant_ValidateApplicationPersonalAccessToken_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/ValidateApplicationPersonalAccessToken"
|
|
41
|
+
Multitenant_SendDisabledWebhookEmail_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/SendDisabledWebhookEmail"
|
|
42
|
+
Multitenant_GetAuthorizedSitesByApplicationId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetAuthorizedSitesByApplicationId"
|
|
43
|
+
Multitenant_GetAccountIdsBySiteId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetAccountIdsBySiteId"
|
|
44
|
+
Multitenant_CheckManagerInApplication_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CheckManagerInApplication"
|
|
45
|
+
Multitenant_UpdateSiteSubscription_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/UpdateSiteSubscription"
|
|
46
|
+
Multitenant_CreateTrialSiteAndInstaller_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateTrialSiteAndInstaller"
|
|
47
|
+
Multitenant_GetInstallationLicenseByClientId_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetInstallationLicenseByClientId"
|
|
48
|
+
Multitenant_AllProfilesExist_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/AllProfilesExist"
|
|
49
|
+
Multitenant_SendInviteLocalUsersMail_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/SendInviteLocalUsersMail"
|
|
50
|
+
Multitenant_AllProfileExists_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/AllProfileExists"
|
|
51
|
+
Multitenant_GetSiteSubscription_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/GetSiteSubscription"
|
|
52
|
+
Multitenant_CreateLinkingCode_FullMethodName = "/lansweeper.multitenant.v1.Multitenant/CreateLinkingCode"
|
|
53
|
+
)
|
|
54
|
+
|
|
21
55
|
// MultitenantClient is the client API for Multitenant service.
|
|
22
56
|
//
|
|
23
57
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
|
@@ -28,17 +62,32 @@ type MultitenantClient interface {
|
|
|
28
62
|
ListAuthorizedLinkProfiles(ctx context.Context, in *ListAuthorizedLinkProfilesRequest, opts ...grpc.CallOption) (*ListAuthorizedLinkProfilesResponse, error)
|
|
29
63
|
PatchSiteMode(ctx context.Context, in *PatchSiteModeRequest, opts ...grpc.CallOption) (*PatchSiteModeResponse, error)
|
|
30
64
|
CreateInstall(ctx context.Context, in *CreateInstallRequest, opts ...grpc.CallOption) (*CreateInstallResponse, error)
|
|
65
|
+
CreateAndLinkInstall(ctx context.Context, in *CreateAndLinkInstallRequest, opts ...grpc.CallOption) (*CreateAndLinkInstallResponse, error)
|
|
31
66
|
GetInstallsBySite(ctx context.Context, in *GetInstallsBySiteRequest, opts ...grpc.CallOption) (*GetInstallsBySiteResponse, error)
|
|
67
|
+
GetInstallsById(ctx context.Context, in *GetInstallsByIdRequest, opts ...grpc.CallOption) (*GetInstallsByIdResponse, error)
|
|
32
68
|
GetInstallsCountBySite(ctx context.Context, in *GetInstallsCountBySiteRequest, opts ...grpc.CallOption) (*GetInstallsCountResponse, error)
|
|
33
69
|
GetInstallbyClientId(ctx context.Context, in *GetInstallbyClientIdRequest, opts ...grpc.CallOption) (*GetInstallbyClientIdResponse, error)
|
|
34
70
|
UpdateInstallByClientId(ctx context.Context, in *UpdateInstallByClientIdRequest, opts ...grpc.CallOption) (*UpdateInstallByClientIdResponse, error)
|
|
35
71
|
RotateInstallByClientId(ctx context.Context, in *RotateInstallByClientIdRequest, opts ...grpc.CallOption) (*RotateInstallByClientIdResponse, error)
|
|
72
|
+
LinkTrialInstallByClientId(ctx context.Context, in *LinkTrialInstallByClientIdRequest, opts ...grpc.CallOption) (*LinkTrialInstallByClientIdResponse, error)
|
|
36
73
|
UnlinkInstallByClientId(ctx context.Context, in *UnlinkInstallByClientIdRequest, opts ...grpc.CallOption) (*UnlinkInstallByClientIdResponse, error)
|
|
37
74
|
RemoveInstallDataBySiteId(ctx context.Context, in *RemoveInstallDataBySiteIdRequest, opts ...grpc.CallOption) (*RemoveInstallDataBySiteIdResponse, error)
|
|
38
75
|
GetDuplicatedInstallsByGlobalId(ctx context.Context, in *GetDuplicatedInstallsByGlobalIdRequest, opts ...grpc.CallOption) (*GetDuplicatedInstallsByGlobalIdResponse, error)
|
|
39
76
|
GetUserPermissions(ctx context.Context, in *GetUserPermissionsRequest, opts ...grpc.CallOption) (*GetUserPermissionsResponse, error)
|
|
40
77
|
ValidateApplicationPersonalAccessToken(ctx context.Context, in *ValidateApplicationPersonalAccessTokenRequest, opts ...grpc.CallOption) (*ValidateApplicationPersonalAccessTokenResponse, error)
|
|
41
78
|
SendDisabledWebhookEmail(ctx context.Context, in *DisableWebhookEmailRequest, opts ...grpc.CallOption) (*DisableWebhookEmailResponse, error)
|
|
79
|
+
GetAuthorizedSitesByApplicationId(ctx context.Context, in *AuthorizedSitesRequest, opts ...grpc.CallOption) (*AuthorizedSitesResponse, error)
|
|
80
|
+
GetAccountIdsBySiteId(ctx context.Context, in *GetAccountIdsBySiteIdRequest, opts ...grpc.CallOption) (*GetAccountIdsBySiteIdResponse, error)
|
|
81
|
+
CheckManagerInApplication(ctx context.Context, in *CheckManagerInApplicationRequest, opts ...grpc.CallOption) (*CheckManagerInApplicationResponse, error)
|
|
82
|
+
UpdateSiteSubscription(ctx context.Context, in *UpdateSiteSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSiteSubscriptionResponse, error)
|
|
83
|
+
CreateTrialSiteAndInstaller(ctx context.Context, in *CreateTrialSiteAndInstallerRequest, opts ...grpc.CallOption) (*CreateTrialSiteAndInstallerResponse, error)
|
|
84
|
+
GetInstallationLicenseByClientId(ctx context.Context, in *GetInstallationLicenseByClientIdRequest, opts ...grpc.CallOption) (*GetInstallationLicenseByClientIdResponse, error)
|
|
85
|
+
AllProfilesExist(ctx context.Context, in *AllProfilesExistRequest, opts ...grpc.CallOption) (*AllProfilesExistResponse, error)
|
|
86
|
+
SendInviteLocalUsersMail(ctx context.Context, in *SendInviteLocalUsersMailRequest, opts ...grpc.CallOption) (*SendInviteLocalUsersMailResponse, error)
|
|
87
|
+
// Deprecated: Do not use.
|
|
88
|
+
AllProfileExists(ctx context.Context, in *AllProfileExistsRequest, opts ...grpc.CallOption) (*AllProfileExistsResponse, error)
|
|
89
|
+
GetSiteSubscription(ctx context.Context, in *GetSiteSubscriptionRequest, opts ...grpc.CallOption) (*GetSiteSubscriptionResponse, error)
|
|
90
|
+
CreateLinkingCode(ctx context.Context, in *CreateLinkingCodeRequest, opts ...grpc.CallOption) (*CreateLinkingCodeResponse, error)
|
|
42
91
|
}
|
|
43
92
|
|
|
44
93
|
type multitenantClient struct {
|
|
@@ -51,7 +100,7 @@ func NewMultitenantClient(cc grpc.ClientConnInterface) MultitenantClient {
|
|
|
51
100
|
|
|
52
101
|
func (c *multitenantClient) CheckAccessToSiteByAccountId(ctx context.Context, in *CheckAccessToSiteByAccountIdRequest, opts ...grpc.CallOption) (*CheckAccessToSiteByAccountIdResponse, error) {
|
|
53
102
|
out := new(CheckAccessToSiteByAccountIdResponse)
|
|
54
|
-
err := c.cc.Invoke(ctx,
|
|
103
|
+
err := c.cc.Invoke(ctx, Multitenant_CheckAccessToSiteByAccountId_FullMethodName, in, out, opts...)
|
|
55
104
|
if err != nil {
|
|
56
105
|
return nil, err
|
|
57
106
|
}
|
|
@@ -60,7 +109,7 @@ func (c *multitenantClient) CheckAccessToSiteByAccountId(ctx context.Context, in
|
|
|
60
109
|
|
|
61
110
|
func (c *multitenantClient) GetPreviewAccountById(ctx context.Context, in *GetPreviewAccountByIdRequest, opts ...grpc.CallOption) (*GetPreviewAccountByIdResponse, error) {
|
|
62
111
|
out := new(GetPreviewAccountByIdResponse)
|
|
63
|
-
err := c.cc.Invoke(ctx,
|
|
112
|
+
err := c.cc.Invoke(ctx, Multitenant_GetPreviewAccountById_FullMethodName, in, out, opts...)
|
|
64
113
|
if err != nil {
|
|
65
114
|
return nil, err
|
|
66
115
|
}
|
|
@@ -69,7 +118,7 @@ func (c *multitenantClient) GetPreviewAccountById(ctx context.Context, in *GetPr
|
|
|
69
118
|
|
|
70
119
|
func (c *multitenantClient) ListProfilesByAccountId(ctx context.Context, in *ListProfilesByAccountIdRequest, opts ...grpc.CallOption) (*ListProfilesByAccountIdResponse, error) {
|
|
71
120
|
out := new(ListProfilesByAccountIdResponse)
|
|
72
|
-
err := c.cc.Invoke(ctx,
|
|
121
|
+
err := c.cc.Invoke(ctx, Multitenant_ListProfilesByAccountId_FullMethodName, in, out, opts...)
|
|
73
122
|
if err != nil {
|
|
74
123
|
return nil, err
|
|
75
124
|
}
|
|
@@ -78,7 +127,7 @@ func (c *multitenantClient) ListProfilesByAccountId(ctx context.Context, in *Lis
|
|
|
78
127
|
|
|
79
128
|
func (c *multitenantClient) ListAuthorizedLinkProfiles(ctx context.Context, in *ListAuthorizedLinkProfilesRequest, opts ...grpc.CallOption) (*ListAuthorizedLinkProfilesResponse, error) {
|
|
80
129
|
out := new(ListAuthorizedLinkProfilesResponse)
|
|
81
|
-
err := c.cc.Invoke(ctx,
|
|
130
|
+
err := c.cc.Invoke(ctx, Multitenant_ListAuthorizedLinkProfiles_FullMethodName, in, out, opts...)
|
|
82
131
|
if err != nil {
|
|
83
132
|
return nil, err
|
|
84
133
|
}
|
|
@@ -87,7 +136,7 @@ func (c *multitenantClient) ListAuthorizedLinkProfiles(ctx context.Context, in *
|
|
|
87
136
|
|
|
88
137
|
func (c *multitenantClient) PatchSiteMode(ctx context.Context, in *PatchSiteModeRequest, opts ...grpc.CallOption) (*PatchSiteModeResponse, error) {
|
|
89
138
|
out := new(PatchSiteModeResponse)
|
|
90
|
-
err := c.cc.Invoke(ctx,
|
|
139
|
+
err := c.cc.Invoke(ctx, Multitenant_PatchSiteMode_FullMethodName, in, out, opts...)
|
|
91
140
|
if err != nil {
|
|
92
141
|
return nil, err
|
|
93
142
|
}
|
|
@@ -96,7 +145,16 @@ func (c *multitenantClient) PatchSiteMode(ctx context.Context, in *PatchSiteMode
|
|
|
96
145
|
|
|
97
146
|
func (c *multitenantClient) CreateInstall(ctx context.Context, in *CreateInstallRequest, opts ...grpc.CallOption) (*CreateInstallResponse, error) {
|
|
98
147
|
out := new(CreateInstallResponse)
|
|
99
|
-
err := c.cc.Invoke(ctx,
|
|
148
|
+
err := c.cc.Invoke(ctx, Multitenant_CreateInstall_FullMethodName, in, out, opts...)
|
|
149
|
+
if err != nil {
|
|
150
|
+
return nil, err
|
|
151
|
+
}
|
|
152
|
+
return out, nil
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
func (c *multitenantClient) CreateAndLinkInstall(ctx context.Context, in *CreateAndLinkInstallRequest, opts ...grpc.CallOption) (*CreateAndLinkInstallResponse, error) {
|
|
156
|
+
out := new(CreateAndLinkInstallResponse)
|
|
157
|
+
err := c.cc.Invoke(ctx, Multitenant_CreateAndLinkInstall_FullMethodName, in, out, opts...)
|
|
100
158
|
if err != nil {
|
|
101
159
|
return nil, err
|
|
102
160
|
}
|
|
@@ -105,7 +163,16 @@ func (c *multitenantClient) CreateInstall(ctx context.Context, in *CreateInstall
|
|
|
105
163
|
|
|
106
164
|
func (c *multitenantClient) GetInstallsBySite(ctx context.Context, in *GetInstallsBySiteRequest, opts ...grpc.CallOption) (*GetInstallsBySiteResponse, error) {
|
|
107
165
|
out := new(GetInstallsBySiteResponse)
|
|
108
|
-
err := c.cc.Invoke(ctx,
|
|
166
|
+
err := c.cc.Invoke(ctx, Multitenant_GetInstallsBySite_FullMethodName, in, out, opts...)
|
|
167
|
+
if err != nil {
|
|
168
|
+
return nil, err
|
|
169
|
+
}
|
|
170
|
+
return out, nil
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
func (c *multitenantClient) GetInstallsById(ctx context.Context, in *GetInstallsByIdRequest, opts ...grpc.CallOption) (*GetInstallsByIdResponse, error) {
|
|
174
|
+
out := new(GetInstallsByIdResponse)
|
|
175
|
+
err := c.cc.Invoke(ctx, Multitenant_GetInstallsById_FullMethodName, in, out, opts...)
|
|
109
176
|
if err != nil {
|
|
110
177
|
return nil, err
|
|
111
178
|
}
|
|
@@ -114,7 +181,7 @@ func (c *multitenantClient) GetInstallsBySite(ctx context.Context, in *GetInstal
|
|
|
114
181
|
|
|
115
182
|
func (c *multitenantClient) GetInstallsCountBySite(ctx context.Context, in *GetInstallsCountBySiteRequest, opts ...grpc.CallOption) (*GetInstallsCountResponse, error) {
|
|
116
183
|
out := new(GetInstallsCountResponse)
|
|
117
|
-
err := c.cc.Invoke(ctx,
|
|
184
|
+
err := c.cc.Invoke(ctx, Multitenant_GetInstallsCountBySite_FullMethodName, in, out, opts...)
|
|
118
185
|
if err != nil {
|
|
119
186
|
return nil, err
|
|
120
187
|
}
|
|
@@ -123,7 +190,7 @@ func (c *multitenantClient) GetInstallsCountBySite(ctx context.Context, in *GetI
|
|
|
123
190
|
|
|
124
191
|
func (c *multitenantClient) GetInstallbyClientId(ctx context.Context, in *GetInstallbyClientIdRequest, opts ...grpc.CallOption) (*GetInstallbyClientIdResponse, error) {
|
|
125
192
|
out := new(GetInstallbyClientIdResponse)
|
|
126
|
-
err := c.cc.Invoke(ctx,
|
|
193
|
+
err := c.cc.Invoke(ctx, Multitenant_GetInstallbyClientId_FullMethodName, in, out, opts...)
|
|
127
194
|
if err != nil {
|
|
128
195
|
return nil, err
|
|
129
196
|
}
|
|
@@ -132,7 +199,7 @@ func (c *multitenantClient) GetInstallbyClientId(ctx context.Context, in *GetIns
|
|
|
132
199
|
|
|
133
200
|
func (c *multitenantClient) UpdateInstallByClientId(ctx context.Context, in *UpdateInstallByClientIdRequest, opts ...grpc.CallOption) (*UpdateInstallByClientIdResponse, error) {
|
|
134
201
|
out := new(UpdateInstallByClientIdResponse)
|
|
135
|
-
err := c.cc.Invoke(ctx,
|
|
202
|
+
err := c.cc.Invoke(ctx, Multitenant_UpdateInstallByClientId_FullMethodName, in, out, opts...)
|
|
136
203
|
if err != nil {
|
|
137
204
|
return nil, err
|
|
138
205
|
}
|
|
@@ -141,7 +208,16 @@ func (c *multitenantClient) UpdateInstallByClientId(ctx context.Context, in *Upd
|
|
|
141
208
|
|
|
142
209
|
func (c *multitenantClient) RotateInstallByClientId(ctx context.Context, in *RotateInstallByClientIdRequest, opts ...grpc.CallOption) (*RotateInstallByClientIdResponse, error) {
|
|
143
210
|
out := new(RotateInstallByClientIdResponse)
|
|
144
|
-
err := c.cc.Invoke(ctx,
|
|
211
|
+
err := c.cc.Invoke(ctx, Multitenant_RotateInstallByClientId_FullMethodName, in, out, opts...)
|
|
212
|
+
if err != nil {
|
|
213
|
+
return nil, err
|
|
214
|
+
}
|
|
215
|
+
return out, nil
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
func (c *multitenantClient) LinkTrialInstallByClientId(ctx context.Context, in *LinkTrialInstallByClientIdRequest, opts ...grpc.CallOption) (*LinkTrialInstallByClientIdResponse, error) {
|
|
219
|
+
out := new(LinkTrialInstallByClientIdResponse)
|
|
220
|
+
err := c.cc.Invoke(ctx, Multitenant_LinkTrialInstallByClientId_FullMethodName, in, out, opts...)
|
|
145
221
|
if err != nil {
|
|
146
222
|
return nil, err
|
|
147
223
|
}
|
|
@@ -150,7 +226,7 @@ func (c *multitenantClient) RotateInstallByClientId(ctx context.Context, in *Rot
|
|
|
150
226
|
|
|
151
227
|
func (c *multitenantClient) UnlinkInstallByClientId(ctx context.Context, in *UnlinkInstallByClientIdRequest, opts ...grpc.CallOption) (*UnlinkInstallByClientIdResponse, error) {
|
|
152
228
|
out := new(UnlinkInstallByClientIdResponse)
|
|
153
|
-
err := c.cc.Invoke(ctx,
|
|
229
|
+
err := c.cc.Invoke(ctx, Multitenant_UnlinkInstallByClientId_FullMethodName, in, out, opts...)
|
|
154
230
|
if err != nil {
|
|
155
231
|
return nil, err
|
|
156
232
|
}
|
|
@@ -159,7 +235,7 @@ func (c *multitenantClient) UnlinkInstallByClientId(ctx context.Context, in *Unl
|
|
|
159
235
|
|
|
160
236
|
func (c *multitenantClient) RemoveInstallDataBySiteId(ctx context.Context, in *RemoveInstallDataBySiteIdRequest, opts ...grpc.CallOption) (*RemoveInstallDataBySiteIdResponse, error) {
|
|
161
237
|
out := new(RemoveInstallDataBySiteIdResponse)
|
|
162
|
-
err := c.cc.Invoke(ctx,
|
|
238
|
+
err := c.cc.Invoke(ctx, Multitenant_RemoveInstallDataBySiteId_FullMethodName, in, out, opts...)
|
|
163
239
|
if err != nil {
|
|
164
240
|
return nil, err
|
|
165
241
|
}
|
|
@@ -168,7 +244,7 @@ func (c *multitenantClient) RemoveInstallDataBySiteId(ctx context.Context, in *R
|
|
|
168
244
|
|
|
169
245
|
func (c *multitenantClient) GetDuplicatedInstallsByGlobalId(ctx context.Context, in *GetDuplicatedInstallsByGlobalIdRequest, opts ...grpc.CallOption) (*GetDuplicatedInstallsByGlobalIdResponse, error) {
|
|
170
246
|
out := new(GetDuplicatedInstallsByGlobalIdResponse)
|
|
171
|
-
err := c.cc.Invoke(ctx,
|
|
247
|
+
err := c.cc.Invoke(ctx, Multitenant_GetDuplicatedInstallsByGlobalId_FullMethodName, in, out, opts...)
|
|
172
248
|
if err != nil {
|
|
173
249
|
return nil, err
|
|
174
250
|
}
|
|
@@ -177,7 +253,7 @@ func (c *multitenantClient) GetDuplicatedInstallsByGlobalId(ctx context.Context,
|
|
|
177
253
|
|
|
178
254
|
func (c *multitenantClient) GetUserPermissions(ctx context.Context, in *GetUserPermissionsRequest, opts ...grpc.CallOption) (*GetUserPermissionsResponse, error) {
|
|
179
255
|
out := new(GetUserPermissionsResponse)
|
|
180
|
-
err := c.cc.Invoke(ctx,
|
|
256
|
+
err := c.cc.Invoke(ctx, Multitenant_GetUserPermissions_FullMethodName, in, out, opts...)
|
|
181
257
|
if err != nil {
|
|
182
258
|
return nil, err
|
|
183
259
|
}
|
|
@@ -186,7 +262,7 @@ func (c *multitenantClient) GetUserPermissions(ctx context.Context, in *GetUserP
|
|
|
186
262
|
|
|
187
263
|
func (c *multitenantClient) ValidateApplicationPersonalAccessToken(ctx context.Context, in *ValidateApplicationPersonalAccessTokenRequest, opts ...grpc.CallOption) (*ValidateApplicationPersonalAccessTokenResponse, error) {
|
|
188
264
|
out := new(ValidateApplicationPersonalAccessTokenResponse)
|
|
189
|
-
err := c.cc.Invoke(ctx,
|
|
265
|
+
err := c.cc.Invoke(ctx, Multitenant_ValidateApplicationPersonalAccessToken_FullMethodName, in, out, opts...)
|
|
190
266
|
if err != nil {
|
|
191
267
|
return nil, err
|
|
192
268
|
}
|
|
@@ -195,7 +271,107 @@ func (c *multitenantClient) ValidateApplicationPersonalAccessToken(ctx context.C
|
|
|
195
271
|
|
|
196
272
|
func (c *multitenantClient) SendDisabledWebhookEmail(ctx context.Context, in *DisableWebhookEmailRequest, opts ...grpc.CallOption) (*DisableWebhookEmailResponse, error) {
|
|
197
273
|
out := new(DisableWebhookEmailResponse)
|
|
198
|
-
err := c.cc.Invoke(ctx,
|
|
274
|
+
err := c.cc.Invoke(ctx, Multitenant_SendDisabledWebhookEmail_FullMethodName, in, out, opts...)
|
|
275
|
+
if err != nil {
|
|
276
|
+
return nil, err
|
|
277
|
+
}
|
|
278
|
+
return out, nil
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
func (c *multitenantClient) GetAuthorizedSitesByApplicationId(ctx context.Context, in *AuthorizedSitesRequest, opts ...grpc.CallOption) (*AuthorizedSitesResponse, error) {
|
|
282
|
+
out := new(AuthorizedSitesResponse)
|
|
283
|
+
err := c.cc.Invoke(ctx, Multitenant_GetAuthorizedSitesByApplicationId_FullMethodName, in, out, opts...)
|
|
284
|
+
if err != nil {
|
|
285
|
+
return nil, err
|
|
286
|
+
}
|
|
287
|
+
return out, nil
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
func (c *multitenantClient) GetAccountIdsBySiteId(ctx context.Context, in *GetAccountIdsBySiteIdRequest, opts ...grpc.CallOption) (*GetAccountIdsBySiteIdResponse, error) {
|
|
291
|
+
out := new(GetAccountIdsBySiteIdResponse)
|
|
292
|
+
err := c.cc.Invoke(ctx, Multitenant_GetAccountIdsBySiteId_FullMethodName, in, out, opts...)
|
|
293
|
+
if err != nil {
|
|
294
|
+
return nil, err
|
|
295
|
+
}
|
|
296
|
+
return out, nil
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
func (c *multitenantClient) CheckManagerInApplication(ctx context.Context, in *CheckManagerInApplicationRequest, opts ...grpc.CallOption) (*CheckManagerInApplicationResponse, error) {
|
|
300
|
+
out := new(CheckManagerInApplicationResponse)
|
|
301
|
+
err := c.cc.Invoke(ctx, Multitenant_CheckManagerInApplication_FullMethodName, in, out, opts...)
|
|
302
|
+
if err != nil {
|
|
303
|
+
return nil, err
|
|
304
|
+
}
|
|
305
|
+
return out, nil
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
func (c *multitenantClient) UpdateSiteSubscription(ctx context.Context, in *UpdateSiteSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSiteSubscriptionResponse, error) {
|
|
309
|
+
out := new(UpdateSiteSubscriptionResponse)
|
|
310
|
+
err := c.cc.Invoke(ctx, Multitenant_UpdateSiteSubscription_FullMethodName, in, out, opts...)
|
|
311
|
+
if err != nil {
|
|
312
|
+
return nil, err
|
|
313
|
+
}
|
|
314
|
+
return out, nil
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
func (c *multitenantClient) CreateTrialSiteAndInstaller(ctx context.Context, in *CreateTrialSiteAndInstallerRequest, opts ...grpc.CallOption) (*CreateTrialSiteAndInstallerResponse, error) {
|
|
318
|
+
out := new(CreateTrialSiteAndInstallerResponse)
|
|
319
|
+
err := c.cc.Invoke(ctx, Multitenant_CreateTrialSiteAndInstaller_FullMethodName, in, out, opts...)
|
|
320
|
+
if err != nil {
|
|
321
|
+
return nil, err
|
|
322
|
+
}
|
|
323
|
+
return out, nil
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
func (c *multitenantClient) GetInstallationLicenseByClientId(ctx context.Context, in *GetInstallationLicenseByClientIdRequest, opts ...grpc.CallOption) (*GetInstallationLicenseByClientIdResponse, error) {
|
|
327
|
+
out := new(GetInstallationLicenseByClientIdResponse)
|
|
328
|
+
err := c.cc.Invoke(ctx, Multitenant_GetInstallationLicenseByClientId_FullMethodName, in, out, opts...)
|
|
329
|
+
if err != nil {
|
|
330
|
+
return nil, err
|
|
331
|
+
}
|
|
332
|
+
return out, nil
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
func (c *multitenantClient) AllProfilesExist(ctx context.Context, in *AllProfilesExistRequest, opts ...grpc.CallOption) (*AllProfilesExistResponse, error) {
|
|
336
|
+
out := new(AllProfilesExistResponse)
|
|
337
|
+
err := c.cc.Invoke(ctx, Multitenant_AllProfilesExist_FullMethodName, in, out, opts...)
|
|
338
|
+
if err != nil {
|
|
339
|
+
return nil, err
|
|
340
|
+
}
|
|
341
|
+
return out, nil
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
func (c *multitenantClient) SendInviteLocalUsersMail(ctx context.Context, in *SendInviteLocalUsersMailRequest, opts ...grpc.CallOption) (*SendInviteLocalUsersMailResponse, error) {
|
|
345
|
+
out := new(SendInviteLocalUsersMailResponse)
|
|
346
|
+
err := c.cc.Invoke(ctx, Multitenant_SendInviteLocalUsersMail_FullMethodName, in, out, opts...)
|
|
347
|
+
if err != nil {
|
|
348
|
+
return nil, err
|
|
349
|
+
}
|
|
350
|
+
return out, nil
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
// Deprecated: Do not use.
|
|
354
|
+
func (c *multitenantClient) AllProfileExists(ctx context.Context, in *AllProfileExistsRequest, opts ...grpc.CallOption) (*AllProfileExistsResponse, error) {
|
|
355
|
+
out := new(AllProfileExistsResponse)
|
|
356
|
+
err := c.cc.Invoke(ctx, Multitenant_AllProfileExists_FullMethodName, in, out, opts...)
|
|
357
|
+
if err != nil {
|
|
358
|
+
return nil, err
|
|
359
|
+
}
|
|
360
|
+
return out, nil
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
func (c *multitenantClient) GetSiteSubscription(ctx context.Context, in *GetSiteSubscriptionRequest, opts ...grpc.CallOption) (*GetSiteSubscriptionResponse, error) {
|
|
364
|
+
out := new(GetSiteSubscriptionResponse)
|
|
365
|
+
err := c.cc.Invoke(ctx, Multitenant_GetSiteSubscription_FullMethodName, in, out, opts...)
|
|
366
|
+
if err != nil {
|
|
367
|
+
return nil, err
|
|
368
|
+
}
|
|
369
|
+
return out, nil
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
func (c *multitenantClient) CreateLinkingCode(ctx context.Context, in *CreateLinkingCodeRequest, opts ...grpc.CallOption) (*CreateLinkingCodeResponse, error) {
|
|
373
|
+
out := new(CreateLinkingCodeResponse)
|
|
374
|
+
err := c.cc.Invoke(ctx, Multitenant_CreateLinkingCode_FullMethodName, in, out, opts...)
|
|
199
375
|
if err != nil {
|
|
200
376
|
return nil, err
|
|
201
377
|
}
|
|
@@ -212,17 +388,32 @@ type MultitenantServer interface {
|
|
|
212
388
|
ListAuthorizedLinkProfiles(context.Context, *ListAuthorizedLinkProfilesRequest) (*ListAuthorizedLinkProfilesResponse, error)
|
|
213
389
|
PatchSiteMode(context.Context, *PatchSiteModeRequest) (*PatchSiteModeResponse, error)
|
|
214
390
|
CreateInstall(context.Context, *CreateInstallRequest) (*CreateInstallResponse, error)
|
|
391
|
+
CreateAndLinkInstall(context.Context, *CreateAndLinkInstallRequest) (*CreateAndLinkInstallResponse, error)
|
|
215
392
|
GetInstallsBySite(context.Context, *GetInstallsBySiteRequest) (*GetInstallsBySiteResponse, error)
|
|
393
|
+
GetInstallsById(context.Context, *GetInstallsByIdRequest) (*GetInstallsByIdResponse, error)
|
|
216
394
|
GetInstallsCountBySite(context.Context, *GetInstallsCountBySiteRequest) (*GetInstallsCountResponse, error)
|
|
217
395
|
GetInstallbyClientId(context.Context, *GetInstallbyClientIdRequest) (*GetInstallbyClientIdResponse, error)
|
|
218
396
|
UpdateInstallByClientId(context.Context, *UpdateInstallByClientIdRequest) (*UpdateInstallByClientIdResponse, error)
|
|
219
397
|
RotateInstallByClientId(context.Context, *RotateInstallByClientIdRequest) (*RotateInstallByClientIdResponse, error)
|
|
398
|
+
LinkTrialInstallByClientId(context.Context, *LinkTrialInstallByClientIdRequest) (*LinkTrialInstallByClientIdResponse, error)
|
|
220
399
|
UnlinkInstallByClientId(context.Context, *UnlinkInstallByClientIdRequest) (*UnlinkInstallByClientIdResponse, error)
|
|
221
400
|
RemoveInstallDataBySiteId(context.Context, *RemoveInstallDataBySiteIdRequest) (*RemoveInstallDataBySiteIdResponse, error)
|
|
222
401
|
GetDuplicatedInstallsByGlobalId(context.Context, *GetDuplicatedInstallsByGlobalIdRequest) (*GetDuplicatedInstallsByGlobalIdResponse, error)
|
|
223
402
|
GetUserPermissions(context.Context, *GetUserPermissionsRequest) (*GetUserPermissionsResponse, error)
|
|
224
403
|
ValidateApplicationPersonalAccessToken(context.Context, *ValidateApplicationPersonalAccessTokenRequest) (*ValidateApplicationPersonalAccessTokenResponse, error)
|
|
225
404
|
SendDisabledWebhookEmail(context.Context, *DisableWebhookEmailRequest) (*DisableWebhookEmailResponse, error)
|
|
405
|
+
GetAuthorizedSitesByApplicationId(context.Context, *AuthorizedSitesRequest) (*AuthorizedSitesResponse, error)
|
|
406
|
+
GetAccountIdsBySiteId(context.Context, *GetAccountIdsBySiteIdRequest) (*GetAccountIdsBySiteIdResponse, error)
|
|
407
|
+
CheckManagerInApplication(context.Context, *CheckManagerInApplicationRequest) (*CheckManagerInApplicationResponse, error)
|
|
408
|
+
UpdateSiteSubscription(context.Context, *UpdateSiteSubscriptionRequest) (*UpdateSiteSubscriptionResponse, error)
|
|
409
|
+
CreateTrialSiteAndInstaller(context.Context, *CreateTrialSiteAndInstallerRequest) (*CreateTrialSiteAndInstallerResponse, error)
|
|
410
|
+
GetInstallationLicenseByClientId(context.Context, *GetInstallationLicenseByClientIdRequest) (*GetInstallationLicenseByClientIdResponse, error)
|
|
411
|
+
AllProfilesExist(context.Context, *AllProfilesExistRequest) (*AllProfilesExistResponse, error)
|
|
412
|
+
SendInviteLocalUsersMail(context.Context, *SendInviteLocalUsersMailRequest) (*SendInviteLocalUsersMailResponse, error)
|
|
413
|
+
// Deprecated: Do not use.
|
|
414
|
+
AllProfileExists(context.Context, *AllProfileExistsRequest) (*AllProfileExistsResponse, error)
|
|
415
|
+
GetSiteSubscription(context.Context, *GetSiteSubscriptionRequest) (*GetSiteSubscriptionResponse, error)
|
|
416
|
+
CreateLinkingCode(context.Context, *CreateLinkingCodeRequest) (*CreateLinkingCodeResponse, error)
|
|
226
417
|
mustEmbedUnimplementedMultitenantServer()
|
|
227
418
|
}
|
|
228
419
|
|
|
@@ -248,9 +439,15 @@ func (UnimplementedMultitenantServer) PatchSiteMode(context.Context, *PatchSiteM
|
|
|
248
439
|
func (UnimplementedMultitenantServer) CreateInstall(context.Context, *CreateInstallRequest) (*CreateInstallResponse, error) {
|
|
249
440
|
return nil, status.Errorf(codes.Unimplemented, "method CreateInstall not implemented")
|
|
250
441
|
}
|
|
442
|
+
func (UnimplementedMultitenantServer) CreateAndLinkInstall(context.Context, *CreateAndLinkInstallRequest) (*CreateAndLinkInstallResponse, error) {
|
|
443
|
+
return nil, status.Errorf(codes.Unimplemented, "method CreateAndLinkInstall not implemented")
|
|
444
|
+
}
|
|
251
445
|
func (UnimplementedMultitenantServer) GetInstallsBySite(context.Context, *GetInstallsBySiteRequest) (*GetInstallsBySiteResponse, error) {
|
|
252
446
|
return nil, status.Errorf(codes.Unimplemented, "method GetInstallsBySite not implemented")
|
|
253
447
|
}
|
|
448
|
+
func (UnimplementedMultitenantServer) GetInstallsById(context.Context, *GetInstallsByIdRequest) (*GetInstallsByIdResponse, error) {
|
|
449
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetInstallsById not implemented")
|
|
450
|
+
}
|
|
254
451
|
func (UnimplementedMultitenantServer) GetInstallsCountBySite(context.Context, *GetInstallsCountBySiteRequest) (*GetInstallsCountResponse, error) {
|
|
255
452
|
return nil, status.Errorf(codes.Unimplemented, "method GetInstallsCountBySite not implemented")
|
|
256
453
|
}
|
|
@@ -263,6 +460,9 @@ func (UnimplementedMultitenantServer) UpdateInstallByClientId(context.Context, *
|
|
|
263
460
|
func (UnimplementedMultitenantServer) RotateInstallByClientId(context.Context, *RotateInstallByClientIdRequest) (*RotateInstallByClientIdResponse, error) {
|
|
264
461
|
return nil, status.Errorf(codes.Unimplemented, "method RotateInstallByClientId not implemented")
|
|
265
462
|
}
|
|
463
|
+
func (UnimplementedMultitenantServer) LinkTrialInstallByClientId(context.Context, *LinkTrialInstallByClientIdRequest) (*LinkTrialInstallByClientIdResponse, error) {
|
|
464
|
+
return nil, status.Errorf(codes.Unimplemented, "method LinkTrialInstallByClientId not implemented")
|
|
465
|
+
}
|
|
266
466
|
func (UnimplementedMultitenantServer) UnlinkInstallByClientId(context.Context, *UnlinkInstallByClientIdRequest) (*UnlinkInstallByClientIdResponse, error) {
|
|
267
467
|
return nil, status.Errorf(codes.Unimplemented, "method UnlinkInstallByClientId not implemented")
|
|
268
468
|
}
|
|
@@ -281,6 +481,39 @@ func (UnimplementedMultitenantServer) ValidateApplicationPersonalAccessToken(con
|
|
|
281
481
|
func (UnimplementedMultitenantServer) SendDisabledWebhookEmail(context.Context, *DisableWebhookEmailRequest) (*DisableWebhookEmailResponse, error) {
|
|
282
482
|
return nil, status.Errorf(codes.Unimplemented, "method SendDisabledWebhookEmail not implemented")
|
|
283
483
|
}
|
|
484
|
+
func (UnimplementedMultitenantServer) GetAuthorizedSitesByApplicationId(context.Context, *AuthorizedSitesRequest) (*AuthorizedSitesResponse, error) {
|
|
485
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetAuthorizedSitesByApplicationId not implemented")
|
|
486
|
+
}
|
|
487
|
+
func (UnimplementedMultitenantServer) GetAccountIdsBySiteId(context.Context, *GetAccountIdsBySiteIdRequest) (*GetAccountIdsBySiteIdResponse, error) {
|
|
488
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetAccountIdsBySiteId not implemented")
|
|
489
|
+
}
|
|
490
|
+
func (UnimplementedMultitenantServer) CheckManagerInApplication(context.Context, *CheckManagerInApplicationRequest) (*CheckManagerInApplicationResponse, error) {
|
|
491
|
+
return nil, status.Errorf(codes.Unimplemented, "method CheckManagerInApplication not implemented")
|
|
492
|
+
}
|
|
493
|
+
func (UnimplementedMultitenantServer) UpdateSiteSubscription(context.Context, *UpdateSiteSubscriptionRequest) (*UpdateSiteSubscriptionResponse, error) {
|
|
494
|
+
return nil, status.Errorf(codes.Unimplemented, "method UpdateSiteSubscription not implemented")
|
|
495
|
+
}
|
|
496
|
+
func (UnimplementedMultitenantServer) CreateTrialSiteAndInstaller(context.Context, *CreateTrialSiteAndInstallerRequest) (*CreateTrialSiteAndInstallerResponse, error) {
|
|
497
|
+
return nil, status.Errorf(codes.Unimplemented, "method CreateTrialSiteAndInstaller not implemented")
|
|
498
|
+
}
|
|
499
|
+
func (UnimplementedMultitenantServer) GetInstallationLicenseByClientId(context.Context, *GetInstallationLicenseByClientIdRequest) (*GetInstallationLicenseByClientIdResponse, error) {
|
|
500
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetInstallationLicenseByClientId not implemented")
|
|
501
|
+
}
|
|
502
|
+
func (UnimplementedMultitenantServer) AllProfilesExist(context.Context, *AllProfilesExistRequest) (*AllProfilesExistResponse, error) {
|
|
503
|
+
return nil, status.Errorf(codes.Unimplemented, "method AllProfilesExist not implemented")
|
|
504
|
+
}
|
|
505
|
+
func (UnimplementedMultitenantServer) SendInviteLocalUsersMail(context.Context, *SendInviteLocalUsersMailRequest) (*SendInviteLocalUsersMailResponse, error) {
|
|
506
|
+
return nil, status.Errorf(codes.Unimplemented, "method SendInviteLocalUsersMail not implemented")
|
|
507
|
+
}
|
|
508
|
+
func (UnimplementedMultitenantServer) AllProfileExists(context.Context, *AllProfileExistsRequest) (*AllProfileExistsResponse, error) {
|
|
509
|
+
return nil, status.Errorf(codes.Unimplemented, "method AllProfileExists not implemented")
|
|
510
|
+
}
|
|
511
|
+
func (UnimplementedMultitenantServer) GetSiteSubscription(context.Context, *GetSiteSubscriptionRequest) (*GetSiteSubscriptionResponse, error) {
|
|
512
|
+
return nil, status.Errorf(codes.Unimplemented, "method GetSiteSubscription not implemented")
|
|
513
|
+
}
|
|
514
|
+
func (UnimplementedMultitenantServer) CreateLinkingCode(context.Context, *CreateLinkingCodeRequest) (*CreateLinkingCodeResponse, error) {
|
|
515
|
+
return nil, status.Errorf(codes.Unimplemented, "method CreateLinkingCode not implemented")
|
|
516
|
+
}
|
|
284
517
|
func (UnimplementedMultitenantServer) mustEmbedUnimplementedMultitenantServer() {}
|
|
285
518
|
|
|
286
519
|
// UnsafeMultitenantServer may be embedded to opt out of forward compatibility for this service.
|
|
@@ -304,7 +537,7 @@ func _Multitenant_CheckAccessToSiteByAccountId_Handler(srv interface{}, ctx cont
|
|
|
304
537
|
}
|
|
305
538
|
info := &grpc.UnaryServerInfo{
|
|
306
539
|
Server: srv,
|
|
307
|
-
FullMethod:
|
|
540
|
+
FullMethod: Multitenant_CheckAccessToSiteByAccountId_FullMethodName,
|
|
308
541
|
}
|
|
309
542
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
310
543
|
return srv.(MultitenantServer).CheckAccessToSiteByAccountId(ctx, req.(*CheckAccessToSiteByAccountIdRequest))
|
|
@@ -322,7 +555,7 @@ func _Multitenant_GetPreviewAccountById_Handler(srv interface{}, ctx context.Con
|
|
|
322
555
|
}
|
|
323
556
|
info := &grpc.UnaryServerInfo{
|
|
324
557
|
Server: srv,
|
|
325
|
-
FullMethod:
|
|
558
|
+
FullMethod: Multitenant_GetPreviewAccountById_FullMethodName,
|
|
326
559
|
}
|
|
327
560
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
328
561
|
return srv.(MultitenantServer).GetPreviewAccountById(ctx, req.(*GetPreviewAccountByIdRequest))
|
|
@@ -340,7 +573,7 @@ func _Multitenant_ListProfilesByAccountId_Handler(srv interface{}, ctx context.C
|
|
|
340
573
|
}
|
|
341
574
|
info := &grpc.UnaryServerInfo{
|
|
342
575
|
Server: srv,
|
|
343
|
-
FullMethod:
|
|
576
|
+
FullMethod: Multitenant_ListProfilesByAccountId_FullMethodName,
|
|
344
577
|
}
|
|
345
578
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
346
579
|
return srv.(MultitenantServer).ListProfilesByAccountId(ctx, req.(*ListProfilesByAccountIdRequest))
|
|
@@ -358,7 +591,7 @@ func _Multitenant_ListAuthorizedLinkProfiles_Handler(srv interface{}, ctx contex
|
|
|
358
591
|
}
|
|
359
592
|
info := &grpc.UnaryServerInfo{
|
|
360
593
|
Server: srv,
|
|
361
|
-
FullMethod:
|
|
594
|
+
FullMethod: Multitenant_ListAuthorizedLinkProfiles_FullMethodName,
|
|
362
595
|
}
|
|
363
596
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
364
597
|
return srv.(MultitenantServer).ListAuthorizedLinkProfiles(ctx, req.(*ListAuthorizedLinkProfilesRequest))
|
|
@@ -376,7 +609,7 @@ func _Multitenant_PatchSiteMode_Handler(srv interface{}, ctx context.Context, de
|
|
|
376
609
|
}
|
|
377
610
|
info := &grpc.UnaryServerInfo{
|
|
378
611
|
Server: srv,
|
|
379
|
-
FullMethod:
|
|
612
|
+
FullMethod: Multitenant_PatchSiteMode_FullMethodName,
|
|
380
613
|
}
|
|
381
614
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
382
615
|
return srv.(MultitenantServer).PatchSiteMode(ctx, req.(*PatchSiteModeRequest))
|
|
@@ -394,7 +627,7 @@ func _Multitenant_CreateInstall_Handler(srv interface{}, ctx context.Context, de
|
|
|
394
627
|
}
|
|
395
628
|
info := &grpc.UnaryServerInfo{
|
|
396
629
|
Server: srv,
|
|
397
|
-
FullMethod:
|
|
630
|
+
FullMethod: Multitenant_CreateInstall_FullMethodName,
|
|
398
631
|
}
|
|
399
632
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
400
633
|
return srv.(MultitenantServer).CreateInstall(ctx, req.(*CreateInstallRequest))
|
|
@@ -402,6 +635,24 @@ func _Multitenant_CreateInstall_Handler(srv interface{}, ctx context.Context, de
|
|
|
402
635
|
return interceptor(ctx, in, info, handler)
|
|
403
636
|
}
|
|
404
637
|
|
|
638
|
+
func _Multitenant_CreateAndLinkInstall_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
639
|
+
in := new(CreateAndLinkInstallRequest)
|
|
640
|
+
if err := dec(in); err != nil {
|
|
641
|
+
return nil, err
|
|
642
|
+
}
|
|
643
|
+
if interceptor == nil {
|
|
644
|
+
return srv.(MultitenantServer).CreateAndLinkInstall(ctx, in)
|
|
645
|
+
}
|
|
646
|
+
info := &grpc.UnaryServerInfo{
|
|
647
|
+
Server: srv,
|
|
648
|
+
FullMethod: Multitenant_CreateAndLinkInstall_FullMethodName,
|
|
649
|
+
}
|
|
650
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
651
|
+
return srv.(MultitenantServer).CreateAndLinkInstall(ctx, req.(*CreateAndLinkInstallRequest))
|
|
652
|
+
}
|
|
653
|
+
return interceptor(ctx, in, info, handler)
|
|
654
|
+
}
|
|
655
|
+
|
|
405
656
|
func _Multitenant_GetInstallsBySite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
406
657
|
in := new(GetInstallsBySiteRequest)
|
|
407
658
|
if err := dec(in); err != nil {
|
|
@@ -412,7 +663,7 @@ func _Multitenant_GetInstallsBySite_Handler(srv interface{}, ctx context.Context
|
|
|
412
663
|
}
|
|
413
664
|
info := &grpc.UnaryServerInfo{
|
|
414
665
|
Server: srv,
|
|
415
|
-
FullMethod:
|
|
666
|
+
FullMethod: Multitenant_GetInstallsBySite_FullMethodName,
|
|
416
667
|
}
|
|
417
668
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
418
669
|
return srv.(MultitenantServer).GetInstallsBySite(ctx, req.(*GetInstallsBySiteRequest))
|
|
@@ -420,6 +671,24 @@ func _Multitenant_GetInstallsBySite_Handler(srv interface{}, ctx context.Context
|
|
|
420
671
|
return interceptor(ctx, in, info, handler)
|
|
421
672
|
}
|
|
422
673
|
|
|
674
|
+
func _Multitenant_GetInstallsById_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
675
|
+
in := new(GetInstallsByIdRequest)
|
|
676
|
+
if err := dec(in); err != nil {
|
|
677
|
+
return nil, err
|
|
678
|
+
}
|
|
679
|
+
if interceptor == nil {
|
|
680
|
+
return srv.(MultitenantServer).GetInstallsById(ctx, in)
|
|
681
|
+
}
|
|
682
|
+
info := &grpc.UnaryServerInfo{
|
|
683
|
+
Server: srv,
|
|
684
|
+
FullMethod: Multitenant_GetInstallsById_FullMethodName,
|
|
685
|
+
}
|
|
686
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
687
|
+
return srv.(MultitenantServer).GetInstallsById(ctx, req.(*GetInstallsByIdRequest))
|
|
688
|
+
}
|
|
689
|
+
return interceptor(ctx, in, info, handler)
|
|
690
|
+
}
|
|
691
|
+
|
|
423
692
|
func _Multitenant_GetInstallsCountBySite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
424
693
|
in := new(GetInstallsCountBySiteRequest)
|
|
425
694
|
if err := dec(in); err != nil {
|
|
@@ -430,7 +699,7 @@ func _Multitenant_GetInstallsCountBySite_Handler(srv interface{}, ctx context.Co
|
|
|
430
699
|
}
|
|
431
700
|
info := &grpc.UnaryServerInfo{
|
|
432
701
|
Server: srv,
|
|
433
|
-
FullMethod:
|
|
702
|
+
FullMethod: Multitenant_GetInstallsCountBySite_FullMethodName,
|
|
434
703
|
}
|
|
435
704
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
436
705
|
return srv.(MultitenantServer).GetInstallsCountBySite(ctx, req.(*GetInstallsCountBySiteRequest))
|
|
@@ -448,7 +717,7 @@ func _Multitenant_GetInstallbyClientId_Handler(srv interface{}, ctx context.Cont
|
|
|
448
717
|
}
|
|
449
718
|
info := &grpc.UnaryServerInfo{
|
|
450
719
|
Server: srv,
|
|
451
|
-
FullMethod:
|
|
720
|
+
FullMethod: Multitenant_GetInstallbyClientId_FullMethodName,
|
|
452
721
|
}
|
|
453
722
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
454
723
|
return srv.(MultitenantServer).GetInstallbyClientId(ctx, req.(*GetInstallbyClientIdRequest))
|
|
@@ -466,7 +735,7 @@ func _Multitenant_UpdateInstallByClientId_Handler(srv interface{}, ctx context.C
|
|
|
466
735
|
}
|
|
467
736
|
info := &grpc.UnaryServerInfo{
|
|
468
737
|
Server: srv,
|
|
469
|
-
FullMethod:
|
|
738
|
+
FullMethod: Multitenant_UpdateInstallByClientId_FullMethodName,
|
|
470
739
|
}
|
|
471
740
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
472
741
|
return srv.(MultitenantServer).UpdateInstallByClientId(ctx, req.(*UpdateInstallByClientIdRequest))
|
|
@@ -484,7 +753,7 @@ func _Multitenant_RotateInstallByClientId_Handler(srv interface{}, ctx context.C
|
|
|
484
753
|
}
|
|
485
754
|
info := &grpc.UnaryServerInfo{
|
|
486
755
|
Server: srv,
|
|
487
|
-
FullMethod:
|
|
756
|
+
FullMethod: Multitenant_RotateInstallByClientId_FullMethodName,
|
|
488
757
|
}
|
|
489
758
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
490
759
|
return srv.(MultitenantServer).RotateInstallByClientId(ctx, req.(*RotateInstallByClientIdRequest))
|
|
@@ -492,6 +761,24 @@ func _Multitenant_RotateInstallByClientId_Handler(srv interface{}, ctx context.C
|
|
|
492
761
|
return interceptor(ctx, in, info, handler)
|
|
493
762
|
}
|
|
494
763
|
|
|
764
|
+
func _Multitenant_LinkTrialInstallByClientId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
765
|
+
in := new(LinkTrialInstallByClientIdRequest)
|
|
766
|
+
if err := dec(in); err != nil {
|
|
767
|
+
return nil, err
|
|
768
|
+
}
|
|
769
|
+
if interceptor == nil {
|
|
770
|
+
return srv.(MultitenantServer).LinkTrialInstallByClientId(ctx, in)
|
|
771
|
+
}
|
|
772
|
+
info := &grpc.UnaryServerInfo{
|
|
773
|
+
Server: srv,
|
|
774
|
+
FullMethod: Multitenant_LinkTrialInstallByClientId_FullMethodName,
|
|
775
|
+
}
|
|
776
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
777
|
+
return srv.(MultitenantServer).LinkTrialInstallByClientId(ctx, req.(*LinkTrialInstallByClientIdRequest))
|
|
778
|
+
}
|
|
779
|
+
return interceptor(ctx, in, info, handler)
|
|
780
|
+
}
|
|
781
|
+
|
|
495
782
|
func _Multitenant_UnlinkInstallByClientId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
496
783
|
in := new(UnlinkInstallByClientIdRequest)
|
|
497
784
|
if err := dec(in); err != nil {
|
|
@@ -502,7 +789,7 @@ func _Multitenant_UnlinkInstallByClientId_Handler(srv interface{}, ctx context.C
|
|
|
502
789
|
}
|
|
503
790
|
info := &grpc.UnaryServerInfo{
|
|
504
791
|
Server: srv,
|
|
505
|
-
FullMethod:
|
|
792
|
+
FullMethod: Multitenant_UnlinkInstallByClientId_FullMethodName,
|
|
506
793
|
}
|
|
507
794
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
508
795
|
return srv.(MultitenantServer).UnlinkInstallByClientId(ctx, req.(*UnlinkInstallByClientIdRequest))
|
|
@@ -520,7 +807,7 @@ func _Multitenant_RemoveInstallDataBySiteId_Handler(srv interface{}, ctx context
|
|
|
520
807
|
}
|
|
521
808
|
info := &grpc.UnaryServerInfo{
|
|
522
809
|
Server: srv,
|
|
523
|
-
FullMethod:
|
|
810
|
+
FullMethod: Multitenant_RemoveInstallDataBySiteId_FullMethodName,
|
|
524
811
|
}
|
|
525
812
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
526
813
|
return srv.(MultitenantServer).RemoveInstallDataBySiteId(ctx, req.(*RemoveInstallDataBySiteIdRequest))
|
|
@@ -538,7 +825,7 @@ func _Multitenant_GetDuplicatedInstallsByGlobalId_Handler(srv interface{}, ctx c
|
|
|
538
825
|
}
|
|
539
826
|
info := &grpc.UnaryServerInfo{
|
|
540
827
|
Server: srv,
|
|
541
|
-
FullMethod:
|
|
828
|
+
FullMethod: Multitenant_GetDuplicatedInstallsByGlobalId_FullMethodName,
|
|
542
829
|
}
|
|
543
830
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
544
831
|
return srv.(MultitenantServer).GetDuplicatedInstallsByGlobalId(ctx, req.(*GetDuplicatedInstallsByGlobalIdRequest))
|
|
@@ -556,7 +843,7 @@ func _Multitenant_GetUserPermissions_Handler(srv interface{}, ctx context.Contex
|
|
|
556
843
|
}
|
|
557
844
|
info := &grpc.UnaryServerInfo{
|
|
558
845
|
Server: srv,
|
|
559
|
-
FullMethod:
|
|
846
|
+
FullMethod: Multitenant_GetUserPermissions_FullMethodName,
|
|
560
847
|
}
|
|
561
848
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
562
849
|
return srv.(MultitenantServer).GetUserPermissions(ctx, req.(*GetUserPermissionsRequest))
|
|
@@ -574,7 +861,7 @@ func _Multitenant_ValidateApplicationPersonalAccessToken_Handler(srv interface{}
|
|
|
574
861
|
}
|
|
575
862
|
info := &grpc.UnaryServerInfo{
|
|
576
863
|
Server: srv,
|
|
577
|
-
FullMethod:
|
|
864
|
+
FullMethod: Multitenant_ValidateApplicationPersonalAccessToken_FullMethodName,
|
|
578
865
|
}
|
|
579
866
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
580
867
|
return srv.(MultitenantServer).ValidateApplicationPersonalAccessToken(ctx, req.(*ValidateApplicationPersonalAccessTokenRequest))
|
|
@@ -592,7 +879,7 @@ func _Multitenant_SendDisabledWebhookEmail_Handler(srv interface{}, ctx context.
|
|
|
592
879
|
}
|
|
593
880
|
info := &grpc.UnaryServerInfo{
|
|
594
881
|
Server: srv,
|
|
595
|
-
FullMethod:
|
|
882
|
+
FullMethod: Multitenant_SendDisabledWebhookEmail_FullMethodName,
|
|
596
883
|
}
|
|
597
884
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
598
885
|
return srv.(MultitenantServer).SendDisabledWebhookEmail(ctx, req.(*DisableWebhookEmailRequest))
|
|
@@ -600,6 +887,204 @@ func _Multitenant_SendDisabledWebhookEmail_Handler(srv interface{}, ctx context.
|
|
|
600
887
|
return interceptor(ctx, in, info, handler)
|
|
601
888
|
}
|
|
602
889
|
|
|
890
|
+
func _Multitenant_GetAuthorizedSitesByApplicationId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
891
|
+
in := new(AuthorizedSitesRequest)
|
|
892
|
+
if err := dec(in); err != nil {
|
|
893
|
+
return nil, err
|
|
894
|
+
}
|
|
895
|
+
if interceptor == nil {
|
|
896
|
+
return srv.(MultitenantServer).GetAuthorizedSitesByApplicationId(ctx, in)
|
|
897
|
+
}
|
|
898
|
+
info := &grpc.UnaryServerInfo{
|
|
899
|
+
Server: srv,
|
|
900
|
+
FullMethod: Multitenant_GetAuthorizedSitesByApplicationId_FullMethodName,
|
|
901
|
+
}
|
|
902
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
903
|
+
return srv.(MultitenantServer).GetAuthorizedSitesByApplicationId(ctx, req.(*AuthorizedSitesRequest))
|
|
904
|
+
}
|
|
905
|
+
return interceptor(ctx, in, info, handler)
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
func _Multitenant_GetAccountIdsBySiteId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
909
|
+
in := new(GetAccountIdsBySiteIdRequest)
|
|
910
|
+
if err := dec(in); err != nil {
|
|
911
|
+
return nil, err
|
|
912
|
+
}
|
|
913
|
+
if interceptor == nil {
|
|
914
|
+
return srv.(MultitenantServer).GetAccountIdsBySiteId(ctx, in)
|
|
915
|
+
}
|
|
916
|
+
info := &grpc.UnaryServerInfo{
|
|
917
|
+
Server: srv,
|
|
918
|
+
FullMethod: Multitenant_GetAccountIdsBySiteId_FullMethodName,
|
|
919
|
+
}
|
|
920
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
921
|
+
return srv.(MultitenantServer).GetAccountIdsBySiteId(ctx, req.(*GetAccountIdsBySiteIdRequest))
|
|
922
|
+
}
|
|
923
|
+
return interceptor(ctx, in, info, handler)
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
func _Multitenant_CheckManagerInApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
927
|
+
in := new(CheckManagerInApplicationRequest)
|
|
928
|
+
if err := dec(in); err != nil {
|
|
929
|
+
return nil, err
|
|
930
|
+
}
|
|
931
|
+
if interceptor == nil {
|
|
932
|
+
return srv.(MultitenantServer).CheckManagerInApplication(ctx, in)
|
|
933
|
+
}
|
|
934
|
+
info := &grpc.UnaryServerInfo{
|
|
935
|
+
Server: srv,
|
|
936
|
+
FullMethod: Multitenant_CheckManagerInApplication_FullMethodName,
|
|
937
|
+
}
|
|
938
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
939
|
+
return srv.(MultitenantServer).CheckManagerInApplication(ctx, req.(*CheckManagerInApplicationRequest))
|
|
940
|
+
}
|
|
941
|
+
return interceptor(ctx, in, info, handler)
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
func _Multitenant_UpdateSiteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
945
|
+
in := new(UpdateSiteSubscriptionRequest)
|
|
946
|
+
if err := dec(in); err != nil {
|
|
947
|
+
return nil, err
|
|
948
|
+
}
|
|
949
|
+
if interceptor == nil {
|
|
950
|
+
return srv.(MultitenantServer).UpdateSiteSubscription(ctx, in)
|
|
951
|
+
}
|
|
952
|
+
info := &grpc.UnaryServerInfo{
|
|
953
|
+
Server: srv,
|
|
954
|
+
FullMethod: Multitenant_UpdateSiteSubscription_FullMethodName,
|
|
955
|
+
}
|
|
956
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
957
|
+
return srv.(MultitenantServer).UpdateSiteSubscription(ctx, req.(*UpdateSiteSubscriptionRequest))
|
|
958
|
+
}
|
|
959
|
+
return interceptor(ctx, in, info, handler)
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
func _Multitenant_CreateTrialSiteAndInstaller_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
963
|
+
in := new(CreateTrialSiteAndInstallerRequest)
|
|
964
|
+
if err := dec(in); err != nil {
|
|
965
|
+
return nil, err
|
|
966
|
+
}
|
|
967
|
+
if interceptor == nil {
|
|
968
|
+
return srv.(MultitenantServer).CreateTrialSiteAndInstaller(ctx, in)
|
|
969
|
+
}
|
|
970
|
+
info := &grpc.UnaryServerInfo{
|
|
971
|
+
Server: srv,
|
|
972
|
+
FullMethod: Multitenant_CreateTrialSiteAndInstaller_FullMethodName,
|
|
973
|
+
}
|
|
974
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
975
|
+
return srv.(MultitenantServer).CreateTrialSiteAndInstaller(ctx, req.(*CreateTrialSiteAndInstallerRequest))
|
|
976
|
+
}
|
|
977
|
+
return interceptor(ctx, in, info, handler)
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
func _Multitenant_GetInstallationLicenseByClientId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
981
|
+
in := new(GetInstallationLicenseByClientIdRequest)
|
|
982
|
+
if err := dec(in); err != nil {
|
|
983
|
+
return nil, err
|
|
984
|
+
}
|
|
985
|
+
if interceptor == nil {
|
|
986
|
+
return srv.(MultitenantServer).GetInstallationLicenseByClientId(ctx, in)
|
|
987
|
+
}
|
|
988
|
+
info := &grpc.UnaryServerInfo{
|
|
989
|
+
Server: srv,
|
|
990
|
+
FullMethod: Multitenant_GetInstallationLicenseByClientId_FullMethodName,
|
|
991
|
+
}
|
|
992
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
993
|
+
return srv.(MultitenantServer).GetInstallationLicenseByClientId(ctx, req.(*GetInstallationLicenseByClientIdRequest))
|
|
994
|
+
}
|
|
995
|
+
return interceptor(ctx, in, info, handler)
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
func _Multitenant_AllProfilesExist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
999
|
+
in := new(AllProfilesExistRequest)
|
|
1000
|
+
if err := dec(in); err != nil {
|
|
1001
|
+
return nil, err
|
|
1002
|
+
}
|
|
1003
|
+
if interceptor == nil {
|
|
1004
|
+
return srv.(MultitenantServer).AllProfilesExist(ctx, in)
|
|
1005
|
+
}
|
|
1006
|
+
info := &grpc.UnaryServerInfo{
|
|
1007
|
+
Server: srv,
|
|
1008
|
+
FullMethod: Multitenant_AllProfilesExist_FullMethodName,
|
|
1009
|
+
}
|
|
1010
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1011
|
+
return srv.(MultitenantServer).AllProfilesExist(ctx, req.(*AllProfilesExistRequest))
|
|
1012
|
+
}
|
|
1013
|
+
return interceptor(ctx, in, info, handler)
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
func _Multitenant_SendInviteLocalUsersMail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
1017
|
+
in := new(SendInviteLocalUsersMailRequest)
|
|
1018
|
+
if err := dec(in); err != nil {
|
|
1019
|
+
return nil, err
|
|
1020
|
+
}
|
|
1021
|
+
if interceptor == nil {
|
|
1022
|
+
return srv.(MultitenantServer).SendInviteLocalUsersMail(ctx, in)
|
|
1023
|
+
}
|
|
1024
|
+
info := &grpc.UnaryServerInfo{
|
|
1025
|
+
Server: srv,
|
|
1026
|
+
FullMethod: Multitenant_SendInviteLocalUsersMail_FullMethodName,
|
|
1027
|
+
}
|
|
1028
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1029
|
+
return srv.(MultitenantServer).SendInviteLocalUsersMail(ctx, req.(*SendInviteLocalUsersMailRequest))
|
|
1030
|
+
}
|
|
1031
|
+
return interceptor(ctx, in, info, handler)
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
func _Multitenant_AllProfileExists_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
1035
|
+
in := new(AllProfileExistsRequest)
|
|
1036
|
+
if err := dec(in); err != nil {
|
|
1037
|
+
return nil, err
|
|
1038
|
+
}
|
|
1039
|
+
if interceptor == nil {
|
|
1040
|
+
return srv.(MultitenantServer).AllProfileExists(ctx, in)
|
|
1041
|
+
}
|
|
1042
|
+
info := &grpc.UnaryServerInfo{
|
|
1043
|
+
Server: srv,
|
|
1044
|
+
FullMethod: Multitenant_AllProfileExists_FullMethodName,
|
|
1045
|
+
}
|
|
1046
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1047
|
+
return srv.(MultitenantServer).AllProfileExists(ctx, req.(*AllProfileExistsRequest))
|
|
1048
|
+
}
|
|
1049
|
+
return interceptor(ctx, in, info, handler)
|
|
1050
|
+
}
|
|
1051
|
+
|
|
1052
|
+
func _Multitenant_GetSiteSubscription_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
1053
|
+
in := new(GetSiteSubscriptionRequest)
|
|
1054
|
+
if err := dec(in); err != nil {
|
|
1055
|
+
return nil, err
|
|
1056
|
+
}
|
|
1057
|
+
if interceptor == nil {
|
|
1058
|
+
return srv.(MultitenantServer).GetSiteSubscription(ctx, in)
|
|
1059
|
+
}
|
|
1060
|
+
info := &grpc.UnaryServerInfo{
|
|
1061
|
+
Server: srv,
|
|
1062
|
+
FullMethod: Multitenant_GetSiteSubscription_FullMethodName,
|
|
1063
|
+
}
|
|
1064
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1065
|
+
return srv.(MultitenantServer).GetSiteSubscription(ctx, req.(*GetSiteSubscriptionRequest))
|
|
1066
|
+
}
|
|
1067
|
+
return interceptor(ctx, in, info, handler)
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
func _Multitenant_CreateLinkingCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
1071
|
+
in := new(CreateLinkingCodeRequest)
|
|
1072
|
+
if err := dec(in); err != nil {
|
|
1073
|
+
return nil, err
|
|
1074
|
+
}
|
|
1075
|
+
if interceptor == nil {
|
|
1076
|
+
return srv.(MultitenantServer).CreateLinkingCode(ctx, in)
|
|
1077
|
+
}
|
|
1078
|
+
info := &grpc.UnaryServerInfo{
|
|
1079
|
+
Server: srv,
|
|
1080
|
+
FullMethod: Multitenant_CreateLinkingCode_FullMethodName,
|
|
1081
|
+
}
|
|
1082
|
+
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
1083
|
+
return srv.(MultitenantServer).CreateLinkingCode(ctx, req.(*CreateLinkingCodeRequest))
|
|
1084
|
+
}
|
|
1085
|
+
return interceptor(ctx, in, info, handler)
|
|
1086
|
+
}
|
|
1087
|
+
|
|
603
1088
|
// Multitenant_ServiceDesc is the grpc.ServiceDesc for Multitenant service.
|
|
604
1089
|
// It's only intended for direct use with grpc.RegisterService,
|
|
605
1090
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -631,10 +1116,18 @@ var Multitenant_ServiceDesc = grpc.ServiceDesc{
|
|
|
631
1116
|
MethodName: "CreateInstall",
|
|
632
1117
|
Handler: _Multitenant_CreateInstall_Handler,
|
|
633
1118
|
},
|
|
1119
|
+
{
|
|
1120
|
+
MethodName: "CreateAndLinkInstall",
|
|
1121
|
+
Handler: _Multitenant_CreateAndLinkInstall_Handler,
|
|
1122
|
+
},
|
|
634
1123
|
{
|
|
635
1124
|
MethodName: "GetInstallsBySite",
|
|
636
1125
|
Handler: _Multitenant_GetInstallsBySite_Handler,
|
|
637
1126
|
},
|
|
1127
|
+
{
|
|
1128
|
+
MethodName: "GetInstallsById",
|
|
1129
|
+
Handler: _Multitenant_GetInstallsById_Handler,
|
|
1130
|
+
},
|
|
638
1131
|
{
|
|
639
1132
|
MethodName: "GetInstallsCountBySite",
|
|
640
1133
|
Handler: _Multitenant_GetInstallsCountBySite_Handler,
|
|
@@ -651,6 +1144,10 @@ var Multitenant_ServiceDesc = grpc.ServiceDesc{
|
|
|
651
1144
|
MethodName: "RotateInstallByClientId",
|
|
652
1145
|
Handler: _Multitenant_RotateInstallByClientId_Handler,
|
|
653
1146
|
},
|
|
1147
|
+
{
|
|
1148
|
+
MethodName: "LinkTrialInstallByClientId",
|
|
1149
|
+
Handler: _Multitenant_LinkTrialInstallByClientId_Handler,
|
|
1150
|
+
},
|
|
654
1151
|
{
|
|
655
1152
|
MethodName: "UnlinkInstallByClientId",
|
|
656
1153
|
Handler: _Multitenant_UnlinkInstallByClientId_Handler,
|
|
@@ -675,6 +1172,50 @@ var Multitenant_ServiceDesc = grpc.ServiceDesc{
|
|
|
675
1172
|
MethodName: "SendDisabledWebhookEmail",
|
|
676
1173
|
Handler: _Multitenant_SendDisabledWebhookEmail_Handler,
|
|
677
1174
|
},
|
|
1175
|
+
{
|
|
1176
|
+
MethodName: "GetAuthorizedSitesByApplicationId",
|
|
1177
|
+
Handler: _Multitenant_GetAuthorizedSitesByApplicationId_Handler,
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
MethodName: "GetAccountIdsBySiteId",
|
|
1181
|
+
Handler: _Multitenant_GetAccountIdsBySiteId_Handler,
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
MethodName: "CheckManagerInApplication",
|
|
1185
|
+
Handler: _Multitenant_CheckManagerInApplication_Handler,
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
MethodName: "UpdateSiteSubscription",
|
|
1189
|
+
Handler: _Multitenant_UpdateSiteSubscription_Handler,
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
MethodName: "CreateTrialSiteAndInstaller",
|
|
1193
|
+
Handler: _Multitenant_CreateTrialSiteAndInstaller_Handler,
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
MethodName: "GetInstallationLicenseByClientId",
|
|
1197
|
+
Handler: _Multitenant_GetInstallationLicenseByClientId_Handler,
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
MethodName: "AllProfilesExist",
|
|
1201
|
+
Handler: _Multitenant_AllProfilesExist_Handler,
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
MethodName: "SendInviteLocalUsersMail",
|
|
1205
|
+
Handler: _Multitenant_SendInviteLocalUsersMail_Handler,
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
MethodName: "AllProfileExists",
|
|
1209
|
+
Handler: _Multitenant_AllProfileExists_Handler,
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
MethodName: "GetSiteSubscription",
|
|
1213
|
+
Handler: _Multitenant_GetSiteSubscription_Handler,
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
MethodName: "CreateLinkingCode",
|
|
1217
|
+
Handler: _Multitenant_CreateLinkingCode_Handler,
|
|
1218
|
+
},
|
|
678
1219
|
},
|
|
679
1220
|
Streams: []grpc.StreamDesc{},
|
|
680
1221
|
Metadata: "packages/multitenant/grpc/proto/multitenant.proto",
|