@uniswap/client-platform-service 0.0.42 → 0.0.43

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.
@@ -2,8 +2,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
3
  import { ApiKeyDataStruct } from "./apiKeyService_pb.js";
4
4
  /**
5
- * Role of a member within their organization. OWNER is the founding user: a
6
- * super-admin other admins cannot remove or demote.
5
+ * Role of a member within their organization. The founding user is an ADMIN.
7
6
  *
8
7
  * @generated from enum uniswap.platformservice.v1.OrgRole
9
8
  */
@@ -12,10 +11,6 @@ export declare enum OrgRole {
12
11
  * @generated from enum value: ORG_ROLE_UNSPECIFIED = 0;
13
12
  */
14
13
  UNSPECIFIED = 0,
15
- /**
16
- * @generated from enum value: ORG_ROLE_OWNER = 1;
17
- */
18
- OWNER = 1,
19
14
  /**
20
15
  * @generated from enum value: ORG_ROLE_ADMIN = 2;
21
16
  */
@@ -115,13 +110,7 @@ export declare enum OrganizationServiceError_Code {
115
110
  */
116
111
  CANNOT_MODIFY_SELF = 12,
117
112
  /**
118
- * the owner's role is immutable; only the owner removes the owner
119
- *
120
- * @generated from enum value: CANNOT_MODIFY_OWNER = 13;
121
- */
122
- CANNOT_MODIFY_OWNER = 13,
123
- /**
124
- * role missing, unknown, or OWNER (not assignable)
113
+ * role missing or unknown
125
114
  *
126
115
  * @generated from enum value: INVALID_ROLE = 14;
127
116
  */
@@ -220,7 +209,7 @@ export declare class UpdateOrganizationMemberRoleRequest extends Message<UpdateO
220
209
  */
221
210
  userId: string;
222
211
  /**
223
- * ADMIN, EDITOR, or VIEWER; OWNER is not assignable
212
+ * ADMIN, EDITOR, or VIEWER
224
213
  *
225
214
  * @generated from field: uniswap.platformservice.v1.OrgRole role = 2;
226
215
  */
@@ -5,8 +5,7 @@
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
6
  import { ApiKeyDataStruct } from "./apiKeyService_pb.js";
7
7
  /**
8
- * Role of a member within their organization. OWNER is the founding user: a
9
- * super-admin other admins cannot remove or demote.
8
+ * Role of a member within their organization. The founding user is an ADMIN.
10
9
  *
11
10
  * @generated from enum uniswap.platformservice.v1.OrgRole
12
11
  */
@@ -16,10 +15,6 @@ export var OrgRole;
16
15
  * @generated from enum value: ORG_ROLE_UNSPECIFIED = 0;
17
16
  */
18
17
  OrgRole[OrgRole["UNSPECIFIED"] = 0] = "UNSPECIFIED";
19
- /**
20
- * @generated from enum value: ORG_ROLE_OWNER = 1;
21
- */
22
- OrgRole[OrgRole["OWNER"] = 1] = "OWNER";
23
18
  /**
24
19
  * @generated from enum value: ORG_ROLE_ADMIN = 2;
25
20
  */
@@ -36,7 +31,6 @@ export var OrgRole;
36
31
  // Retrieve enum metadata with: proto3.getEnumType(OrgRole)
37
32
  proto3.util.setEnumType(OrgRole, "uniswap.platformservice.v1.OrgRole", [
38
33
  { no: 0, name: "ORG_ROLE_UNSPECIFIED" },
39
- { no: 1, name: "ORG_ROLE_OWNER" },
40
34
  { no: 2, name: "ORG_ROLE_ADMIN" },
41
35
  { no: 3, name: "ORG_ROLE_EDITOR" },
42
36
  { no: 4, name: "ORG_ROLE_VIEWER" },
@@ -141,13 +135,7 @@ export var OrganizationServiceError_Code;
141
135
  */
142
136
  OrganizationServiceError_Code[OrganizationServiceError_Code["CANNOT_MODIFY_SELF"] = 12] = "CANNOT_MODIFY_SELF";
143
137
  /**
144
- * the owner's role is immutable; only the owner removes the owner
145
- *
146
- * @generated from enum value: CANNOT_MODIFY_OWNER = 13;
147
- */
148
- OrganizationServiceError_Code[OrganizationServiceError_Code["CANNOT_MODIFY_OWNER"] = 13] = "CANNOT_MODIFY_OWNER";
149
- /**
150
- * role missing, unknown, or OWNER (not assignable)
138
+ * role missing or unknown
151
139
  *
152
140
  * @generated from enum value: INVALID_ROLE = 14;
153
141
  */
@@ -174,7 +162,6 @@ proto3.util.setEnumType(OrganizationServiceError_Code, "uniswap.platformservice.
174
162
  { no: 10, name: "INVITE_EMAIL_MISMATCH" },
175
163
  { no: 11, name: "LAST_ADMIN" },
176
164
  { no: 12, name: "CANNOT_MODIFY_SELF" },
177
- { no: 13, name: "CANNOT_MODIFY_OWNER" },
178
165
  { no: 14, name: "INVALID_ROLE" },
179
166
  { no: 15, name: "INVALID_EMAIL" },
180
167
  ]);
@@ -306,7 +293,7 @@ export class UpdateOrganizationMemberRoleRequest extends Message {
306
293
  */
307
294
  this.userId = "";
308
295
  /**
309
- * ADMIN, EDITOR, or VIEWER; OWNER is not assignable
296
+ * ADMIN, EDITOR, or VIEWER
310
297
  *
311
298
  * @generated from field: uniswap.platformservice.v1.OrgRole role = 2;
312
299
  */
@@ -365,7 +365,7 @@ export declare class InternalModifyUserRequest extends Message<InternalModifyUse
365
365
  orgId?: string;
366
366
  /**
367
367
  * Role stored with the membership; set alongside org_id (the org creator
368
- * becomes OWNER). Absent leaves the stored role untouched.
368
+ * becomes ADMIN). Absent leaves the stored role untouched.
369
369
  *
370
370
  * @generated from field: optional uniswap.platformservice.v1.OrgRole role = 2;
371
371
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.42",
3
+ "version": "0.0.43",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },