@otonoma/paranet-client 2.18.2 → 2.19.0-rc.14
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/dist/cjs/graphql.d.ts.map +1 -1
- package/dist/cjs/{index-AtS3JMf_.cjs → index-eBiJ1Egw.cjs} +161 -295
- package/dist/cjs/index-eBiJ1Egw.cjs.map +1 -0
- package/dist/cjs/index.cjs +110 -246
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/pncp.d.ts +0 -10
- package/dist/cjs/pncp.d.ts.map +1 -1
- package/dist/cjs/proto/broker.grpc.client.d.ts +29 -31
- package/dist/cjs/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/cjs/proto/broker_api.d.ts +32 -25
- package/dist/cjs/proto/broker_api.d.ts.map +1 -1
- package/dist/cjs/proto/google/protobuf/descriptor.d.ts +177 -177
- package/dist/cjs/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/cjs/proto/google/protobuf/timestamp.d.ts +2 -2
- package/dist/cjs/proto/grpc/health/v1/health.client.d.ts +4 -4
- package/dist/cjs/proto/grpc/health/v1/health.d.ts +2 -2
- package/dist/cjs/proto/identifiers.d.ts +4 -4
- package/dist/cjs/proto/observation.d.ts +27 -27
- package/dist/cjs/proto/otonoma/common/value.d.ts +10 -10
- package/dist/cjs/proto/pncp.d.ts +74 -100
- package/dist/cjs/proto/pncp.d.ts.map +1 -1
- package/dist/cjs/schema/paranet.d.ts +4 -32
- package/dist/cjs/schema/paranet.d.ts.map +1 -1
- package/dist/esm/graphql.d.ts.map +1 -1
- package/dist/esm/{index-HCY5Ez1I.mjs → index-PztyZob7.mjs} +161 -295
- package/dist/esm/index-PztyZob7.mjs.map +1 -0
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.mjs +111 -245
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/pncp.d.ts +0 -10
- package/dist/esm/pncp.d.ts.map +1 -1
- package/dist/esm/proto/broker.grpc.client.d.ts +29 -31
- package/dist/esm/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/esm/proto/broker_api.d.ts +32 -25
- package/dist/esm/proto/broker_api.d.ts.map +1 -1
- package/dist/esm/proto/google/protobuf/descriptor.d.ts +177 -177
- package/dist/esm/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/esm/proto/google/protobuf/timestamp.d.ts +2 -2
- package/dist/esm/proto/grpc/health/v1/health.client.d.ts +4 -4
- package/dist/esm/proto/grpc/health/v1/health.d.ts +2 -2
- package/dist/esm/proto/identifiers.d.ts +4 -4
- package/dist/esm/proto/observation.d.ts +27 -27
- package/dist/esm/proto/otonoma/common/value.d.ts +10 -10
- package/dist/esm/proto/pncp.d.ts +74 -100
- package/dist/esm/proto/pncp.d.ts.map +1 -1
- package/dist/esm/schema/paranet.d.ts +4 -32
- package/dist/esm/schema/paranet.d.ts.map +1 -1
- package/dist/graphql.d.ts.map +1 -1
- package/dist/graphql.js +0 -2
- package/dist/index.d.cts +206 -319
- package/dist/index.d.mts +206 -319
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/pncp.d.ts +0 -10
- package/dist/pncp.d.ts.map +1 -1
- package/dist/pncp.js +0 -3
- package/dist/proto/broker.grpc.client.d.ts +29 -31
- package/dist/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/proto/broker.grpc.client.js +22 -23
- package/dist/proto/broker.grpc.js +4 -4
- package/dist/proto/broker_api.d.ts +32 -25
- package/dist/proto/broker_api.d.ts.map +1 -1
- package/dist/proto/broker_api.js +22 -2
- package/dist/proto/google/protobuf/descriptor.d.ts +177 -177
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.js +136 -110
- package/dist/proto/google/protobuf/timestamp.d.ts +2 -2
- package/dist/proto/google/protobuf/timestamp.js +1 -1
- package/dist/proto/grpc/health/v1/health.client.d.ts +4 -4
- package/dist/proto/grpc/health/v1/health.client.js +2 -2
- package/dist/proto/grpc/health/v1/health.d.ts +2 -2
- package/dist/proto/grpc/health/v1/health.js +1 -1
- package/dist/proto/identifiers.d.ts +4 -4
- package/dist/proto/observation.d.ts +27 -27
- package/dist/proto/observation.js +1 -1
- package/dist/proto/otonoma/common/value.d.ts +10 -10
- package/dist/proto/otonoma/common/value.js +2 -2
- package/dist/proto/pncp.d.ts +74 -100
- package/dist/proto/pncp.d.ts.map +1 -1
- package/dist/proto/pncp.js +55 -89
- package/dist/schema/paranet.d.ts +4 -32
- package/dist/schema/paranet.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/index-AtS3JMf_.cjs.map +0 -1
- package/dist/cjs/proto/mediums.d.ts +0 -71
- package/dist/cjs/proto/mediums.d.ts.map +0 -1
- package/dist/esm/index-HCY5Ez1I.mjs.map +0 -1
- package/dist/esm/proto/mediums.d.ts +0 -71
- package/dist/esm/proto/mediums.d.ts.map +0 -1
- package/dist/proto/mediums.d.ts +0 -71
- package/dist/proto/mediums.d.ts.map +0 -1
- package/dist/proto/mediums.js +0 -120
package/dist/cjs/index.cjs
CHANGED
|
@@ -3004,7 +3004,7 @@ class Timestamp$Type extends MessageType {
|
|
|
3004
3004
|
const msg = this.create();
|
|
3005
3005
|
const ms = date.getTime();
|
|
3006
3006
|
msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();
|
|
3007
|
-
msg.nanos = (ms % 1000) * 1000000;
|
|
3007
|
+
msg.nanos = ((ms % 1000) + (ms < 0 && ms % 1000 !== 0 ? 1000 : 0)) * 1000000;
|
|
3008
3008
|
return msg;
|
|
3009
3009
|
}
|
|
3010
3010
|
/**
|
|
@@ -3403,7 +3403,7 @@ class Struct$Type extends MessageType {
|
|
|
3403
3403
|
case 2:
|
|
3404
3404
|
val = Value.internalBinaryRead(reader, reader.uint32(), options);
|
|
3405
3405
|
break;
|
|
3406
|
-
default: throw new globalThis.Error("unknown map entry field for
|
|
3406
|
+
default: throw new globalThis.Error("unknown map entry field for otonoma.common.Struct.fields");
|
|
3407
3407
|
}
|
|
3408
3408
|
}
|
|
3409
3409
|
map[key ?? ""] = val ?? Value.create();
|
|
@@ -3430,7 +3430,7 @@ const Struct = new Struct$Type();
|
|
|
3430
3430
|
class ListValue$Type extends MessageType {
|
|
3431
3431
|
constructor() {
|
|
3432
3432
|
super("otonoma.common.ListValue", [
|
|
3433
|
-
{ no: 1, name: "values", kind: "message", repeat:
|
|
3433
|
+
{ no: 1, name: "values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }
|
|
3434
3434
|
]);
|
|
3435
3435
|
}
|
|
3436
3436
|
create(value) {
|
|
@@ -3642,8 +3642,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3642
3642
|
{ no: 5, name: "match_strategy", kind: "enum", T: () => ["pncp.v1.SkillMatchStrategy", exports.SkillMatchStrategy] },
|
|
3643
3643
|
{ no: 6, name: "version_req", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3644
3644
|
{ no: 7, name: "target_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3645
|
-
{ no: 8, name: "key", kind: "message", T: () => Value },
|
|
3646
|
-
{ no: 9, name: "medium_info", kind: "message", T: () => PncpRequestMediumInfo },
|
|
3647
3645
|
{ no: 10, name: "must_match", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3648
3646
|
{ no: 11, name: "use_lock", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3649
3647
|
{ no: 13, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
@@ -3684,12 +3682,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3684
3682
|
case /* optional string target_actor_id */ 7:
|
|
3685
3683
|
message.targetActorId = reader.string();
|
|
3686
3684
|
break;
|
|
3687
|
-
case /* optional otonoma.common.Value key */ 8:
|
|
3688
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
3689
|
-
break;
|
|
3690
|
-
case /* optional pncp.v1.PncpRequestMediumInfo medium_info */ 9:
|
|
3691
|
-
message.mediumInfo = PncpRequestMediumInfo.internalBinaryRead(reader, reader.uint32(), options, message.mediumInfo);
|
|
3692
|
-
break;
|
|
3693
3685
|
case /* bool must_match */ 10:
|
|
3694
3686
|
message.mustMatch = reader.bool();
|
|
3695
3687
|
break;
|
|
@@ -3732,12 +3724,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3732
3724
|
/* optional string target_actor_id = 7; */
|
|
3733
3725
|
if (message.targetActorId !== undefined)
|
|
3734
3726
|
writer.tag(7, WireType.LengthDelimited).string(message.targetActorId);
|
|
3735
|
-
/* optional otonoma.common.Value key = 8; */
|
|
3736
|
-
if (message.key)
|
|
3737
|
-
Value.internalBinaryWrite(message.key, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
3738
|
-
/* optional pncp.v1.PncpRequestMediumInfo medium_info = 9; */
|
|
3739
|
-
if (message.mediumInfo)
|
|
3740
|
-
PncpRequestMediumInfo.internalBinaryWrite(message.mediumInfo, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
3741
3727
|
/* bool must_match = 10; */
|
|
3742
3728
|
if (message.mustMatch !== false)
|
|
3743
3729
|
writer.tag(10, WireType.Varint).bool(message.mustMatch);
|
|
@@ -3758,59 +3744,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3758
3744
|
*/
|
|
3759
3745
|
const PncpRequest = new PncpRequest$Type();
|
|
3760
3746
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3761
|
-
class PncpRequestMediumInfo$Type extends MessageType {
|
|
3762
|
-
constructor() {
|
|
3763
|
-
super("pncp.v1.PncpRequestMediumInfo", [
|
|
3764
|
-
{ no: 1, name: "id", kind: "message", T: () => EntityId },
|
|
3765
|
-
{ no: 2, name: "user_info", kind: "message", T: () => Value }
|
|
3766
|
-
]);
|
|
3767
|
-
}
|
|
3768
|
-
create(value) {
|
|
3769
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
3770
|
-
if (value !== undefined)
|
|
3771
|
-
reflectionMergePartial(this, message, value);
|
|
3772
|
-
return message;
|
|
3773
|
-
}
|
|
3774
|
-
internalBinaryRead(reader, length, options, target) {
|
|
3775
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3776
|
-
while (reader.pos < end) {
|
|
3777
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3778
|
-
switch (fieldNo) {
|
|
3779
|
-
case /* pncp.v1.EntityId id */ 1:
|
|
3780
|
-
message.id = EntityId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
3781
|
-
break;
|
|
3782
|
-
case /* optional otonoma.common.Value user_info */ 2:
|
|
3783
|
-
message.userInfo = Value.internalBinaryRead(reader, reader.uint32(), options, message.userInfo);
|
|
3784
|
-
break;
|
|
3785
|
-
default:
|
|
3786
|
-
let u = options.readUnknownField;
|
|
3787
|
-
if (u === "throw")
|
|
3788
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3789
|
-
let d = reader.skip(wireType);
|
|
3790
|
-
if (u !== false)
|
|
3791
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3792
|
-
}
|
|
3793
|
-
}
|
|
3794
|
-
return message;
|
|
3795
|
-
}
|
|
3796
|
-
internalBinaryWrite(message, writer, options) {
|
|
3797
|
-
/* pncp.v1.EntityId id = 1; */
|
|
3798
|
-
if (message.id)
|
|
3799
|
-
EntityId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
3800
|
-
/* optional otonoma.common.Value user_info = 2; */
|
|
3801
|
-
if (message.userInfo)
|
|
3802
|
-
Value.internalBinaryWrite(message.userInfo, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
3803
|
-
let u = options.writeUnknownFields;
|
|
3804
|
-
if (u !== false)
|
|
3805
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3806
|
-
return writer;
|
|
3807
|
-
}
|
|
3808
|
-
}
|
|
3809
|
-
/**
|
|
3810
|
-
* @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
|
|
3811
|
-
*/
|
|
3812
|
-
const PncpRequestMediumInfo = new PncpRequestMediumInfo$Type();
|
|
3813
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3814
3747
|
class PncpSkillMessage$Type extends MessageType {
|
|
3815
3748
|
constructor() {
|
|
3816
3749
|
super("pncp.v1.PncpSkillMessage", [
|
|
@@ -4070,6 +4003,60 @@ class PncpAnswerEx$Type extends MessageType {
|
|
|
4070
4003
|
*/
|
|
4071
4004
|
const PncpAnswerEx = new PncpAnswerEx$Type();
|
|
4072
4005
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4006
|
+
class PncpMediumMessage$Type extends MessageType {
|
|
4007
|
+
constructor() {
|
|
4008
|
+
super("pncp.v1.PncpMediumMessage", [
|
|
4009
|
+
{ no: 1, name: "message", kind: "message", T: () => PncpMessage },
|
|
4010
|
+
{ no: 2, name: "author_override", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4011
|
+
]);
|
|
4012
|
+
}
|
|
4013
|
+
create(value) {
|
|
4014
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4015
|
+
message.authorOverride = "";
|
|
4016
|
+
if (value !== undefined)
|
|
4017
|
+
reflectionMergePartial(this, message, value);
|
|
4018
|
+
return message;
|
|
4019
|
+
}
|
|
4020
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4021
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4022
|
+
while (reader.pos < end) {
|
|
4023
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4024
|
+
switch (fieldNo) {
|
|
4025
|
+
case /* pncp.v1.PncpMessage message */ 1:
|
|
4026
|
+
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4027
|
+
break;
|
|
4028
|
+
case /* string author_override */ 2:
|
|
4029
|
+
message.authorOverride = reader.string();
|
|
4030
|
+
break;
|
|
4031
|
+
default:
|
|
4032
|
+
let u = options.readUnknownField;
|
|
4033
|
+
if (u === "throw")
|
|
4034
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4035
|
+
let d = reader.skip(wireType);
|
|
4036
|
+
if (u !== false)
|
|
4037
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4038
|
+
}
|
|
4039
|
+
}
|
|
4040
|
+
return message;
|
|
4041
|
+
}
|
|
4042
|
+
internalBinaryWrite(message, writer, options) {
|
|
4043
|
+
/* pncp.v1.PncpMessage message = 1; */
|
|
4044
|
+
if (message.message)
|
|
4045
|
+
PncpMessage.internalBinaryWrite(message.message, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4046
|
+
/* string author_override = 2; */
|
|
4047
|
+
if (message.authorOverride !== "")
|
|
4048
|
+
writer.tag(2, WireType.LengthDelimited).string(message.authorOverride);
|
|
4049
|
+
let u = options.writeUnknownFields;
|
|
4050
|
+
if (u !== false)
|
|
4051
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4052
|
+
return writer;
|
|
4053
|
+
}
|
|
4054
|
+
}
|
|
4055
|
+
/**
|
|
4056
|
+
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
4057
|
+
*/
|
|
4058
|
+
const PncpMediumMessage = new PncpMediumMessage$Type();
|
|
4059
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4073
4060
|
class PncpCallback$Type extends MessageType {
|
|
4074
4061
|
constructor() {
|
|
4075
4062
|
super("pncp.v1.PncpCallback", [
|
|
@@ -4247,11 +4234,9 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4247
4234
|
{ no: 1, name: "id", kind: "message", T: () => ConversationId },
|
|
4248
4235
|
{ no: 2, name: "message_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4249
4236
|
{ no: 3, name: "time_created", kind: "message", T: () => Timestamp },
|
|
4250
|
-
{ no: 4, name: "key", kind: "message", T: () => Value },
|
|
4251
4237
|
{ no: 5, name: "message", kind: "message", T: () => PncpMessage },
|
|
4252
4238
|
{ no: 6, name: "params", kind: "message", T: () => Value },
|
|
4253
4239
|
{ no: 7, name: "callback", kind: "message", T: () => Value },
|
|
4254
|
-
{ no: 8, name: "medium", kind: "message", T: () => Value },
|
|
4255
4240
|
{ no: 9, name: "conversation_state", kind: "enum", T: () => ["pncp.v1.ConversationState", exports.ConversationState] },
|
|
4256
4241
|
{ no: 10, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4257
4242
|
]);
|
|
@@ -4278,9 +4263,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4278
4263
|
case /* google.protobuf.Timestamp time_created */ 3:
|
|
4279
4264
|
message.timeCreated = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timeCreated);
|
|
4280
4265
|
break;
|
|
4281
|
-
case /* optional otonoma.common.Value key */ 4:
|
|
4282
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
4283
|
-
break;
|
|
4284
4266
|
case /* pncp.v1.PncpMessage message */ 5:
|
|
4285
4267
|
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4286
4268
|
break;
|
|
@@ -4290,9 +4272,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4290
4272
|
case /* optional otonoma.common.Value callback */ 7:
|
|
4291
4273
|
message.callback = Value.internalBinaryRead(reader, reader.uint32(), options, message.callback);
|
|
4292
4274
|
break;
|
|
4293
|
-
case /* optional otonoma.common.Value medium */ 8:
|
|
4294
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4295
|
-
break;
|
|
4296
4275
|
case /* pncp.v1.ConversationState conversation_state */ 9:
|
|
4297
4276
|
message.conversationState = reader.int32();
|
|
4298
4277
|
break;
|
|
@@ -4320,9 +4299,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4320
4299
|
/* google.protobuf.Timestamp time_created = 3; */
|
|
4321
4300
|
if (message.timeCreated)
|
|
4322
4301
|
Timestamp.internalBinaryWrite(message.timeCreated, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4323
|
-
/* optional otonoma.common.Value key = 4; */
|
|
4324
|
-
if (message.key)
|
|
4325
|
-
Value.internalBinaryWrite(message.key, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4326
4302
|
/* pncp.v1.PncpMessage message = 5; */
|
|
4327
4303
|
if (message.message)
|
|
4328
4304
|
PncpMessage.internalBinaryWrite(message.message, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4332,9 +4308,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4332
4308
|
/* optional otonoma.common.Value callback = 7; */
|
|
4333
4309
|
if (message.callback)
|
|
4334
4310
|
Value.internalBinaryWrite(message.callback, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
4335
|
-
/* optional otonoma.common.Value medium = 8; */
|
|
4336
|
-
if (message.medium)
|
|
4337
|
-
Value.internalBinaryWrite(message.medium, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
4338
4311
|
/* pncp.v1.ConversationState conversation_state = 9; */
|
|
4339
4312
|
if (message.conversationState !== 0)
|
|
4340
4313
|
writer.tag(9, WireType.Varint).int32(message.conversationState);
|
|
@@ -4356,8 +4329,7 @@ class ParameterData$Type extends MessageType {
|
|
|
4356
4329
|
constructor() {
|
|
4357
4330
|
super("pncp.v1.ParameterData", [
|
|
4358
4331
|
{ no: 1, name: "provider", kind: "message", T: () => Value },
|
|
4359
|
-
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
4360
|
-
{ no: 3, name: "medium", kind: "message", T: () => Value }
|
|
4332
|
+
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
4361
4333
|
]);
|
|
4362
4334
|
}
|
|
4363
4335
|
create(value) {
|
|
@@ -4377,9 +4349,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4377
4349
|
case /* optional otonoma.common.Value skill */ 2:
|
|
4378
4350
|
message.skill = Value.internalBinaryRead(reader, reader.uint32(), options, message.skill);
|
|
4379
4351
|
break;
|
|
4380
|
-
case /* optional otonoma.common.Value medium */ 3:
|
|
4381
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4382
|
-
break;
|
|
4383
4352
|
default:
|
|
4384
4353
|
let u = options.readUnknownField;
|
|
4385
4354
|
if (u === "throw")
|
|
@@ -4398,9 +4367,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4398
4367
|
/* optional otonoma.common.Value skill = 2; */
|
|
4399
4368
|
if (message.skill)
|
|
4400
4369
|
Value.internalBinaryWrite(message.skill, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4401
|
-
/* optional otonoma.common.Value medium = 3; */
|
|
4402
|
-
if (message.medium)
|
|
4403
|
-
Value.internalBinaryWrite(message.medium, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4404
4370
|
let u = options.writeUnknownFields;
|
|
4405
4371
|
if (u !== false)
|
|
4406
4372
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4412,120 +4378,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4412
4378
|
*/
|
|
4413
4379
|
const ParameterData = new ParameterData$Type();
|
|
4414
4380
|
|
|
4415
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4416
|
-
class KeyOrId$Type extends MessageType {
|
|
4417
|
-
constructor() {
|
|
4418
|
-
super("pncp.v1.KeyOrId", [
|
|
4419
|
-
{ no: 1, name: "id", kind: "message", oneof: "body", T: () => ConversationId },
|
|
4420
|
-
{ no: 2, name: "key", kind: "message", oneof: "body", T: () => Value }
|
|
4421
|
-
]);
|
|
4422
|
-
}
|
|
4423
|
-
create(value) {
|
|
4424
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
4425
|
-
message.body = { oneofKind: undefined };
|
|
4426
|
-
if (value !== undefined)
|
|
4427
|
-
reflectionMergePartial(this, message, value);
|
|
4428
|
-
return message;
|
|
4429
|
-
}
|
|
4430
|
-
internalBinaryRead(reader, length, options, target) {
|
|
4431
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4432
|
-
while (reader.pos < end) {
|
|
4433
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4434
|
-
switch (fieldNo) {
|
|
4435
|
-
case /* pncp.v1.ConversationId id */ 1:
|
|
4436
|
-
message.body = {
|
|
4437
|
-
oneofKind: "id",
|
|
4438
|
-
id: ConversationId.internalBinaryRead(reader, reader.uint32(), options, message.body.id)
|
|
4439
|
-
};
|
|
4440
|
-
break;
|
|
4441
|
-
case /* otonoma.common.Value key */ 2:
|
|
4442
|
-
message.body = {
|
|
4443
|
-
oneofKind: "key",
|
|
4444
|
-
key: Value.internalBinaryRead(reader, reader.uint32(), options, message.body.key)
|
|
4445
|
-
};
|
|
4446
|
-
break;
|
|
4447
|
-
default:
|
|
4448
|
-
let u = options.readUnknownField;
|
|
4449
|
-
if (u === "throw")
|
|
4450
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4451
|
-
let d = reader.skip(wireType);
|
|
4452
|
-
if (u !== false)
|
|
4453
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4454
|
-
}
|
|
4455
|
-
}
|
|
4456
|
-
return message;
|
|
4457
|
-
}
|
|
4458
|
-
internalBinaryWrite(message, writer, options) {
|
|
4459
|
-
/* pncp.v1.ConversationId id = 1; */
|
|
4460
|
-
if (message.body.oneofKind === "id")
|
|
4461
|
-
ConversationId.internalBinaryWrite(message.body.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4462
|
-
/* otonoma.common.Value key = 2; */
|
|
4463
|
-
if (message.body.oneofKind === "key")
|
|
4464
|
-
Value.internalBinaryWrite(message.body.key, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4465
|
-
let u = options.writeUnknownFields;
|
|
4466
|
-
if (u !== false)
|
|
4467
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4468
|
-
return writer;
|
|
4469
|
-
}
|
|
4470
|
-
}
|
|
4471
|
-
/**
|
|
4472
|
-
* @generated MessageType for protobuf message pncp.v1.KeyOrId
|
|
4473
|
-
*/
|
|
4474
|
-
const KeyOrId = new KeyOrId$Type();
|
|
4475
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4476
|
-
class PncpMediumMessage$Type extends MessageType {
|
|
4477
|
-
constructor() {
|
|
4478
|
-
super("pncp.v1.PncpMediumMessage", [
|
|
4479
|
-
{ no: 1, name: "conversation", kind: "message", T: () => KeyOrId },
|
|
4480
|
-
{ no: 2, name: "pncp", kind: "message", T: () => PncpMessage }
|
|
4481
|
-
]);
|
|
4482
|
-
}
|
|
4483
|
-
create(value) {
|
|
4484
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
4485
|
-
if (value !== undefined)
|
|
4486
|
-
reflectionMergePartial(this, message, value);
|
|
4487
|
-
return message;
|
|
4488
|
-
}
|
|
4489
|
-
internalBinaryRead(reader, length, options, target) {
|
|
4490
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4491
|
-
while (reader.pos < end) {
|
|
4492
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4493
|
-
switch (fieldNo) {
|
|
4494
|
-
case /* pncp.v1.KeyOrId conversation */ 1:
|
|
4495
|
-
message.conversation = KeyOrId.internalBinaryRead(reader, reader.uint32(), options, message.conversation);
|
|
4496
|
-
break;
|
|
4497
|
-
case /* pncp.v1.PncpMessage pncp */ 2:
|
|
4498
|
-
message.pncp = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.pncp);
|
|
4499
|
-
break;
|
|
4500
|
-
default:
|
|
4501
|
-
let u = options.readUnknownField;
|
|
4502
|
-
if (u === "throw")
|
|
4503
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4504
|
-
let d = reader.skip(wireType);
|
|
4505
|
-
if (u !== false)
|
|
4506
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4507
|
-
}
|
|
4508
|
-
}
|
|
4509
|
-
return message;
|
|
4510
|
-
}
|
|
4511
|
-
internalBinaryWrite(message, writer, options) {
|
|
4512
|
-
/* pncp.v1.KeyOrId conversation = 1; */
|
|
4513
|
-
if (message.conversation)
|
|
4514
|
-
KeyOrId.internalBinaryWrite(message.conversation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4515
|
-
/* pncp.v1.PncpMessage pncp = 2; */
|
|
4516
|
-
if (message.pncp)
|
|
4517
|
-
PncpMessage.internalBinaryWrite(message.pncp, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4518
|
-
let u = options.writeUnknownFields;
|
|
4519
|
-
if (u !== false)
|
|
4520
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4521
|
-
return writer;
|
|
4522
|
-
}
|
|
4523
|
-
}
|
|
4524
|
-
/**
|
|
4525
|
-
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
4526
|
-
*/
|
|
4527
|
-
const PncpMediumMessage = new PncpMediumMessage$Type();
|
|
4528
|
-
|
|
4529
4381
|
/**
|
|
4530
4382
|
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
4531
4383
|
*/
|
|
@@ -4638,7 +4490,8 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4638
4490
|
super("pncp.v1.PncpCallbackRequest", [
|
|
4639
4491
|
{ no: 1, name: "disable_skill_forwarding", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4640
4492
|
{ no: 2, name: "send_open_messages", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4641
|
-
{ no: 3, name: "actor_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4493
|
+
{ no: 3, name: "actor_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4494
|
+
{ no: 4, name: "base_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4642
4495
|
]);
|
|
4643
4496
|
}
|
|
4644
4497
|
create(value) {
|
|
@@ -4664,6 +4517,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4664
4517
|
case /* repeated string actor_ids */ 3:
|
|
4665
4518
|
message.actorIds.push(reader.string());
|
|
4666
4519
|
break;
|
|
4520
|
+
case /* optional string base_actor_id */ 4:
|
|
4521
|
+
message.baseActorId = reader.string();
|
|
4522
|
+
break;
|
|
4667
4523
|
default:
|
|
4668
4524
|
let u = options.readUnknownField;
|
|
4669
4525
|
if (u === "throw")
|
|
@@ -4685,6 +4541,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4685
4541
|
/* repeated string actor_ids = 3; */
|
|
4686
4542
|
for (let i = 0; i < message.actorIds.length; i++)
|
|
4687
4543
|
writer.tag(3, WireType.LengthDelimited).string(message.actorIds[i]);
|
|
4544
|
+
/* optional string base_actor_id = 4; */
|
|
4545
|
+
if (message.baseActorId !== undefined)
|
|
4546
|
+
writer.tag(4, WireType.LengthDelimited).string(message.baseActorId);
|
|
4688
4547
|
let u = options.writeUnknownFields;
|
|
4689
4548
|
if (u !== false)
|
|
4690
4549
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5082,7 +4941,20 @@ class CrossDomainFederationSync$Type extends MessageType {
|
|
|
5082
4941
|
return message;
|
|
5083
4942
|
}
|
|
5084
4943
|
internalBinaryRead(reader, length, options, target) {
|
|
5085
|
-
|
|
4944
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4945
|
+
while (reader.pos < end) {
|
|
4946
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4947
|
+
switch (fieldNo) {
|
|
4948
|
+
default:
|
|
4949
|
+
let u = options.readUnknownField;
|
|
4950
|
+
if (u === "throw")
|
|
4951
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4952
|
+
let d = reader.skip(wireType);
|
|
4953
|
+
if (u !== false)
|
|
4954
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
return message;
|
|
5086
4958
|
}
|
|
5087
4959
|
internalBinaryWrite(message, writer, options) {
|
|
5088
4960
|
let u = options.writeUnknownFields;
|
|
@@ -5245,7 +5117,7 @@ class ObservationInit$Type extends MessageType {
|
|
|
5245
5117
|
{ no: 2, name: "action", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5246
5118
|
{ no: 3, name: "requester", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5247
5119
|
{ no: 4, name: "fulfiller", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5248
|
-
{ no: 5, name: "filters", kind: "message", repeat:
|
|
5120
|
+
{ no: 5, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObservationMessageFilter },
|
|
5249
5121
|
{ no: 6, name: "conversation_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
5250
5122
|
]);
|
|
5251
5123
|
}
|
|
@@ -6034,7 +5906,7 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6034
5906
|
assertNever(kind);
|
|
6035
5907
|
}
|
|
6036
5908
|
|
|
6037
|
-
// @generated by protobuf-ts 2.
|
|
5909
|
+
// @generated by protobuf-ts 2.11.1
|
|
6038
5910
|
// @generated from protobuf file "broker.grpc.proto" (package "pncp.v1", syntax proto3)
|
|
6039
5911
|
// tslint:disable
|
|
6040
5912
|
/**
|
|
@@ -6043,13 +5915,13 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6043
5915
|
const Broker = new ServiceType("pncp.v1.Broker", [
|
|
6044
5916
|
{ name: "SkillRequest", options: {}, I: PncpRequest, O: MessageResponse },
|
|
6045
5917
|
{ name: "PncpMessageRequest", options: {}, I: PncpMessage, O: MessageResponse },
|
|
5918
|
+
{ name: "PncpMediumRequest", options: {}, I: PncpMediumMessage, O: MessageResponse },
|
|
6046
5919
|
{ name: "PncpCallbackStream", serverStreaming: true, options: {}, I: PncpCallbackRequest, O: PncpCallback },
|
|
6047
5920
|
{ name: "CreateObserverStream", serverStreaming: true, options: {}, I: ObservationRequest, O: ObservationMessageWrapper },
|
|
6048
5921
|
{ name: "CrossDomainRequest", options: {}, I: CrossDomainMessage, O: CrossDomainResponse },
|
|
6049
5922
|
{ name: "CrossDomainStream", serverStreaming: true, clientStreaming: true, options: {}, I: CrossDomainResponse, O: CrossDomainStreamMessage },
|
|
6050
5923
|
{ name: "Login", options: { unauthenticated: true }, I: LoginRequest, O: LoginResponse },
|
|
6051
|
-
{ name: "RefreshToken", options: { unauthenticated: true }, I: RefreshTokenRequest, O: LoginResponse }
|
|
6052
|
-
{ name: "PncpMediumMessageRequest", options: { unauthenticated: true }, I: PncpMediumMessage, O: MessageResponse }
|
|
5924
|
+
{ name: "RefreshToken", options: { unauthenticated: true }, I: RefreshTokenRequest, O: LoginResponse }
|
|
6053
5925
|
]);
|
|
6054
5926
|
|
|
6055
5927
|
// NOTE (JAB, 2024-06-11): Some protobuf compilers (notably, protoc) don't like it when your rpc and
|
|
@@ -6072,7 +5944,7 @@ class BrokerClient {
|
|
|
6072
5944
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
6073
5945
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
6074
5946
|
*
|
|
6075
|
-
* @generated from protobuf rpc: SkillRequest
|
|
5947
|
+
* @generated from protobuf rpc: SkillRequest
|
|
6076
5948
|
*/
|
|
6077
5949
|
skillRequest(input, options) {
|
|
6078
5950
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -6081,39 +5953,48 @@ class BrokerClient {
|
|
|
6081
5953
|
/**
|
|
6082
5954
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
6083
5955
|
*
|
|
6084
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
5956
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
6085
5957
|
*/
|
|
6086
5958
|
pncpMessageRequest(input, options) {
|
|
6087
5959
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
6088
5960
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6089
5961
|
}
|
|
5962
|
+
/**
|
|
5963
|
+
* Message sent by a medium handler.
|
|
5964
|
+
*
|
|
5965
|
+
* @generated from protobuf rpc: PncpMediumRequest
|
|
5966
|
+
*/
|
|
5967
|
+
pncpMediumRequest(input, options) {
|
|
5968
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
5969
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
5970
|
+
}
|
|
6090
5971
|
/**
|
|
6091
5972
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
6092
5973
|
* and all additional Pncp messages sent in the conversation thread.
|
|
6093
5974
|
*
|
|
6094
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
5975
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
6095
5976
|
*/
|
|
6096
5977
|
pncpCallbackStream(input, options) {
|
|
6097
|
-
const method = this.methods[
|
|
5978
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
6098
5979
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
6099
5980
|
}
|
|
6100
5981
|
/**
|
|
6101
5982
|
* Creates a new observation stream.
|
|
6102
5983
|
*
|
|
6103
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
5984
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
6104
5985
|
*/
|
|
6105
5986
|
createObserverStream(input, options) {
|
|
6106
|
-
const method = this.methods[
|
|
5987
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
6107
5988
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
6108
5989
|
}
|
|
6109
5990
|
/**
|
|
6110
5991
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
6111
5992
|
* the results back.
|
|
6112
5993
|
*
|
|
6113
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
5994
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
6114
5995
|
*/
|
|
6115
5996
|
crossDomainRequest(input, options) {
|
|
6116
|
-
const method = this.methods[
|
|
5997
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
6117
5998
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6118
5999
|
}
|
|
6119
6000
|
/**
|
|
@@ -6121,33 +6002,23 @@ class BrokerClient {
|
|
|
6121
6002
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
6122
6003
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
6123
6004
|
*
|
|
6124
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
6005
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
6125
6006
|
*/
|
|
6126
6007
|
crossDomainStream(options) {
|
|
6127
|
-
const method = this.methods[
|
|
6008
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
6128
6009
|
return stackIntercept("duplex", this._transport, method, opt);
|
|
6129
6010
|
}
|
|
6130
6011
|
/**
|
|
6131
|
-
* @generated from protobuf rpc: Login
|
|
6012
|
+
* @generated from protobuf rpc: Login
|
|
6132
6013
|
*/
|
|
6133
6014
|
login(input, options) {
|
|
6134
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
6135
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6136
|
-
}
|
|
6137
|
-
/**
|
|
6138
|
-
* @generated from protobuf rpc: RefreshToken(pncp.v1.RefreshTokenRequest) returns (pncp.v1.LoginResponse);
|
|
6139
|
-
*/
|
|
6140
|
-
refreshToken(input, options) {
|
|
6141
6015
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
6142
6016
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6143
6017
|
}
|
|
6144
6018
|
/**
|
|
6145
|
-
*
|
|
6146
|
-
* Given currently limitations with mediums this route is left unauthenticated.
|
|
6147
|
-
*
|
|
6148
|
-
* @generated from protobuf rpc: PncpMediumMessageRequest(pncp.v1.PncpMediumMessage) returns (pncp.v1.MessageResponse);
|
|
6019
|
+
* @generated from protobuf rpc: RefreshToken
|
|
6149
6020
|
*/
|
|
6150
|
-
|
|
6021
|
+
refreshToken(input, options) {
|
|
6151
6022
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
6152
6023
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6153
6024
|
}
|
|
@@ -6977,7 +6848,7 @@ ListValue.toJson = (message) => {
|
|
|
6977
6848
|
return message.values.map(v => Value.toJson(v));
|
|
6978
6849
|
};
|
|
6979
6850
|
|
|
6980
|
-
// @generated by protobuf-ts 2.
|
|
6851
|
+
// @generated by protobuf-ts 2.11.1
|
|
6981
6852
|
// @generated from protobuf file "grpc/health/v1/health.proto" (package "grpc.health.v1", syntax proto3)
|
|
6982
6853
|
// tslint:disable
|
|
6983
6854
|
//
|
|
@@ -7139,7 +7010,7 @@ class HealthClient {
|
|
|
7139
7010
|
* If the requested service is unknown, the call will fail with status
|
|
7140
7011
|
* NOT_FOUND.
|
|
7141
7012
|
*
|
|
7142
|
-
* @generated from protobuf rpc: Check
|
|
7013
|
+
* @generated from protobuf rpc: Check
|
|
7143
7014
|
*/
|
|
7144
7015
|
check(input, options) {
|
|
7145
7016
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -7162,7 +7033,7 @@ class HealthClient {
|
|
|
7162
7033
|
* call. If the call terminates with any other status (including OK),
|
|
7163
7034
|
* clients should retry the call with appropriate exponential backoff.
|
|
7164
7035
|
*
|
|
7165
|
-
* @generated from protobuf rpc: Watch
|
|
7036
|
+
* @generated from protobuf rpc: Watch
|
|
7166
7037
|
*/
|
|
7167
7038
|
watch(input, options) {
|
|
7168
7039
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -7175,7 +7046,7 @@ class HealthClient {
|
|
|
7175
7046
|
let undiciModule = null;
|
|
7176
7047
|
async function getUndici() {
|
|
7177
7048
|
if (!undiciModule) {
|
|
7178
|
-
undiciModule = await Promise.resolve().then(function () { return require('./index-
|
|
7049
|
+
undiciModule = await Promise.resolve().then(function () { return require('./index-eBiJ1Egw.cjs'); }).then(function (n) { return n.index; });
|
|
7179
7050
|
}
|
|
7180
7051
|
return undiciModule;
|
|
7181
7052
|
}
|
|
@@ -7733,11 +7604,9 @@ function gqlSimplifyPncpRequest(req) {
|
|
|
7733
7604
|
action: req.body.action,
|
|
7734
7605
|
body: req.body.body,
|
|
7735
7606
|
},
|
|
7736
|
-
key: req.key,
|
|
7737
7607
|
author: req.author,
|
|
7738
7608
|
callback: req.callback,
|
|
7739
7609
|
parentId: req.parentId ? req.parentId : undefined,
|
|
7740
|
-
mediumInfo: req.mediumInfo ? { id: req.mediumInfo.id, userInfo: req.mediumInfo.userInfo } : undefined,
|
|
7741
7610
|
versionReq: req.versionReq ? req.versionReq : undefined,
|
|
7742
7611
|
matchStrategy: req.matchStrategy ? simplifyMatchStrategy(req.matchStrategy) : exports.SkillMatchStrategy.BEST,
|
|
7743
7612
|
};
|
|
@@ -7855,7 +7724,6 @@ function simplifyPncpRequestCallback(cb) {
|
|
|
7855
7724
|
parameters: {
|
|
7856
7725
|
provider: cb.parameters?.provider && Value.toJson(cb.parameters.provider),
|
|
7857
7726
|
skill: cb.parameters?.skill && Value.toJson(cb.parameters.skill),
|
|
7858
|
-
medium: cb.parameters?.medium && Value.toJson(cb.parameters.medium),
|
|
7859
7727
|
},
|
|
7860
7728
|
partition: cb.partition,
|
|
7861
7729
|
};
|
|
@@ -7866,11 +7734,9 @@ function simplifyPncpMessageCallback(cb) {
|
|
|
7866
7734
|
id: cb.id,
|
|
7867
7735
|
messageId: cb.messageId,
|
|
7868
7736
|
timeCreated: Timestamp.toDate(cb.timeCreated),
|
|
7869
|
-
key: cb.key && Value.toJson(cb.key),
|
|
7870
7737
|
message: simplifyPncpMessage(cb.message),
|
|
7871
7738
|
params: cb.params && Value.toJson(cb.params),
|
|
7872
7739
|
callback: cb.callback && Value.toJson(cb.callback),
|
|
7873
|
-
medium: cb.medium && Value.toJson(cb.medium),
|
|
7874
7740
|
conversationState: cb.conversationState,
|
|
7875
7741
|
partition: cb.partition,
|
|
7876
7742
|
};
|
|
@@ -7938,7 +7804,6 @@ exports.CrossDomainMessage = CrossDomainMessage;
|
|
|
7938
7804
|
exports.CrossDomainResponse = CrossDomainResponse;
|
|
7939
7805
|
exports.CrossDomainStreamMessage = CrossDomainStreamMessage;
|
|
7940
7806
|
exports.EntityId = EntityId;
|
|
7941
|
-
exports.KeyOrId = KeyOrId;
|
|
7942
7807
|
exports.ListValue = ListValue;
|
|
7943
7808
|
exports.LoginRequest = LoginRequest;
|
|
7944
7809
|
exports.LoginResponse = LoginResponse;
|
|
@@ -7964,7 +7829,6 @@ exports.PncpPacket = PncpPacket;
|
|
|
7964
7829
|
exports.PncpQuestionEx = PncpQuestionEx;
|
|
7965
7830
|
exports.PncpRequest = PncpRequest;
|
|
7966
7831
|
exports.PncpRequestCallback = PncpRequestCallback;
|
|
7967
|
-
exports.PncpRequestMediumInfo = PncpRequestMediumInfo;
|
|
7968
7832
|
exports.PncpSkillMessage = PncpSkillMessage;
|
|
7969
7833
|
exports.RefreshTokenRequest = RefreshTokenRequest;
|
|
7970
7834
|
exports.Struct = Struct;
|