@uniswap/client-platform-service 0.0.16 → 0.0.17

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,10 @@ 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;
162
166
  constructor(data?: PartialMessage<IntrospectResponse>);
163
167
  static readonly runtime: typeof proto3;
164
168
  static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
@@ -504,3 +508,183 @@ export declare class InternalModifyApiKeyResponse extends Message<InternalModify
504
508
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyResponse;
505
509
  static equals(a: InternalModifyApiKeyResponse | PlainMessage<InternalModifyApiKeyResponse> | undefined, b: InternalModifyApiKeyResponse | PlainMessage<InternalModifyApiKeyResponse> | undefined): boolean;
506
510
  }
511
+ /**
512
+ * Internal Modify API Key V2 request/response (VPN-restricted admin endpoint)
513
+ * Identifies key by hashed_api_key; no cap on rate_limit_config (admin override).
514
+ *
515
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Request
516
+ */
517
+ export declare class InternalModifyApiKeyV2Request extends Message<InternalModifyApiKeyV2Request> {
518
+ /**
519
+ * @generated from field: string hashed_api_key = 1;
520
+ */
521
+ hashedApiKey: string;
522
+ /**
523
+ * @generated from field: int32 target_rps = 2;
524
+ */
525
+ targetRps: number;
526
+ constructor(data?: PartialMessage<InternalModifyApiKeyV2Request>);
527
+ static readonly runtime: typeof proto3;
528
+ static readonly typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Request";
529
+ static readonly fields: FieldList;
530
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalModifyApiKeyV2Request;
531
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Request;
532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Request;
533
+ static equals(a: InternalModifyApiKeyV2Request | PlainMessage<InternalModifyApiKeyV2Request> | undefined, b: InternalModifyApiKeyV2Request | PlainMessage<InternalModifyApiKeyV2Request> | undefined): boolean;
534
+ }
535
+ /**
536
+ * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Response
537
+ */
538
+ export declare class InternalModifyApiKeyV2Response extends Message<InternalModifyApiKeyV2Response> {
539
+ constructor(data?: PartialMessage<InternalModifyApiKeyV2Response>);
540
+ static readonly runtime: typeof proto3;
541
+ static readonly typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Response";
542
+ static readonly fields: FieldList;
543
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalModifyApiKeyV2Response;
544
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Response;
545
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalModifyApiKeyV2Response;
546
+ static equals(a: InternalModifyApiKeyV2Response | PlainMessage<InternalModifyApiKeyV2Response> | undefined, b: InternalModifyApiKeyV2Response | PlainMessage<InternalModifyApiKeyV2Response> | undefined): boolean;
547
+ }
548
+ /**
549
+ * Internal Delete API Key request/response (VPN-restricted admin endpoint)
550
+ *
551
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyRequest
552
+ */
553
+ export declare class InternalDeleteApiKeyRequest extends Message<InternalDeleteApiKeyRequest> {
554
+ /**
555
+ * @generated from field: string hashed_api_key = 1;
556
+ */
557
+ hashedApiKey: string;
558
+ constructor(data?: PartialMessage<InternalDeleteApiKeyRequest>);
559
+ static readonly runtime: typeof proto3;
560
+ static readonly typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyRequest";
561
+ static readonly fields: FieldList;
562
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteApiKeyRequest;
563
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyRequest;
564
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyRequest;
565
+ static equals(a: InternalDeleteApiKeyRequest | PlainMessage<InternalDeleteApiKeyRequest> | undefined, b: InternalDeleteApiKeyRequest | PlainMessage<InternalDeleteApiKeyRequest> | undefined): boolean;
566
+ }
567
+ /**
568
+ * @generated from message uniswap.platformservice.v1.InternalDeleteApiKeyResponse
569
+ */
570
+ export declare class InternalDeleteApiKeyResponse extends Message<InternalDeleteApiKeyResponse> {
571
+ constructor(data?: PartialMessage<InternalDeleteApiKeyResponse>);
572
+ static readonly runtime: typeof proto3;
573
+ static readonly typeName = "uniswap.platformservice.v1.InternalDeleteApiKeyResponse";
574
+ static readonly fields: FieldList;
575
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalDeleteApiKeyResponse;
576
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyResponse;
577
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteApiKeyResponse;
578
+ static equals(a: InternalDeleteApiKeyResponse | PlainMessage<InternalDeleteApiKeyResponse> | undefined, b: InternalDeleteApiKeyResponse | PlainMessage<InternalDeleteApiKeyResponse> | undefined): boolean;
579
+ }
580
+ /**
581
+ * Internal Set API Key Active request/response (VPN-restricted admin endpoint)
582
+ *
583
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveRequest
584
+ */
585
+ export declare class InternalSetApiKeyActiveRequest extends Message<InternalSetApiKeyActiveRequest> {
586
+ /**
587
+ * @generated from field: string hashed_api_key = 1;
588
+ */
589
+ hashedApiKey: string;
590
+ /**
591
+ * @generated from field: bool active = 2;
592
+ */
593
+ active: boolean;
594
+ constructor(data?: PartialMessage<InternalSetApiKeyActiveRequest>);
595
+ static readonly runtime: typeof proto3;
596
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveRequest";
597
+ static readonly fields: FieldList;
598
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetApiKeyActiveRequest;
599
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveRequest;
600
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveRequest;
601
+ static equals(a: InternalSetApiKeyActiveRequest | PlainMessage<InternalSetApiKeyActiveRequest> | undefined, b: InternalSetApiKeyActiveRequest | PlainMessage<InternalSetApiKeyActiveRequest> | undefined): boolean;
602
+ }
603
+ /**
604
+ * @generated from message uniswap.platformservice.v1.InternalSetApiKeyActiveResponse
605
+ */
606
+ export declare class InternalSetApiKeyActiveResponse extends Message<InternalSetApiKeyActiveResponse> {
607
+ constructor(data?: PartialMessage<InternalSetApiKeyActiveResponse>);
608
+ static readonly runtime: typeof proto3;
609
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetApiKeyActiveResponse";
610
+ static readonly fields: FieldList;
611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetApiKeyActiveResponse;
612
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveResponse;
613
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetApiKeyActiveResponse;
614
+ static equals(a: InternalSetApiKeyActiveResponse | PlainMessage<InternalSetApiKeyActiveResponse> | undefined, b: InternalSetApiKeyActiveResponse | PlainMessage<InternalSetApiKeyActiveResponse> | undefined): boolean;
615
+ }
616
+ /**
617
+ * Internal List API Keys request/response (VPN-restricted admin endpoint)
618
+ * Lists all API keys (active and inactive) for the org associated with the given email.
619
+ *
620
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysRequest
621
+ */
622
+ export declare class InternalListApiKeysRequest extends Message<InternalListApiKeysRequest> {
623
+ /**
624
+ * @generated from field: string email = 1;
625
+ */
626
+ email: string;
627
+ constructor(data?: PartialMessage<InternalListApiKeysRequest>);
628
+ static readonly runtime: typeof proto3;
629
+ static readonly typeName = "uniswap.platformservice.v1.InternalListApiKeysRequest";
630
+ static readonly fields: FieldList;
631
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListApiKeysRequest;
632
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListApiKeysRequest;
633
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysRequest;
634
+ static equals(a: InternalListApiKeysRequest | PlainMessage<InternalListApiKeysRequest> | undefined, b: InternalListApiKeysRequest | PlainMessage<InternalListApiKeysRequest> | undefined): boolean;
635
+ }
636
+ /**
637
+ * @generated from message uniswap.platformservice.v1.InternalListApiKeysResponse
638
+ */
639
+ export declare class InternalListApiKeysResponse extends Message<InternalListApiKeysResponse> {
640
+ /**
641
+ * @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_key_data_list = 1;
642
+ */
643
+ apiKeyDataList: ApiKeyDataStruct[];
644
+ constructor(data?: PartialMessage<InternalListApiKeysResponse>);
645
+ static readonly runtime: typeof proto3;
646
+ static readonly typeName = "uniswap.platformservice.v1.InternalListApiKeysResponse";
647
+ static readonly fields: FieldList;
648
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalListApiKeysResponse;
649
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
650
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalListApiKeysResponse;
651
+ static equals(a: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined, b: InternalListApiKeysResponse | PlainMessage<InternalListApiKeysResponse> | undefined): boolean;
652
+ }
653
+ /**
654
+ * Internal Migrate request/response (VPN-restricted admin endpoint)
655
+ * Migrates a legacy API-Customer key into the platform egw-api-key table,
656
+ * linking it to the org found by the user's email.
657
+ *
658
+ * @generated from message uniswap.platformservice.v1.InternalMigrateRequest
659
+ */
660
+ export declare class InternalMigrateRequest extends Message<InternalMigrateRequest> {
661
+ /**
662
+ * @generated from field: string analytics_id = 1;
663
+ */
664
+ analyticsId: string;
665
+ /**
666
+ * @generated from field: string email = 2;
667
+ */
668
+ email: string;
669
+ constructor(data?: PartialMessage<InternalMigrateRequest>);
670
+ static readonly runtime: typeof proto3;
671
+ static readonly typeName = "uniswap.platformservice.v1.InternalMigrateRequest";
672
+ static readonly fields: FieldList;
673
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalMigrateRequest;
674
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalMigrateRequest;
675
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalMigrateRequest;
676
+ static equals(a: InternalMigrateRequest | PlainMessage<InternalMigrateRequest> | undefined, b: InternalMigrateRequest | PlainMessage<InternalMigrateRequest> | undefined): boolean;
677
+ }
678
+ /**
679
+ * @generated from message uniswap.platformservice.v1.InternalMigrateResponse
680
+ */
681
+ export declare class InternalMigrateResponse extends Message<InternalMigrateResponse> {
682
+ constructor(data?: PartialMessage<InternalMigrateResponse>);
683
+ static readonly runtime: typeof proto3;
684
+ static readonly typeName = "uniswap.platformservice.v1.InternalMigrateResponse";
685
+ static readonly fields: FieldList;
686
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalMigrateResponse;
687
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalMigrateResponse;
688
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalMigrateResponse;
689
+ static equals(a: InternalMigrateResponse | PlainMessage<InternalMigrateResponse> | undefined, b: InternalMigrateResponse | PlainMessage<InternalMigrateResponse> | undefined): boolean;
690
+ }