@uniswap/client-platform-service 0.0.16 → 0.0.18

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 { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
5
5
  */
@@ -91,3 +91,68 @@ export declare const internalModifyApiKey: {
91
91
  readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
92
92
  };
93
93
  };
94
+ /**
95
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalModifyApiKeyV2
96
+ */
97
+ export declare const internalModifyApiKeyV2: {
98
+ readonly localName: "internalModifyApiKeyV2";
99
+ readonly name: "InternalModifyApiKeyV2";
100
+ readonly kind: MethodKind.Unary;
101
+ readonly I: typeof InternalModifyApiKeyV2Request;
102
+ readonly O: typeof InternalModifyApiKeyV2Response;
103
+ readonly service: {
104
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
105
+ };
106
+ };
107
+ /**
108
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalDeleteApiKey
109
+ */
110
+ export declare const internalDeleteApiKey: {
111
+ readonly localName: "internalDeleteApiKey";
112
+ readonly name: "InternalDeleteApiKey";
113
+ readonly kind: MethodKind.Unary;
114
+ readonly I: typeof InternalDeleteApiKeyRequest;
115
+ readonly O: typeof InternalDeleteApiKeyResponse;
116
+ readonly service: {
117
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
118
+ };
119
+ };
120
+ /**
121
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalSetApiKeyActive
122
+ */
123
+ export declare const internalSetApiKeyActive: {
124
+ readonly localName: "internalSetApiKeyActive";
125
+ readonly name: "InternalSetApiKeyActive";
126
+ readonly kind: MethodKind.Unary;
127
+ readonly I: typeof InternalSetApiKeyActiveRequest;
128
+ readonly O: typeof InternalSetApiKeyActiveResponse;
129
+ readonly service: {
130
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
131
+ };
132
+ };
133
+ /**
134
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalListApiKeys
135
+ */
136
+ export declare const internalListApiKeys: {
137
+ readonly localName: "internalListApiKeys";
138
+ readonly name: "InternalListApiKeys";
139
+ readonly kind: MethodKind.Unary;
140
+ readonly I: typeof InternalListApiKeysRequest;
141
+ readonly O: typeof InternalListApiKeysResponse;
142
+ readonly service: {
143
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
144
+ };
145
+ };
146
+ /**
147
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
148
+ */
149
+ export declare const internalMigrate: {
150
+ readonly localName: "internalMigrate";
151
+ readonly name: "InternalMigrate";
152
+ readonly kind: MethodKind.Unary;
153
+ readonly I: typeof InternalMigrateRequest;
154
+ readonly O: typeof InternalMigrateResponse;
155
+ readonly service: {
156
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
157
+ };
158
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
9
9
  */
@@ -95,3 +95,68 @@ export const internalModifyApiKey = {
95
95
  typeName: "uniswap.platformservice.v1.ApiKeyService"
96
96
  }
97
97
  };
98
+ /**
99
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalModifyApiKeyV2
100
+ */
101
+ export const internalModifyApiKeyV2 = {
102
+ localName: "internalModifyApiKeyV2",
103
+ name: "InternalModifyApiKeyV2",
104
+ kind: MethodKind.Unary,
105
+ I: InternalModifyApiKeyV2Request,
106
+ O: InternalModifyApiKeyV2Response,
107
+ service: {
108
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
109
+ }
110
+ };
111
+ /**
112
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalDeleteApiKey
113
+ */
114
+ export const internalDeleteApiKey = {
115
+ localName: "internalDeleteApiKey",
116
+ name: "InternalDeleteApiKey",
117
+ kind: MethodKind.Unary,
118
+ I: InternalDeleteApiKeyRequest,
119
+ O: InternalDeleteApiKeyResponse,
120
+ service: {
121
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
122
+ }
123
+ };
124
+ /**
125
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalSetApiKeyActive
126
+ */
127
+ export const internalSetApiKeyActive = {
128
+ localName: "internalSetApiKeyActive",
129
+ name: "InternalSetApiKeyActive",
130
+ kind: MethodKind.Unary,
131
+ I: InternalSetApiKeyActiveRequest,
132
+ O: InternalSetApiKeyActiveResponse,
133
+ service: {
134
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
135
+ }
136
+ };
137
+ /**
138
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalListApiKeys
139
+ */
140
+ export const internalListApiKeys = {
141
+ localName: "internalListApiKeys",
142
+ name: "InternalListApiKeys",
143
+ kind: MethodKind.Unary,
144
+ I: InternalListApiKeysRequest,
145
+ O: InternalListApiKeysResponse,
146
+ service: {
147
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
148
+ }
149
+ };
150
+ /**
151
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
152
+ */
153
+ export const internalMigrate = {
154
+ localName: "internalMigrate",
155
+ name: "InternalMigrate",
156
+ kind: MethodKind.Unary,
157
+ I: InternalMigrateRequest,
158
+ O: InternalMigrateResponse,
159
+ service: {
160
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
161
+ }
162
+ };
@@ -1,4 +1,4 @@
1
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
1
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Service definition
@@ -71,5 +71,50 @@ export declare const ApiKeyService: {
71
71
  readonly O: typeof InternalModifyApiKeyResponse;
72
72
  readonly kind: MethodKind.Unary;
73
73
  };
