@uniswap/client-platform-service 0.0.40 → 0.0.41

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
2
+ import { AcceptOrganizationInviteRequest, AcceptOrganizationInviteResponse, CreateOrganizationInvitesRequest, CreateOrganizationInvitesResponse, CreateOrganizationRequest, CreateOrganizationResponse, GetMyPendingInviteRequest, GetMyPendingInviteResponse, GetOrganizationInviteRequest, GetOrganizationInviteResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse, ListOrganizationInvitesRequest, ListOrganizationInvitesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RevokeOrganizationInviteRequest, RevokeOrganizationInviteResponse, UpdateOrganizationInviteRoleRequest, UpdateOrganizationInviteRoleResponse, UpdateOrganizationMemberRoleRequest, UpdateOrganizationMemberRoleResponse, UpdateOrganizationNameRequest, UpdateOrganizationNameResponse } from "./organizationService_pb.js";
3
3
  /**
4
4
  * authed toward user through egw
5
5
  * User who created the org is admin
@@ -83,3 +83,175 @@ export declare const internalSetOrganizationCustomName: {
83
83
  readonly typeName: "uniswap.platformservice.v1.OrganizationService";
84
84
  };
85
85
  };
86
+ /**
87
+ * --- Team management (authed toward user through egw; admin-only unless noted) ---
88
+ *
89
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationMembers
90
+ */
91
+ export declare const listOrganizationMembers: {
92
+ readonly localName: "listOrganizationMembers";
93
+ readonly name: "ListOrganizationMembers";
94
+ readonly kind: MethodKind.Unary;
95
+ readonly I: typeof ListOrganizationMembersRequest;
96
+ readonly O: typeof ListOrganizationMembersResponse;
97
+ readonly service: {
98
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
99
+ };
100
+ };
101
+ /**
102
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationMemberRole
103
+ */
104
+ export declare const updateOrganizationMemberRole: {
105
+ readonly localName: "updateOrganizationMemberRole";
106
+ readonly name: "UpdateOrganizationMemberRole";
107
+ readonly kind: MethodKind.Unary;
108
+ readonly I: typeof UpdateOrganizationMemberRoleRequest;
109
+ readonly O: typeof UpdateOrganizationMemberRoleResponse;
110
+ readonly service: {
111
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
112
+ };
113
+ };
114
+ /**
115
+ * Removes the member and deletes their account entirely.
116
+ *
117
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RemoveOrganizationMember
118
+ */
119
+ export declare const removeOrganizationMember: {
120
+ readonly localName: "removeOrganizationMember";
121
+ readonly name: "RemoveOrganizationMember";
122
+ readonly kind: MethodKind.Unary;
123
+ readonly I: typeof RemoveOrganizationMemberRequest;
124
+ readonly O: typeof RemoveOrganizationMemberResponse;
125
+ readonly service: {
126
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
127
+ };
128
+ };
129
+ /**
130
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationName
131
+ */
132
+ export declare const updateOrganizationName: {
133
+ readonly localName: "updateOrganizationName";
134
+ readonly name: "UpdateOrganizationName";
135
+ readonly kind: MethodKind.Unary;
136
+ readonly I: typeof UpdateOrganizationNameRequest;
137
+ readonly O: typeof UpdateOrganizationNameResponse;
138
+ readonly service: {
139
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
140
+ };
141
+ };
142
+ /**
143
+ * --- Invites (admin-only unless noted) ---
144
+ *
145
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.CreateOrganizationInvites
146
+ */
147
+ export declare const createOrganizationInvites: {
148
+ readonly localName: "createOrganizationInvites";
149
+ readonly name: "CreateOrganizationInvites";
150
+ readonly kind: MethodKind.Unary;
151
+ readonly I: typeof CreateOrganizationInvitesRequest;
152
+ readonly O: typeof CreateOrganizationInvitesResponse;
153
+ readonly service: {
154
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
155
+ };
156
+ };
157
+ /**
158
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationInvites
159
+ */
160
+ export declare const listOrganizationInvites: {
161
+ readonly localName: "listOrganizationInvites";
162
+ readonly name: "ListOrganizationInvites";
163
+ readonly kind: MethodKind.Unary;
164
+ readonly I: typeof ListOrganizationInvitesRequest;
165
+ readonly O: typeof ListOrganizationInvitesResponse;
166
+ readonly service: {
167
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
168
+ };
169
+ };
170
+ /**
171
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RevokeOrganizationInvite
172
+ */
173
+ export declare const revokeOrganizationInvite: {
174
+ readonly localName: "revokeOrganizationInvite";
175
+ readonly name: "RevokeOrganizationInvite";
176
+ readonly kind: MethodKind.Unary;
177
+ readonly I: typeof RevokeOrganizationInviteRequest;
178
+ readonly O: typeof RevokeOrganizationInviteResponse;
179
+ readonly service: {
180
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
181
+ };
182
+ };
183
+ /**
184
+ * Nullifies the old code, issues a fresh one with a new 7-day window, and re-sends the email.
185
+ *
186
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ResendOrganizationInvite
187
+ */
188
+ export declare const resendOrganizationInvite: {
189
+ readonly localName: "resendOrganizationInvite";
190
+ readonly name: "ResendOrganizationInvite";
191
+ readonly kind: MethodKind.Unary;
192
+ readonly I: typeof ResendOrganizationInviteRequest;
193
+ readonly O: typeof ResendOrganizationInviteResponse;
194
+ readonly service: {
195
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
196
+ };
197
+ };
198
+ /**
199
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationInviteRole
200
+ */
201
+ export declare const updateOrganizationInviteRole: {
202
+ readonly localName: "updateOrganizationInviteRole";
203
+ readonly name: "UpdateOrganizationInviteRole";
204
+ readonly kind: MethodKind.Unary;
205
+ readonly I: typeof UpdateOrganizationInviteRoleRequest;
206
+ readonly O: typeof UpdateOrganizationInviteRoleResponse;
207
+ readonly service: {
208
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
209
+ };
210
+ };
211
+ /**
212
+ * Looks up an invite by its emailed code for the signup banner. Any session may call it;
213
+ * possession of the code is the credential.
214
+ *
215
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganizationInvite
216
+ */
217
+ export declare const getOrganizationInvite: {
218
+ readonly localName: "getOrganizationInvite";
219
+ readonly name: "GetOrganizationInvite";
220
+ readonly kind: MethodKind.Unary;
221
+ readonly I: typeof GetOrganizationInviteRequest;
222
+ readonly O: typeof GetOrganizationInviteResponse;
223
+ readonly service: {
224
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
225
+ };
226
+ };
227
+ /**
228
+ * Joins the caller to the inviting org. With no code, matches the caller's email against
229
+ * pending invites (the onboarding path). The caller must not already belong to an org.
230
+ *
231
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.AcceptOrganizationInvite
232
+ */
233
+ export declare const acceptOrganizationInvite: {
234
+ readonly localName: "acceptOrganizationInvite";
235
+ readonly name: "AcceptOrganizationInvite";
236
+ readonly kind: MethodKind.Unary;
237
+ readonly I: typeof AcceptOrganizationInviteRequest;
238
+ readonly O: typeof AcceptOrganizationInviteResponse;
239
+ readonly service: {
240
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
241
+ };
242
+ };
243
+ /**
244
+ * Pending invite bound to the caller's email, if any — lets onboarding offer join-instead-of-create.
245
+ *
246
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetMyPendingInvite
247
+ */
248
+ export declare const getMyPendingInvite: {
249
+ readonly localName: "getMyPendingInvite";
250
+ readonly name: "GetMyPendingInvite";
251
+ readonly kind: MethodKind.Unary;
252
+ readonly I: typeof GetMyPendingInviteRequest;
253
+ readonly O: typeof GetMyPendingInviteResponse;
254
+ readonly service: {
255
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
256
+ };
257
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
6
+ import { AcceptOrganizationInviteRequest, AcceptOrganizationInviteResponse, CreateOrganizationInvitesRequest, CreateOrganizationInvitesResponse, CreateOrganizationRequest, CreateOrganizationResponse, GetMyPendingInviteRequest, GetMyPendingInviteResponse, GetOrganizationInviteRequest, GetOrganizationInviteResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse, ListOrganizationInvitesRequest, ListOrganizationInvitesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RevokeOrganizationInviteRequest, RevokeOrganizationInviteResponse, UpdateOrganizationInviteRoleRequest, UpdateOrganizationInviteRoleResponse, UpdateOrganizationMemberRoleRequest, UpdateOrganizationMemberRoleResponse, UpdateOrganizationNameRequest, UpdateOrganizationNameResponse } from "./organizationService_pb.js";
7
7
  /**
8
8
  * authed toward user through egw
9
9
  * User who created the org is admin
@@ -87,3 +87,175 @@ export const internalSetOrganizationCustomName = {
87
87
  typeName: "uniswap.platformservice.v1.OrganizationService"
88
88
  }
89
89
  };
90
+ /**
91
+ * --- Team management (authed toward user through egw; admin-only unless noted) ---
92
+ *
93
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationMembers
94
+ */
95
+ export const listOrganizationMembers = {
96
+ localName: "listOrganizationMembers",
97
+ name: "ListOrganizationMembers",
98
+ kind: MethodKind.Unary,
99
+ I: ListOrganizationMembersRequest,
100
+ O: ListOrganizationMembersResponse,
101
+ service: {
102
+ typeName: "uniswap.platformservice.v1.OrganizationService"
103
+ }
104
+ };
105
+ /**
106
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationMemberRole
107
+ */
108
+ export const updateOrganizationMemberRole = {
109
+ localName: "updateOrganizationMemberRole",
110
+ name: "UpdateOrganizationMemberRole",
111
+ kind: MethodKind.Unary,
112
+ I: UpdateOrganizationMemberRoleRequest,
113
+ O: UpdateOrganizationMemberRoleResponse,
114
+ service: {
115
+ typeName: "uniswap.platformservice.v1.OrganizationService"
116
+ }
117
+ };
118
+ /**
119
+ * Removes the member and deletes their account entirely.
120
+ *
121
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RemoveOrganizationMember
122
+ */
123
+ export const removeOrganizationMember = {
124
+ localName: "removeOrganizationMember",
125
+ name: "RemoveOrganizationMember",
126
+ kind: MethodKind.Unary,
127
+ I: RemoveOrganizationMemberRequest,
128
+ O: RemoveOrganizationMemberResponse,
129
+ service: {
130
+ typeName: "uniswap.platformservice.v1.OrganizationService"
131
+ }
132
+ };
133
+ /**
134
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationName
135
+ */
136
+ export const updateOrganizationName = {
137
+ localName: "updateOrganizationName",
138
+ name: "UpdateOrganizationName",
139
+ kind: MethodKind.Unary,
140
+ I: UpdateOrganizationNameRequest,
141
+ O: UpdateOrganizationNameResponse,
142
+ service: {
143
+ typeName: "uniswap.platformservice.v1.OrganizationService"
144
+ }
145
+ };
146
+ /**
147
+ * --- Invites (admin-only unless noted) ---
148
+ *
149
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.CreateOrganizationInvites
150
+ */
151
+ export const createOrganizationInvites = {
152
+ localName: "createOrganizationInvites",
153
+ name: "CreateOrganizationInvites",
154
+ kind: MethodKind.Unary,
155
+ I: CreateOrganizationInvitesRequest,
156
+ O: CreateOrganizationInvitesResponse,
157
+ service: {
158
+ typeName: "uniswap.platformservice.v1.OrganizationService"
159
+ }
160
+ };
161
+ /**
162
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationInvites
163
+ */
164
+ export const listOrganizationInvites = {
165
+ localName: "listOrganizationInvites",
166
+ name: "ListOrganizationInvites",
167
+ kind: MethodKind.Unary,
168
+ I: ListOrganizationInvitesRequest,
169
+ O: ListOrganizationInvitesResponse,
170
+ service: {
171
+ typeName: "uniswap.platformservice.v1.OrganizationService"
172
+ }
173
+ };
174
+ /**
175
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RevokeOrganizationInvite
176
+ */
177
+ export const revokeOrganizationInvite = {
178
+ localName: "revokeOrganizationInvite",
179
+ name: "RevokeOrganizationInvite",
180
+ kind: MethodKind.Unary,
181
+ I: RevokeOrganizationInviteRequest,
182
+ O: RevokeOrganizationInviteResponse,
183
+ service: {
184
+ typeName: "uniswap.platformservice.v1.OrganizationService"
185
+ }
186
+ };
187
+ /**
188
+ * Nullifies the old code, issues a fresh one with a new 7-day window, and re-sends the email.
189
+ *
190
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ResendOrganizationInvite
191
+ */
192
+ export const resendOrganizationInvite = {
193
+ localName: "resendOrganizationInvite",
194
+ name: "ResendOrganizationInvite",
195
+ kind: MethodKind.Unary,
196
+ I: ResendOrganizationInviteRequest,
197
+ O: ResendOrganizationInviteResponse,
198
+ service: {
199
+ typeName: "uniswap.platformservice.v1.OrganizationService"
200
+ }
201
+ };
202
+ /**
203
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationInviteRole
204
+ */
205
+ export const updateOrganizationInviteRole = {
206
+ localName: "updateOrganizationInviteRole",
207
+ name: "UpdateOrganizationInviteRole",
208
+ kind: MethodKind.Unary,
209
+ I: UpdateOrganizationInviteRoleRequest,
210
+ O: UpdateOrganizationInviteRoleResponse,
211
+ service: {
212
+ typeName: "uniswap.platformservice.v1.OrganizationService"
213
+ }
214
+ };
215
+ /**
216
+ * Looks up an invite by its emailed code for the signup banner. Any session may call it;
217
+ * possession of the code is the credential.
218
+ *
219
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganizationInvite
220
+ */
221
+ export const getOrganizationInvite = {
222
+ localName: "getOrganizationInvite",
223
+ name: "GetOrganizationInvite",
224
+ kind: MethodKind.Unary,
225
+ I: GetOrganizationInviteRequest,
226
+ O: GetOrganizationInviteResponse,
227
+ service: {
228
+ typeName: "uniswap.platformservice.v1.OrganizationService"
229
+ }
230
+ };
231
+ /**
232
+ * Joins the caller to the inviting org. With no code, matches the caller's email against
233
+ * pending invites (the onboarding path). The caller must not already belong to an org.
234
+ *
235
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.AcceptOrganizationInvite
236
+ */
237
+ export const acceptOrganizationInvite = {
238
+ localName: "acceptOrganizationInvite",
239
+ name: "AcceptOrganizationInvite",
240
+ kind: MethodKind.Unary,
241
+ I: AcceptOrganizationInviteRequest,
242
+ O: AcceptOrganizationInviteResponse,
243
+ service: {
244
+ typeName: "uniswap.platformservice.v1.OrganizationService"
245
+ }
246
+ };
247
+ /**
248
+ * Pending invite bound to the caller's email, if any — lets onboarding offer join-instead-of-create.
249
+ *
250
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetMyPendingInvite
251
+ */
252
+ export const getMyPendingInvite = {
253
+ localName: "getMyPendingInvite",
254
+ name: "GetMyPendingInvite",
255
+ kind: MethodKind.Unary,
256
+ I: GetMyPendingInviteRequest,
257
+ O: GetMyPendingInviteResponse,
258
+ service: {
259
+ typeName: "uniswap.platformservice.v1.OrganizationService"
260
+ }
261
+ };
@@ -1,4 +1,4 @@
1
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
1
+ import { AcceptOrganizationInviteRequest, AcceptOrganizationInviteResponse, CreateOrganizationInvitesRequest, CreateOrganizationInvitesResponse, CreateOrganizationRequest, CreateOrganizationResponse, GetMyPendingInviteRequest, GetMyPendingInviteResponse, GetOrganizationInviteRequest, GetOrganizationInviteResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse, ListOrganizationInvitesRequest, ListOrganizationInvitesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RevokeOrganizationInviteRequest, RevokeOrganizationInviteResponse, UpdateOrganizationInviteRoleRequest, UpdateOrganizationInviteRoleResponse, UpdateOrganizationMemberRoleRequest, UpdateOrganizationMemberRoleResponse, UpdateOrganizationNameRequest, UpdateOrganizationNameResponse } from "./organizationService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -65,5 +65,129 @@ export declare const OrganizationService: {
65
65
  readonly O: typeof InternalSetOrganizationCustomNameResponse;
66
66
  readonly kind: MethodKind.Unary;
67
67
  };
68
+ /**
69
+ * --- Team management (authed toward user through egw; admin-only unless noted) ---
70
+ *
71
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationMembers
72
+ */
73
+ readonly listOrganizationMembers: {
74
+ readonly name: "ListOrganizationMembers";
75
+ readonly I: typeof ListOrganizationMembersRequest;
76
+ readonly O: typeof ListOrganizationMembersResponse;
77
+ readonly kind: MethodKind.Unary;
78
+ };
79
+ /**
80
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationMemberRole
81
+ */
82
+ readonly updateOrganizationMemberRole: {
83
+ readonly name: "UpdateOrganizationMemberRole";
84
+ readonly I: typeof UpdateOrganizationMemberRoleRequest;
85
+ readonly O: typeof UpdateOrganizationMemberRoleResponse;
86
+ readonly kind: MethodKind.Unary;
87
+ };
88
+ /**
89
+ * Removes the member and deletes their account entirely.
90
+ *
91
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RemoveOrganizationMember
92
+ */
93
+ readonly removeOrganizationMember: {
94
+ readonly name: "RemoveOrganizationMember";
95
+ readonly I: typeof RemoveOrganizationMemberRequest;
96
+ readonly O: typeof RemoveOrganizationMemberResponse;
97
+ readonly kind: MethodKind.Unary;
98
+ };
99
+ /**
100
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationName
101
+ */
102
+ readonly updateOrganizationName: {
103
+ readonly name: "UpdateOrganizationName";
104
+ readonly I: typeof UpdateOrganizationNameRequest;
105
+ readonly O: typeof UpdateOrganizationNameResponse;
106
+ readonly kind: MethodKind.Unary;
107
+ };
108
+ /**
109
+ * --- Invites (admin-only unless noted) ---
110
+ *
111
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.CreateOrganizationInvites
112
+ */
113
+ readonly createOrganizationInvites: {
114
+ readonly name: "CreateOrganizationInvites";
115
+ readonly I: typeof CreateOrganizationInvitesRequest;
116
+ readonly O: typeof CreateOrganizationInvitesResponse;
117
+ readonly kind: MethodKind.Unary;
118
+ };
119
+ /**
120
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationInvites
121
+ */
122
+ readonly listOrganizationInvites: {
123
+ readonly name: "ListOrganizationInvites";
124
+ readonly I: typeof ListOrganizationInvitesRequest;
125
+ readonly O: typeof ListOrganizationInvitesResponse;
126
+ readonly kind: MethodKind.Unary;
127
+ };
128
+ /**
129
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RevokeOrganizationInvite
130
+ */
131
+ readonly revokeOrganizationInvite: {
132
+ readonly name: "RevokeOrganizationInvite";
133
+ readonly I: typeof RevokeOrganizationInviteRequest;
134
+ readonly O: typeof RevokeOrganizationInviteResponse;
135
+ readonly kind: MethodKind.Unary;
136
+ };
137
+ /**
138
+ * Nullifies the old code, issues a fresh one with a new 7-day window, and re-sends the email.
139
+ *
140
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ResendOrganizationInvite
141
+ */
142
+ readonly resendOrganizationInvite: {
143
+ readonly name: "ResendOrganizationInvite";
144
+ readonly I: typeof ResendOrganizationInviteRequest;
145
+ readonly O: typeof ResendOrganizationInviteResponse;
146
+ readonly kind: MethodKind.Unary;
147
+ };
148
+ /**
149
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationInviteRole
150
+ */
151
+ readonly updateOrganizationInviteRole: {
152
+ readonly name: "UpdateOrganizationInviteRole";
153
+ readonly I: typeof UpdateOrganizationInviteRoleRequest;
154
+ readonly O: typeof UpdateOrganizationInviteRoleResponse;
155
+ readonly kind: MethodKind.Unary;
156
+ };
157
+ /**
158
+ * Looks up an invite by its emailed code for the signup banner. Any session may call it;
159
+ * possession of the code is the credential.
160
+ *
161
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganizationInvite
162
+ */
163
+ readonly getOrganizationInvite: {
164
+ readonly name: "GetOrganizationInvite";
165
+ readonly I: typeof GetOrganizationInviteRequest;
166
+ readonly O: typeof GetOrganizationInviteResponse;
167
+ readonly kind: MethodKind.Unary;
168
+ };
169
+ /**
170
+ * Joins the caller to the inviting org. With no code, matches the caller's email against
171
+ * pending invites (the onboarding path). The caller must not already belong to an org.
172
+ *
173
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.AcceptOrganizationInvite
174
+ */
175
+ readonly acceptOrganizationInvite: {
176
+ readonly name: "AcceptOrganizationInvite";
177
+ readonly I: typeof AcceptOrganizationInviteRequest;
178
+ readonly O: typeof AcceptOrganizationInviteResponse;
179
+ readonly kind: MethodKind.Unary;
180
+ };
181
+ /**
182
+ * Pending invite bound to the caller's email, if any — lets onboarding offer join-instead-of-create.
183
+ *
184
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetMyPendingInvite
185
+ */
186
+ readonly getMyPendingInvite: {
187
+ readonly name: "GetMyPendingInvite";
188
+ readonly I: typeof GetMyPendingInviteRequest;
189
+ readonly O: typeof GetMyPendingInviteResponse;
190
+ readonly kind: MethodKind.Unary;
191
+ };
68
192
  };
69
193
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/platformservice/v1/organizationService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
5
+ import { AcceptOrganizationInviteRequest, AcceptOrganizationInviteResponse, CreateOrganizationInvitesRequest, CreateOrganizationInvitesResponse, CreateOrganizationRequest, CreateOrganizationResponse, GetMyPendingInviteRequest, GetMyPendingInviteResponse, GetOrganizationInviteRequest, GetOrganizationInviteResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse, ListOrganizationInvitesRequest, ListOrganizationInvitesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, RemoveOrganizationMemberRequest, RemoveOrganizationMemberResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RevokeOrganizationInviteRequest, RevokeOrganizationInviteResponse, UpdateOrganizationInviteRoleRequest, UpdateOrganizationInviteRoleResponse, UpdateOrganizationMemberRoleRequest, UpdateOrganizationMemberRoleResponse, UpdateOrganizationNameRequest, UpdateOrganizationNameResponse } from "./organizationService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -69,5 +69,129 @@ export const OrganizationService = {
69
69
  O: InternalSetOrganizationCustomNameResponse,
70
70
  kind: MethodKind.Unary,
71
71
  },
72
+ /**
73
+ * --- Team management (authed toward user through egw; admin-only unless noted) ---
74
+ *
75
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationMembers
76
+ */
77
+ listOrganizationMembers: {
78
+ name: "ListOrganizationMembers",
79
+ I: ListOrganizationMembersRequest,
80
+ O: ListOrganizationMembersResponse,
81
+ kind: MethodKind.Unary,
82
+ },
83
+ /**
84
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationMemberRole
85
+ */
86
+ updateOrganizationMemberRole: {
87
+ name: "UpdateOrganizationMemberRole",
88
+ I: UpdateOrganizationMemberRoleRequest,
89
+ O: UpdateOrganizationMemberRoleResponse,
90
+ kind: MethodKind.Unary,
91
+ },
92
+ /**
93
+ * Removes the member and deletes their account entirely.
94
+ *
95
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RemoveOrganizationMember
96
+ */
97
+ removeOrganizationMember: {
98
+ name: "RemoveOrganizationMember",
99
+ I: RemoveOrganizationMemberRequest,
100
+ O: RemoveOrganizationMemberResponse,
101
+ kind: MethodKind.Unary,
102
+ },
103
+ /**
104
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationName
105
+ */
106
+ updateOrganizationName: {
107
+ name: "UpdateOrganizationName",
108
+ I: UpdateOrganizationNameRequest,
109
+ O: UpdateOrganizationNameResponse,
110
+ kind: MethodKind.Unary,
111
+ },
112
+ /**
113
+ * --- Invites (admin-only unless noted) ---
114
+ *
115
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.CreateOrganizationInvites
116
+ */
117
+ createOrganizationInvites: {
118
+ name: "CreateOrganizationInvites",
119
+ I: CreateOrganizationInvitesRequest,
120
+ O: CreateOrganizationInvitesResponse,
121
+ kind: MethodKind.Unary,
122
+ },
123
+ /**
124
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ListOrganizationInvites
125
+ */
126
+ listOrganizationInvites: {
127
+ name: "ListOrganizationInvites",
128
+ I: ListOrganizationInvitesRequest,
129
+ O: ListOrganizationInvitesResponse,
130
+ kind: MethodKind.Unary,
131
+ },
132
+ /**
133
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.RevokeOrganizationInvite
134
+ */
135
+ revokeOrganizationInvite: {
136
+ name: "RevokeOrganizationInvite",
137
+ I: RevokeOrganizationInviteRequest,
138
+ O: RevokeOrganizationInviteResponse,
139
+ kind: MethodKind.Unary,
140
+ },
141
+ /**
142
+ * Nullifies the old code, issues a fresh one with a new 7-day window, and re-sends the email.
143
+ *
144
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.ResendOrganizationInvite
145
+ */
146
+ resendOrganizationInvite: {
147
+ name: "ResendOrganizationInvite",
148
+ I: ResendOrganizationInviteRequest,
149
+ O: ResendOrganizationInviteResponse,
150
+ kind: MethodKind.Unary,
151
+ },
152
+ /**
153
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.UpdateOrganizationInviteRole
154
+ */
155
+ updateOrganizationInviteRole: {
156
+ name: "UpdateOrganizationInviteRole",
157
+ I: UpdateOrganizationInviteRoleRequest,
158
+ O: UpdateOrganizationInviteRoleResponse,
159
+ kind: MethodKind.Unary,
160
+ },
161
+ /**
162
+ * Looks up an invite by its emailed code for the signup banner. Any session may call it;
163
+ * possession of the code is the credential.
164
+ *
165
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganizationInvite
166
+ */
167
+ getOrganizationInvite: {
168
+ name: "GetOrganizationInvite",
169
+ I: GetOrganizationInviteRequest,
170
+ O: GetOrganizationInviteResponse,
171
+ kind: MethodKind.Unary,
172
+ },
173
+ /**
174
+ * Joins the caller to the inviting org. With no code, matches the caller's email against
175
+ * pending invites (the onboarding path). The caller must not already belong to an org.
176
+ *
177
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.AcceptOrganizationInvite
178
+ */
179
+ acceptOrganizationInvite: {
180
+ name: "AcceptOrganizationInvite",
181
+ I: AcceptOrganizationInviteRequest,
182
+ O: AcceptOrganizationInviteResponse,
183
+ kind: MethodKind.Unary,
184
+ },
185
+ /**
186
+ * Pending invite bound to the caller's email, if any — lets onboarding offer join-instead-of-create.
187
+ *
188
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetMyPendingInvite
189
+ */
190
+ getMyPendingInvite: {
191
+ name: "GetMyPendingInvite",
192
+ I: GetMyPendingInviteRequest,
193
+ O: GetMyPendingInviteResponse,
194
+ kind: MethodKind.Unary,
195
+ },
72
196
  }
73
197
  };