@miradorlabs/web-grpc 3.39.0 → 3.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +6 -3
  3. package/google/protobuf/duration.ts +6 -3
  4. package/google/protobuf/timestamp.ts +6 -3
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +6 -3
  7. package/proto/gateway/common/v1/status.ts +6 -3
  8. package/proto/gateway/common/v1/types.ts +6 -3
  9. package/proto/gateway/web/v1/account_gateway.ts +6 -3
  10. package/proto/gateway/web/v1/admin_gateway.ts +55 -3
  11. package/proto/gateway/web/v1/admin_gateway_pb.js +61 -1
  12. package/proto/gateway/web/v1/ai_gateway.ts +6 -3
  13. package/proto/gateway/web/v1/attribute_value.ts +6 -3
  14. package/proto/gateway/web/v1/beta_gateway.ts +6 -3
  15. package/proto/gateway/web/v1/chain_gateway.ts +6 -3
  16. package/proto/gateway/web/v1/common.ts +1 -1
  17. package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -3
  18. package/proto/gateway/web/v1/github_connector.ts +6 -3
  19. package/proto/gateway/web/v1/integration_gateway.ts +6 -3
  20. package/proto/gateway/web/v1/log_gateway.ts +6 -3
  21. package/proto/gateway/web/v1/market_gateway.ts +6 -3
  22. package/proto/gateway/web/v1/metric_gateway.ts +6 -3
  23. package/proto/gateway/web/v1/oauth_gateway.ts +6 -3
  24. package/proto/gateway/web/v1/plan_gateway.ts +6 -3
  25. package/proto/gateway/web/v1/policy_gateway.ts +6 -3
  26. package/proto/gateway/web/v1/reference_gateway.ts +6 -3
  27. package/proto/gateway/web/v1/rule_gateway.ts +6 -3
  28. package/proto/gateway/web/v1/slo_gateway.ts +6 -3
  29. package/proto/gateway/web/v1/trace_gateway.ts +6 -3
  30. package/proto/gateway/web/v1/trace_measure_gateway.ts +6 -3
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/api/field_behavior.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/descriptor.proto
6
6
 
@@ -5195,8 +5195,11 @@ export type DeepPartial<T> = T extends Builtin ? T
5195
5195
  : Partial<T>;
5196
5196
 
5197
5197
  type KeysOfUnion<T> = T extends T ? keyof T : never;
5198
- export type Exact<P, I extends P> = P extends Builtin ? P
5199
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5198
+ export type Exact<P, I> = P extends Builtin ? P
5199
+ :
5200
+ & P
5201
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
5202
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5200
5203
 
5201
5204
  function longToNumber(int64: { toString(): string }): number {
5202
5205
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/duration.proto
6
6
 
@@ -183,8 +183,11 @@ export type DeepPartial<T> = T extends Builtin ? T
183
183
  : Partial<T>;
184
184
 
185
185
  type KeysOfUnion<T> = T extends T ? keyof T : never;
186
- export type Exact<P, I extends P> = P extends Builtin ? P
187
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
186
+ export type Exact<P, I> = P extends Builtin ? P
187
+ :
188
+ & P
189
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
190
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
188
191
 
189
192
  function longToNumber(int64: { toString(): string }): number {
190
193
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: google/protobuf/timestamp.proto
6
6
 
@@ -208,8 +208,11 @@ export type DeepPartial<T> = T extends Builtin ? T
208
208
  : Partial<T>;
209
209
 
210
210
  type KeysOfUnion<T> = T extends T ? keyof T : never;
211
- export type Exact<P, I extends P> = P extends Builtin ? P
212
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
211
+ export type Exact<P, I> = P extends Builtin ? P
212
+ :
213
+ & P
214
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
215
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
213
216
 
214
217
  const timestampJsonRegex = /^.+T\d{2}:\d{2}:\d{2}(\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
215
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/attribute_value.proto
6
6
 
@@ -510,8 +510,11 @@ export type DeepPartial<T> = T extends Builtin ? T
510
510
  : Partial<T>;
511
511
 
512
512
  type KeysOfUnion<T> = T extends T ? keyof T : never;
513
- export type Exact<P, I extends P> = P extends Builtin ? P
514
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
513
+ export type Exact<P, I> = P extends Builtin ? P
514
+ :
515
+ & P
516
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
517
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
515
518
 
516
519
  function longToNumber(int64: { toString(): string }): number {
517
520
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/status.proto
6
6
 
@@ -187,8 +187,11 @@ export type DeepPartial<T> = T extends Builtin ? T
187
187
  : Partial<T>;
188
188
 
189
189
  type KeysOfUnion<T> = T extends T ? keyof T : never;
190
- export type Exact<P, I extends P> = P extends Builtin ? P
191
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
190
+ export type Exact<P, I> = P extends Builtin ? P
191
+ :
192
+ & P
193
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
194
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
192
195
 
193
196
  function isSet(value: any): boolean {
194
197
  return value !== null && value !== undefined;
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/common/v1/types.proto
6
6
 
@@ -159,8 +159,11 @@ export type DeepPartial<T> = T extends Builtin ? T
159
159
  : Partial<T>;
160
160
 
161
161
  type KeysOfUnion<T> = T extends T ? keyof T : never;
162
- export type Exact<P, I extends P> = P extends Builtin ? P
163
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
162
+ export type Exact<P, I> = P extends Builtin ? P
163
+ :
164
+ & P
165
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
166
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
164
167
 
165
168
  function longToNumber(int64: { toString(): string }): number {
166
169
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/account_gateway.proto
6
6
 
@@ -9617,8 +9617,11 @@ export type DeepPartial<T> = T extends Builtin ? T
9617
9617
  : Partial<T>;
9618
9618
 
9619
9619
  type KeysOfUnion<T> = T extends T ? keyof T : never;
9620
- export type Exact<P, I extends P> = P extends Builtin ? P
9621
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
9620
+ export type Exact<P, I> = P extends Builtin ? P
9621
+ :
9622
+ & P
9623
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
9624
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
9622
9625
 
9623
9626
  function toTimestamp(date: Date): Timestamp {
9624
9627
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/admin_gateway.proto
6
6
 
@@ -380,6 +380,13 @@ export interface AdminRelayHeartbeat {
380
380
  * reported, never zero; an empty map is a beat that carried none.
381
381
  */
382
382
  counters: { [key: string]: number };
383
+ /**
384
+ * Of the latest heartbeat: script, homebrew, npm, npm_project, source, verbatim; "" = not reported (a relay too old
385
+ * to report one, or one that could not find its own binary).
386
+ */
387
+ installMethod: string;
388
+ /** Of the latest heartbeat: on, off, unsupported, verbatim; "" = not reported (a relay too old to report one). */
389
+ updateAuto: string;
383
390
  }
384
391
 
385
392
  export interface AdminRelayHeartbeat_CountersEntry {
@@ -3145,6 +3152,8 @@ function createBaseAdminRelayHeartbeat(): AdminRelayHeartbeat {
3145
3152
  exitReason: "",
3146
3153
  miradorApiKeyId: "",
3147
3154
  counters: {},
3155
+ installMethod: "",
3156
+ updateAuto: "",
3148
3157
  };
3149
3158
  }
3150
3159
 
@@ -3186,6 +3195,12 @@ export const AdminRelayHeartbeat: MessageFns<AdminRelayHeartbeat> = {
3186
3195
  globalThis.Object.entries(message.counters).forEach(([key, value]: [string, number]) => {
3187
3196
  AdminRelayHeartbeat_CountersEntry.encode({ key: key as any, value }, writer.uint32(98).fork()).join();
3188
3197
  });
3198
+ if (message.installMethod !== "") {
3199
+ writer.uint32(106).string(message.installMethod);
3200
+ }
3201
+ if (message.updateAuto !== "") {
3202
+ writer.uint32(114).string(message.updateAuto);
3203
+ }
3189
3204
  return writer;
3190
3205
  },
3191
3206
 
@@ -3301,6 +3316,22 @@ export const AdminRelayHeartbeat: MessageFns<AdminRelayHeartbeat> = {
3301
3316
  }
3302
3317
  continue;
3303
3318
  }
3319
+ case 13: {
3320
+ if (tag !== 106) {
3321
+ break;
3322
+ }
3323
+
3324
+ message.installMethod = reader.string();
3325
+ continue;
3326
+ }
3327
+ case 14: {
3328
+ if (tag !== 114) {
3329
+ break;
3330
+ }
3331
+
3332
+ message.updateAuto = reader.string();
3333
+ continue;
3334
+ }
3304
3335
  }
3305
3336
  if ((tag & 7) === 4 || tag === 0) {
3306
3337
  break;
@@ -3376,6 +3407,16 @@ export const AdminRelayHeartbeat: MessageFns<AdminRelayHeartbeat> = {
3376
3407
  {},
3377
3408
  )
3378
3409
  : {},
3410
+ installMethod: isSet(object.installMethod)
3411
+ ? globalThis.String(object.installMethod)
3412
+ : isSet(object.install_method)
3413
+ ? globalThis.String(object.install_method)
3414
+ : "",
3415
+ updateAuto: isSet(object.updateAuto)
3416
+ ? globalThis.String(object.updateAuto)
3417
+ : isSet(object.update_auto)
3418
+ ? globalThis.String(object.update_auto)
3419
+ : "",
3379
3420
  };
3380
3421
  },
3381
3422
 
@@ -3423,6 +3464,12 @@ export const AdminRelayHeartbeat: MessageFns<AdminRelayHeartbeat> = {
3423
3464
  });
3424
3465
  }
3425
3466
  }
3467
+ if (message.installMethod !== "") {
3468
+ obj.installMethod = message.installMethod;
3469
+ }
3470
+ if (message.updateAuto !== "") {
3471
+ obj.updateAuto = message.updateAuto;
3472
+ }
3426
3473
  return obj;
3427
3474
  },
3428
3475
 
@@ -3451,6 +3498,8 @@ export const AdminRelayHeartbeat: MessageFns<AdminRelayHeartbeat> = {
3451
3498
  },
3452
3499
  {},
3453
3500
  );
3501
+ message.installMethod = object.installMethod ?? "";
3502
+ message.updateAuto = object.updateAuto ?? "";
3454
3503
  return message;
3455
3504
  },
3456
3505
  };
@@ -5369,8 +5418,11 @@ export type DeepPartial<T> = T extends Builtin ? T
5369
5418
  : Partial<T>;
5370
5419
 
5371
5420
  type KeysOfUnion<T> = T extends T ? keyof T : never;
5372
- export type Exact<P, I extends P> = P extends Builtin ? P
5373
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5421
+ export type Exact<P, I> = P extends Builtin ? P
5422
+ :
5423
+ & P
5424
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
5425
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5374
5426
 
5375
5427
  function toTimestamp(date: Date): Timestamp {
5376
5428
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -6371,7 +6371,9 @@ launch: jspb.Message.getFieldWithDefault(msg, 8, ""),
6371
6371
  reason: jspb.Message.getFieldWithDefault(msg, 9, ""),
6372
6372
  exitReason: jspb.Message.getFieldWithDefault(msg, 10, ""),
6373
6373
  miradorApiKeyId: jspb.Message.getFieldWithDefault(msg, 11, ""),
6374
- countersMap: (f = msg.getCountersMap()) ? f.toObject(includeInstance, undefined) : []
6374
+ countersMap: (f = msg.getCountersMap()) ? f.toObject(includeInstance, undefined) : [],
6375
+ installMethod: jspb.Message.getFieldWithDefault(msg, 13, ""),
6376
+ updateAuto: jspb.Message.getFieldWithDefault(msg, 14, "")
6375
6377
  };
6376
6378
 
6377
6379
  if (includeInstance) {
@@ -6460,6 +6462,14 @@ proto.gateway.web.v1.AdminRelayHeartbeat.deserializeBinaryFromReader = function(
6460
6462
  jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readStringRequireUtf8, jspb.BinaryReader.prototype.readInt64, null, "", 0);
6461
6463
  });
6462
6464
  break;
6465
+ case 13:
6466
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6467
+ msg.setInstallMethod(value);
6468
+ break;
6469
+ case 14:
6470
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6471
+ msg.setUpdateAuto(value);
6472
+ break;
6463
6473
  default:
6464
6474
  reader.skipField();
6465
6475
  break;
@@ -6577,6 +6587,20 @@ jspb.internal.public_for_gencode.serializeMapToBinary(
6577
6587
  jspb.BinaryWriter.prototype.writeString,
6578
6588
  jspb.BinaryWriter.prototype.writeInt64);
6579
6589
  }
6590
+ f = message.getInstallMethod();
6591
+ if (f.length > 0) {
6592
+ writer.writeString(
6593
+ 13,
6594
+ f
6595
+ );
6596
+ }
6597
+ f = message.getUpdateAuto();
6598
+ if (f.length > 0) {
6599
+ writer.writeString(
6600
+ 14,
6601
+ f
6602
+ );
6603
+ }
6580
6604
  };
6581
6605
 
6582
6606
 
@@ -6839,6 +6863,42 @@ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.clearCountersMap = function()
6839
6863
  };
6840
6864
 
6841
6865
 
6866
+ /**
6867
+ * optional string install_method = 13;
6868
+ * @return {string}
6869
+ */
6870
+ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.getInstallMethod = function() {
6871
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
6872
+ };
6873
+
6874
+
6875
+ /**
6876
+ * @param {string} value
6877
+ * @return {!proto.gateway.web.v1.AdminRelayHeartbeat} returns this
6878
+ */
6879
+ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.setInstallMethod = function(value) {
6880
+ return jspb.Message.setProto3StringField(this, 13, value);
6881
+ };
6882
+
6883
+
6884
+ /**
6885
+ * optional string update_auto = 14;
6886
+ * @return {string}
6887
+ */
6888
+ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.getUpdateAuto = function() {
6889
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
6890
+ };
6891
+
6892
+
6893
+ /**
6894
+ * @param {string} value
6895
+ * @return {!proto.gateway.web.v1.AdminRelayHeartbeat} returns this
6896
+ */
6897
+ proto.gateway.web.v1.AdminRelayHeartbeat.prototype.setUpdateAuto = function(value) {
6898
+ return jspb.Message.setProto3StringField(this, 14, value);
6899
+ };
6900
+
6901
+
6842
6902
 
6843
6903
  /**
6844
6904
  * List of repeated fields within this message type.
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/ai_gateway.proto
6
6
 
@@ -23171,8 +23171,11 @@ export type DeepPartial<T> = T extends Builtin ? T
23171
23171
  : Partial<T>;
23172
23172
 
23173
23173
  type KeysOfUnion<T> = T extends T ? keyof T : never;
23174
- export type Exact<P, I extends P> = P extends Builtin ? P
23175
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
23174
+ export type Exact<P, I> = P extends Builtin ? P
23175
+ :
23176
+ & P
23177
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
23178
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
23176
23179
 
23177
23180
  function toTimestamp(date: Date): Timestamp {
23178
23181
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/attribute_value.proto
6
6
 
@@ -510,8 +510,11 @@ export type DeepPartial<T> = T extends Builtin ? T
510
510
  : Partial<T>;
511
511
 
512
512
  type KeysOfUnion<T> = T extends T ? keyof T : never;
513
- export type Exact<P, I extends P> = P extends Builtin ? P
514
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
513
+ export type Exact<P, I> = P extends Builtin ? P
514
+ :
515
+ & P
516
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
517
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
515
518
 
516
519
  function longToNumber(int64: { toString(): string }): number {
517
520
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/beta_gateway.proto
6
6
 
@@ -728,8 +728,11 @@ export type DeepPartial<T> = T extends Builtin ? T
728
728
  : Partial<T>;
729
729
 
730
730
  type KeysOfUnion<T> = T extends T ? keyof T : never;
731
- export type Exact<P, I extends P> = P extends Builtin ? P
732
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
731
+ export type Exact<P, I> = P extends Builtin ? P
732
+ :
733
+ & P
734
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
735
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
733
736
 
734
737
  function toTimestamp(date: Date): Timestamp {
735
738
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/chain_gateway.proto
6
6
 
@@ -4416,8 +4416,11 @@ export type DeepPartial<T> = T extends Builtin ? T
4416
4416
  : Partial<T>;
4417
4417
 
4418
4418
  type KeysOfUnion<T> = T extends T ? keyof T : never;
4419
- export type Exact<P, I extends P> = P extends Builtin ? P
4420
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
4419
+ export type Exact<P, I> = P extends Builtin ? P
4420
+ :
4421
+ & P
4422
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
4423
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
4421
4424
 
4422
4425
  function longToNumber(int64: { toString(): string }): number {
4423
4426
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/common.proto
6
6
 
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/derived_metric_gateway.proto
6
6
 
@@ -2848,8 +2848,11 @@ export type DeepPartial<T> = T extends Builtin ? T
2848
2848
  : Partial<T>;
2849
2849
 
2850
2850
  type KeysOfUnion<T> = T extends T ? keyof T : never;
2851
- export type Exact<P, I extends P> = P extends Builtin ? P
2852
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2851
+ export type Exact<P, I> = P extends Builtin ? P
2852
+ :
2853
+ & P
2854
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
2855
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2853
2856
 
2854
2857
  function toTimestamp(date: Date): Timestamp {
2855
2858
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/github_connector.proto
6
6
 
@@ -2214,8 +2214,11 @@ export type DeepPartial<T> = T extends Builtin ? T
2214
2214
  : Partial<T>;
2215
2215
 
2216
2216
  type KeysOfUnion<T> = T extends T ? keyof T : never;
2217
- export type Exact<P, I extends P> = P extends Builtin ? P
2218
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2217
+ export type Exact<P, I> = P extends Builtin ? P
2218
+ :
2219
+ & P
2220
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
2221
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2219
2222
 
2220
2223
  function longToNumber(int64: { toString(): string }): number {
2221
2224
  const num = globalThis.Number(int64.toString());
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/integration_gateway.proto
6
6
 
@@ -3308,8 +3308,11 @@ export type DeepPartial<T> = T extends Builtin ? T
3308
3308
  : Partial<T>;
3309
3309
 
3310
3310
  type KeysOfUnion<T> = T extends T ? keyof T : never;
3311
- export type Exact<P, I extends P> = P extends Builtin ? P
3312
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
3311
+ export type Exact<P, I> = P extends Builtin ? P
3312
+ :
3313
+ & P
3314
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
3315
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
3313
3316
 
3314
3317
  function toTimestamp(date: Date): Timestamp {
3315
3318
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/log_gateway.proto
6
6
 
@@ -2002,8 +2002,11 @@ export type DeepPartial<T> = T extends Builtin ? T
2002
2002
  : Partial<T>;
2003
2003
 
2004
2004
  type KeysOfUnion<T> = T extends T ? keyof T : never;
2005
- export type Exact<P, I extends P> = P extends Builtin ? P
2006
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2005
+ export type Exact<P, I> = P extends Builtin ? P
2006
+ :
2007
+ & P
2008
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
2009
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2007
2010
 
2008
2011
  function toTimestamp(date: Date): Timestamp {
2009
2012
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/market_gateway.proto
6
6
 
@@ -526,8 +526,11 @@ export type DeepPartial<T> = T extends Builtin ? T
526
526
  : Partial<T>;
527
527
 
528
528
  type KeysOfUnion<T> = T extends T ? keyof T : never;
529
- export type Exact<P, I extends P> = P extends Builtin ? P
530
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
529
+ export type Exact<P, I> = P extends Builtin ? P
530
+ :
531
+ & P
532
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
533
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
531
534
 
532
535
  function isSet(value: any): boolean {
533
536
  return value !== null && value !== undefined;
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/metric_gateway.proto
6
6
 
@@ -6459,8 +6459,11 @@ export type DeepPartial<T> = T extends Builtin ? T
6459
6459
  : Partial<T>;
6460
6460
 
6461
6461
  type KeysOfUnion<T> = T extends T ? keyof T : never;
6462
- export type Exact<P, I extends P> = P extends Builtin ? P
6463
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
6462
+ export type Exact<P, I> = P extends Builtin ? P
6463
+ :
6464
+ & P
6465
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
6466
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
6464
6467
 
6465
6468
  function toTimestamp(date: Date): Timestamp {
6466
6469
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/oauth_gateway.proto
6
6
 
@@ -2146,8 +2146,11 @@ export type DeepPartial<T> = T extends Builtin ? T
2146
2146
  : Partial<T>;
2147
2147
 
2148
2148
  type KeysOfUnion<T> = T extends T ? keyof T : never;
2149
- export type Exact<P, I extends P> = P extends Builtin ? P
2150
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2149
+ export type Exact<P, I> = P extends Builtin ? P
2150
+ :
2151
+ & P
2152
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
2153
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
2151
2154
 
2152
2155
  function toTimestamp(date: Date): Timestamp {
2153
2156
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/plan_gateway.proto
6
6
 
@@ -1777,8 +1777,11 @@ export type DeepPartial<T> = T extends Builtin ? T
1777
1777
  : Partial<T>;
1778
1778
 
1779
1779
  type KeysOfUnion<T> = T extends T ? keyof T : never;
1780
- export type Exact<P, I extends P> = P extends Builtin ? P
1781
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
1780
+ export type Exact<P, I> = P extends Builtin ? P
1781
+ :
1782
+ & P
1783
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
1784
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
1782
1785
 
1783
1786
  function toTimestamp(date: Date): Timestamp {
1784
1787
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/policy_gateway.proto
6
6
 
@@ -1059,8 +1059,11 @@ export type DeepPartial<T> = T extends Builtin ? T
1059
1059
  : Partial<T>;
1060
1060
 
1061
1061
  type KeysOfUnion<T> = T extends T ? keyof T : never;
1062
- export type Exact<P, I extends P> = P extends Builtin ? P
1063
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
1062
+ export type Exact<P, I> = P extends Builtin ? P
1063
+ :
1064
+ & P
1065
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
1066
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
1064
1067
 
1065
1068
  function toTimestamp(date: Date): Timestamp {
1066
1069
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/reference_gateway.proto
6
6
 
@@ -4120,8 +4120,11 @@ export type DeepPartial<T> = T extends Builtin ? T
4120
4120
  : Partial<T>;
4121
4121
 
4122
4122
  type KeysOfUnion<T> = T extends T ? keyof T : never;
4123
- export type Exact<P, I extends P> = P extends Builtin ? P
4124
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
4123
+ export type Exact<P, I> = P extends Builtin ? P
4124
+ :
4125
+ & P
4126
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
4127
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
4125
4128
 
4126
4129
  function toTimestamp(date: Date): Timestamp {
4127
4130
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/rule_gateway.proto
6
6
 
@@ -5669,8 +5669,11 @@ export type DeepPartial<T> = T extends Builtin ? T
5669
5669
  : Partial<T>;
5670
5670
 
5671
5671
  type KeysOfUnion<T> = T extends T ? keyof T : never;
5672
- export type Exact<P, I extends P> = P extends Builtin ? P
5673
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5672
+ export type Exact<P, I> = P extends Builtin ? P
5673
+ :
5674
+ & P
5675
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
5676
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
5674
5677
 
5675
5678
  function toTimestamp(date: Date): Timestamp {
5676
5679
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/slo_gateway.proto
6
6
 
@@ -6155,8 +6155,11 @@ export type DeepPartial<T> = T extends Builtin ? T
6155
6155
  : Partial<T>;
6156
6156
 
6157
6157
  type KeysOfUnion<T> = T extends T ? keyof T : never;
6158
- export type Exact<P, I extends P> = P extends Builtin ? P
6159
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
6158
+ export type Exact<P, I> = P extends Builtin ? P
6159
+ :
6160
+ & P
6161
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
6162
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
6160
6163
 
6161
6164
  function toTimestamp(date: Date): Timestamp {
6162
6165
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/trace_gateway.proto
6
6
 
@@ -7153,8 +7153,11 @@ export type DeepPartial<T> = T extends Builtin ? T
7153
7153
  : Partial<T>;
7154
7154
 
7155
7155
  type KeysOfUnion<T> = T extends T ? keyof T : never;
7156
- export type Exact<P, I extends P> = P extends Builtin ? P
7157
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
7156
+ export type Exact<P, I> = P extends Builtin ? P
7157
+ :
7158
+ & P
7159
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
7160
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
7158
7161
 
7159
7162
  function toTimestamp(date: Date): Timestamp {
7160
7163
  const seconds = Math.trunc(date.getTime() / 1_000);
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-ts_proto v2.18.0
3
+ // protoc-gen-ts_proto v2.18.1
4
4
  // protoc v3.21.12
5
5
  // source: proto/gateway/web/v1/trace_measure_gateway.proto
6
6
 
@@ -928,8 +928,11 @@ export type DeepPartial<T> = T extends Builtin ? T
928
928
  : Partial<T>;
929
929
 
930
930
  type KeysOfUnion<T> = T extends T ? keyof T : never;
931
- export type Exact<P, I extends P> = P extends Builtin ? P
932
- : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
931
+ export type Exact<P, I> = P extends Builtin ? P
932
+ :
933
+ & P
934
+ & { [K in keyof P as Extract<K, keyof I>]: Exact<P[K], I[K & keyof I]> }
935
+ & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
933
936
 
934
937
  function toTimestamp(date: Date): Timestamp {
935
938
  const seconds = Math.trunc(date.getTime() / 1_000);