@uniswap/client-platform-service 0.0.36 → 0.0.38

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 { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
2
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
3
3
  /**
4
4
  * authed toward user through egw
5
5
  * User who created the org is admin
@@ -68,3 +68,18 @@ export declare const internalDeleteOrganization: {
68
68
  readonly typeName: "uniswap.platformservice.v1.OrganizationService";
69
69
  };
70
70
  };
71
+ /**
72
+ * Sets or clears the CX-verified label shown in place of the customer-supplied name.
73
+ *
74
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalSetOrganizationCustomName
75
+ */
76
+ export declare const internalSetOrganizationCustomName: {
77
+ readonly localName: "internalSetOrganizationCustomName";
78
+ readonly name: "InternalSetOrganizationCustomName";
79
+ readonly kind: MethodKind.Unary;
80
+ readonly I: typeof InternalSetOrganizationCustomNameRequest;
81
+ readonly O: typeof InternalSetOrganizationCustomNameResponse;
82
+ readonly service: {
83
+ readonly typeName: "uniswap.platformservice.v1.OrganizationService";
84
+ };
85
+ };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
6
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
7
7
  /**
8
8
  * authed toward user through egw
9
9
  * User who created the org is admin
@@ -72,3 +72,18 @@ export const internalDeleteOrganization = {
72
72
  typeName: "uniswap.platformservice.v1.OrganizationService"
73
73
  }
74
74
  };
75
+ /**
76
+ * Sets or clears the CX-verified label shown in place of the customer-supplied name.
77
+ *
78
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalSetOrganizationCustomName
79
+ */
80
+ export const internalSetOrganizationCustomName = {
81
+ localName: "internalSetOrganizationCustomName",
82
+ name: "InternalSetOrganizationCustomName",
83
+ kind: MethodKind.Unary,
84
+ I: InternalSetOrganizationCustomNameRequest,
85
+ O: InternalSetOrganizationCustomNameResponse,
86
+ service: {
87
+ typeName: "uniswap.platformservice.v1.OrganizationService"
88
+ }
89
+ };
@@ -1,4 +1,4 @@
1
- import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
1
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -54,5 +54,16 @@ export declare const OrganizationService: {
54
54
  readonly O: typeof InternalDeleteOrganizationResponse;
55
55
  readonly kind: MethodKind.Unary;
56
56
  };
57
+ /**
58
+ * Sets or clears the CX-verified label shown in place of the customer-supplied name.
59
+ *
60
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalSetOrganizationCustomName
61
+ */
62
+ readonly internalSetOrganizationCustomName: {
63
+ readonly name: "InternalSetOrganizationCustomName";
64
+ readonly I: typeof InternalSetOrganizationCustomNameRequest;
65
+ readonly O: typeof InternalSetOrganizationCustomNameResponse;
66
+ readonly kind: MethodKind.Unary;
67
+ };
57
68
  };
58
69
  };
@@ -2,7 +2,7 @@
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, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse } from "./organizationService_pb.js";
5
+ import { CreateOrganizationRequest, CreateOrganizationResponse, GetOrganizationRequest, GetOrganizationResponse, InternalDeleteOrganizationRequest, InternalDeleteOrganizationResponse, InternalGetOrganizationRequest, InternalGetOrganizationResponse, InternalListOrganizationsRequest, InternalListOrganizationsResponse, InternalSetOrganizationCustomNameRequest, InternalSetOrganizationCustomNameResponse } from "./organizationService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service uniswap.platformservice.v1.OrganizationService
@@ -58,5 +58,16 @@ export const OrganizationService = {
58
58
  O: InternalDeleteOrganizationResponse,
59
59
  kind: MethodKind.Unary,
60
60
  },
61
+ /**
62
+ * Sets or clears the CX-verified label shown in place of the customer-supplied name.
63
+ *
64
+ * @generated from rpc uniswap.platformservice.v1.OrganizationService.InternalSetOrganizationCustomName
65
+ */
66
+ internalSetOrganizationCustomName: {
67
+ name: "InternalSetOrganizationCustomName",
68
+ I: InternalSetOrganizationCustomNameRequest,
69
+ O: InternalSetOrganizationCustomNameResponse,
70
+ kind: MethodKind.Unary,
71
+ },
61
72
  }
62
73
  };
@@ -144,13 +144,14 @@ export declare class InternalListOrganizationsRequest extends Message<InternalLi
144
144
  */
145
145
  pageToken: string;
146
146
  /**
147
- * max items per page, default 100
147
+ * max items per page, default 100, at most 100
148
148
  *
149
149
  * @generated from field: int32 page_size = 2;
150
150
  */
151
151
  pageSize: number;
152
152
  /**
153
- * optional partial name match; mutually exclusive with org_id_filter
153
+ * optional; matches orgs whose name contains it (case-sensitive) or whose
154
+ * custom_name contains it (case-insensitive); mutually exclusive with org_id_filter
154
155
  *
155
156
  * @generated from field: string name_filter = 3;
156
157
  */
@@ -188,6 +189,12 @@ export declare class InternalOrganizationSummary extends Message<InternalOrganiz
188
189
  * @generated from field: string created_at = 3;
189
190
  */
190
191
  createdAt: string;
192
+ /**
193
+ * CX-verified label; empty = no label
194
+ *
195
+ * @generated from field: string custom_name = 4;
196
+ */
197
+ customName: string;
191
198
  constructor(data?: PartialMessage<InternalOrganizationSummary>);
192
199
  static readonly runtime: typeof proto3;
193
200
  static readonly typeName = "uniswap.platformservice.v1.InternalOrganizationSummary";
@@ -335,6 +342,12 @@ export declare class InternalGetOrganizationResponse extends Message<InternalGet
335
342
  * @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_keys = 5;
336
343
  */
337
344
  apiKeys: ApiKeyDataStruct[];
345
+ /**
346
+ * CX-verified label; empty = no label
347
+ *
348
+ * @generated from field: string custom_name = 6;
349
+ */
350
+ customName: string;
338
351
  constructor(data?: PartialMessage<InternalGetOrganizationResponse>);
339
352
  static readonly runtime: typeof proto3;
340
353
  static readonly typeName = "uniswap.platformservice.v1.InternalGetOrganizationResponse";
@@ -382,3 +395,44 @@ export declare class InternalDeleteOrganizationResponse extends Message<Internal
382
395
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalDeleteOrganizationResponse;
383
396
  static equals(a: InternalDeleteOrganizationResponse | PlainMessage<InternalDeleteOrganizationResponse> | undefined, b: InternalDeleteOrganizationResponse | PlainMessage<InternalDeleteOrganizationResponse> | undefined): boolean;
384
397
  }
