@miradorlabs/web-grpc 3.39.0 → 3.41.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.
- package/google/api/field_behavior.ts +1 -1
- package/google/protobuf/descriptor.ts +6 -3
- package/google/protobuf/duration.ts +6 -3
- package/google/protobuf/timestamp.ts +6 -3
- package/package.json +1 -1
- package/proto/gateway/common/v1/attribute_value.ts +6 -3
- package/proto/gateway/common/v1/status.ts +6 -3
- package/proto/gateway/common/v1/types.ts +6 -3
- package/proto/gateway/web/v1/account_gateway.ts +6 -3
- package/proto/gateway/web/v1/admin_gateway.ts +55 -3
- package/proto/gateway/web/v1/admin_gateway_pb.js +61 -1
- package/proto/gateway/web/v1/ai_gateway.ts +6 -3
- package/proto/gateway/web/v1/attribute_value.ts +6 -3
- package/proto/gateway/web/v1/beta_gateway.ts +6 -3
- package/proto/gateway/web/v1/chain_gateway.ts +6 -3
- package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1346 -0
- package/proto/gateway/web/v1/claude_enterprise_gateway_grpc_pb.js +157 -0
- package/proto/gateway/web/v1/claude_enterprise_gateway_pb.js +2246 -0
- package/proto/gateway/web/v1/common.ts +1 -1
- package/proto/gateway/web/v1/derived_metric_gateway.ts +6 -3
- package/proto/gateway/web/v1/github_connector.ts +6 -3
- package/proto/gateway/web/v1/integration_gateway.ts +6 -3
- package/proto/gateway/web/v1/log_gateway.ts +6 -3
- package/proto/gateway/web/v1/market_gateway.ts +6 -3
- package/proto/gateway/web/v1/metric_gateway.ts +6 -3
- package/proto/gateway/web/v1/oauth_gateway.ts +6 -3
- package/proto/gateway/web/v1/plan_gateway.ts +6 -3
- package/proto/gateway/web/v1/policy_gateway.ts +7 -4
- package/proto/gateway/web/v1/policy_gateway_grpc_pb.js +1 -1
- package/proto/gateway/web/v1/reference_gateway.ts +6 -3
- package/proto/gateway/web/v1/rule_gateway.ts +6 -3
- package/proto/gateway/web/v1/slo_gateway.ts +6 -3
- package/proto/gateway/web/v1/trace_gateway.ts +6 -3
- 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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
5199
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
187
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
212
|
-
:
|
|
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
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
2
|
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.18.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
514
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
191
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
163
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
9621
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
5373
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
23175
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
514
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
732
|
-
:
|
|
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.
|
|
3
|
+
// protoc-gen-ts_proto v2.18.3
|
|
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
|
|
4420
|
-
:
|
|
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());
|