@uniswap/client-platform-service 0.0.9 → 0.0.10

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.
Files changed (32) hide show
  1. package/dist/uniswap/platformservice/v1/apiKeyService-ApiKeyService_connectquery.js +1 -1
  2. package/dist/uniswap/platformservice/v1/apiKeyService_connect.js +1 -1
  3. package/dist/uniswap/platformservice/v1/apiKeyService_pb.d.ts +8 -0
  4. package/dist/uniswap/platformservice/v1/apiKeyService_pb.js +7 -1
  5. package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.d.ts +14 -1
  6. package/dist/uniswap/platformservice/v1/organizationService-OrganizationService_connectquery.js +15 -2
  7. package/dist/uniswap/platformservice/v1/organizationService_connect.d.ts +10 -1
  8. package/dist/uniswap/platformservice/v1/organizationService_connect.js +11 -2
  9. package/dist/uniswap/platformservice/v1/organizationService_pb.d.ts +42 -0
  10. package/dist/uniswap/platformservice/v1/organizationService_pb.js +70 -1
  11. package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.d.ts +2 -43
  12. package/dist/uniswap/platformservice/v1/personaService-PersonaService_connectquery.js +3 -44
  13. package/dist/uniswap/platformservice/v1/personaService_connect.d.ts +2 -31
  14. package/dist/uniswap/platformservice/v1/personaService_connect.js +3 -32
  15. package/dist/uniswap/platformservice/v1/personaService_pb.d.ts +0 -150
  16. package/dist/uniswap/platformservice/v1/personaService_pb.js +1 -231
  17. package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.d.ts +2 -18
  18. package/dist/uniswap/platformservice/v1/sessionService-SessionService_connectquery.js +3 -19
  19. package/dist/uniswap/platformservice/v1/sessionService_connect.d.ts +2 -14
  20. package/dist/uniswap/platformservice/v1/sessionService_connect.js +3 -15
  21. package/dist/uniswap/platformservice/v1/sessionService_pb.d.ts +8 -28
  22. package/dist/uniswap/platformservice/v1/sessionService_pb.js +9 -50
  23. package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.d.ts +73 -0
  24. package/dist/uniswap/platformservice/v1/userService-UserService_connectquery.js +77 -0
  25. package/dist/uniswap/platformservice/v1/userService_connect.d.ts +61 -0
  26. package/dist/uniswap/platformservice/v1/userService_connect.js +65 -0
  27. package/dist/uniswap/platformservice/v1/userService_pb.d.ts +261 -0
  28. package/dist/uniswap/platformservice/v1/userService_pb.js +382 -0
  29. package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.js +1 -1
  30. package/dist/uniswap/platformservice/v1/workerService_connect.js +1 -1
  31. package/dist/uniswap/platformservice/v1/workerService_pb.js +1 -1
  32. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -249,6 +249,10 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
249
249
  * @generated from field: google.protobuf.Timestamp creation_time = 5;
250
250
  */
251
251
  creationTime?: Timestamp;
252
+ /**
253
+ * @generated from field: optional string raw_key = 6;
254
+ */
255
+ rawKey?: string;
252
256
  constructor(data?: PartialMessage<ApiKeyDataStruct>);
253
257
  static readonly runtime: typeof proto3;
254
258
  static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
@@ -266,6 +270,10 @@ export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
266
270
  * @generated from field: string user_id = 1;
267
271
  */
268
272
  userId: string;
273
+ /**
274
+ * @generated from field: bool include_raw_keys = 2;
275
+ */
276
+ includeRawKeys: boolean;
269
277
  constructor(data?: PartialMessage<ListApiKeyRequest>);
270
278
  static readonly runtime: typeof proto3;
271
279
  static readonly typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -384,6 +384,7 @@ ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
384
384
  { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig },
385
385
  { no: 4, name: "last_modified_at", kind: "message", T: Timestamp },
386
386
  { no: 5, name: "creation_time", kind: "message", T: Timestamp },
387
+ { no: 6, name: "raw_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
387
388
  ]);
388
389
  /**
389
390
  * @generated from message uniswap.platformservice.v1.ListApiKeyRequest
@@ -395,6 +396,10 @@ export class ListApiKeyRequest extends Message {
395
396
  * @generated from field: string user_id = 1;
396
397
  */
397
398
  this.userId = "";
399
+ /**
400
+ * @generated from field: bool include_raw_keys = 2;
401
+ */
402
+ this.includeRawKeys = false;
398
403
  proto3.util.initPartial(data, this);
399
404
  }
400
405
  static fromBinary(bytes, options) {
@@ -414,6 +419,7 @@ ListApiKeyRequest.runtime = proto3;
414
419
  ListApiKeyRequest.typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
415
420
  ListApiKeyRequest.fields = proto3.util.newFieldList(() => [
416
421
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
422
+ { no: 2, name: "include_raw_keys", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
417
423
  ]);
418
424
  /**
419
425
  * @generated from message uniswap.platformservice.v1.ListApiKeyResponse
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { CreateOrganizationRequest, CreateOrganizationResponse } from "./organizationService_pb.js";
2
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
3
3
  /**
4
4
  * authed toward user through egw
5
5
  * User who created the org is admin
@@ -16,3 +16,16 @@ export declare const createOrganization: {
16
16
  readonly typeName: "uniswap.platformservice.v1.OrganizationService";
17
17
  };
18
18
  };
19
+ /**
20
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganization
21
+ */
22
+ export declare const getOrganization: {
23
+ readonly localName: "getOrganization";
24
+ readonly name: "GetOrganization";
25
+ readonly kind: MethodKind.Unary;
26
+ readonly I: typeof GetOrganizationRequest;
27
+ readonly O: typeof GetOrganizationResponse;
28
+ readonly service: {
29
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
30
+ };
31
+ };
@@ -1,9 +1,9 @@
1
- // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
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
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateOrganizationRequest, CreateOrganizationResponse } from "./organizationService_pb.js";
6
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
7
7
  /**
8
8
  * authed toward user through egw
9
9
  * User who created the org is admin
@@ -20,3 +20,16 @@ export const createOrganization = {
20
20
  typeName: "uniswap.platformservice.v1.OrganizationService"
21
21
  }
22
22
  };
23
+ /**
24
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganization
25
+ */
26
+ export const getOrganization = {
27
+ localName: "getOrganization",
28
+ name: "GetOrganization",
29
+ kind: MethodKind.Unary,
30
+ I: GetOrganizationRequest,
31
+ O: GetOrganizationResponse,
32
+ service: {
33
+ typeName: "uniswap.platformservice.v1.OrganizationService"
34
+ }
35
+ };
@@ -1,4 +1,4 @@
1
- import { CreateOrganizationRequest, CreateOrganizationResponse } from "./organizationService_pb.js";
1
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -18,5 +18,14 @@ export declare const OrganizationService: {
18
18
  readonly O: typeof CreateOrganizationResponse;
19
19
  readonly kind: MethodKind.Unary;
20
20
  };
21
+ /**
22
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganization
23
+ */
24
+ readonly getOrganization: {
25
+ readonly name: "GetOrganization";
26
+ readonly I: typeof GetOrganizationRequest;
27
+ readonly O: typeof GetOrganizationResponse;
28
+ readonly kind: MethodKind.Unary;
29
+ };
21
30
  };
22
31
  };
@@ -1,8 +1,8 @@
1
- // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
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 } from "./organizationService_pb.js";
5
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse } from "./organizationService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -22,5 +22,14 @@ export const OrganizationService = {
22
22
  O: CreateOrganizationResponse,
23
23
  kind: MethodKind.Unary,
24
24
  },
25
+ /**
26
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.GetOrganization
27
+ */
28
+ getOrganization: {
29
+ name: "GetOrganization",
30
+ I: GetOrganizationRequest,
31
+ O: GetOrganizationResponse,
32
+ kind: MethodKind.Unary,
33
+ },
25
34
  }
26
35
  };
@@ -30,3 +30,45 @@ export declare class CreateOrganizationResponse extends Message<CreateOrganizati
30
30
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateOrganizationResponse;
31
31
  static equals(a: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined, b: CreateOrganizationResponse | PlainMessage<CreateOrganizationResponse> | undefined): boolean;
32
32
  }
33
+ /**
34
+ * @generated from message uniswap.platformservice.v1.GetOrganizationRequest
35
+ */
36
+ export declare class GetOrganizationRequest extends Message<GetOrganizationRequest> {
37
+ constructor(data?: PartialMessage<GetOrganizationRequest>);
38
+ static readonly runtime: typeof proto3;
39
+ static readonly typeName = "uniswap.platformservice.v1.GetOrganizationRequest";
40
+ static readonly fields: FieldList;
41
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationRequest;
42
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
43
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationRequest;
44
+ static equals(a: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined, b: GetOrganizationRequest | PlainMessage<GetOrganizationRequest> | undefined): boolean;
45
+ }
46
+ /**
47
+ * @generated from message uniswap.platformservice.v1.GetOrganizationResponse
48
+ */
49
+ export declare class GetOrganizationResponse extends Message<GetOrganizationResponse> {
50
+ /**
51
+ * @generated from field: string id = 1;
52
+ */
53
+ id: string;
54
+ /**
55
+ * @generated from field: string name = 2;
56
+ */
57
+ name: string;
58
+ /**
59
+ * @generated from field: int32 max_api_keys = 3;
60
+ */
61
+ maxApiKeys: number;
62
+ /**
63
+ * @generated from field: string created_at = 4;
64
+ */
65
+ createdAt: string;
66
+ constructor(data?: PartialMessage<GetOrganizationResponse>);
67
+ static readonly runtime: typeof proto3;
68
+ static readonly typeName = "uniswap.platformservice.v1.GetOrganizationResponse";
69
+ static readonly fields: FieldList;
70
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetOrganizationResponse;
71
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
72
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetOrganizationResponse;
73
+ static equals(a: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined, b: GetOrganizationResponse | PlainMessage<GetOrganizationResponse> | undefined): boolean;
74
+ }
@@ -1,4 +1,4 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/organizationService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
@@ -57,3 +57,72 @@ export class CreateOrganizationResponse extends Message {
57
57
  CreateOrganizationResponse.runtime = proto3;
58
58
  CreateOrganizationResponse.typeName = "uniswap.platformservice.v1.CreateOrganizationResponse";
59
59
  CreateOrganizationResponse.fields = proto3.util.newFieldList(() => []);
60
+ /**
61
+ * @generated from message uniswap.platformservice.v1.GetOrganizationRequest
62
+ */
63
+ export class GetOrganizationRequest extends Message {
64
+ constructor(data) {
65
+ super();
66
+ proto3.util.initPartial(data, this);
67
+ }
68
+ static fromBinary(bytes, options) {
69
+ return new GetOrganizationRequest().fromBinary(bytes, options);
70
+ }
71
+ static fromJson(jsonValue, options) {
72
+ return new GetOrganizationRequest().fromJson(jsonValue, options);
73
+ }
74
+ static fromJsonString(jsonString, options) {
75
+ return new GetOrganizationRequest().fromJsonString(jsonString, options);
76
+ }
77
+ static equals(a, b) {
78
+ return proto3.util.equals(GetOrganizationRequest, a, b);
79
+ }
80
+ }
81
+ GetOrganizationRequest.runtime = proto3;
82
+ GetOrganizationRequest.typeName = "uniswap.platformservice.v1.GetOrganizationRequest";
83
+ GetOrganizationRequest.fields = proto3.util.newFieldList(() => []);
84
+ /**
85
+ * @generated from message uniswap.platformservice.v1.GetOrganizationResponse
86
+ */
87
+ export class GetOrganizationResponse extends Message {
88
+ constructor(data) {
89
+ super();
90
+ /**
91
+ * @generated from field: string id = 1;
92
+ */
93
+ this.id = "";
94
+ /**
95
+ * @generated from field: string name = 2;
96
+ */
97
+ this.name = "";
98
+ /**
99
+ * @generated from field: int32 max_api_keys = 3;
100
+ */
101
+ this.maxApiKeys = 0;
102
+ /**
103
+ * @generated from field: string created_at = 4;
104
+ */
105
+ this.createdAt = "";
106
+ proto3.util.initPartial(data, this);
107
+ }
108
+ static fromBinary(bytes, options) {
109
+ return new GetOrganizationResponse().fromBinary(bytes, options);
110
+ }
111
+ static fromJson(jsonValue, options) {
112
+ return new GetOrganizationResponse().fromJson(jsonValue, options);
113
+ }
114
+ static fromJsonString(jsonString, options) {
115
+ return new GetOrganizationResponse().fromJsonString(jsonString, options);
116
+ }
117
+ static equals(a, b) {
118
+ return proto3.util.equals(GetOrganizationResponse, a, b);
119
+ }
120
+ }
121
+ GetOrganizationResponse.runtime = proto3;
122
+ GetOrganizationResponse.typeName = "uniswap.platformservice.v1.GetOrganizationResponse";
123
+ GetOrganizationResponse.fields = proto3.util.newFieldList(() => [
124
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
126
+ { no: 3, name: "max_api_keys", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
127
+ { no: 4, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
128
+ ]);
@@ -1,7 +1,7 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { DeletePersonaRequest, DeletePersonaResponse, GetAccountRequest, GetAccountResponse, GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, ModifyPersonaRequest, ModifyPersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
2
+ import { GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
3
3
  /**
4
- * Internal endpoints
4
+ * Internal endpoints for device-based persona management
5
5
  *
6
6
  * @generated from rpc uniswap.platformservice.v1.PersonaService.UpgradePersona
7
7
  */
@@ -28,44 +28,3 @@ export declare const getOrCreatePersona: {
28
28
  readonly typeName: "uniswap.platformservice.v1.PersonaService";
29
29
  };
30
30
  };
31
- /**
32
- * External facing & Authed endpoint get PersonaID directly through ctx.auth.userID header
33
- *
34
- * @generated from rpc uniswap.platformservice.v1.PersonaService.ModifyPersona
35
- */
36
- export declare const modifyPersona: {
37
- readonly localName: "modifyPersona";
38
- readonly name: "ModifyPersona";
39
- readonly kind: MethodKind.Unary;
40
- readonly I: typeof ModifyPersonaRequest;
41
- readonly O: typeof ModifyPersonaResponse;
42
- readonly service: {
43
- readonly typeName: "uniswap.platformservice.v1.PersonaService";
44
- };
45
- };
46
- /**
47
- * @generated from rpc uniswap.platformservice.v1.PersonaService.GetAccount
48
- */
49
- export declare const getAccount: {
50
- readonly localName: "getAccount";
51
- readonly name: "GetAccount";
52
- readonly kind: MethodKind.Unary;
53
- readonly I: typeof GetAccountRequest;
54
- readonly O: typeof GetAccountResponse;
55
- readonly service: {
56
- readonly typeName: "uniswap.platformservice.v1.PersonaService";
57
- };
58
- };
59
- /**
60
- * @generated from rpc uniswap.platformservice.v1.PersonaService.DeletePersona
61
- */
62
- export declare const deletePersona: {
63
- readonly localName: "deletePersona";
64
- readonly name: "DeletePersona";
65
- readonly kind: MethodKind.Unary;
66
- readonly I: typeof DeletePersonaRequest;
67
- readonly O: typeof DeletePersonaResponse;
68
- readonly service: {
69
- readonly typeName: "uniswap.platformservice.v1.PersonaService";
70
- };
71
- };
@@ -1,11 +1,11 @@
1
- // @generated by protoc-gen-connect-query v1.4.1 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/personaService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { DeletePersonaRequest, DeletePersonaResponse, GetAccountRequest, GetAccountResponse, GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, ModifyPersonaRequest, ModifyPersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
6
+ import { GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
7
7
  /**
8
- * Internal endpoints
8
+ * Internal endpoints for device-based persona management
9
9
  *
10
10
  * @generated from rpc uniswap.platformservice.v1.PersonaService.UpgradePersona
11
11
  */
@@ -32,44 +32,3 @@ export const getOrCreatePersona = {
32
32
  typeName: "uniswap.platformservice.v1.PersonaService"
33
33
  }
34
34
  };
35
- /**
36
- * External facing & Authed endpoint get PersonaID directly through ctx.auth.userID header
37
- *
38
- * @generated from rpc uniswap.platformservice.v1.PersonaService.ModifyPersona
39
- */
40
- export const modifyPersona = {
41
- localName: "modifyPersona",
42
- name: "ModifyPersona",
43
- kind: MethodKind.Unary,
44
- I: ModifyPersonaRequest,
45
- O: ModifyPersonaResponse,
46
- service: {
47
- typeName: "uniswap.platformservice.v1.PersonaService"
48
- }
49
- };
50
- /**
51
- * @generated from rpc uniswap.platformservice.v1.PersonaService.GetAccount
52
- */
53
- export const getAccount = {
54
- localName: "getAccount",
55
- name: "GetAccount",
56
- kind: MethodKind.Unary,
57
- I: GetAccountRequest,
58
- O: GetAccountResponse,
59
- service: {
60
- typeName: "uniswap.platformservice.v1.PersonaService"
61
- }
62
- };
63
- /**
64
- * @generated from rpc uniswap.platformservice.v1.PersonaService.DeletePersona
65
- */
66
- export const deletePersona = {
67
- localName: "deletePersona",
68
- name: "DeletePersona",
69
- kind: MethodKind.Unary,
70
- I: DeletePersonaRequest,
71
- O: DeletePersonaResponse,
72
- service: {
73
- typeName: "uniswap.platformservice.v1.PersonaService"
74
- }
75
- };
@@ -1,4 +1,4 @@
1
- import { DeletePersonaRequest, DeletePersonaResponse, GetAccountRequest, GetAccountResponse, GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, ModifyPersonaRequest, ModifyPersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
1
+ import { GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.platformservice.v1.PersonaService
@@ -7,7 +7,7 @@ export declare const PersonaService: {
7
7
  readonly typeName: "uniswap.platformservice.v1.PersonaService";
8
8
  readonly methods: {
9
9
  /**
10
- * Internal endpoints
10
+ * Internal endpoints for device-based persona management
11
11
  *
12
12
  * @generated from rpc uniswap.platformservice.v1.PersonaService.UpgradePersona
13
13
  */
@@ -26,34 +26,5 @@ export declare const PersonaService: {
26
26
  readonly O: typeof GetOrCreatePersonaResponse;
27
27
  readonly kind: MethodKind.Unary;
28
28
  };
29
- /**
30
- * External facing & Authed endpoint get PersonaID directly through ctx.auth.userID header
31
- *
32
- * @generated from rpc uniswap.platformservice.v1.PersonaService.ModifyPersona
33
- */
34
- readonly modifyPersona: {
35
- readonly name: "ModifyPersona";
36
- readonly I: typeof ModifyPersonaRequest;
37
- readonly O: typeof ModifyPersonaResponse;
38
- readonly kind: MethodKind.Unary;
39
- };
40
- /**
41
- * @generated from rpc uniswap.platformservice.v1.PersonaService.GetAccount
42
- */
43
- readonly getAccount: {
44
- readonly name: "GetAccount";
45
- readonly I: typeof GetAccountRequest;
46
- readonly O: typeof GetAccountResponse;
47
- readonly kind: MethodKind.Unary;
48
- };
49
- /**
50
- * @generated from rpc uniswap.platformservice.v1.PersonaService.DeletePersona
51
- */
52
- readonly deletePersona: {
53
- readonly name: "DeletePersona";
54
- readonly I: typeof DeletePersonaRequest;
55
- readonly O: typeof DeletePersonaResponse;
56
- readonly kind: MethodKind.Unary;
57
- };
58
29
  };
59
30
  };
@@ -1,8 +1,8 @@
1
- // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
2
2
  // @generated from file uniswap/platformservice/v1/personaService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { DeletePersonaRequest, DeletePersonaResponse, GetAccountRequest, GetAccountResponse, GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, ModifyPersonaRequest, ModifyPersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
5
+ import { GetOrCreatePersonaRequest, GetOrCreatePersonaResponse, UpgradePersonaRequest, UpgradePersonaResponse } from "./personaService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.platformservice.v1.PersonaService
@@ -11,7 +11,7 @@ export const PersonaService = {
11
11
  typeName: "uniswap.platformservice.v1.PersonaService",
12
12
  methods: {
13
13
  /**
14
- * Internal endpoints
14
+ * Internal endpoints for device-based persona management
15
15
  *
16
16
  * @generated from rpc uniswap.platformservice.v1.PersonaService.UpgradePersona
17
17
  */
@@ -30,34 +30,5 @@ export const PersonaService = {
30
30
  O: GetOrCreatePersonaResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
- /**
34
- * External facing & Authed endpoint get PersonaID directly through ctx.auth.userID header
35
- *
36
- * @generated from rpc uniswap.platformservice.v1.PersonaService.ModifyPersona
37
- */
38
- modifyPersona: {
39
- name: "ModifyPersona",
40
- I: ModifyPersonaRequest,
41
- O: ModifyPersonaResponse,
42
- kind: MethodKind.Unary,
43
- },
44
- /**
45
- * @generated from rpc uniswap.platformservice.v1.PersonaService.GetAccount
46
- */
47
- getAccount: {
48
- name: "GetAccount",
49
- I: GetAccountRequest,
50
- O: GetAccountResponse,
51
- kind: MethodKind.Unary,
52
- },
53
- /**
54
- * @generated from rpc uniswap.platformservice.v1.PersonaService.DeletePersona
55
- */
56
- deletePersona: {
57
- name: "DeletePersona",
58
- I: DeletePersonaRequest,
59
- O: DeletePersonaResponse,
60
- kind: MethodKind.Unary,
61
- },
62
33
  }
63
34
  };