@otonoma/paranet-client 2.18.2 → 2.19.0-rc.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +80 -227
- 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 +19 -34
- package/dist/cjs/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/cjs/proto/broker.grpc.d.ts.map +1 -1
- package/dist/cjs/proto/broker_api.d.ts +59 -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 +49 -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/client.js +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 +80 -225
- 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 +19 -34
- package/dist/esm/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/esm/proto/broker.grpc.d.ts.map +1 -1
- package/dist/esm/proto/broker_api.d.ts +59 -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 +49 -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 +197 -321
- package/dist/index.d.mts +197 -321
- 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 +19 -34
- package/dist/proto/broker.grpc.client.d.ts.map +1 -1
- package/dist/proto/broker.grpc.client.js +8 -18
- package/dist/proto/broker.grpc.d.ts.map +1 -1
- package/dist/proto/broker.grpc.js +4 -6
- package/dist/proto/broker_api.d.ts +59 -25
- package/dist/proto/broker_api.d.ts.map +1 -1
- package/dist/proto/broker_api.js +76 -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 +49 -100
- package/dist/proto/pncp.d.ts.map +1 -1
- package/dist/proto/pncp.js +1 -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/esm/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './proto/pncp';
|
|
|
4
4
|
export * from './proto/otonoma/common/value';
|
|
5
5
|
export * from './proto/google/protobuf/timestamp';
|
|
6
6
|
export * from './proto/identifiers';
|
|
7
|
-
export * from './proto/mediums';
|
|
8
7
|
export * from './proto/broker_api';
|
|
9
8
|
export * from './proto/observation';
|
|
10
9
|
export * from './util';
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAC7B,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mCAAmC,CAAC;AAClD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,QAAQ,CAAC;AAEvB,cAAc,QAAQ,CAAC;AAEvB,YAAY,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -3002,7 +3002,7 @@ class Timestamp$Type extends MessageType {
|
|
|
3002
3002
|
const msg = this.create();
|
|
3003
3003
|
const ms = date.getTime();
|
|
3004
3004
|
msg.seconds = PbLong.from(Math.floor(ms / 1000)).toBigInt();
|
|
3005
|
-
msg.nanos = (ms % 1000) * 1000000;
|
|
3005
|
+
msg.nanos = ((ms % 1000) + (ms < 0 && ms % 1000 !== 0 ? 1000 : 0)) * 1000000;
|
|
3006
3006
|
return msg;
|
|
3007
3007
|
}
|
|
3008
3008
|
/**
|
|
@@ -3401,7 +3401,7 @@ class Struct$Type extends MessageType {
|
|
|
3401
3401
|
case 2:
|
|
3402
3402
|
val = Value.internalBinaryRead(reader, reader.uint32(), options);
|
|
3403
3403
|
break;
|
|
3404
|
-
default: throw new globalThis.Error("unknown map entry field for
|
|
3404
|
+
default: throw new globalThis.Error("unknown map entry field for otonoma.common.Struct.fields");
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
3407
|
map[key ?? ""] = val ?? Value.create();
|
|
@@ -3428,7 +3428,7 @@ const Struct = new Struct$Type();
|
|
|
3428
3428
|
class ListValue$Type extends MessageType {
|
|
3429
3429
|
constructor() {
|
|
3430
3430
|
super("otonoma.common.ListValue", [
|
|
3431
|
-
{ no: 1, name: "values", kind: "message", repeat:
|
|
3431
|
+
{ no: 1, name: "values", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Value }
|
|
3432
3432
|
]);
|
|
3433
3433
|
}
|
|
3434
3434
|
create(value) {
|
|
@@ -3640,8 +3640,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3640
3640
|
{ no: 5, name: "match_strategy", kind: "enum", T: () => ["pncp.v1.SkillMatchStrategy", SkillMatchStrategy] },
|
|
3641
3641
|
{ no: 6, name: "version_req", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3642
3642
|
{ no: 7, name: "target_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
3643
|
-
{ no: 8, name: "key", kind: "message", T: () => Value },
|
|
3644
|
-
{ no: 9, name: "medium_info", kind: "message", T: () => PncpRequestMediumInfo },
|
|
3645
3643
|
{ no: 10, name: "must_match", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3646
3644
|
{ no: 11, name: "use_lock", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
3647
3645
|
{ no: 13, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
@@ -3682,12 +3680,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3682
3680
|
case /* optional string target_actor_id */ 7:
|
|
3683
3681
|
message.targetActorId = reader.string();
|
|
3684
3682
|
break;
|
|
3685
|
-
case /* optional otonoma.common.Value key */ 8:
|
|
3686
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
3687
|
-
break;
|
|
3688
|
-
case /* optional pncp.v1.PncpRequestMediumInfo medium_info */ 9:
|
|
3689
|
-
message.mediumInfo = PncpRequestMediumInfo.internalBinaryRead(reader, reader.uint32(), options, message.mediumInfo);
|
|
3690
|
-
break;
|
|
3691
3683
|
case /* bool must_match */ 10:
|
|
3692
3684
|
message.mustMatch = reader.bool();
|
|
3693
3685
|
break;
|
|
@@ -3730,12 +3722,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3730
3722
|
/* optional string target_actor_id = 7; */
|
|
3731
3723
|
if (message.targetActorId !== undefined)
|
|
3732
3724
|
writer.tag(7, WireType.LengthDelimited).string(message.targetActorId);
|
|
3733
|
-
/* optional otonoma.common.Value key = 8; */
|
|
3734
|
-
if (message.key)
|
|
3735
|
-
Value.internalBinaryWrite(message.key, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
3736
|
-
/* optional pncp.v1.PncpRequestMediumInfo medium_info = 9; */
|
|
3737
|
-
if (message.mediumInfo)
|
|
3738
|
-
PncpRequestMediumInfo.internalBinaryWrite(message.mediumInfo, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
3739
3725
|
/* bool must_match = 10; */
|
|
3740
3726
|
if (message.mustMatch !== false)
|
|
3741
3727
|
writer.tag(10, WireType.Varint).bool(message.mustMatch);
|
|
@@ -3756,59 +3742,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
3756
3742
|
*/
|
|
3757
3743
|
const PncpRequest = new PncpRequest$Type();
|
|
3758
3744
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
3759
|
-
class PncpRequestMediumInfo$Type extends MessageType {
|
|
3760
|
-
constructor() {
|
|
3761
|
-
super("pncp.v1.PncpRequestMediumInfo", [
|
|
3762
|
-
{ no: 1, name: "id", kind: "message", T: () => EntityId },
|
|
3763
|
-
{ no: 2, name: "user_info", kind: "message", T: () => Value }
|
|
3764
|
-
]);
|
|
3765
|
-
}
|
|
3766
|
-
create(value) {
|
|
3767
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
3768
|
-
if (value !== undefined)
|
|
3769
|
-
reflectionMergePartial(this, message, value);
|
|
3770
|
-
return message;
|
|
3771
|
-
}
|
|
3772
|
-
internalBinaryRead(reader, length, options, target) {
|
|
3773
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
3774
|
-
while (reader.pos < end) {
|
|
3775
|
-
let [fieldNo, wireType] = reader.tag();
|
|
3776
|
-
switch (fieldNo) {
|
|
3777
|
-
case /* pncp.v1.EntityId id */ 1:
|
|
3778
|
-
message.id = EntityId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
3779
|
-
break;
|
|
3780
|
-
case /* optional otonoma.common.Value user_info */ 2:
|
|
3781
|
-
message.userInfo = Value.internalBinaryRead(reader, reader.uint32(), options, message.userInfo);
|
|
3782
|
-
break;
|
|
3783
|
-
default:
|
|
3784
|
-
let u = options.readUnknownField;
|
|
3785
|
-
if (u === "throw")
|
|
3786
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
3787
|
-
let d = reader.skip(wireType);
|
|
3788
|
-
if (u !== false)
|
|
3789
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
3790
|
-
}
|
|
3791
|
-
}
|
|
3792
|
-
return message;
|
|
3793
|
-
}
|
|
3794
|
-
internalBinaryWrite(message, writer, options) {
|
|
3795
|
-
/* pncp.v1.EntityId id = 1; */
|
|
3796
|
-
if (message.id)
|
|
3797
|
-
EntityId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
3798
|
-
/* optional otonoma.common.Value user_info = 2; */
|
|
3799
|
-
if (message.userInfo)
|
|
3800
|
-
Value.internalBinaryWrite(message.userInfo, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
3801
|
-
let u = options.writeUnknownFields;
|
|
3802
|
-
if (u !== false)
|
|
3803
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
3804
|
-
return writer;
|
|
3805
|
-
}
|
|
3806
|
-
}
|
|
3807
|
-
/**
|
|
3808
|
-
* @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
|
|
3809
|
-
*/
|
|
3810
|
-
const PncpRequestMediumInfo = new PncpRequestMediumInfo$Type();
|
|
3811
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
3812
3745
|
class PncpSkillMessage$Type extends MessageType {
|
|
3813
3746
|
constructor() {
|
|
3814
3747
|
super("pncp.v1.PncpSkillMessage", [
|
|
@@ -4245,11 +4178,9 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4245
4178
|
{ no: 1, name: "id", kind: "message", T: () => ConversationId },
|
|
4246
4179
|
{ no: 2, name: "message_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4247
4180
|
{ no: 3, name: "time_created", kind: "message", T: () => Timestamp },
|
|
4248
|
-
{ no: 4, name: "key", kind: "message", T: () => Value },
|
|
4249
4181
|
{ no: 5, name: "message", kind: "message", T: () => PncpMessage },
|
|
4250
4182
|
{ no: 6, name: "params", kind: "message", T: () => Value },
|
|
4251
4183
|
{ no: 7, name: "callback", kind: "message", T: () => Value },
|
|
4252
|
-
{ no: 8, name: "medium", kind: "message", T: () => Value },
|
|
4253
4184
|
{ no: 9, name: "conversation_state", kind: "enum", T: () => ["pncp.v1.ConversationState", ConversationState] },
|
|
4254
4185
|
{ no: 10, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4255
4186
|
]);
|
|
@@ -4276,9 +4207,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4276
4207
|
case /* google.protobuf.Timestamp time_created */ 3:
|
|
4277
4208
|
message.timeCreated = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timeCreated);
|
|
4278
4209
|
break;
|
|
4279
|
-
case /* optional otonoma.common.Value key */ 4:
|
|
4280
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
4281
|
-
break;
|
|
4282
4210
|
case /* pncp.v1.PncpMessage message */ 5:
|
|
4283
4211
|
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4284
4212
|
break;
|
|
@@ -4288,9 +4216,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4288
4216
|
case /* optional otonoma.common.Value callback */ 7:
|
|
4289
4217
|
message.callback = Value.internalBinaryRead(reader, reader.uint32(), options, message.callback);
|
|
4290
4218
|
break;
|
|
4291
|
-
case /* optional otonoma.common.Value medium */ 8:
|
|
4292
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4293
|
-
break;
|
|
4294
4219
|
case /* pncp.v1.ConversationState conversation_state */ 9:
|
|
4295
4220
|
message.conversationState = reader.int32();
|
|
4296
4221
|
break;
|
|
@@ -4318,9 +4243,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4318
4243
|
/* google.protobuf.Timestamp time_created = 3; */
|
|
4319
4244
|
if (message.timeCreated)
|
|
4320
4245
|
Timestamp.internalBinaryWrite(message.timeCreated, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4321
|
-
/* optional otonoma.common.Value key = 4; */
|
|
4322
|
-
if (message.key)
|
|
4323
|
-
Value.internalBinaryWrite(message.key, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
4324
4246
|
/* pncp.v1.PncpMessage message = 5; */
|
|
4325
4247
|
if (message.message)
|
|
4326
4248
|
PncpMessage.internalBinaryWrite(message.message, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4330,9 +4252,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4330
4252
|
/* optional otonoma.common.Value callback = 7; */
|
|
4331
4253
|
if (message.callback)
|
|
4332
4254
|
Value.internalBinaryWrite(message.callback, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
4333
|
-
/* optional otonoma.common.Value medium = 8; */
|
|
4334
|
-
if (message.medium)
|
|
4335
|
-
Value.internalBinaryWrite(message.medium, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
4336
4255
|
/* pncp.v1.ConversationState conversation_state = 9; */
|
|
4337
4256
|
if (message.conversationState !== 0)
|
|
4338
4257
|
writer.tag(9, WireType.Varint).int32(message.conversationState);
|
|
@@ -4354,8 +4273,7 @@ class ParameterData$Type extends MessageType {
|
|
|
4354
4273
|
constructor() {
|
|
4355
4274
|
super("pncp.v1.ParameterData", [
|
|
4356
4275
|
{ no: 1, name: "provider", kind: "message", T: () => Value },
|
|
4357
|
-
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
4358
|
-
{ no: 3, name: "medium", kind: "message", T: () => Value }
|
|
4276
|
+
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
4359
4277
|
]);
|
|
4360
4278
|
}
|
|
4361
4279
|
create(value) {
|
|
@@ -4375,9 +4293,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4375
4293
|
case /* optional otonoma.common.Value skill */ 2:
|
|
4376
4294
|
message.skill = Value.internalBinaryRead(reader, reader.uint32(), options, message.skill);
|
|
4377
4295
|
break;
|
|
4378
|
-
case /* optional otonoma.common.Value medium */ 3:
|
|
4379
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4380
|
-
break;
|
|
4381
4296
|
default:
|
|
4382
4297
|
let u = options.readUnknownField;
|
|
4383
4298
|
if (u === "throw")
|
|
@@ -4396,9 +4311,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4396
4311
|
/* optional otonoma.common.Value skill = 2; */
|
|
4397
4312
|
if (message.skill)
|
|
4398
4313
|
Value.internalBinaryWrite(message.skill, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4399
|
-
/* optional otonoma.common.Value medium = 3; */
|
|
4400
|
-
if (message.medium)
|
|
4401
|
-
Value.internalBinaryWrite(message.medium, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
4402
4314
|
let u = options.writeUnknownFields;
|
|
4403
4315
|
if (u !== false)
|
|
4404
4316
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4410,72 +4322,34 @@ class ParameterData$Type extends MessageType {
|
|
|
4410
4322
|
*/
|
|
4411
4323
|
const ParameterData = new ParameterData$Type();
|
|
4412
4324
|
|
|
4413
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4414
|
-
class KeyOrId$Type extends MessageType {
|
|
4415
|
-
constructor() {
|
|
4416
|
-
super("pncp.v1.KeyOrId", [
|
|
4417
|
-
{ no: 1, name: "id", kind: "message", oneof: "body", T: () => ConversationId },
|
|
4418
|
-
{ no: 2, name: "key", kind: "message", oneof: "body", T: () => Value }
|
|
4419
|
-
]);
|
|
4420
|
-
}
|
|
4421
|
-
create(value) {
|
|
4422
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
4423
|
-
message.body = { oneofKind: undefined };
|
|
4424
|
-
if (value !== undefined)
|
|
4425
|
-
reflectionMergePartial(this, message, value);
|
|
4426
|
-
return message;
|
|
4427
|
-
}
|
|
4428
|
-
internalBinaryRead(reader, length, options, target) {
|
|
4429
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4430
|
-
while (reader.pos < end) {
|
|
4431
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4432
|
-
switch (fieldNo) {
|
|
4433
|
-
case /* pncp.v1.ConversationId id */ 1:
|
|
4434
|
-
message.body = {
|
|
4435
|
-
oneofKind: "id",
|
|
4436
|
-
id: ConversationId.internalBinaryRead(reader, reader.uint32(), options, message.body.id)
|
|
4437
|
-
};
|
|
4438
|
-
break;
|
|
4439
|
-
case /* otonoma.common.Value key */ 2:
|
|
4440
|
-
message.body = {
|
|
4441
|
-
oneofKind: "key",
|
|
4442
|
-
key: Value.internalBinaryRead(reader, reader.uint32(), options, message.body.key)
|
|
4443
|
-
};
|
|
4444
|
-
break;
|
|
4445
|
-
default:
|
|
4446
|
-
let u = options.readUnknownField;
|
|
4447
|
-
if (u === "throw")
|
|
4448
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4449
|
-
let d = reader.skip(wireType);
|
|
4450
|
-
if (u !== false)
|
|
4451
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4452
|
-
}
|
|
4453
|
-
}
|
|
4454
|
-
return message;
|
|
4455
|
-
}
|
|
4456
|
-
internalBinaryWrite(message, writer, options) {
|
|
4457
|
-
/* pncp.v1.ConversationId id = 1; */
|
|
4458
|
-
if (message.body.oneofKind === "id")
|
|
4459
|
-
ConversationId.internalBinaryWrite(message.body.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4460
|
-
/* otonoma.common.Value key = 2; */
|
|
4461
|
-
if (message.body.oneofKind === "key")
|
|
4462
|
-
Value.internalBinaryWrite(message.body.key, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4463
|
-
let u = options.writeUnknownFields;
|
|
4464
|
-
if (u !== false)
|
|
4465
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4466
|
-
return writer;
|
|
4467
|
-
}
|
|
4468
|
-
}
|
|
4469
4325
|
/**
|
|
4470
|
-
* @generated
|
|
4326
|
+
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
4471
4327
|
*/
|
|
4472
|
-
|
|
4328
|
+
var ResponseKind;
|
|
4329
|
+
(function (ResponseKind) {
|
|
4330
|
+
/**
|
|
4331
|
+
* @generated from protobuf enum value: MATCH = 0;
|
|
4332
|
+
*/
|
|
4333
|
+
ResponseKind[ResponseKind["MATCH"] = 0] = "MATCH";
|
|
4334
|
+
/**
|
|
4335
|
+
* @generated from protobuf enum value: BROADCAST = 1;
|
|
4336
|
+
*/
|
|
4337
|
+
ResponseKind[ResponseKind["BROADCAST"] = 1] = "BROADCAST";
|
|
4338
|
+
/**
|
|
4339
|
+
* @generated from protobuf enum value: DATA = 2;
|
|
4340
|
+
*/
|
|
4341
|
+
ResponseKind[ResponseKind["DATA"] = 2] = "DATA";
|
|
4342
|
+
/**
|
|
4343
|
+
* @generated from protobuf enum value: UNMATCHED = 3;
|
|
4344
|
+
*/
|
|
4345
|
+
ResponseKind[ResponseKind["UNMATCHED"] = 3] = "UNMATCHED";
|
|
4346
|
+
})(ResponseKind || (ResponseKind = {}));
|
|
4473
4347
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4474
|
-
class
|
|
4348
|
+
class PncpMessageRequestWrapper$Type extends MessageType {
|
|
4475
4349
|
constructor() {
|
|
4476
|
-
super("pncp.v1.
|
|
4477
|
-
{ no: 1, name: "
|
|
4478
|
-
{ no: 2, name: "
|
|
4350
|
+
super("pncp.v1.PncpMessageRequestWrapper", [
|
|
4351
|
+
{ no: 1, name: "message", kind: "message", T: () => PncpMessage },
|
|
4352
|
+
{ no: 2, name: "author_override", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4479
4353
|
]);
|
|
4480
4354
|
}
|
|
4481
4355
|
create(value) {
|
|
@@ -4489,11 +4363,11 @@ class PncpMediumMessage$Type extends MessageType {
|
|
|
4489
4363
|
while (reader.pos < end) {
|
|
4490
4364
|
let [fieldNo, wireType] = reader.tag();
|
|
4491
4365
|
switch (fieldNo) {
|
|
4492
|
-
case /* pncp.v1.
|
|
4493
|
-
message.
|
|
4366
|
+
case /* pncp.v1.PncpMessage message */ 1:
|
|
4367
|
+
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4494
4368
|
break;
|
|
4495
|
-
case /*
|
|
4496
|
-
message.
|
|
4369
|
+
case /* optional string author_override */ 2:
|
|
4370
|
+
message.authorOverride = reader.string();
|
|
4497
4371
|
break;
|
|
4498
4372
|
default:
|
|
4499
4373
|
let u = options.readUnknownField;
|
|
@@ -4507,12 +4381,12 @@ class PncpMediumMessage$Type extends MessageType {
|
|
|
4507
4381
|
return message;
|
|
4508
4382
|
}
|
|
4509
4383
|
internalBinaryWrite(message, writer, options) {
|
|
4510
|
-
/* pncp.v1.
|
|
4511
|
-
if (message.
|
|
4512
|
-
|
|
4513
|
-
/*
|
|
4514
|
-
if (message.
|
|
4515
|
-
|
|
4384
|
+
/* pncp.v1.PncpMessage message = 1; */
|
|
4385
|
+
if (message.message)
|
|
4386
|
+
PncpMessage.internalBinaryWrite(message.message, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4387
|
+
/* optional string author_override = 2; */
|
|
4388
|
+
if (message.authorOverride !== undefined)
|
|
4389
|
+
writer.tag(2, WireType.LengthDelimited).string(message.authorOverride);
|
|
4516
4390
|
let u = options.writeUnknownFields;
|
|
4517
4391
|
if (u !== false)
|
|
4518
4392
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4520,32 +4394,9 @@ class PncpMediumMessage$Type extends MessageType {
|
|
|
4520
4394
|
}
|
|
4521
4395
|
}
|
|
4522
4396
|
/**
|
|
4523
|
-
* @generated MessageType for protobuf message pncp.v1.
|
|
4397
|
+
* @generated MessageType for protobuf message pncp.v1.PncpMessageRequestWrapper
|
|
4524
4398
|
*/
|
|
4525
|
-
const
|
|
4526
|
-
|
|
4527
|
-
/**
|
|
4528
|
-
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
4529
|
-
*/
|
|
4530
|
-
var ResponseKind;
|
|
4531
|
-
(function (ResponseKind) {
|
|
4532
|
-
/**
|
|
4533
|
-
* @generated from protobuf enum value: MATCH = 0;
|
|
4534
|
-
*/
|
|
4535
|
-
ResponseKind[ResponseKind["MATCH"] = 0] = "MATCH";
|
|
4536
|
-
/**
|
|
4537
|
-
* @generated from protobuf enum value: BROADCAST = 1;
|
|
4538
|
-
*/
|
|
4539
|
-
ResponseKind[ResponseKind["BROADCAST"] = 1] = "BROADCAST";
|
|
4540
|
-
/**
|
|
4541
|
-
* @generated from protobuf enum value: DATA = 2;
|
|
4542
|
-
*/
|
|
4543
|
-
ResponseKind[ResponseKind["DATA"] = 2] = "DATA";
|
|
4544
|
-
/**
|
|
4545
|
-
* @generated from protobuf enum value: UNMATCHED = 3;
|
|
4546
|
-
*/
|
|
4547
|
-
ResponseKind[ResponseKind["UNMATCHED"] = 3] = "UNMATCHED";
|
|
4548
|
-
})(ResponseKind || (ResponseKind = {}));
|
|
4399
|
+
const PncpMessageRequestWrapper = new PncpMessageRequestWrapper$Type();
|
|
4549
4400
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4550
4401
|
class MessageResponse$Type extends MessageType {
|
|
4551
4402
|
constructor() {
|
|
@@ -4636,7 +4487,8 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4636
4487
|
super("pncp.v1.PncpCallbackRequest", [
|
|
4637
4488
|
{ no: 1, name: "disable_skill_forwarding", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4638
4489
|
{ no: 2, name: "send_open_messages", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4639
|
-
{ no: 3, name: "actor_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }
|
|
4490
|
+
{ no: 3, name: "actor_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4491
|
+
{ no: 4, name: "base_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4640
4492
|
]);
|
|
4641
4493
|
}
|
|
4642
4494
|
create(value) {
|
|
@@ -4662,6 +4514,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4662
4514
|
case /* repeated string actor_ids */ 3:
|
|
4663
4515
|
message.actorIds.push(reader.string());
|
|
4664
4516
|
break;
|
|
4517
|
+
case /* optional string base_actor_id */ 4:
|
|
4518
|
+
message.baseActorId = reader.string();
|
|
4519
|
+
break;
|
|
4665
4520
|
default:
|
|
4666
4521
|
let u = options.readUnknownField;
|
|
4667
4522
|
if (u === "throw")
|
|
@@ -4683,6 +4538,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4683
4538
|
/* repeated string actor_ids = 3; */
|
|
4684
4539
|
for (let i = 0; i < message.actorIds.length; i++)
|
|
4685
4540
|
writer.tag(3, WireType.LengthDelimited).string(message.actorIds[i]);
|
|
4541
|
+
/* optional string base_actor_id = 4; */
|
|
4542
|
+
if (message.baseActorId !== undefined)
|
|
4543
|
+
writer.tag(4, WireType.LengthDelimited).string(message.baseActorId);
|
|
4686
4544
|
let u = options.writeUnknownFields;
|
|
4687
4545
|
if (u !== false)
|
|
4688
4546
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5080,7 +4938,20 @@ class CrossDomainFederationSync$Type extends MessageType {
|
|
|
5080
4938
|
return message;
|
|
5081
4939
|
}
|
|
5082
4940
|
internalBinaryRead(reader, length, options, target) {
|
|
5083
|
-
|
|
4941
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4942
|
+
while (reader.pos < end) {
|
|
4943
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4944
|
+
switch (fieldNo) {
|
|
4945
|
+
default:
|
|
4946
|
+
let u = options.readUnknownField;
|
|
4947
|
+
if (u === "throw")
|
|
4948
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4949
|
+
let d = reader.skip(wireType);
|
|
4950
|
+
if (u !== false)
|
|
4951
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
return message;
|
|
5084
4955
|
}
|
|
5085
4956
|
internalBinaryWrite(message, writer, options) {
|
|
5086
4957
|
let u = options.writeUnknownFields;
|
|
@@ -5243,7 +5114,7 @@ class ObservationInit$Type extends MessageType {
|
|
|
5243
5114
|
{ no: 2, name: "action", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5244
5115
|
{ no: 3, name: "requester", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5245
5116
|
{ no: 4, name: "fulfiller", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5246
|
-
{ no: 5, name: "filters", kind: "message", repeat:
|
|
5117
|
+
{ no: 5, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObservationMessageFilter },
|
|
5247
5118
|
{ no: 6, name: "conversation_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
5248
5119
|
]);
|
|
5249
5120
|
}
|
|
@@ -6032,7 +5903,7 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6032
5903
|
assertNever(kind);
|
|
6033
5904
|
}
|
|
6034
5905
|
|
|
6035
|
-
// @generated by protobuf-ts 2.
|
|
5906
|
+
// @generated by protobuf-ts 2.11.1
|
|
6036
5907
|
// @generated from protobuf file "broker.grpc.proto" (package "pncp.v1", syntax proto3)
|
|
6037
5908
|
// tslint:disable
|
|
6038
5909
|
/**
|
|
@@ -6040,14 +5911,13 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6040
5911
|
*/
|
|
6041
5912
|
const Broker = new ServiceType("pncp.v1.Broker", [
|
|
6042
5913
|
{ name: "SkillRequest", options: {}, I: PncpRequest, O: MessageResponse },
|
|
6043
|
-
{ name: "PncpMessageRequest", options: {}, I:
|
|
5914
|
+
{ name: "PncpMessageRequest", options: {}, I: PncpMessageRequestWrapper, O: MessageResponse },
|
|
6044
5915
|
{ name: "PncpCallbackStream", serverStreaming: true, options: {}, I: PncpCallbackRequest, O: PncpCallback },
|
|
6045
5916
|
{ name: "CreateObserverStream", serverStreaming: true, options: {}, I: ObservationRequest, O: ObservationMessageWrapper },
|
|
6046
5917
|
{ name: "CrossDomainRequest", options: {}, I: CrossDomainMessage, O: CrossDomainResponse },
|
|
6047
5918
|
{ name: "CrossDomainStream", serverStreaming: true, clientStreaming: true, options: {}, I: CrossDomainResponse, O: CrossDomainStreamMessage },
|
|
6048
5919
|
{ name: "Login", options: { unauthenticated: true }, I: LoginRequest, O: LoginResponse },
|
|
6049
|
-
{ name: "RefreshToken", options: { unauthenticated: true }, I: RefreshTokenRequest, O: LoginResponse }
|
|
6050
|
-
{ name: "PncpMediumMessageRequest", options: { unauthenticated: true }, I: PncpMediumMessage, O: MessageResponse }
|
|
5920
|
+
{ name: "RefreshToken", options: { unauthenticated: true }, I: RefreshTokenRequest, O: LoginResponse }
|
|
6051
5921
|
]);
|
|
6052
5922
|
|
|
6053
5923
|
// NOTE (JAB, 2024-06-11): Some protobuf compilers (notably, protoc) don't like it when your rpc and
|
|
@@ -6070,7 +5940,7 @@ class BrokerClient {
|
|
|
6070
5940
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
6071
5941
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
6072
5942
|
*
|
|
6073
|
-
* @generated from protobuf rpc: SkillRequest
|
|
5943
|
+
* @generated from protobuf rpc: SkillRequest
|
|
6074
5944
|
*/
|
|
6075
5945
|
skillRequest(input, options) {
|
|
6076
5946
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -6079,7 +5949,7 @@ class BrokerClient {
|
|
|
6079
5949
|
/**
|
|
6080
5950
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
6081
5951
|
*
|
|
6082
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
5952
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
6083
5953
|
*/
|
|
6084
5954
|
pncpMessageRequest(input, options) {
|
|
6085
5955
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -6089,7 +5959,7 @@ class BrokerClient {
|
|
|
6089
5959
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
6090
5960
|
* and all additional Pncp messages sent in the conversation thread.
|
|
6091
5961
|
*
|
|
6092
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
5962
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
6093
5963
|
*/
|
|
6094
5964
|
pncpCallbackStream(input, options) {
|
|
6095
5965
|
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
@@ -6098,7 +5968,7 @@ class BrokerClient {
|
|
|
6098
5968
|
/**
|
|
6099
5969
|
* Creates a new observation stream.
|
|
6100
5970
|
*
|
|
6101
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
5971
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
6102
5972
|
*/
|
|
6103
5973
|
createObserverStream(input, options) {
|
|
6104
5974
|
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
@@ -6108,7 +5978,7 @@ class BrokerClient {
|
|
|
6108
5978
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
6109
5979
|
* the results back.
|
|
6110
5980
|
*
|
|
6111
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
5981
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
6112
5982
|
*/
|
|
6113
5983
|
crossDomainRequest(input, options) {
|
|
6114
5984
|
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
@@ -6119,36 +5989,26 @@ class BrokerClient {
|
|
|
6119
5989
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
6120
5990
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
6121
5991
|
*
|
|
6122
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
5992
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
6123
5993
|
*/
|
|
6124
5994
|
crossDomainStream(options) {
|
|
6125
5995
|
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
6126
5996
|
return stackIntercept("duplex", this._transport, method, opt);
|
|
6127
5997
|
}
|
|
6128
5998
|
/**
|
|
6129
|
-
* @generated from protobuf rpc: Login
|
|
5999
|
+
* @generated from protobuf rpc: Login
|
|
6130
6000
|
*/
|
|
6131
6001
|
login(input, options) {
|
|
6132
6002
|
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
6133
6003
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6134
6004
|
}
|
|
6135
6005
|
/**
|
|
6136
|
-
* @generated from protobuf rpc: RefreshToken
|
|
6006
|
+
* @generated from protobuf rpc: RefreshToken
|
|
6137
6007
|
*/
|
|
6138
6008
|
refreshToken(input, options) {
|
|
6139
6009
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
6140
6010
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6141
6011
|
}
|
|
6142
|
-
/**
|
|
6143
|
-
* A PNCP message received from a medium. Note, that we are likely to rework mediums.
|
|
6144
|
-
* Given currently limitations with mediums this route is left unauthenticated.
|
|
6145
|
-
*
|
|
6146
|
-
* @generated from protobuf rpc: PncpMediumMessageRequest(pncp.v1.PncpMediumMessage) returns (pncp.v1.MessageResponse);
|
|
6147
|
-
*/
|
|
6148
|
-
pncpMediumMessageRequest(input, options) {
|
|
6149
|
-
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
6150
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6151
|
-
}
|
|
6152
6012
|
}
|
|
6153
6013
|
|
|
6154
6014
|
class InvalidTokenError extends Error {
|
|
@@ -6975,7 +6835,7 @@ ListValue.toJson = (message) => {
|
|
|
6975
6835
|
return message.values.map(v => Value.toJson(v));
|
|
6976
6836
|
};
|
|
6977
6837
|
|
|
6978
|
-
// @generated by protobuf-ts 2.
|
|
6838
|
+
// @generated by protobuf-ts 2.11.1
|
|
6979
6839
|
// @generated from protobuf file "grpc/health/v1/health.proto" (package "grpc.health.v1", syntax proto3)
|
|
6980
6840
|
// tslint:disable
|
|
6981
6841
|
//
|
|
@@ -7137,7 +6997,7 @@ class HealthClient {
|
|
|
7137
6997
|
* If the requested service is unknown, the call will fail with status
|
|
7138
6998
|
* NOT_FOUND.
|
|
7139
6999
|
*
|
|
7140
|
-
* @generated from protobuf rpc: Check
|
|
7000
|
+
* @generated from protobuf rpc: Check
|
|
7141
7001
|
*/
|
|
7142
7002
|
check(input, options) {
|
|
7143
7003
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -7160,7 +7020,7 @@ class HealthClient {
|
|
|
7160
7020
|
* call. If the call terminates with any other status (including OK),
|
|
7161
7021
|
* clients should retry the call with appropriate exponential backoff.
|
|
7162
7022
|
*
|
|
7163
|
-
* @generated from protobuf rpc: Watch
|
|
7023
|
+
* @generated from protobuf rpc: Watch
|
|
7164
7024
|
*/
|
|
7165
7025
|
watch(input, options) {
|
|
7166
7026
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -7173,7 +7033,7 @@ class HealthClient {
|
|
|
7173
7033
|
let undiciModule = null;
|
|
7174
7034
|
async function getUndici() {
|
|
7175
7035
|
if (!undiciModule) {
|
|
7176
|
-
undiciModule = await import('./index-
|
|
7036
|
+
undiciModule = await import('./index-PztyZob7.mjs').then(function (n) { return n.i; });
|
|
7177
7037
|
}
|
|
7178
7038
|
return undiciModule;
|
|
7179
7039
|
}
|
|
@@ -7285,7 +7145,7 @@ class PncpClient {
|
|
|
7285
7145
|
return await this.directPncpMessage(pncpMsg);
|
|
7286
7146
|
}
|
|
7287
7147
|
async directPncpMessage(data) {
|
|
7288
|
-
let response = await this.issue(data, BrokerClient.prototype.pncpMessageRequest);
|
|
7148
|
+
let response = await this.issue({ message: data }, BrokerClient.prototype.pncpMessageRequest);
|
|
7289
7149
|
return response;
|
|
7290
7150
|
}
|
|
7291
7151
|
// Creates a new pncp callback listener.
|
|
@@ -7731,11 +7591,9 @@ function gqlSimplifyPncpRequest(req) {
|
|
|
7731
7591
|
action: req.body.action,
|
|
7732
7592
|
body: req.body.body,
|
|
7733
7593
|
},
|
|
7734
|
-
key: req.key,
|
|
7735
7594
|
author: req.author,
|
|
7736
7595
|
callback: req.callback,
|
|
7737
7596
|
parentId: req.parentId ? req.parentId : undefined,
|
|
7738
|
-
mediumInfo: req.mediumInfo ? { id: req.mediumInfo.id, userInfo: req.mediumInfo.userInfo } : undefined,
|
|
7739
7597
|
versionReq: req.versionReq ? req.versionReq : undefined,
|
|
7740
7598
|
matchStrategy: req.matchStrategy ? simplifyMatchStrategy(req.matchStrategy) : SkillMatchStrategy.BEST,
|
|
7741
7599
|
};
|
|
@@ -7853,7 +7711,6 @@ function simplifyPncpRequestCallback(cb) {
|
|
|
7853
7711
|
parameters: {
|
|
7854
7712
|
provider: cb.parameters?.provider && Value.toJson(cb.parameters.provider),
|
|
7855
7713
|
skill: cb.parameters?.skill && Value.toJson(cb.parameters.skill),
|
|
7856
|
-
medium: cb.parameters?.medium && Value.toJson(cb.parameters.medium),
|
|
7857
7714
|
},
|
|
7858
7715
|
partition: cb.partition,
|
|
7859
7716
|
};
|
|
@@ -7864,11 +7721,9 @@ function simplifyPncpMessageCallback(cb) {
|
|
|
7864
7721
|
id: cb.id,
|
|
7865
7722
|
messageId: cb.messageId,
|
|
7866
7723
|
timeCreated: Timestamp.toDate(cb.timeCreated),
|
|
7867
|
-
key: cb.key && Value.toJson(cb.key),
|
|
7868
7724
|
message: simplifyPncpMessage(cb.message),
|
|
7869
7725
|
params: cb.params && Value.toJson(cb.params),
|
|
7870
7726
|
callback: cb.callback && Value.toJson(cb.callback),
|
|
7871
|
-
medium: cb.medium && Value.toJson(cb.medium),
|
|
7872
7727
|
conversationState: cb.conversationState,
|
|
7873
7728
|
partition: cb.partition,
|
|
7874
7729
|
};
|
|
@@ -7929,5 +7784,5 @@ function simplifyObservationCallback(cb) {
|
|
|
7929
7784
|
};
|
|
7930
7785
|
}
|
|
7931
7786
|
|
|
7932
|
-
export { BaseClient, ConversationId, ConversationMembership, ConversationState, CrossDomainFederationSync, CrossDomainMessage, CrossDomainResponse, CrossDomainStreamMessage, EntityId,
|
|
7787
|
+
export { BaseClient, ConversationId, ConversationMembership, ConversationState, CrossDomainFederationSync, CrossDomainMessage, CrossDomainResponse, CrossDomainStreamMessage, EntityId, ListValue, LoginRequest, LoginResponse, MessageResponse, NullValue, ObservationCallback, ObservationInit, ObservationMessageFilter, ObservationMessageType, ObservationMessageWrapper, ObservationRequest, ObservationStartPoint, ParameterData, ParanetListener, ParanetObserverListener, ParanetServiceClient, PncpAnswerEx, PncpCallback, PncpCallbackRequest, PncpClient, PncpListener, PncpMessage, PncpMessageCallback, PncpMessageKind, PncpMessageRequestWrapper, PncpPacket, PncpQuestionEx, PncpRequest, PncpRequestCallback, PncpRequestCallback_CallbackFlags, PncpSkillMessage, RefreshTokenRequest, ResponseKind, SkillMatchStrategy, Struct, SysClient, Timestamp, Value, fromJsonValue, fromValueToJson, gqlSimplifyPncpMessage, gqlSimplifyPncpPacket, gqlSimplifyPncpRequest, simplifyObservationCallback, simplifyPncpCallback, simplifyPncpMessage, simplifyPncpMessageCallback, simplifyPncpRequestCallback, splitConversationId };
|
|
7933
7788
|
//# sourceMappingURL=index.mjs.map
|