@uniswap/client-platform-service 0.0.10 → 0.0.12

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, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
5
5
  */
@@ -26,6 +26,19 @@ export declare const createApiKey: {
26
26
  readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
27
27
  };
28
28
  };
29
+ /**
30
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalCreateApiKey
31
+ */
32
+ export declare const internalCreateApiKey: {
33
+ readonly localName: "internalCreateApiKey";
34
+ readonly name: "InternalCreateApiKey";
35
+ readonly kind: MethodKind.Unary;
36
+ readonly I: typeof InternalCreateApiKeyRequest;
37
+ readonly O: typeof InternalCreateApiKeyResponse;
38
+ readonly service: {
39
+ readonly typeName: "uniswap.platformservice.v1.ApiKeyService";
40
+ };
41
+ };
29
42
  /**
30
43
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
31
44
  */
@@ -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, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.Introspect
9
9
  */
@@ -30,6 +30,19 @@ export const createApiKey = {
30
30
  typeName: "uniswap.platformservice.v1.ApiKeyService"
31
31
  }
32
32
  };
33
+ /**
34
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalCreateApiKey
35
+ */
36
+ export const internalCreateApiKey = {
37
+ localName: "internalCreateApiKey",
38
+ name: "InternalCreateApiKey",
39
+ kind: MethodKind.Unary,
40
+ I: InternalCreateApiKeyRequest,
41
+ O: InternalCreateApiKeyResponse,
42
+ service: {
43
+ typeName: "uniswap.platformservice.v1.ApiKeyService"
44
+ }
45
+ };
33
46
  /**
34
47
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
35
48
  */
@@ -1,4 +1,4 @@
1
- import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
1
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Service definition
@@ -26,6 +26,15 @@ export declare const ApiKeyService: {
26
26
  readonly O: typeof CreateApiKeyResponse;
27
27
  readonly kind: MethodKind.Unary;
28
28
  };
29
+ /**
30
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalCreateApiKey
31
+ */
32
+ readonly internalCreateApiKey: {
33
+ readonly name: "InternalCreateApiKey";
34
+ readonly I: typeof InternalCreateApiKeyRequest;
35
+ readonly O: typeof InternalCreateApiKeyResponse;
36
+ readonly kind: MethodKind.Unary;
37
+ };
29
38
  /**
30
39
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
31
40
  */
@@ -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, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
5
+ import { CreateApiKeyRequest, CreateApiKeyResponse, DeleteApiKeyRequest, DeleteApiKeyResponse, InternalCreateApiKeyRequest, InternalCreateApiKeyResponse, IntrospectRequest, IntrospectResponse, ListApiKeyRequest, ListApiKeyResponse, ModifyApiKeyRequest, ModifyApiKeyResponse } from "./apiKeyService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * Service definition
@@ -30,6 +30,15 @@ export const ApiKeyService = {
30
30
  O: CreateApiKeyResponse,
31
31
  kind: MethodKind.Unary,
32
32
  },
33
+ /**
34
+ * @generated from rpc uniswap.platformservice.v1.ApiKeyService.InternalCreateApiKey
35
+ */
36
+ internalCreateApiKey: {
37
+ name: "InternalCreateApiKey",
38
+ I: InternalCreateApiKeyRequest,
39
+ O: InternalCreateApiKeyResponse,
40
+ kind: MethodKind.Unary,
41
+ },
33
42
  /**
34
43
  * @generated from rpc uniswap.platformservice.v1.ApiKeyService.ModifyApiKey
35
44
  */
@@ -75,6 +75,10 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
75
75
  * @generated from field: string user_id = 3;
76
76
  */
77
77
  userId: string;
78
+ /**
79
+ * @generated from field: string organization_id = 4;
80
+ */
81
+ organizationId: string;
78
82
  constructor(data?: PartialMessage<IntrospectResponse>);
79
83
  static readonly runtime: typeof proto3;
80
84
  static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
@@ -91,15 +95,11 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
91
95
  */
92
96
  export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
93
97
  /**
94
- * @generated from field: string user_id = 1;
95
- */
96
- userId: string;
97
- /**
98
- * @generated from field: string name = 2;
98
+ * @generated from field: string name = 1;
99
99
  */
100
100
  name: string;
101
101
  /**
102
- * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
102
+ * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
103
103
  */
104
104
  rateLimitConfig?: RateLimitConfig;
105
105
  constructor(data?: PartialMessage<CreateApiKeyRequest>);
@@ -144,6 +144,10 @@ export declare class ModificationData extends Message<ModificationData> {
144
144
  * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
145
145
  */
146
146
  rateLimitConfig?: RateLimitConfig;
147
+ /**
148
+ * @generated from field: optional string name = 3;
149
+ */
150
+ name?: string;
147
151
  constructor(data?: PartialMessage<ModificationData>);
148
152
  static readonly runtime: typeof proto3;
149
153
  static readonly typeName = "uniswap.platformservice.v1.ModificationData";
@@ -230,29 +234,37 @@ export declare class DeleteApiKeyResponse extends Message<DeleteApiKeyResponse>
230
234
  */
231
235
  export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
232
236
  /**
233
- * @generated from field: string user_id = 1;
237
+ * @generated from field: optional string organization_id = 2;
234
238
  */
235
- userId: string;
239
+ organizationId?: string;
236
240
  /**
237
- * @generated from field: string hashed_api_key = 2;
241
+ * @generated from field: string hashed_api_key = 3;
238
242
  */
239
243
  hashedApiKey: string;
240
244
  /**
241
- * @generated from field: uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
245
+ * @generated from field: optional string raw_key = 4;
246
+ */
247
+ rawKey?: string;
248
+ /**
249
+ * @generated from field: string name = 5;
250
+ */
251
+ name: string;
252
+ /**
253
+ * @generated from field: bool active = 6;
254
+ */
255
+ active: boolean;
256
+ /**
257
+ * @generated from field: uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 7;
242
258
  */
243
259
  rateLimitConfig?: RateLimitConfig;
244
260
  /**
245
- * @generated from field: google.protobuf.Timestamp last_modified_at = 4;
261
+ * @generated from field: google.protobuf.Timestamp last_modified_at = 8;
246
262
  */
247
263
  lastModifiedAt?: Timestamp;
248
264
  /**
249
- * @generated from field: google.protobuf.Timestamp creation_time = 5;
265
+ * @generated from field: google.protobuf.Timestamp creation_time = 9;
250
266
  */
251
267
  creationTime?: Timestamp;
252
- /**
253
- * @generated from field: optional string raw_key = 6;
254
- */
255
- rawKey?: string;
256
268
  constructor(data?: PartialMessage<ApiKeyDataStruct>);
257
269
  static readonly runtime: typeof proto3;
258
270
  static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
@@ -267,11 +279,7 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
267
279
  */
268
280
  export declare class ListApiKeyRequest extends Message<ListApiKeyRequest> {
269
281
  /**
270
- * @generated from field: string user_id = 1;
271
- */
272
- userId: string;
273
- /**
274
- * @generated from field: bool include_raw_keys = 2;
282
+ * @generated from field: bool include_raw_keys = 1;
275
283
  */
276
284
  includeRawKeys: boolean;
277
285
  constructor(data?: PartialMessage<ListApiKeyRequest>);
@@ -300,3 +308,51 @@ export declare class ListApiKeyResponse extends Message<ListApiKeyResponse> {
300
308
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListApiKeyResponse;
301
309
  static equals(a: ListApiKeyResponse | PlainMessage<ListApiKeyResponse> | undefined, b: ListApiKeyResponse | PlainMessage<ListApiKeyResponse> | undefined): boolean;
302
310
  }
311
+ /**
312
+ * Internal Create API Key request/response (VPN-restricted admin endpoint)
313
+ *
314
+ * @generated from message uniswap.platformservice.v1.InternalCreateApiKeyRequest
315
+ */
316
+ export declare class InternalCreateApiKeyRequest extends Message<InternalCreateApiKeyRequest> {
317
+ /**
318
+ * @generated from field: string organization_id = 1;
319
+ */
320
+ organizationId: string;
321
+ /**
322
+ * @generated from field: string name = 2;
323
+ */
324
+ name: string;
325
+ /**
326
+ * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
327
+ */
328
+ rateLimitConfig?: RateLimitConfig;
329
+ constructor(data?: PartialMessage<InternalCreateApiKeyRequest>);
330
+ static readonly runtime: typeof proto3;
331
+ static readonly typeName = "uniswap.platformservice.v1.InternalCreateApiKeyRequest";
332
+ static readonly fields: FieldList;
333
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalCreateApiKeyRequest;
334
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalCreateApiKeyRequest;
335
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalCreateApiKeyRequest;
336
+ static equals(a: InternalCreateApiKeyRequest | PlainMessage<InternalCreateApiKeyRequest> | undefined, b: InternalCreateApiKeyRequest | PlainMessage<InternalCreateApiKeyRequest> | undefined): boolean;
337
+ }
338
+ /**
339
+ * @generated from message uniswap.platformservice.v1.InternalCreateApiKeyResponse
340
+ */
341
+ export declare class InternalCreateApiKeyResponse extends Message<InternalCreateApiKeyResponse> {
342
+ /**
343
+ * @generated from field: string id = 1;
344
+ */
345
+ id: string;
346
+ /**
347
+ * @generated from field: string wrapped_id = 2;
348
+ */
349
+ wrappedId: string;
350
+ constructor(data?: PartialMessage<InternalCreateApiKeyResponse>);
351
+ static readonly runtime: typeof proto3;
352
+ static readonly typeName = "uniswap.platformservice.v1.InternalCreateApiKeyResponse";
353
+ static readonly fields: FieldList;
354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalCreateApiKeyResponse;
355
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalCreateApiKeyResponse;
356
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalCreateApiKeyResponse;
357
+ static equals(a: InternalCreateApiKeyResponse | PlainMessage<InternalCreateApiKeyResponse> | undefined, b: InternalCreateApiKeyResponse | PlainMessage<InternalCreateApiKeyResponse> | undefined): boolean;
358
+ }
@@ -108,6 +108,10 @@ export class IntrospectResponse extends Message {
108
108
  * @generated from field: string user_id = 3;
109
109
  */
110
110
  this.userId = "";
111
+ /**
112
+ * @generated from field: string organization_id = 4;
113
+ */
114
+ this.organizationId = "";
111
115
  proto3.util.initPartial(data, this);
112
116
  }
113
117
  static fromBinary(bytes, options) {
@@ -129,6 +133,7 @@ IntrospectResponse.fields = proto3.util.newFieldList(() => [
129
133
  { no: 1, name: "wrapped_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
134
  { no: 2, name: "result", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
131
135
  { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
+ { no: 4, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
137
  ]);
133
138
  /**
134
139
  * Create API Key request/response
@@ -139,11 +144,7 @@ export class CreateApiKeyRequest extends Message {
139
144
  constructor(data) {
140
145
  super();
141
146
  /**
142
- * @generated from field: string user_id = 1;
143
- */
144
- this.userId = "";
145
- /**
146
- * @generated from field: string name = 2;
147
+ * @generated from field: string name = 1;
147
148
  */
148
149
  this.name = "";
149
150
  proto3.util.initPartial(data, this);
@@ -164,9 +165,8 @@ export class CreateApiKeyRequest extends Message {
164
165
  CreateApiKeyRequest.runtime = proto3;
165
166
  CreateApiKeyRequest.typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
166
167
  CreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
167
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
168
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
- { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
168
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
+ { no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
170
170
  ]);
171
171
  /**
172
172
  * @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
@@ -229,6 +229,7 @@ ModificationData.typeName = "uniswap.platformservice.v1.ModificationData";
229
229
  ModificationData.fields = proto3.util.newFieldList(() => [
230
230
  { no: 1, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
231
231
  { no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
232
+ { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
232
233
  ]);
233
234
  /**
234
235
  * Modify API Key request/response
@@ -354,13 +355,17 @@ export class ApiKeyDataStruct extends Message {
354
355
  constructor(data) {
355
356
  super();
356
357
  /**
357
- * @generated from field: string user_id = 1;
358
+ * @generated from field: string hashed_api_key = 3;
358
359
  */
359
- this.userId = "";
360
+ this.hashedApiKey = "";
360
361
  /**
361
- * @generated from field: string hashed_api_key = 2;
362
+ * @generated from field: string name = 5;
362
363
  */
363
- this.hashedApiKey = "";
364
+ this.name = "";
365
+ /**
366
+ * @generated from field: bool active = 6;
367
+ */
368
+ this.active = false;
364
369
  proto3.util.initPartial(data, this);
365
370
  }
366
371
  static fromBinary(bytes, options) {
@@ -379,12 +384,14 @@ export class ApiKeyDataStruct extends Message {
379
384
  ApiKeyDataStruct.runtime = proto3;
380
385
  ApiKeyDataStruct.typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
381
386
  ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
382
- { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
383
- { no: 2, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
384
- { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig },
385
- { no: 4, name: "last_modified_at", kind: "message", T: Timestamp },
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
+ { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
388
+ { no: 3, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
389
+ { no: 4, name: "raw_key", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
390
+ { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
391
+ { no: 6, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
392
+ { no: 7, name: "rate_limit_config", kind: "message", T: RateLimitConfig },
393
+ { no: 8, name: "last_modified_at", kind: "message", T: Timestamp },
394
+ { no: 9, name: "creation_time", kind: "message", T: Timestamp },
388
395
  ]);
389
396
  /**
390
397
  * @generated from message uniswap.platformservice.v1.ListApiKeyRequest
@@ -393,11 +400,7 @@ export class ListApiKeyRequest extends Message {
393
400
  constructor(data) {
394
401
  super();
395
402
  /**
396
- * @generated from field: string user_id = 1;
397
- */
398
- this.userId = "";
399
- /**
400
- * @generated from field: bool include_raw_keys = 2;
403
+ * @generated from field: bool include_raw_keys = 1;
401
404
  */
402
405
  this.includeRawKeys = false;
403
406
  proto3.util.initPartial(data, this);
@@ -418,8 +421,7 @@ export class ListApiKeyRequest extends Message {
418
421
  ListApiKeyRequest.runtime = proto3;
419
422
  ListApiKeyRequest.typeName = "uniswap.platformservice.v1.ListApiKeyRequest";
420
423
  ListApiKeyRequest.fields = proto3.util.newFieldList(() => [
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 */ },
424
+ { no: 1, name: "include_raw_keys", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
423
425
  ]);
424
426
  /**
425
427
  * @generated from message uniswap.platformservice.v1.ListApiKeyResponse
@@ -451,3 +453,76 @@ ListApiKeyResponse.typeName = "uniswap.platformservice.v1.ListApiKeyResponse";
451
453
  ListApiKeyResponse.fields = proto3.util.newFieldList(() => [
452
454
  { no: 1, name: "api_key_data_list", kind: "message", T: ApiKeyDataStruct, repeated: true },
453
455
  ]);
456
+ /**
457
+ * Internal Create API Key request/response (VPN-restricted admin endpoint)
458
+ *
459
+ * @generated from message uniswap.platformservice.v1.InternalCreateApiKeyRequest
460
+ */
461
+ export class InternalCreateApiKeyRequest extends Message {
462
+ constructor(data) {
463
+ super();
464
+ /**
465
+ * @generated from field: string organization_id = 1;
466
+ */
467
+ this.organizationId = "";
468
+ /**
469
+ * @generated from field: string name = 2;
470
+ */
471
+ this.name = "";
472
+ proto3.util.initPartial(data, this);
473
+ }
474
+ static fromBinary(bytes, options) {
475
+ return new InternalCreateApiKeyRequest().fromBinary(bytes, options);
476
+ }
477
+ static fromJson(jsonValue, options) {
478
+ return new InternalCreateApiKeyRequest().fromJson(jsonValue, options);
479
+ }
480
+ static fromJsonString(jsonString, options) {
481
+ return new InternalCreateApiKeyRequest().fromJsonString(jsonString, options);
482
+ }
483
+ static equals(a, b) {
484
+ return proto3.util.equals(InternalCreateApiKeyRequest, a, b);
485
+ }
486
+ }
487
+ InternalCreateApiKeyRequest.runtime = proto3;
488
+ InternalCreateApiKeyRequest.typeName = "uniswap.platformservice.v1.InternalCreateApiKeyRequest";
489
+ InternalCreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
490
+ { no: 1, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
491
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
492
+ { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
493
+ ]);
494
+ /**
495
+ * @generated from message uniswap.platformservice.v1.InternalCreateApiKeyResponse
496
+ */
497
+ export class InternalCreateApiKeyResponse extends Message {
498
+ constructor(data) {
499
+ super();
500
+ /**
501
+ * @generated from field: string id = 1;
502
+ */
503
+ this.id = "";
504
+ /**
505
+ * @generated from field: string wrapped_id = 2;
506
+ */
507
+ this.wrappedId = "";
508
+ proto3.util.initPartial(data, this);
509
+ }
510
+ static fromBinary(bytes, options) {
511
+ return new InternalCreateApiKeyResponse().fromBinary(bytes, options);
512
+ }
513
+ static fromJson(jsonValue, options) {
514
+ return new InternalCreateApiKeyResponse().fromJson(jsonValue, options);
515
+ }
516
+ static fromJsonString(jsonString, options) {
517
+ return new InternalCreateApiKeyResponse().fromJsonString(jsonString, options);
518
+ }
519
+ static equals(a, b) {
520
+ return proto3.util.equals(InternalCreateApiKeyResponse, a, b);
521
+ }
522
+ }
523
+ InternalCreateApiKeyResponse.runtime = proto3;
524
+ InternalCreateApiKeyResponse.typeName = "uniswap.platformservice.v1.InternalCreateApiKeyResponse";
525
+ InternalCreateApiKeyResponse.fields = proto3.util.newFieldList(() => [
526
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
527
+ { no: 2, name: "wrapped_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
528
+ ]);
@@ -33,9 +33,9 @@ export declare enum ChallengeType {
33
33
  */
34
34
  GITHUB = 5,
35
35
  /**
36
- * @generated from enum value: CHALLENGE_TYPE_MAIL = 6;
36
+ * @generated from enum value: CHALLENGE_TYPE_EMAIL = 6;
37
37
  */
38
- MAIL = 6
38
+ EMAIL = 6
39
39
  }
40
40
  /**
41
41
  * @generated from message uniswap.platformservice.v1.IntrospectSessionRequest
@@ -37,9 +37,9 @@ export var ChallengeType;
37
37
  */
38
38
  ChallengeType[ChallengeType["GITHUB"] = 5] = "GITHUB";
39
39
  /**
40
- * @generated from enum value: CHALLENGE_TYPE_MAIL = 6;
40
+ * @generated from enum value: CHALLENGE_TYPE_EMAIL = 6;
41
41
  */
42
- ChallengeType[ChallengeType["MAIL"] = 6] = "MAIL";
42
+ ChallengeType[ChallengeType["EMAIL"] = 6] = "EMAIL";
43
43
  })(ChallengeType || (ChallengeType = {}));
44
44
  // Retrieve enum metadata with: proto3.getEnumType(ChallengeType)
45
45
  proto3.util.setEnumType(ChallengeType, "uniswap.platformservice.v1.ChallengeType", [
@@ -49,7 +49,7 @@ proto3.util.setEnumType(ChallengeType, "uniswap.platformservice.v1.ChallengeType
49
49
  { no: 3, name: "CHALLENGE_TYPE_GOOGLE" },
50
50
  { no: 4, name: "CHALLENGE_TYPE_SLACK" },
51
51
  { no: 5, name: "CHALLENGE_TYPE_GITHUB" },
52
- { no: 6, name: "CHALLENGE_TYPE_MAIL" },
52
+ { no: 6, name: "CHALLENGE_TYPE_EMAIL" },
53
53
  ]);
54
54
  /**
55
55
  * @generated from message uniswap.platformservice.v1.IntrospectSessionRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },