@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/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", [
|
|
@@ -4068,6 +4001,60 @@ class PncpAnswerEx$Type extends MessageType {
|
|
|
4068
4001
|
*/
|
|
4069
4002
|
const PncpAnswerEx = new PncpAnswerEx$Type();
|
|
4070
4003
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
4004
|
+
class PncpMediumMessage$Type extends MessageType {
|
|
4005
|
+
constructor() {
|
|
4006
|
+
super("pncp.v1.PncpMediumMessage", [
|
|
4007
|
+
{ no: 1, name: "message", kind: "message", T: () => PncpMessage },
|
|
4008
|
+
{ no: 2, name: "author_override", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
4009
|
+
]);
|
|
4010
|
+
}
|
|
4011
|
+
create(value) {
|
|
4012
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
4013
|
+
message.authorOverride = "";
|
|
4014
|
+
if (value !== undefined)
|
|
4015
|
+
reflectionMergePartial(this, message, value);
|
|
4016
|
+
return message;
|
|
4017
|
+
}
|
|
4018
|
+
internalBinaryRead(reader, length, options, target) {
|
|
4019
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4020
|
+
while (reader.pos < end) {
|
|
4021
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4022
|
+
switch (fieldNo) {
|
|
4023
|
+
case /* pncp.v1.PncpMessage message */ 1:
|
|
4024
|
+
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4025
|
+
break;
|
|
4026
|
+
case /* string author_override */ 2:
|
|
4027
|
+
message.authorOverride = reader.string();
|
|
4028
|
+
break;
|
|
4029
|
+
default:
|
|
4030
|
+
let u = options.readUnknownField;
|
|
4031
|
+
if (u === "throw")
|
|
4032
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4033
|
+
let d = reader.skip(wireType);
|
|
4034
|
+
if (u !== false)
|
|
4035
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4036
|
+
}
|
|
4037
|
+
}
|
|
4038
|
+
return message;
|
|
4039
|
+
}
|
|
4040
|
+
internalBinaryWrite(message, writer, options) {
|
|
4041
|
+
/* pncp.v1.PncpMessage message = 1; */
|
|
4042
|
+
if (message.message)
|
|
4043
|
+
PncpMessage.internalBinaryWrite(message.message, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4044
|
+
/* string author_override = 2; */
|
|
4045
|
+
if (message.authorOverride !== "")
|
|
4046
|
+
writer.tag(2, WireType.LengthDelimited).string(message.authorOverride);
|
|
4047
|
+
let u = options.writeUnknownFields;
|
|
4048
|
+
if (u !== false)
|
|
4049
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4050
|
+
return writer;
|
|
4051
|
+
}
|
|
4052
|
+
}
|
|
4053
|
+
/**
|
|
4054
|
+
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
4055
|
+
*/
|
|
4056
|
+
const PncpMediumMessage = new PncpMediumMessage$Type();
|
|
4057
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
4071
4058
|
class PncpCallback$Type extends MessageType {
|
|
4072
4059
|
constructor() {
|
|
4073
4060
|
super("pncp.v1.PncpCallback", [
|
|
@@ -4245,11 +4232,9 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4245
4232
|
{ no: 1, name: "id", kind: "message", T: () => ConversationId },
|
|
4246
4233
|
{ no: 2, name: "message_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
4247
4234
|
{ no: 3, name: "time_created", kind: "message", T: () => Timestamp },
|
|
4248
|
-
{ no: 4, name: "key", kind: "message", T: () => Value },
|
|
4249
4235
|
{ no: 5, name: "message", kind: "message", T: () => PncpMessage },
|
|
4250
4236
|
{ no: 6, name: "params", kind: "message", T: () => Value },
|
|
4251
4237
|
{ no: 7, name: "callback", kind: "message", T: () => Value },
|
|
4252
|
-
{ no: 8, name: "medium", kind: "message", T: () => Value },
|
|
4253
4238
|
{ no: 9, name: "conversation_state", kind: "enum", T: () => ["pncp.v1.ConversationState", ConversationState] },
|
|
4254
4239
|
{ no: 10, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4255
4240
|
]);
|
|
@@ -4276,9 +4261,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4276
4261
|
case /* google.protobuf.Timestamp time_created */ 3:
|
|
4277
4262
|
message.timeCreated = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timeCreated);
|
|
4278
4263
|
break;
|
|
4279
|
-
case /* optional otonoma.common.Value key */ 4:
|
|
4280
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
4281
|
-
break;
|
|
4282
4264
|
case /* pncp.v1.PncpMessage message */ 5:
|
|
4283
4265
|
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
4284
4266
|
break;
|
|
@@ -4288,9 +4270,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4288
4270
|
case /* optional otonoma.common.Value callback */ 7:
|
|
4289
4271
|
message.callback = Value.internalBinaryRead(reader, reader.uint32(), options, message.callback);
|
|
4290
4272
|
break;
|
|
4291
|
-
case /* optional otonoma.common.Value medium */ 8:
|
|
4292
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4293
|
-
break;
|
|
4294
4273
|
case /* pncp.v1.ConversationState conversation_state */ 9:
|
|
4295
4274
|
message.conversationState = reader.int32();
|
|
4296
4275
|
break;
|
|
@@ -4318,9 +4297,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4318
4297
|
/* google.protobuf.Timestamp time_created = 3; */
|
|
4319
4298
|
if (message.timeCreated)
|
|
4320
4299
|
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
4300
|
/* pncp.v1.PncpMessage message = 5; */
|
|
4325
4301
|
if (message.message)
|
|
4326
4302
|
PncpMessage.internalBinaryWrite(message.message, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -4330,9 +4306,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
4330
4306
|
/* optional otonoma.common.Value callback = 7; */
|
|
4331
4307
|
if (message.callback)
|
|
4332
4308
|
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
4309
|
/* pncp.v1.ConversationState conversation_state = 9; */
|
|
4337
4310
|
if (message.conversationState !== 0)
|
|
4338
4311
|
writer.tag(9, WireType.Varint).int32(message.conversationState);
|
|
@@ -4354,8 +4327,7 @@ class ParameterData$Type extends MessageType {
|
|
|
4354
4327
|
constructor() {
|
|
4355
4328
|
super("pncp.v1.ParameterData", [
|
|
4356
4329
|
{ 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 }
|
|
4330
|
+
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
4359
4331
|
]);
|
|
4360
4332
|
}
|
|
4361
4333
|
create(value) {
|
|
@@ -4375,9 +4347,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4375
4347
|
case /* optional otonoma.common.Value skill */ 2:
|
|
4376
4348
|
message.skill = Value.internalBinaryRead(reader, reader.uint32(), options, message.skill);
|
|
4377
4349
|
break;
|
|
4378
|
-
case /* optional otonoma.common.Value medium */ 3:
|
|
4379
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
4380
|
-
break;
|
|
4381
4350
|
default:
|
|
4382
4351
|
let u = options.readUnknownField;
|
|
4383
4352
|
if (u === "throw")
|
|
@@ -4396,9 +4365,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4396
4365
|
/* optional otonoma.common.Value skill = 2; */
|
|
4397
4366
|
if (message.skill)
|
|
4398
4367
|
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
4368
|
let u = options.writeUnknownFields;
|
|
4403
4369
|
if (u !== false)
|
|
4404
4370
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -4410,120 +4376,6 @@ class ParameterData$Type extends MessageType {
|
|
|
4410
4376
|
*/
|
|
4411
4377
|
const ParameterData = new ParameterData$Type();
|
|
4412
4378
|
|
|
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
|
-
/**
|
|
4470
|
-
* @generated MessageType for protobuf message pncp.v1.KeyOrId
|
|
4471
|
-
*/
|
|
4472
|
-
const KeyOrId = new KeyOrId$Type();
|
|
4473
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
4474
|
-
class PncpMediumMessage$Type extends MessageType {
|
|
4475
|
-
constructor() {
|
|
4476
|
-
super("pncp.v1.PncpMediumMessage", [
|
|
4477
|
-
{ no: 1, name: "conversation", kind: "message", T: () => KeyOrId },
|
|
4478
|
-
{ no: 2, name: "pncp", kind: "message", T: () => PncpMessage }
|
|
4479
|
-
]);
|
|
4480
|
-
}
|
|
4481
|
-
create(value) {
|
|
4482
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
4483
|
-
if (value !== undefined)
|
|
4484
|
-
reflectionMergePartial(this, message, value);
|
|
4485
|
-
return message;
|
|
4486
|
-
}
|
|
4487
|
-
internalBinaryRead(reader, length, options, target) {
|
|
4488
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
4489
|
-
while (reader.pos < end) {
|
|
4490
|
-
let [fieldNo, wireType] = reader.tag();
|
|
4491
|
-
switch (fieldNo) {
|
|
4492
|
-
case /* pncp.v1.KeyOrId conversation */ 1:
|
|
4493
|
-
message.conversation = KeyOrId.internalBinaryRead(reader, reader.uint32(), options, message.conversation);
|
|
4494
|
-
break;
|
|
4495
|
-
case /* pncp.v1.PncpMessage pncp */ 2:
|
|
4496
|
-
message.pncp = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.pncp);
|
|
4497
|
-
break;
|
|
4498
|
-
default:
|
|
4499
|
-
let u = options.readUnknownField;
|
|
4500
|
-
if (u === "throw")
|
|
4501
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4502
|
-
let d = reader.skip(wireType);
|
|
4503
|
-
if (u !== false)
|
|
4504
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4505
|
-
}
|
|
4506
|
-
}
|
|
4507
|
-
return message;
|
|
4508
|
-
}
|
|
4509
|
-
internalBinaryWrite(message, writer, options) {
|
|
4510
|
-
/* pncp.v1.KeyOrId conversation = 1; */
|
|
4511
|
-
if (message.conversation)
|
|
4512
|
-
KeyOrId.internalBinaryWrite(message.conversation, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
4513
|
-
/* pncp.v1.PncpMessage pncp = 2; */
|
|
4514
|
-
if (message.pncp)
|
|
4515
|
-
PncpMessage.internalBinaryWrite(message.pncp, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
4516
|
-
let u = options.writeUnknownFields;
|
|
4517
|
-
if (u !== false)
|
|
4518
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
4519
|
-
return writer;
|
|
4520
|
-
}
|
|
4521
|
-
}
|
|
4522
|
-
/**
|
|
4523
|
-
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
4524
|
-
*/
|
|
4525
|
-
const PncpMediumMessage = new PncpMediumMessage$Type();
|
|
4526
|
-
|
|
4527
4379
|
/**
|
|
4528
4380
|
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
4529
4381
|
*/
|
|
@@ -4636,7 +4488,8 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4636
4488
|
super("pncp.v1.PncpCallbackRequest", [
|
|
4637
4489
|
{ no: 1, name: "disable_skill_forwarding", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
4638
4490
|
{ 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*/ }
|
|
4491
|
+
{ no: 3, name: "actor_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
4492
|
+
{ no: 4, name: "base_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
4640
4493
|
]);
|
|
4641
4494
|
}
|
|
4642
4495
|
create(value) {
|
|
@@ -4662,6 +4515,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4662
4515
|
case /* repeated string actor_ids */ 3:
|
|
4663
4516
|
message.actorIds.push(reader.string());
|
|
4664
4517
|
break;
|
|
4518
|
+
case /* optional string base_actor_id */ 4:
|
|
4519
|
+
message.baseActorId = reader.string();
|
|
4520
|
+
break;
|
|
4665
4521
|
default:
|
|
4666
4522
|
let u = options.readUnknownField;
|
|
4667
4523
|
if (u === "throw")
|
|
@@ -4683,6 +4539,9 @@ class PncpCallbackRequest$Type extends MessageType {
|
|
|
4683
4539
|
/* repeated string actor_ids = 3; */
|
|
4684
4540
|
for (let i = 0; i < message.actorIds.length; i++)
|
|
4685
4541
|
writer.tag(3, WireType.LengthDelimited).string(message.actorIds[i]);
|
|
4542
|
+
/* optional string base_actor_id = 4; */
|
|
4543
|
+
if (message.baseActorId !== undefined)
|
|
4544
|
+
writer.tag(4, WireType.LengthDelimited).string(message.baseActorId);
|
|
4686
4545
|
let u = options.writeUnknownFields;
|
|
4687
4546
|
if (u !== false)
|
|
4688
4547
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -5080,7 +4939,20 @@ class CrossDomainFederationSync$Type extends MessageType {
|
|
|
5080
4939
|
return message;
|
|
5081
4940
|
}
|
|
5082
4941
|
internalBinaryRead(reader, length, options, target) {
|
|
5083
|
-
|
|
4942
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
4943
|
+
while (reader.pos < end) {
|
|
4944
|
+
let [fieldNo, wireType] = reader.tag();
|
|
4945
|
+
switch (fieldNo) {
|
|
4946
|
+
default:
|
|
4947
|
+
let u = options.readUnknownField;
|
|
4948
|
+
if (u === "throw")
|
|
4949
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
4950
|
+
let d = reader.skip(wireType);
|
|
4951
|
+
if (u !== false)
|
|
4952
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
return message;
|
|
5084
4956
|
}
|
|
5085
4957
|
internalBinaryWrite(message, writer, options) {
|
|
5086
4958
|
let u = options.writeUnknownFields;
|
|
@@ -5243,7 +5115,7 @@ class ObservationInit$Type extends MessageType {
|
|
|
5243
5115
|
{ no: 2, name: "action", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5244
5116
|
{ no: 3, name: "requester", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5245
5117
|
{ no: 4, name: "fulfiller", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
5246
|
-
{ no: 5, name: "filters", kind: "message", repeat:
|
|
5118
|
+
{ no: 5, name: "filters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ObservationMessageFilter },
|
|
5247
5119
|
{ no: 6, name: "conversation_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
5248
5120
|
]);
|
|
5249
5121
|
}
|
|
@@ -6032,7 +5904,7 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6032
5904
|
assertNever(kind);
|
|
6033
5905
|
}
|
|
6034
5906
|
|
|
6035
|
-
// @generated by protobuf-ts 2.
|
|
5907
|
+
// @generated by protobuf-ts 2.11.1
|
|
6036
5908
|
// @generated from protobuf file "broker.grpc.proto" (package "pncp.v1", syntax proto3)
|
|
6037
5909
|
// tslint:disable
|
|
6038
5910
|
/**
|
|
@@ -6041,13 +5913,13 @@ function stackIntercept(kind, transport, method, options, input) {
|
|
|
6041
5913
|
const Broker = new ServiceType("pncp.v1.Broker", [
|
|
6042
5914
|
{ name: "SkillRequest", options: {}, I: PncpRequest, O: MessageResponse },
|
|
6043
5915
|
{ name: "PncpMessageRequest", options: {}, I: PncpMessage, O: MessageResponse },
|
|
5916
|
+
{ name: "PncpMediumRequest", options: {}, I: PncpMediumMessage, O: MessageResponse },
|
|
6044
5917
|
{ name: "PncpCallbackStream", serverStreaming: true, options: {}, I: PncpCallbackRequest, O: PncpCallback },
|
|
6045
5918
|
{ name: "CreateObserverStream", serverStreaming: true, options: {}, I: ObservationRequest, O: ObservationMessageWrapper },
|
|
6046
5919
|
{ name: "CrossDomainRequest", options: {}, I: CrossDomainMessage, O: CrossDomainResponse },
|
|
6047
5920
|
{ name: "CrossDomainStream", serverStreaming: true, clientStreaming: true, options: {}, I: CrossDomainResponse, O: CrossDomainStreamMessage },
|
|
6048
5921
|
{ 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 }
|
|
5922
|
+
{ name: "RefreshToken", options: { unauthenticated: true }, I: RefreshTokenRequest, O: LoginResponse }
|
|
6051
5923
|
]);
|
|
6052
5924
|
|
|
6053
5925
|
// NOTE (JAB, 2024-06-11): Some protobuf compilers (notably, protoc) don't like it when your rpc and
|
|
@@ -6070,7 +5942,7 @@ class BrokerClient {
|
|
|
6070
5942
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
6071
5943
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
6072
5944
|
*
|
|
6073
|
-
* @generated from protobuf rpc: SkillRequest
|
|
5945
|
+
* @generated from protobuf rpc: SkillRequest
|
|
6074
5946
|
*/
|
|
6075
5947
|
skillRequest(input, options) {
|
|
6076
5948
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -6079,39 +5951,48 @@ class BrokerClient {
|
|
|
6079
5951
|
/**
|
|
6080
5952
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
6081
5953
|
*
|
|
6082
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
5954
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
6083
5955
|
*/
|
|
6084
5956
|
pncpMessageRequest(input, options) {
|
|
6085
5957
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
6086
5958
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6087
5959
|
}
|
|
5960
|
+
/**
|
|
5961
|
+
* Message sent by a medium handler.
|
|
5962
|
+
*
|
|
5963
|
+
* @generated from protobuf rpc: PncpMediumRequest
|
|
5964
|
+
*/
|
|
5965
|
+
pncpMediumRequest(input, options) {
|
|
5966
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
5967
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
5968
|
+
}
|
|
6088
5969
|
/**
|
|
6089
5970
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
6090
5971
|
* and all additional Pncp messages sent in the conversation thread.
|
|
6091
5972
|
*
|
|
6092
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
5973
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
6093
5974
|
*/
|
|
6094
5975
|
pncpCallbackStream(input, options) {
|
|
6095
|
-
const method = this.methods[
|
|
5976
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
6096
5977
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
6097
5978
|
}
|
|
6098
5979
|
/**
|
|
6099
5980
|
* Creates a new observation stream.
|
|
6100
5981
|
*
|
|
6101
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
5982
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
6102
5983
|
*/
|
|
6103
5984
|
createObserverStream(input, options) {
|
|
6104
|
-
const method = this.methods[
|
|
5985
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
6105
5986
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
6106
5987
|
}
|
|
6107
5988
|
/**
|
|
6108
5989
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
6109
5990
|
* the results back.
|
|
6110
5991
|
*
|
|
6111
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
5992
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
6112
5993
|
*/
|
|
6113
5994
|
crossDomainRequest(input, options) {
|
|
6114
|
-
const method = this.methods[
|
|
5995
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
6115
5996
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6116
5997
|
}
|
|
6117
5998
|
/**
|
|
@@ -6119,33 +6000,23 @@ class BrokerClient {
|
|
|
6119
6000
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
6120
6001
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
6121
6002
|
*
|
|
6122
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
6003
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
6123
6004
|
*/
|
|
6124
6005
|
crossDomainStream(options) {
|
|
6125
|
-
const method = this.methods[
|
|
6006
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
6126
6007
|
return stackIntercept("duplex", this._transport, method, opt);
|
|
6127
6008
|
}
|
|
6128
6009
|
/**
|
|
6129
|
-
* @generated from protobuf rpc: Login
|
|
6010
|
+
* @generated from protobuf rpc: Login
|
|
6130
6011
|
*/
|
|
6131
6012
|
login(input, options) {
|
|
6132
|
-
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
6133
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6134
|
-
}
|
|
6135
|
-
/**
|
|
6136
|
-
* @generated from protobuf rpc: RefreshToken(pncp.v1.RefreshTokenRequest) returns (pncp.v1.LoginResponse);
|
|
6137
|
-
*/
|
|
6138
|
-
refreshToken(input, options) {
|
|
6139
6013
|
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
6140
6014
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6141
6015
|
}
|
|
6142
6016
|
/**
|
|
6143
|
-
*
|
|
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);
|
|
6017
|
+
* @generated from protobuf rpc: RefreshToken
|
|
6147
6018
|
*/
|
|
6148
|
-
|
|
6019
|
+
refreshToken(input, options) {
|
|
6149
6020
|
const method = this.methods[8], opt = this._transport.mergeOptions(options);
|
|
6150
6021
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
6151
6022
|
}
|
|
@@ -6975,7 +6846,7 @@ ListValue.toJson = (message) => {
|
|
|
6975
6846
|
return message.values.map(v => Value.toJson(v));
|
|
6976
6847
|
};
|
|
6977
6848
|
|
|
6978
|
-
// @generated by protobuf-ts 2.
|
|
6849
|
+
// @generated by protobuf-ts 2.11.1
|
|
6979
6850
|
// @generated from protobuf file "grpc/health/v1/health.proto" (package "grpc.health.v1", syntax proto3)
|
|
6980
6851
|
// tslint:disable
|
|
6981
6852
|
//
|
|
@@ -7137,7 +7008,7 @@ class HealthClient {
|
|
|
7137
7008
|
* If the requested service is unknown, the call will fail with status
|
|
7138
7009
|
* NOT_FOUND.
|
|
7139
7010
|
*
|
|
7140
|
-
* @generated from protobuf rpc: Check
|
|
7011
|
+
* @generated from protobuf rpc: Check
|
|
7141
7012
|
*/
|
|
7142
7013
|
check(input, options) {
|
|
7143
7014
|
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
@@ -7160,7 +7031,7 @@ class HealthClient {
|
|
|
7160
7031
|
* call. If the call terminates with any other status (including OK),
|
|
7161
7032
|
* clients should retry the call with appropriate exponential backoff.
|
|
7162
7033
|
*
|
|
7163
|
-
* @generated from protobuf rpc: Watch
|
|
7034
|
+
* @generated from protobuf rpc: Watch
|
|
7164
7035
|
*/
|
|
7165
7036
|
watch(input, options) {
|
|
7166
7037
|
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
@@ -7173,7 +7044,7 @@ class HealthClient {
|
|
|
7173
7044
|
let undiciModule = null;
|
|
7174
7045
|
async function getUndici() {
|
|
7175
7046
|
if (!undiciModule) {
|
|
7176
|
-
undiciModule = await import('./index-
|
|
7047
|
+
undiciModule = await import('./index-PztyZob7.mjs').then(function (n) { return n.i; });
|
|
7177
7048
|
}
|
|
7178
7049
|
return undiciModule;
|
|
7179
7050
|
}
|
|
@@ -7731,11 +7602,9 @@ function gqlSimplifyPncpRequest(req) {
|
|
|
7731
7602
|
action: req.body.action,
|
|
7732
7603
|
body: req.body.body,
|
|
7733
7604
|
},
|
|
7734
|
-
key: req.key,
|
|
7735
7605
|
author: req.author,
|
|
7736
7606
|
callback: req.callback,
|
|
7737
7607
|
parentId: req.parentId ? req.parentId : undefined,
|
|
7738
|
-
mediumInfo: req.mediumInfo ? { id: req.mediumInfo.id, userInfo: req.mediumInfo.userInfo } : undefined,
|
|
7739
7608
|
versionReq: req.versionReq ? req.versionReq : undefined,
|
|
7740
7609
|
matchStrategy: req.matchStrategy ? simplifyMatchStrategy(req.matchStrategy) : SkillMatchStrategy.BEST,
|
|
7741
7610
|
};
|
|
@@ -7853,7 +7722,6 @@ function simplifyPncpRequestCallback(cb) {
|
|
|
7853
7722
|
parameters: {
|
|
7854
7723
|
provider: cb.parameters?.provider && Value.toJson(cb.parameters.provider),
|
|
7855
7724
|
skill: cb.parameters?.skill && Value.toJson(cb.parameters.skill),
|
|
7856
|
-
medium: cb.parameters?.medium && Value.toJson(cb.parameters.medium),
|
|
7857
7725
|
},
|
|
7858
7726
|
partition: cb.partition,
|
|
7859
7727
|
};
|
|
@@ -7864,11 +7732,9 @@ function simplifyPncpMessageCallback(cb) {
|
|
|
7864
7732
|
id: cb.id,
|
|
7865
7733
|
messageId: cb.messageId,
|
|
7866
7734
|
timeCreated: Timestamp.toDate(cb.timeCreated),
|
|
7867
|
-
key: cb.key && Value.toJson(cb.key),
|
|
7868
7735
|
message: simplifyPncpMessage(cb.message),
|
|
7869
7736
|
params: cb.params && Value.toJson(cb.params),
|
|
7870
7737
|
callback: cb.callback && Value.toJson(cb.callback),
|
|
7871
|
-
medium: cb.medium && Value.toJson(cb.medium),
|
|
7872
7738
|
conversationState: cb.conversationState,
|
|
7873
7739
|
partition: cb.partition,
|
|
7874
7740
|
};
|
|
@@ -7929,5 +7795,5 @@ function simplifyObservationCallback(cb) {
|
|
|
7929
7795
|
};
|
|
7930
7796
|
}
|
|
7931
7797
|
|
|
7932
|
-
export { BaseClient, ConversationId, ConversationMembership, ConversationState, CrossDomainFederationSync, CrossDomainMessage, CrossDomainResponse, CrossDomainStreamMessage, EntityId,
|
|
7798
|
+
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, PncpMediumMessage, PncpMessage, PncpMessageCallback, PncpMessageKind, 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
7799
|
//# sourceMappingURL=index.mjs.map
|