74
+ /**
75
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalModifyApiKeyV2
76
+ */
77
+ readonly internalModifyApiKeyV2: {
78
+ readonly name: "InternalModifyApiKeyV2";
79
+ readonly I: typeof InternalModifyApiKeyV2Request;
80
+ readonly O: typeof InternalModifyApiKeyV2Response;
81
+ readonly kind: MethodKind.Unary;
82
+ };
83
+ /**
84
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalDeleteApiKey
85
+ */
86
+ readonly internalDeleteApiKey: {
87
+ readonly name: "InternalDeleteApiKey";
88
+ readonly I: typeof InternalDeleteApiKeyRequest;
89
+ readonly O: typeof InternalDeleteApiKeyResponse;
90
+ readonly kind: MethodKind.Unary;
91
+ };
92
+ /**
93
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalSetApiKeyActive
94
+ */
95
+ readonly internalSetApiKeyActive: {
96
+ readonly name: "InternalSetApiKeyActive";
97
+ readonly I: typeof InternalSetApiKeyActiveRequest;
98
+ readonly O: typeof InternalSetApiKeyActiveResponse;
99
+ readonly kind: MethodKind.Unary;
100
+ };
101
+ /**
102
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalListApiKeys
103
+ */
104
+ readonly internalListApiKeys: {
105
+ readonly name: "InternalListApiKeys";
106
+ readonly I: typeof InternalListApiKeysRequest;
107
+ readonly O: typeof InternalListApiKeysResponse;
108
+ readonly kind: MethodKind.Unary;
109
+ };
110
+ /**
111
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
112
+ */
113
+ readonly internalMigrate: {
114
+ readonly name: "InternalMigrate";
115
+ readonly I: typeof InternalMigrateRequest;
116
+ readonly O: typeof InternalMigrateResponse;
117
+ readonly kind: MethodKind.Unary;
118
+ };
74
119
  };
75
120
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/platformservice/v1/apiKeyService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
5
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, InternalDeleteApiKeyRequest, InternalDeleteApiKeyResponse, InternalListApiKeysRequest, InternalListApiKeysResponse, InternalMigrateRequest, InternalMigrateResponse, InternalModifyApiKeyRequest, InternalModifyApiKeyResponse, InternalModifyApiKeyV2Request, InternalModifyApiKeyV2Response, InternalSetApiKeyActiveRequest, InternalSetApiKeyActiveResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * Service definition
@@ -75,5 +75,50 @@ export const ApiKeyService = {
75
75
  O: InternalModifyApiKeyResponse,
76
76
  kind: MethodKind.Unary,
77
77
  },
78
+ /**
79
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalModifyApiKeyV2
80
+ */
81
+ internalModifyApiKeyV2: {
82
+ name: "InternalModifyApiKeyV2",
83
+ I: InternalModifyApiKeyV2Request,
84
+ O: InternalModifyApiKeyV2Response,
85
+ kind: MethodKind.Unary,
86
+ },
87
+ /**
88
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalDeleteApiKey
89
+ */
90
+ internalDeleteApiKey: {
91
+ name: "InternalDeleteApiKey",
92
+ I: InternalDeleteApiKeyRequest,
93
+ O: InternalDeleteApiKeyResponse,
94
+ kind: MethodKind.Unary,
95
+ },
96
+ /**
97
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalSetApiKeyActive
98
+ */
99
+ internalSetApiKeyActive: {
100
+ name: "InternalSetApiKeyActive",
101
+ I: InternalSetApiKeyActiveRequest,
102
+ O: InternalSetApiKeyActiveResponse,
103
+ kind: MethodKind.Unary,
104
+ },
105
+ /**
106
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalListApiKeys
107
+ */
108
+ internalListApiKeys: {
109
+ name: "InternalListApiKeys",
110
+ I: InternalListApiKeysRequest,
111
+ O: InternalListApiKeysResponse,
112
+ kind: MethodKind.Unary,
113
+ },
114
+ /**
115
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalMigrate
116
+ */
117
+ internalMigrate: {
118
+ name: "InternalMigrate",
119
+ I: InternalMigrateRequest,
120
+ O: InternalMigrateResponse,
121
+ kind: MethodKind.Unary,
122
+ },
78
123
  }
79
124
  };
@@ -159,6 +159,17 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
159
159
  * @generated from field: uniswap.platformservice.v1.ApiKeyTier tier = 6;
160
160
  */
161
161
  tier: ApiKeyTier;
162
+ /**
163
+ * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 7;
164
+ */
165
+ rateLimitConfig?: RateLimitConfig;
166
+ /**
167
+ * Customer name from the API-Customer table (e.g. "web", "Talos", "e2e-ci").
168
+ * Forwarded to downstream services via x-common-data header.
169
+ *
170
+ * @generated from field: optional string name = 8;
171
+ */
172
+ name?: string;
162
173
  constructor(data?: PartialMessage<IntrospectResponse>);
163
174
  static readonly runtime: typeof proto3;
164
175
  static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
@@ -359,6 +370,10 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
359
370
  * @generated from field: google.protobuf.Timestamp creation_time = 9;
360
371
  */
361
372
  creationTime?: Timestamp;
373
+ /**
374
+ * @generated from field: optional string analytics_id = 10;
375
+ */
376
+ analyticsId?: string;
362
377
  constructor(data?: PartialMessage<ApiKeyDataStruct>);
363
378
  static readonly runtime: typeof proto3;
364
379
  static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
@@ -504,3 +519,183 @@ export declare class InternalModifyApiKeyResponse extends Message<InternalModify
504
519
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyResponse;
505
520
  static equals(a: InternalModifyApiKeyResponse | PlainMessage<InternalModifyApiKeyResponse> | undefined, b: InternalModifyApiKeyResponse | PlainMessage<InternalModifyApiKeyResponse> | undefined): boolean;
506
521
  }
522
+ /**
523
+ * Internal Modify API Key V2 request/response (VPN-restricted admin endpoint)
524
+ * Identifies key by hashed_api_key; no cap on rate_limit_config (admin override).
525
+ *
526
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Request
527
+ */
528
+ export declare class InternalModifyApiKeyV2Request extends Message<InternalModifyApiKeyV2Request> {
529
+ /**
530
+ * @generated from field: string hashed_api_key = 1;
531
+ */
532
+ hashedApiKey: string;
533
+ /**
534
+ * @generated from field: int32 target_rps = 2;
535
+ */
536
+ targetRps: number;
537
+ constructor(data?: PartialMessage<InternalModifyApiKeyV2Request>);
538
+ static readonly runtime: typeof proto3;
539
+ static readonly typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Request";
540
+ static readonly fields: FieldList;
541
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalModifyApiKeyV2Request;
542
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Request;
543
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Request;
544
+ static equals(a: InternalModifyApiKeyV2Request | PlainMessage<InternalModifyApiKeyV2Request> | undefined, b: InternalModifyApiKeyV2Request | PlainMessage<InternalModifyApiKeyV2Request> | undefined): boolean;
545
+ }
546
+ /**
547
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Response
548
+ */
549
+ export declare class InternalModifyApiKeyV2Response extends Message<InternalModifyApiKeyV2Response> {
550
+ constructor(data?: PartialMessage<InternalModifyApiKeyV2Response>);
551
+ static readonly runtime: typeof proto3;
552
+ static readonly typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Response";
553
+ static readonly fields: FieldList;
554
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalModifyApiKeyV2Response;
555
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Response;
556
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Response;
557
+ static equals(a: InternalModifyApiKeyV2Response | PlainMessage<InternalModifyApiKeyV2Response> | undefined, b: InternalModifyApiKeyV2Response | PlainMessage<InternalModifyApiKeyV2Response> | undefined): boolean;
558
+ }
559
+ /**
560
+ * Internal Delete API Key request/response (VPN-restricted admin endpoint)
561
+ *
562
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyRequest
563
+ */
564
+ export declare class InternalDeleteApiKeyRequest extends Message<InternalDeleteApiKeyRequest> {
565
+ /**
566
+ * @generated from field: string hashed_api_key = 1;
567
+ */
568
+ hashedApiKey: string;
569
+ constructor(data?: PartialMessage<InternalDeleteApiKeyRequest>);
570
+ static readonly runtime: typeof proto3;
571
+ static readonly typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyRequest";
572
+ static readonly fields: FieldList;
573
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteApiKeyRequest;
574
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyRequest;
575
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyRequest;
576
+ static equals(a: InternalDeleteApiKeyRequest | PlainMessage<InternalDeleteApiKeyRequest> | undefined, b: InternalDeleteApiKeyRequest | PlainMessage<InternalDeleteApiKeyRequest> | undefined): boolean;
577
+ }
578
+ /**
579
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyResponse
580
+ */
581
+ export declare class InternalDeleteApiKeyResponse extends Message<InternalDeleteApiKeyResponse> {
582
+ constructor(data?: PartialMessage<InternalDeleteApiKeyResponse>);
583
+ static readonly runtime: typeof proto3;
584
+ static readonly typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyResponse";
585
+ static readonly fields: FieldList;
586
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteApiKeyResponse;
587
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyResponse;
588
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyResponse;
589
+ static equals(a: InternalDeleteApiKeyResponse | PlainMessage<InternalDeleteApiKeyResponse> | undefined, b: InternalDeleteApiKeyResponse | PlainMessage<InternalDeleteApiKeyResponse> | undefined): boolean;
590
+ }
591
+ /**
592
+ * Internal Set API Key Active request/response (VPN-restricted admin endpoint)
593
+ *
594
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveRequest
595
+ */
596
+ export declare class InternalSetApiKeyActiveRequest extends Message<InternalSetApiKeyActiveRequest> {
597
+ /**
598
+ * @generated from field: string hashed_api_key = 1;
599
+ */
600
+ hashedApiKey: string;
601
+ /**
602
+ * @generated from field: bool active = 2;
603
+ */
604
+ active: boolean;
605
+ constructor(data?: PartialMessage<InternalSetApiKeyActiveRequest>);
606
+ static readonly runtime: typeof proto3;
607
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveRequest";
608
+ static readonly fields: FieldList;
609
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetApiKeyActiveRequest;
610
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveRequest;
611
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveRequest;
612
+ static equals(a: InternalSetApiKeyActiveRequest | PlainMessage<InternalSetApiKeyActiveRequest> | undefined, b: InternalSetApiKeyActiveRequest | PlainMessage<InternalSetApiKeyActiveRequest> | undefined): boolean;
613
+ }
614
+ /**
615
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveResponse
616
+ */
617
+ export declare class InternalSetApiKeyActiveResponse extends Message<InternalSetApiKeyActiveResponse> {
618
+ constructor(data?: PartialMessage<InternalSetApiKeyActiveResponse>);
619
+ static readonly runtime: typeof proto3;
620
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveResponse";
621
+ static readonly fields: FieldList;
622
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetApiKeyActiveResponse;
623
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveResponse;
624
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveResponse;
625
+ static equals(a: InternalSetApiKeyActiveResponse | PlainMessage<InternalSetApiKeyActiveResponse> | undefined, b: InternalSetApiKeyActiveResponse | PlainMessage<InternalSetApiKeyActiveResponse> | undefined): boolean;
626
+ }
627
+ /**
628
+ * Internal List API Keys request/response (VPN-restricted admin endpoint)
629
+ * Lists all API keys (active and inactive) for the org associated with the given email.
630
+ *
631
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysRequest
632
+ */
633
+ export declare class InternalListApiKeysRequest extends Message<InternalListApiKeysRequest> {
634
+ /**
635
+ * @generated from field: string email = 1;
636
+ */
637
+ email: string;
638
+ constructor(data?: PartialMessage<InternalListApiKeysRequest>);
639
+ static readonly runtime: typeof proto3;
640
+ static readonly typeName = "uniswap.platformservice.v1.InternalListApiKeysRequest";
641
+ static readonly fields: FieldList;
642
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListApiKeysRequest;
643
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListApiKeysRequest;
644
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysRequest;
645
+ static equals(a: InternalListApiKeysRequest | PlainMessage<InternalListApiKeysRequest> | undefined, b: InternalListApiKeysRequest | PlainMessage<InternalListApiKeysRequest> | undefined): boolean;
646
+ }
647
+ /**
648
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysResponse
649
+ */
650
+ export declare class InternalListApiKeysResponse extends Message<InternalListApiKeysResponse> {
651
+ /**
652
+ * @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
653
+ */
654
+ apiKeyDataList: ApiKeyDataStruct[];
655
+ constructor(data?: PartialMessage<InternalListApiKeysResponse>);
656
+ static readonly runtime: typeof proto3;
657
+ static readonly typeName = "uniswap.platformservice.v1.InternalListApiKeysResponse";
658
+ static readonly fields: FieldList;
659
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListApiKeysResponse;
660
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
661
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
662
+ static equals(a: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined, b: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined): boolean;
663
+ }
664
+ /**
665
+ * Internal Migrate request/response (VPN-restricted admin endpoint)
666
+ * Migrates a legacy API-Customer key into the platform egw-api-key table,
667
+ * linking it to the org found by the user's email.
668
+ *
669
+ * @generated from message uniswap.platformservice.v1.InternalMigrateRequest
670
+ */
671
+ export declare class InternalMigrateRequest extends Message<InternalMigrateRequest> {
672
+ /**
673
+ * @generated from field: string analytics_id = 1;
674
+ */
675
+ analyticsId: string;
676
+ /**
677
+ * @generated from field: string email = 2;
678
+ */
679
+ email: string;
680
+ constructor(data?: PartialMessage<InternalMigrateRequest>);
681
+ static readonly runtime: typeof proto3;
682
+ static readonly typeName = "uniswap.platformservice.v1.InternalMigrateRequest";
683
+ static readonly fields: FieldList;
684
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalMigrateRequest;
685
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalMigrateRequest;
686
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalMigrateRequest;
687
+ static equals(a: InternalMigrateRequest | PlainMessage<InternalMigrateRequest> | undefined, b: InternalMigrateRequest | PlainMessage<InternalMigrateRequest> | undefined): boolean;
688
+ }
689
+ /**
690
+ * @generated from message uniswap.platformservice.v1.InternalMigrateResponse
691
+ */
692
+ export declare class InternalMigrateResponse extends Message<InternalMigrateResponse> {
693
+ constructor(data?: PartialMessage<InternalMigrateResponse>);
694
+ static readonly runtime: typeof proto3;
695
+ static readonly typeName = "uniswap.platformservice.v1.InternalMigrateResponse";
696
+ static readonly fields: FieldList;
697
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalMigrateResponse;
698
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalMigrateResponse;
699
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalMigrateResponse;
700
+ static equals(a: InternalMigrateResponse | PlainMessage<InternalMigrateResponse> | undefined, b: InternalMigrateResponse | PlainMessage<InternalMigrateResponse> | undefined): boolean;
701
+ }