398
+ /**
399
+ * @generated from message uniswap.platformservice.v1.InternalSetOrganizationCustomNameRequest
400
+ */
401
+ export declare class InternalSetOrganizationCustomNameRequest extends Message<InternalSetOrganizationCustomNameRequest> {
402
+ /**
403
+ * @generated from field: string org_id = 1;
404
+ */
405
+ orgId: string;
406
+ /**
407
+ * Validated like an org name (no control/invisible characters or emoji, NFC, whitespace collapsed, at most 100 characters); unique across orgs
408
+ * case-insensitively. Empty clears the label.
409
+ *
410
+ * @generated from field: string custom_name = 2;
411
+ */
412
+ customName: string;
413
+ constructor(data?: PartialMessage<InternalSetOrganizationCustomNameRequest>);
414
+ static readonly runtime: typeof proto3;
415
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetOrganizationCustomNameRequest";
416
+ static readonly fields: FieldList;
417
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetOrganizationCustomNameRequest;
418
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetOrganizationCustomNameRequest;
419
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetOrganizationCustomNameRequest;
420
+ static equals(a: InternalSetOrganizationCustomNameRequest | PlainMessage<InternalSetOrganizationCustomNameRequest> | undefined, b: InternalSetOrganizationCustomNameRequest | PlainMessage<InternalSetOrganizationCustomNameRequest> | undefined): boolean;
421
+ }
422
+ /**
423
+ * @generated from message uniswap.platformservice.v1.InternalSetOrganizationCustomNameResponse
424
+ */
425
+ export declare class InternalSetOrganizationCustomNameResponse extends Message<InternalSetOrganizationCustomNameResponse> {
426
+ /**
427
+ * @generated from field: uniswap.platformservice.v1.InternalOrganizationSummary organization = 1;
428
+ */
429
+ organization?: InternalOrganizationSummary;
430
+ constructor(data?: PartialMessage<InternalSetOrganizationCustomNameResponse>);
431
+ static readonly runtime: typeof proto3;
432
+ static readonly typeName = "uniswap.platformservice.v1.InternalSetOrganizationCustomNameResponse";
433
+ static readonly fields: FieldList;
434
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InternalSetOrganizationCustomNameResponse;
435
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InternalSetOrganizationCustomNameResponse;
436
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InternalSetOrganizationCustomNameResponse;
437
+ static equals(a: InternalSetOrganizationCustomNameResponse | PlainMessage<InternalSetOrganizationCustomNameResponse> | undefined, b: InternalSetOrganizationCustomNameResponse | PlainMessage<InternalSetOrganizationCustomNameResponse> | undefined): boolean;
438
+ }
@@ -213,13 +213,14 @@ export class InternalListOrganizationsRequest extends Message {
213
213
  */
214
214
  this.pageToken = "";
215
215
  /**
216
- * max items per page, default 100
216
+ * max items per page, default 100, at most 100
217
217
  *
218
218
  * @generated from field: int32 page_size = 2;
219
219
  */
220
220
  this.pageSize = 0;
221
221
  /**
222
- * optional partial name match; mutually exclusive with org_id_filter
222
+ * optional; matches orgs whose name contains it (case-sensitive) or whose
223
+ * custom_name contains it (case-insensitive); mutually exclusive with org_id_filter
223
224
  *
224
225
  * @generated from field: string name_filter = 3;
225
226
  */
@@ -273,6 +274,12 @@ export class InternalOrganizationSummary extends Message {
273
274
  * @generated from field: string created_at = 3;
274
275
  */
275
276
  this.createdAt = "";
277
+ /**
278
+ * CX-verified label; empty = no label
279
+ *
280
+ * @generated from field: string custom_name = 4;
281
+ */
282
+ this.customName = "";
276
283
  proto3.util.initPartial(data, this);
277
284
  }
278
285
  static fromBinary(bytes, options) {
@@ -294,6 +301,7 @@ InternalOrganizationSummary.fields = proto3.util.newFieldList(() => [
294
301
  { no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
295
302
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
296
303
  { no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
304
+ { no: 4, name: "custom_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
297
305
  ]);
298
306
  /**
299
307
  * @generated from message uniswap.platformservice.v1.InternalListOrganizationsResponse
@@ -497,6 +505,12 @@ export class InternalGetOrganizationResponse extends Message {
497
505
  * @generated from field: repeated uniswap.platformservice.v1.ApiKeyDataStruct api_keys = 5;
498
506
  */
499
507
  this.apiKeys = [];
508
+ /**
509
+ * CX-verified label; empty = no label
510
+ *
511
+ * @generated from field: string custom_name = 6;
512
+ */
513
+ this.customName = "";
500
514
  proto3.util.initPartial(data, this);
501
515
  }
502
516
  static fromBinary(bytes, options) {
@@ -520,6 +534,7 @@ InternalGetOrganizationResponse.fields = proto3.util.newFieldList(() => [
520
534
  { no: 3, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
521
535
  { no: 4, name: "users", kind: "message", T: InternalOrgMember, repeated: true },
522
536
  { no: 5, name: "api_keys", kind: "message", T: ApiKeyDataStruct, repeated: true },
537
+ { no: 6, name: "custom_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
523
538
  ]);
524
539
  /**
525
540
  * @generated from message uniswap.platformservice.v1.InternalDeleteOrganizationRequest
@@ -586,3 +601,67 @@ InternalDeleteOrganizationResponse.fields = proto3.util.newFieldList(() => [
586
601
  { no: 1, name: "deleted_user_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
587
602
  { no: 2, name: "deleted_key_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
588
603
  ]);
604
+ /**
605
+ * @generated from message uniswap.platformservice.v1.InternalSetOrganizationCustomNameRequest
606
+ */
607
+ export class InternalSetOrganizationCustomNameRequest extends Message {
608
+ constructor(data) {
609
+ super();
610
+ /**
611
+ * @generated from field: string org_id = 1;
612
+ */
613
+ this.orgId = "";
614
+ /**
615
+ * Validated like an org name (no control/invisible characters or emoji, NFC, whitespace collapsed, at most 100 characters); unique across orgs
616
+ * case-insensitively. Empty clears the label.
617
+ *
618
+ * @generated from field: string custom_name = 2;
619
+ */
620
+ this.customName = "";
621
+ proto3.util.initPartial(data, this);
622
+ }
623
+ static fromBinary(bytes, options) {
624
+ return new InternalSetOrganizationCustomNameRequest().fromBinary(bytes, options);
625
+ }
626
+ static fromJson(jsonValue, options) {
627
+ return new InternalSetOrganizationCustomNameRequest().fromJson(jsonValue, options);
628
+ }
629
+ static fromJsonString(jsonString, options) {
630
+ return new InternalSetOrganizationCustomNameRequest().fromJsonString(jsonString, options);
631
+ }
632
+ static equals(a, b) {
633
+ return proto3.util.equals(InternalSetOrganizationCustomNameRequest, a, b);
634
+ }
635
+ }
636
+ InternalSetOrganizationCustomNameRequest.runtime = proto3;
637
+ InternalSetOrganizationCustomNameRequest.typeName = "uniswap.platformservice.v1.InternalSetOrganizationCustomNameRequest";
638
+ InternalSetOrganizationCustomNameRequest.fields = proto3.util.newFieldList(() => [
639
+ { no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
640
+ { no: 2, name: "custom_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
641
+ ]);
642
+ /**
643
+ * @generated from message uniswap.platformservice.v1.InternalSetOrganizationCustomNameResponse
644
+ */
645
+ export class InternalSetOrganizationCustomNameResponse extends Message {
646
+ constructor(data) {
647
+ super();
648
+ proto3.util.initPartial(data, this);
649
+ }
650
+ static fromBinary(bytes, options) {
651
+ return new InternalSetOrganizationCustomNameResponse().fromBinary(bytes, options);
652
+ }
653
+ static fromJson(jsonValue, options) {
654
+ return new InternalSetOrganizationCustomNameResponse().fromJson(jsonValue, options);
655
+ }
656
+ static fromJsonString(jsonString, options) {
657
+ return new InternalSetOrganizationCustomNameResponse().fromJsonString(jsonString, options);
658
+ }
659
+ static equals(a, b) {
660
+ return proto3.util.equals(InternalSetOrganizationCustomNameResponse, a, b);
661
+ }
662
+ }
663
+ InternalSetOrganizationCustomNameResponse.runtime = proto3;
664
+ InternalSetOrganizationCustomNameResponse.typeName = "uniswap.platformservice.v1.InternalSetOrganizationCustomNameResponse";
665
+ InternalSetOrganizationCustomNameResponse.fields = proto3.util.newFieldList(() => [
666
+ { no: 1, name: "organization", kind: "message", T: InternalOrganizationSummary },
667
+ ]);
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { LocationUpdateS3Request, LocationUpdateS3Response, MigrateExistingApikeyRequest, MigrateExistingApikeyResponse } from "./workerService_pb.js";
2
+ import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
3
3
  /**
4
4
  * @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
5
5
  */
@@ -13,16 +13,3 @@ export declare const updateLocationS3: {
13
13
  readonly typeName: "uniswap.platformservice.v1.WorkerService";
14
14
  };
15
15
  };
16
- /**
17
- * @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
18
- */
19
- export declare const migrateExistingApikey: {
20
- readonly localName: "migrateExistingApikey";
21
- readonly name: "MigrateExistingApikey";
22
- readonly kind: MethodKind.Unary;
23
- readonly I: typeof MigrateExistingApikeyRequest;
24
- readonly O: typeof MigrateExistingApikeyResponse;
25
- readonly service: {
26
- readonly typeName: "uniswap.platformservice.v1.WorkerService";
27
- };
28
- };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { LocationUpdateS3Request, LocationUpdateS3Response, MigrateExistingApikeyRequest, MigrateExistingApikeyResponse } from "./workerService_pb.js";
6
+ import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
7
7
  /**
8
8
  * @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
9
9
  */
@@ -17,16 +17,3 @@ export const updateLocationS3 = {
17
17
  typeName: "uniswap.platformservice.v1.WorkerService"
18
18
  }
19
19
  };
20
- /**
21
- * @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
22
- */
23
- export const migrateExistingApikey = {
24
- localName: "migrateExistingApikey",
25
- name: "MigrateExistingApikey",
26
- kind: MethodKind.Unary,
27
- I: MigrateExistingApikeyRequest,
28
- O: MigrateExistingApikeyResponse,
29
- service: {
30
- typeName: "uniswap.platformservice.v1.WorkerService"
31
- }
32
- };
@@ -1,4 +1,4 @@
1
- import { LocationUpdateS3Request, LocationUpdateS3Response, MigrateExistingApikeyRequest, MigrateExistingApikeyResponse } from "./workerService_pb.js";
1
+ import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * Service definition
@@ -17,14 +17,5 @@ export declare const WorkerService: {
17
17
  readonly O: typeof LocationUpdateS3Response;
18
18
  readonly kind: MethodKind.Unary;
19
19
  };
20
- /**
21
- * @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
22
- */
23
- readonly migrateExistingApikey: {
24
- readonly name: "MigrateExistingApikey";
25
- readonly I: typeof MigrateExistingApikeyRequest;
26
- readonly O: typeof MigrateExistingApikeyResponse;
27
- readonly kind: MethodKind.Unary;
28
- };
29
20
  };
30
21
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file uniswap/platformservice/v1/workerService.proto (package uniswap.platformservice.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { LocationUpdateS3Request, LocationUpdateS3Response, MigrateExistingApikeyRequest, MigrateExistingApikeyResponse } from "./workerService_pb.js";
5
+ import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * Service definition
@@ -21,14 +21,5 @@ export const WorkerService = {
21
21
  O: LocationUpdateS3Response,
22
22
  kind: MethodKind.Unary,
23
23
  },
24
- /**
25
- * @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
26
- */
27
- migrateExistingApikey: {
28
- name: "MigrateExistingApikey",
29
- I: MigrateExistingApikeyRequest,
30
- O: MigrateExistingApikeyResponse,
31
- kind: MethodKind.Unary,
32
- },
33
24
  }
34
25
  };
@@ -28,91 +28,3 @@ export declare class LocationUpdateS3Response extends Message<LocationUpdateS3Re
28
28
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationUpdateS3Response;
29
29
  static equals(a: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined, b: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined): boolean;
30
30
  }
31
- /**
32
- * Rate limit configuration
33
- *
34
- * @generated from message uniswap.platformservice.v1.WorkerRateLimitConfig
35
- */
36
- export declare class WorkerRateLimitConfig extends Message<WorkerRateLimitConfig> {
37
- /**
38
- * period_ms defines the time window in milliseconds for the rate limit
39
- * For example: 60000 means a 1-minute window
40
- * If you want to limit "X requests per minute", set this to 60000
41
- *
42
- * @generated from field: int32 period_ms = 1;
43
- */
44
- periodMs: number;
45
- /**
46
- * units defines the number of requests allowed per time period
47
- * For example: if period_ms=60000 and units=100, this means
48
- * the user can make 100 requests every minute
49
- *
50
- * @generated from field: int32 units = 2;
51
- */
52
- units: number;
53
- /**
54
- * capacity defines the maximum number of requests that can be made at once
55
- * This acts as a hard limit on burst requests
56
- * For example: if capacity=200, even if the user hasn't made requests for a while,
57
- * they can't make more than 200 requests at once
58
- *
59
- * @generated from field: int32 capacity = 3;
60
- */
61
- capacity: number;
62
- constructor(data?: PartialMessage<WorkerRateLimitConfig>);
63
- static readonly runtime: typeof proto3;
64
- static readonly typeName = "uniswap.platformservice.v1.WorkerRateLimitConfig";
65
- static readonly fields: FieldList;
66
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerRateLimitConfig;
67
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerRateLimitConfig;
68
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerRateLimitConfig;
69
- static equals(a: WorkerRateLimitConfig | PlainMessage<WorkerRateLimitConfig> | undefined, b: WorkerRateLimitConfig | PlainMessage<WorkerRateLimitConfig> | undefined): boolean;
70
- }
71
- /**
72
- * Create API Key request/response
73
- *
74
- * @generated from message uniswap.platformservice.v1.MigrateExistingApikeyRequest
75
- */
76
- export declare class MigrateExistingApikeyRequest extends Message<MigrateExistingApikeyRequest> {
77
- /**
78
- * @generated from field: string api_key = 1;
79
- */
80
- apiKey: string;
81
- /**
82
- * @generated from field: string name = 2;
83
- */
84
- name: string;
85
- /**
86
- * @generated from field: string creation_date = 3;
87
- */
88
- creationDate: string;
89
- /**
90
- * @generated from field: uniswap.platformservice.v1.WorkerRateLimitConfig rate_limit_config = 4;
91
- */
92
- rateLimitConfig?: WorkerRateLimitConfig;
93
- constructor(data?: PartialMessage<MigrateExistingApikeyRequest>);
94
- static readonly runtime: typeof proto3;
95
- static readonly typeName = "uniswap.platformservice.v1.MigrateExistingApikeyRequest";
96
- static readonly fields: FieldList;
97
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateExistingApikeyRequest;
98
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateExistingApikeyRequest;
99
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateExistingApikeyRequest;
100
- static equals(a: MigrateExistingApikeyRequest | PlainMessage<MigrateExistingApikeyRequest> | undefined, b: MigrateExistingApikeyRequest | PlainMessage<MigrateExistingApikeyRequest> | undefined): boolean;
101
- }
102
- /**
103
- * @generated from message uniswap.platformservice.v1.MigrateExistingApikeyResponse
104
- */
105
- export declare class MigrateExistingApikeyResponse extends Message<MigrateExistingApikeyResponse> {
106
- /**
107
- * @generated from field: string hashed_api_key = 1;
108
- */
109
- hashedApiKey: string;
110
- constructor(data?: PartialMessage<MigrateExistingApikeyResponse>);
111
- static readonly runtime: typeof proto3;
112
- static readonly typeName = "uniswap.platformservice.v1.MigrateExistingApikeyResponse";
113
- static readonly fields: FieldList;
114
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateExistingApikeyResponse;
115
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateExistingApikeyResponse;
116
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateExistingApikeyResponse;
117
- static equals(a: MigrateExistingApikeyResponse | PlainMessage<MigrateExistingApikeyResponse> | undefined, b: MigrateExistingApikeyResponse | PlainMessage<MigrateExistingApikeyResponse> | undefined): boolean;
118
- }
@@ -53,131 +53,3 @@ export class LocationUpdateS3Response extends Message {
53
53
  LocationUpdateS3Response.runtime = proto3;
54
54
  LocationUpdateS3Response.typeName = "uniswap.platformservice.v1.LocationUpdateS3Response";
55
55
  LocationUpdateS3Response.fields = proto3.util.newFieldList(() => []);
56
- /**
57
- * Rate limit configuration
58
- *
59
- * @generated from message uniswap.platformservice.v1.WorkerRateLimitConfig
60
- */
61
- export class WorkerRateLimitConfig extends Message {
62
- constructor(data) {
63
- super();
64
- /**
65
- * period_ms defines the time window in milliseconds for the rate limit
66
- * For example: 60000 means a 1-minute window
67
- * If you want to limit "X requests per minute", set this to 60000
68
- *
69
- * @generated from field: int32 period_ms = 1;
70
- */
71
- this.periodMs = 0;
72
- /**
73
- * units defines the number of requests allowed per time period
74
- * For example: if period_ms=60000 and units=100, this means
75
- * the user can make 100 requests every minute
76
- *
77
- * @generated from field: int32 units = 2;
78
- */
79
- this.units = 0;
80
- /**
81
- * capacity defines the maximum number of requests that can be made at once
82
- * This acts as a hard limit on burst requests
83
- * For example: if capacity=200, even if the user hasn't made requests for a while,
84
- * they can't make more than 200 requests at once
85
- *
86
- * @generated from field: int32 capacity = 3;
87
- */
88
- this.capacity = 0;
89
- proto3.util.initPartial(data, this);
90
- }
91
- static fromBinary(bytes, options) {
92
- return new WorkerRateLimitConfig().fromBinary(bytes, options);
93
- }
94
- static fromJson(jsonValue, options) {
95
- return new WorkerRateLimitConfig().fromJson(jsonValue, options);
96
- }
97
- static fromJsonString(jsonString, options) {
98
- return new WorkerRateLimitConfig().fromJsonString(jsonString, options);
99
- }
100
- static equals(a, b) {
101
- return proto3.util.equals(WorkerRateLimitConfig, a, b);
102
- }
103
- }
104
- WorkerRateLimitConfig.runtime = proto3;
105
- WorkerRateLimitConfig.typeName = "uniswap.platformservice.v1.WorkerRateLimitConfig";
106
- WorkerRateLimitConfig.fields = proto3.util.newFieldList(() => [
107
- { no: 1, name: "period_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
108
- { no: 2, name: "units", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
109
- { no: 3, name: "capacity", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
110
- ]);
111
- /**
112
- * Create API Key request/response
113
- *
114
- * @generated from message uniswap.platformservice.v1.MigrateExistingApikeyRequest
115
- */
116
- export class MigrateExistingApikeyRequest extends Message {
117
- constructor(data) {
118
- super();
119
- /**
120
- * @generated from field: string api_key = 1;
121
- */
122
- this.apiKey = "";
123
- /**
124
- * @generated from field: string name = 2;
125
- */
126
- this.name = "";
127
- /**
128
- * @generated from field: string creation_date = 3;
129
- */
130
- this.creationDate = "";
131
- proto3.util.initPartial(data, this);
132
- }
133
- static fromBinary(bytes, options) {
134
- return new MigrateExistingApikeyRequest().fromBinary(bytes, options);
135
- }
136
- static fromJson(jsonValue, options) {
137
- return new MigrateExistingApikeyRequest().fromJson(jsonValue, options);
138
- }
139
- static fromJsonString(jsonString, options) {
140
- return new MigrateExistingApikeyRequest().fromJsonString(jsonString, options);
141
- }
142
- static equals(a, b) {
143
- return proto3.util.equals(MigrateExistingApikeyRequest, a, b);
144
- }
145
- }
146
- MigrateExistingApikeyRequest.runtime = proto3;
147
- MigrateExistingApikeyRequest.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyRequest";
148
- MigrateExistingApikeyRequest.fields = proto3.util.newFieldList(() => [
149
- { no: 1, name: "api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
150
- { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
151
- { no: 3, name: "creation_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
152
- { no: 4, name: "rate_limit_config", kind: "message", T: WorkerRateLimitConfig },
153
- ]);
154
- /**
155
- * @generated from message uniswap.platformservice.v1.MigrateExistingApikeyResponse
156
- */
157
- export class MigrateExistingApikeyResponse extends Message {
158
- constructor(data) {
159
- super();
160
- /**
161
- * @generated from field: string hashed_api_key = 1;
162
- */
163
- this.hashedApiKey = "";
164
- proto3.util.initPartial(data, this);
165
- }
166
- static fromBinary(bytes, options) {
167
- return new MigrateExistingApikeyResponse().fromBinary(bytes, options);
168
- }
169
- static fromJson(jsonValue, options) {
170
- return new MigrateExistingApikeyResponse().fromJson(jsonValue, options);
171
- }
172
- static fromJsonString(jsonString, options) {
173
- return new MigrateExistingApikeyResponse().fromJsonString(jsonString, options);
174
- }
175
- static equals(a, b) {
176
- return proto3.util.equals(MigrateExistingApikeyResponse, a, b);
177
- }
178
- }
179
- MigrateExistingApikeyResponse.runtime = proto3;
180
- MigrateExistingApikeyResponse.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyResponse";
181
- MigrateExistingApikeyResponse.fields = proto3.util.newFieldList(() => [
182
- { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
- ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },