@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/index.d.cts
CHANGED
|
@@ -132,7 +132,7 @@ interface Timestamp {
|
|
|
132
132
|
* be between -62135596800 and 253402300799 inclusive (which corresponds to
|
|
133
133
|
* 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
134
134
|
*
|
|
135
|
-
* @generated from protobuf field: int64 seconds = 1
|
|
135
|
+
* @generated from protobuf field: int64 seconds = 1
|
|
136
136
|
*/
|
|
137
137
|
seconds: bigint;
|
|
138
138
|
/**
|
|
@@ -142,7 +142,7 @@ interface Timestamp {
|
|
|
142
142
|
* values that count forward in time. Must be between 0 and 999,999,999
|
|
143
143
|
* inclusive.
|
|
144
144
|
*
|
|
145
|
-
* @generated from protobuf field: int32 nanos = 2
|
|
145
|
+
* @generated from protobuf field: int32 nanos = 2
|
|
146
146
|
*/
|
|
147
147
|
nanos: number;
|
|
148
148
|
}
|
|
@@ -183,11 +183,11 @@ declare class ConversationId$Type extends MessageType<ConversationId$1> {
|
|
|
183
183
|
*/
|
|
184
184
|
interface ConversationId$1 {
|
|
185
185
|
/**
|
|
186
|
-
* @generated from protobuf field: string id = 1
|
|
186
|
+
* @generated from protobuf field: string id = 1
|
|
187
187
|
*/
|
|
188
188
|
id: string;
|
|
189
189
|
/**
|
|
190
|
-
* @generated from protobuf field: pncp.v1.ConversationMembership membership = 2
|
|
190
|
+
* @generated from protobuf field: pncp.v1.ConversationMembership membership = 2
|
|
191
191
|
*/
|
|
192
192
|
membership: ConversationMembership;
|
|
193
193
|
}
|
|
@@ -195,36 +195,36 @@ interface ConversationId$1 {
|
|
|
195
195
|
* @generated MessageType for protobuf message pncp.v1.ConversationId
|
|
196
196
|
*/
|
|
197
197
|
declare const ConversationId$1: ConversationId$Type;
|
|
198
|
-
declare class EntityId$Type extends MessageType<EntityId
|
|
198
|
+
declare class EntityId$Type extends MessageType<EntityId> {
|
|
199
199
|
constructor();
|
|
200
|
-
create(value?: PartialMessage<EntityId
|
|
201
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EntityId
|
|
202
|
-
internalBinaryWrite(message: EntityId
|
|
200
|
+
create(value?: PartialMessage<EntityId>): EntityId;
|
|
201
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EntityId): EntityId;
|
|
202
|
+
internalBinaryWrite(message: EntityId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
205
|
* EntityId is a versioned id for any paranet identity.
|
|
206
206
|
*
|
|
207
207
|
* @generated from protobuf message pncp.v1.EntityId
|
|
208
208
|
*/
|
|
209
|
-
interface EntityId
|
|
209
|
+
interface EntityId {
|
|
210
210
|
/**
|
|
211
211
|
* A unique ID associated with an entity.
|
|
212
212
|
*
|
|
213
|
-
* @generated from protobuf field: string id = 1
|
|
213
|
+
* @generated from protobuf field: string id = 1
|
|
214
214
|
*/
|
|
215
215
|
id: string;
|
|
216
216
|
/**
|
|
217
217
|
* This is a packed semver version string. We could expand this out, but there is a lot of
|
|
218
218
|
* complexity in semver, it is best to leave it as a string and use a library to parse it internally.
|
|
219
219
|
*
|
|
220
|
-
* @generated from protobuf field: string version = 2
|
|
220
|
+
* @generated from protobuf field: string version = 2
|
|
221
221
|
*/
|
|
222
222
|
version: string;
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
225
|
* @generated MessageType for protobuf message pncp.v1.EntityId
|
|
226
226
|
*/
|
|
227
|
-
declare const EntityId
|
|
227
|
+
declare const EntityId: EntityId$Type;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
230
|
* @generated from protobuf enum otonoma.common.NullValue
|
|
@@ -251,49 +251,49 @@ interface Value {
|
|
|
251
251
|
kind: {
|
|
252
252
|
oneofKind: "nullValue";
|
|
253
253
|
/**
|
|
254
|
-
* @generated from protobuf field: otonoma.common.NullValue null_value = 1
|
|
254
|
+
* @generated from protobuf field: otonoma.common.NullValue null_value = 1
|
|
255
255
|
*/
|
|
256
256
|
nullValue: NullValue;
|
|
257
257
|
} | {
|
|
258
258
|
oneofKind: "numberValue";
|
|
259
259
|
/**
|
|
260
|
-
* @generated from protobuf field: double number_value = 2
|
|
260
|
+
* @generated from protobuf field: double number_value = 2
|
|
261
261
|
*/
|
|
262
262
|
numberValue: number;
|
|
263
263
|
} | {
|
|
264
264
|
oneofKind: "negIntValue";
|
|
265
265
|
/**
|
|
266
|
-
* @generated from protobuf field: int64 neg_int_value = 3
|
|
266
|
+
* @generated from protobuf field: int64 neg_int_value = 3
|
|
267
267
|
*/
|
|
268
268
|
negIntValue: bigint;
|
|
269
269
|
} | {
|
|
270
270
|
oneofKind: "posIntValue";
|
|
271
271
|
/**
|
|
272
|
-
* @generated from protobuf field: uint64 pos_int_value = 4
|
|
272
|
+
* @generated from protobuf field: uint64 pos_int_value = 4
|
|
273
273
|
*/
|
|
274
274
|
posIntValue: bigint;
|
|
275
275
|
} | {
|
|
276
276
|
oneofKind: "stringValue";
|
|
277
277
|
/**
|
|
278
|
-
* @generated from protobuf field: string string_value = 5
|
|
278
|
+
* @generated from protobuf field: string string_value = 5
|
|
279
279
|
*/
|
|
280
280
|
stringValue: string;
|
|
281
281
|
} | {
|
|
282
282
|
oneofKind: "boolValue";
|
|
283
283
|
/**
|
|
284
|
-
* @generated from protobuf field: bool bool_value = 6
|
|
284
|
+
* @generated from protobuf field: bool bool_value = 6
|
|
285
285
|
*/
|
|
286
286
|
boolValue: boolean;
|
|
287
287
|
} | {
|
|
288
288
|
oneofKind: "structValue";
|
|
289
289
|
/**
|
|
290
|
-
* @generated from protobuf field: otonoma.common.Struct struct_value = 7
|
|
290
|
+
* @generated from protobuf field: otonoma.common.Struct struct_value = 7
|
|
291
291
|
*/
|
|
292
292
|
structValue: Struct;
|
|
293
293
|
} | {
|
|
294
294
|
oneofKind: "listValue";
|
|
295
295
|
/**
|
|
296
|
-
* @generated from protobuf field: otonoma.common.ListValue list_value = 8
|
|
296
|
+
* @generated from protobuf field: otonoma.common.ListValue list_value = 8
|
|
297
297
|
*/
|
|
298
298
|
listValue: ListValue;
|
|
299
299
|
} | {
|
|
@@ -316,7 +316,7 @@ declare class Struct$Type extends MessageType<Struct> {
|
|
|
316
316
|
*/
|
|
317
317
|
interface Struct {
|
|
318
318
|
/**
|
|
319
|
-
* @generated from protobuf field: map<string, otonoma.common.Value> fields = 1
|
|
319
|
+
* @generated from protobuf field: map<string, otonoma.common.Value> fields = 1
|
|
320
320
|
*/
|
|
321
321
|
fields: {
|
|
322
322
|
[key: string]: Value;
|
|
@@ -337,7 +337,7 @@ declare class ListValue$Type extends MessageType<ListValue> {
|
|
|
337
337
|
*/
|
|
338
338
|
interface ListValue {
|
|
339
339
|
/**
|
|
340
|
-
* @generated from protobuf field: repeated otonoma.common.Value values = 1
|
|
340
|
+
* @generated from protobuf field: repeated otonoma.common.Value values = 1
|
|
341
341
|
*/
|
|
342
342
|
values: Value[];
|
|
343
343
|
}
|
|
@@ -455,13 +455,13 @@ interface PncpPacket$1 {
|
|
|
455
455
|
body: {
|
|
456
456
|
oneofKind: "request";
|
|
457
457
|
/**
|
|
458
|
-
* @generated from protobuf field: pncp.v1.PncpRequest request = 1
|
|
458
|
+
* @generated from protobuf field: pncp.v1.PncpRequest request = 1
|
|
459
459
|
*/
|
|
460
460
|
request: PncpRequest$1;
|
|
461
461
|
} | {
|
|
462
462
|
oneofKind: "message";
|
|
463
463
|
/**
|
|
464
|
-
* @generated from protobuf field: pncp.v1.PncpMessage message = 2
|
|
464
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 2
|
|
465
465
|
*/
|
|
466
466
|
message: PncpMessage$1;
|
|
467
467
|
} | {
|
|
@@ -487,21 +487,21 @@ interface PncpRequest$1 {
|
|
|
487
487
|
/**
|
|
488
488
|
* The core body to the request.
|
|
489
489
|
*
|
|
490
|
-
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 1
|
|
490
|
+
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 1
|
|
491
491
|
*/
|
|
492
492
|
body?: PncpSkillMessage$1;
|
|
493
493
|
/**
|
|
494
494
|
* Callback information provided on subsequent PNCP responses.
|
|
495
495
|
* This is mostly used to associate a request with a response on the actor side.
|
|
496
496
|
*
|
|
497
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
497
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
498
498
|
*/
|
|
499
499
|
callback?: Value;
|
|
500
500
|
/**
|
|
501
501
|
* Parent conversation ID, if this request is a sub request. If this is a new request this field
|
|
502
502
|
* must be left blank.
|
|
503
503
|
*
|
|
504
|
-
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 3
|
|
504
|
+
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 3
|
|
505
505
|
*/
|
|
506
506
|
parentId?: ConversationId$1;
|
|
507
507
|
/**
|
|
@@ -510,36 +510,26 @@ interface PncpRequest$1 {
|
|
|
510
510
|
* marshalled through the same connection and authentication. As such, we need the actor to provide
|
|
511
511
|
* the author information in such cases.
|
|
512
512
|
*
|
|
513
|
-
* @generated from protobuf field: optional pncp.v1.EntityId author = 4
|
|
513
|
+
* @generated from protobuf field: optional pncp.v1.EntityId author = 4
|
|
514
514
|
*/
|
|
515
|
-
author?: EntityId
|
|
515
|
+
author?: EntityId;
|
|
516
516
|
/**
|
|
517
|
-
* @generated from protobuf field: pncp.v1.SkillMatchStrategy match_strategy = 5
|
|
517
|
+
* @generated from protobuf field: pncp.v1.SkillMatchStrategy match_strategy = 5
|
|
518
518
|
*/
|
|
519
519
|
matchStrategy: SkillMatchStrategy;
|
|
520
520
|
/**
|
|
521
521
|
* version request spec for the (subject, action) pair. If not provided, the default (typically latest)
|
|
522
522
|
* is used instead.
|
|
523
523
|
*
|
|
524
|
-
* @generated from protobuf field: optional string version_req = 6
|
|
524
|
+
* @generated from protobuf field: optional string version_req = 6
|
|
525
525
|
*/
|
|
526
526
|
versionReq?: string;
|
|
527
527
|
/**
|
|
528
528
|
* Optionally specify the exact actor that should match.
|
|
529
529
|
*
|
|
530
|
-
* @generated from protobuf field: optional string target_actor_id = 7
|
|
530
|
+
* @generated from protobuf field: optional string target_actor_id = 7
|
|
531
531
|
*/
|
|
532
532
|
targetActorId?: string;
|
|
533
|
-
/**
|
|
534
|
-
* TODO: We might not need these fields anymore. We will see.
|
|
535
|
-
*
|
|
536
|
-
* @generated from protobuf field: optional otonoma.common.Value key = 8;
|
|
537
|
-
*/
|
|
538
|
-
key?: Value;
|
|
539
|
-
/**
|
|
540
|
-
* @generated from protobuf field: optional pncp.v1.PncpRequestMediumInfo medium_info = 9;
|
|
541
|
-
*/
|
|
542
|
-
mediumInfo?: PncpRequestMediumInfo$1;
|
|
543
533
|
/**
|
|
544
534
|
* If this is true, a match is required to be made upon the initial request. If it is false, the
|
|
545
535
|
* broker can store the message and conversation in an unmatched state and rematch it at a later
|
|
@@ -547,19 +537,19 @@ interface PncpRequest$1 {
|
|
|
547
537
|
* If the corresponding skill is a `Broadcast` skill, this field is not considered as they are
|
|
548
538
|
* not matched.
|
|
549
539
|
*
|
|
550
|
-
* @generated from protobuf field: bool must_match = 10
|
|
540
|
+
* @generated from protobuf field: bool must_match = 10
|
|
551
541
|
*/
|
|
552
542
|
mustMatch: boolean;
|
|
553
543
|
/**
|
|
554
544
|
* Specifies whether this request should use the provided actor lock or not.
|
|
555
545
|
*
|
|
556
|
-
* @generated from protobuf field: bool use_lock = 11
|
|
546
|
+
* @generated from protobuf field: bool use_lock = 11
|
|
557
547
|
*/
|
|
558
548
|
useLock: boolean;
|
|
559
549
|
/**
|
|
560
550
|
* Actor partition
|
|
561
551
|
*
|
|
562
|
-
* @generated from protobuf field: optional string partition = 13
|
|
552
|
+
* @generated from protobuf field: optional string partition = 13
|
|
563
553
|
*/
|
|
564
554
|
partition?: string;
|
|
565
555
|
}
|
|
@@ -567,33 +557,6 @@ interface PncpRequest$1 {
|
|
|
567
557
|
* @generated MessageType for protobuf message pncp.v1.PncpRequest
|
|
568
558
|
*/
|
|
569
559
|
declare const PncpRequest$1: PncpRequest$Type;
|
|
570
|
-
declare class PncpRequestMediumInfo$Type extends MessageType<PncpRequestMediumInfo$1> {
|
|
571
|
-
constructor();
|
|
572
|
-
create(value?: PartialMessage<PncpRequestMediumInfo$1>): PncpRequestMediumInfo$1;
|
|
573
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpRequestMediumInfo$1): PncpRequestMediumInfo$1;
|
|
574
|
-
internalBinaryWrite(message: PncpRequestMediumInfo$1, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
|
-
* @generated from protobuf message pncp.v1.PncpRequestMediumInfo
|
|
578
|
-
*/
|
|
579
|
-
interface PncpRequestMediumInfo$1 {
|
|
580
|
-
/**
|
|
581
|
-
* ID of the medium that made the request.
|
|
582
|
-
*
|
|
583
|
-
* @generated from protobuf field: pncp.v1.EntityId id = 1;
|
|
584
|
-
*/
|
|
585
|
-
id?: EntityId$1;
|
|
586
|
-
/**
|
|
587
|
-
* Unique information identifying the user from the medium.
|
|
588
|
-
*
|
|
589
|
-
* @generated from protobuf field: optional otonoma.common.Value user_info = 2;
|
|
590
|
-
*/
|
|
591
|
-
userInfo?: Value;
|
|
592
|
-
}
|
|
593
|
-
/**
|
|
594
|
-
* @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
|
|
595
|
-
*/
|
|
596
|
-
declare const PncpRequestMediumInfo$1: PncpRequestMediumInfo$Type;
|
|
597
560
|
declare class PncpSkillMessage$Type extends MessageType<PncpSkillMessage$1> {
|
|
598
561
|
constructor();
|
|
599
562
|
create(value?: PartialMessage<PncpSkillMessage$1>): PncpSkillMessage$1;
|
|
@@ -609,25 +572,25 @@ interface PncpSkillMessage$1 {
|
|
|
609
572
|
/**
|
|
610
573
|
* Subject of the request.
|
|
611
574
|
*
|
|
612
|
-
* @generated from protobuf field: string subject = 1
|
|
575
|
+
* @generated from protobuf field: string subject = 1
|
|
613
576
|
*/
|
|
614
577
|
subject: string;
|
|
615
578
|
/**
|
|
616
579
|
* Action associated with the request.
|
|
617
580
|
*
|
|
618
|
-
* @generated from protobuf field: string action = 2
|
|
581
|
+
* @generated from protobuf field: string action = 2
|
|
619
582
|
*/
|
|
620
583
|
action: string;
|
|
621
584
|
/**
|
|
622
585
|
* The request data.
|
|
623
586
|
*
|
|
624
|
-
* @generated from protobuf field: otonoma.common.Value body = 5
|
|
587
|
+
* @generated from protobuf field: otonoma.common.Value body = 5
|
|
625
588
|
*/
|
|
626
589
|
body?: Value;
|
|
627
590
|
/**
|
|
628
591
|
* Taint data labels
|
|
629
592
|
*
|
|
630
|
-
* @generated from protobuf field: optional string taint = 6
|
|
593
|
+
* @generated from protobuf field: optional string taint = 6
|
|
631
594
|
*/
|
|
632
595
|
taint?: string;
|
|
633
596
|
}
|
|
@@ -651,35 +614,37 @@ interface PncpMessage$1 {
|
|
|
651
614
|
/**
|
|
652
615
|
* The ID associated with this message.
|
|
653
616
|
*
|
|
654
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
617
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
655
618
|
*/
|
|
656
619
|
id?: ConversationId$1;
|
|
657
620
|
/**
|
|
658
621
|
* The kind of message. Certain other fields are only optionally present depending on the value
|
|
659
622
|
* of this field.
|
|
660
623
|
*
|
|
661
|
-
* @generated from protobuf field: pncp.v1.PncpMessageKind kind = 10
|
|
624
|
+
* @generated from protobuf field: pncp.v1.PncpMessageKind kind = 10
|
|
662
625
|
*/
|
|
663
626
|
kind: PncpMessageKind;
|
|
664
627
|
/**
|
|
665
628
|
* The core data of the message.
|
|
666
629
|
*
|
|
667
|
-
* @generated from protobuf field: otonoma.common.Value body = 11
|
|
630
|
+
* @generated from protobuf field: otonoma.common.Value body = 11
|
|
668
631
|
*/
|
|
669
632
|
body?: Value;
|
|
670
633
|
/**
|
|
634
|
+
* Extra information based on the kind of the message.
|
|
635
|
+
*
|
|
671
636
|
* @generated from protobuf oneof: extra
|
|
672
637
|
*/
|
|
673
638
|
extra: {
|
|
674
639
|
oneofKind: "question";
|
|
675
640
|
/**
|
|
676
|
-
* @generated from protobuf field: pncp.v1.PncpQuestionEx question = 12
|
|
641
|
+
* @generated from protobuf field: pncp.v1.PncpQuestionEx question = 12
|
|
677
642
|
*/
|
|
678
643
|
question: PncpQuestionEx;
|
|
679
644
|
} | {
|
|
680
645
|
oneofKind: "answer";
|
|
681
646
|
/**
|
|
682
|
-
* @generated from protobuf field: pncp.v1.PncpAnswerEx answer = 13
|
|
647
|
+
* @generated from protobuf field: pncp.v1.PncpAnswerEx answer = 13
|
|
683
648
|
*/
|
|
684
649
|
answer: PncpAnswerEx;
|
|
685
650
|
} | {
|
|
@@ -688,7 +653,7 @@ interface PncpMessage$1 {
|
|
|
688
653
|
/**
|
|
689
654
|
* Taint data labels
|
|
690
655
|
*
|
|
691
|
-
* @generated from protobuf field: optional string taint = 14
|
|
656
|
+
* @generated from protobuf field: optional string taint = 14
|
|
692
657
|
*/
|
|
693
658
|
taint?: string;
|
|
694
659
|
}
|
|
@@ -709,11 +674,11 @@ interface PncpQuestionEx {
|
|
|
709
674
|
/**
|
|
710
675
|
* ID of the question.
|
|
711
676
|
*
|
|
712
|
-
* @generated from protobuf field: string id = 1
|
|
677
|
+
* @generated from protobuf field: string id = 1
|
|
713
678
|
*/
|
|
714
679
|
id: string;
|
|
715
680
|
/**
|
|
716
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
681
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
717
682
|
*/
|
|
718
683
|
callback?: Value;
|
|
719
684
|
}
|
|
@@ -734,7 +699,7 @@ interface PncpAnswerEx {
|
|
|
734
699
|
/**
|
|
735
700
|
* Message ID of the question being replied to.
|
|
736
701
|
*
|
|
737
|
-
* @generated from protobuf field: string reply_to = 1
|
|
702
|
+
* @generated from protobuf field: string reply_to = 1
|
|
738
703
|
*/
|
|
739
704
|
replyTo: string;
|
|
740
705
|
}
|
|
@@ -761,13 +726,13 @@ interface PncpCallback {
|
|
|
761
726
|
body: {
|
|
762
727
|
oneofKind: "skill";
|
|
763
728
|
/**
|
|
764
|
-
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
729
|
+
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
765
730
|
*/
|
|
766
731
|
skill: PncpRequestCallback;
|
|
767
732
|
} | {
|
|
768
733
|
oneofKind: "message";
|
|
769
734
|
/**
|
|
770
|
-
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
735
|
+
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
771
736
|
*/
|
|
772
737
|
message: PncpMessageCallback;
|
|
773
738
|
} | {
|
|
@@ -791,59 +756,59 @@ declare class PncpRequestCallback$Type extends MessageType<PncpRequestCallback>
|
|
|
791
756
|
*/
|
|
792
757
|
interface PncpRequestCallback {
|
|
793
758
|
/**
|
|
794
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
759
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
795
760
|
*/
|
|
796
761
|
id?: ConversationId$1;
|
|
797
762
|
/**
|
|
798
|
-
* @generated from protobuf field: string message_id = 2
|
|
763
|
+
* @generated from protobuf field: string message_id = 2
|
|
799
764
|
*/
|
|
800
765
|
messageId: string;
|
|
801
766
|
/**
|
|
802
767
|
* The core PNCP request body.
|
|
803
768
|
*
|
|
804
|
-
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
769
|
+
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
805
770
|
*/
|
|
806
771
|
body?: PncpSkillMessage$1;
|
|
807
772
|
/**
|
|
808
773
|
* Parent ID of the conversation that triggered this one, if one exists.
|
|
809
774
|
*
|
|
810
|
-
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
775
|
+
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
811
776
|
*/
|
|
812
777
|
parentId?: ConversationId$1;
|
|
813
778
|
/**
|
|
814
779
|
* Time the conversation was created.
|
|
815
780
|
*
|
|
816
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
781
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
817
782
|
*/
|
|
818
783
|
timeCreated?: Timestamp;
|
|
819
784
|
/**
|
|
820
785
|
* Author of the request.
|
|
821
786
|
*
|
|
822
|
-
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
787
|
+
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
823
788
|
*/
|
|
824
|
-
authorId?: EntityId
|
|
789
|
+
authorId?: EntityId;
|
|
825
790
|
/**
|
|
826
791
|
* The actor ID of the receiving actor. This is the reflection of the PncpRequest author field.
|
|
827
792
|
* See notes on PncpRequest.author for why this is necessary.
|
|
828
793
|
*
|
|
829
|
-
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
794
|
+
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
830
795
|
*/
|
|
831
|
-
targetActorId?: EntityId
|
|
796
|
+
targetActorId?: EntityId;
|
|
832
797
|
/**
|
|
833
798
|
* Parameter data. These fields are actor or skill specific metadata populated dynamically
|
|
834
799
|
* by the broker.
|
|
835
800
|
*
|
|
836
|
-
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
801
|
+
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
837
802
|
*/
|
|
838
803
|
parameters?: ParameterData;
|
|
839
804
|
/**
|
|
840
|
-
* @generated from protobuf field: uint32 flags = 9
|
|
805
|
+
* @generated from protobuf field: uint32 flags = 9
|
|
841
806
|
*/
|
|
842
807
|
flags: number;
|
|
843
808
|
/**
|
|
844
809
|
* Actor partition
|
|
845
810
|
*
|
|
846
|
-
* @generated from protobuf field: optional string partition = 10
|
|
811
|
+
* @generated from protobuf field: optional string partition = 10
|
|
847
812
|
*/
|
|
848
813
|
partition?: string;
|
|
849
814
|
}
|
|
@@ -865,55 +830,43 @@ declare class PncpMessageCallback$Type extends MessageType<PncpMessageCallback>
|
|
|
865
830
|
*/
|
|
866
831
|
interface PncpMessageCallback {
|
|
867
832
|
/**
|
|
868
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
833
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
869
834
|
*/
|
|
870
835
|
id?: ConversationId$1;
|
|
871
836
|
/**
|
|
872
|
-
* @generated from protobuf field: string message_id = 2
|
|
837
|
+
* @generated from protobuf field: string message_id = 2
|
|
873
838
|
*/
|
|
874
839
|
messageId: string;
|
|
875
840
|
/**
|
|
876
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
841
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
877
842
|
*/
|
|
878
843
|
timeCreated?: Timestamp;
|
|
879
|
-
/**
|
|
880
|
-
* Returned key from initial request.
|
|
881
|
-
*
|
|
882
|
-
* @generated from protobuf field: optional otonoma.common.Value key = 4;
|
|
883
|
-
*/
|
|
884
|
-
key?: Value;
|
|
885
844
|
/**
|
|
886
845
|
* The core body of the message.
|
|
887
846
|
*
|
|
888
|
-
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
847
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
889
848
|
*/
|
|
890
849
|
message?: PncpMessage$1;
|
|
891
850
|
/**
|
|
892
851
|
* Certain message types (notably: Question) can provide params.
|
|
893
852
|
*
|
|
894
|
-
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
853
|
+
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
895
854
|
*/
|
|
896
855
|
params?: Value;
|
|
897
856
|
/**
|
|
898
857
|
* Callback provided on the initial message.
|
|
899
858
|
*
|
|
900
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
859
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
901
860
|
*/
|
|
902
861
|
callback?: Value;
|
|
903
862
|
/**
|
|
904
|
-
*
|
|
905
|
-
*
|
|
906
|
-
* @generated from protobuf field: optional otonoma.common.Value medium = 8;
|
|
907
|
-
*/
|
|
908
|
-
medium?: Value;
|
|
909
|
-
/**
|
|
910
|
-
* @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9;
|
|
863
|
+
* @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9
|
|
911
864
|
*/
|
|
912
865
|
conversationState: ConversationState;
|
|
913
866
|
/**
|
|
914
867
|
* Actor partition
|
|
915
868
|
*
|
|
916
|
-
* @generated from protobuf field: optional string partition = 10
|
|
869
|
+
* @generated from protobuf field: optional string partition = 10
|
|
917
870
|
*/
|
|
918
871
|
partition?: string;
|
|
919
872
|
}
|
|
@@ -932,84 +885,19 @@ declare class ParameterData$Type extends MessageType<ParameterData> {
|
|
|
932
885
|
*/
|
|
933
886
|
interface ParameterData {
|
|
934
887
|
/**
|
|
935
|
-
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
888
|
+
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
936
889
|
*/
|
|
937
890
|
provider?: Value;
|
|
938
891
|
/**
|
|
939
|
-
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
892
|
+
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
940
893
|
*/
|
|
941
894
|
skill?: Value;
|
|
942
|
-
/**
|
|
943
|
-
* @generated from protobuf field: optional otonoma.common.Value medium = 3;
|
|
944
|
-
*/
|
|
945
|
-
medium?: Value;
|
|
946
895
|
}
|
|
947
896
|
/**
|
|
948
897
|
* @generated MessageType for protobuf message pncp.v1.ParameterData
|
|
949
898
|
*/
|
|
950
899
|
declare const ParameterData: ParameterData$Type;
|
|
951
900
|
|
|
952
|
-
declare class KeyOrId$Type extends MessageType<KeyOrId> {
|
|
953
|
-
constructor();
|
|
954
|
-
create(value?: PartialMessage<KeyOrId>): KeyOrId;
|
|
955
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: KeyOrId): KeyOrId;
|
|
956
|
-
internalBinaryWrite(message: KeyOrId, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
957
|
-
}
|
|
958
|
-
/**
|
|
959
|
-
* @generated from protobuf message pncp.v1.KeyOrId
|
|
960
|
-
*/
|
|
961
|
-
interface KeyOrId {
|
|
962
|
-
/**
|
|
963
|
-
* @generated from protobuf oneof: body
|
|
964
|
-
*/
|
|
965
|
-
body: {
|
|
966
|
-
oneofKind: "id";
|
|
967
|
-
/**
|
|
968
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1;
|
|
969
|
-
*/
|
|
970
|
-
id: ConversationId$1;
|
|
971
|
-
} | {
|
|
972
|
-
oneofKind: "key";
|
|
973
|
-
/**
|
|
974
|
-
* @generated from protobuf field: otonoma.common.Value key = 2;
|
|
975
|
-
*/
|
|
976
|
-
key: Value;
|
|
977
|
-
} | {
|
|
978
|
-
oneofKind: undefined;
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
/**
|
|
982
|
-
* @generated MessageType for protobuf message pncp.v1.KeyOrId
|
|
983
|
-
*/
|
|
984
|
-
declare const KeyOrId: KeyOrId$Type;
|
|
985
|
-
declare class PncpMediumMessage$Type extends MessageType<PncpMediumMessage> {
|
|
986
|
-
constructor();
|
|
987
|
-
create(value?: PartialMessage<PncpMediumMessage>): PncpMediumMessage;
|
|
988
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpMediumMessage): PncpMediumMessage;
|
|
989
|
-
internalBinaryWrite(message: PncpMediumMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
990
|
-
}
|
|
991
|
-
/**
|
|
992
|
-
* A PNCP message received from a medium.
|
|
993
|
-
*
|
|
994
|
-
* @generated from protobuf message pncp.v1.PncpMediumMessage
|
|
995
|
-
*/
|
|
996
|
-
interface PncpMediumMessage {
|
|
997
|
-
/**
|
|
998
|
-
* @generated from protobuf field: pncp.v1.KeyOrId conversation = 1;
|
|
999
|
-
*/
|
|
1000
|
-
conversation?: KeyOrId;
|
|
1001
|
-
/**
|
|
1002
|
-
* The id field in this case can be empty.
|
|
1003
|
-
*
|
|
1004
|
-
* @generated from protobuf field: pncp.v1.PncpMessage pncp = 2;
|
|
1005
|
-
*/
|
|
1006
|
-
pncp?: PncpMessage$1;
|
|
1007
|
-
}
|
|
1008
|
-
/**
|
|
1009
|
-
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
1010
|
-
*/
|
|
1011
|
-
declare const PncpMediumMessage: PncpMediumMessage$Type;
|
|
1012
|
-
|
|
1013
901
|
/**
|
|
1014
902
|
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
1015
903
|
*/
|
|
@@ -1031,6 +919,32 @@ declare enum ResponseKind {
|
|
|
1031
919
|
*/
|
|
1032
920
|
UNMATCHED = 3
|
|
1033
921
|
}
|
|
922
|
+
declare class PncpMessageRequestWrapper$Type extends MessageType<PncpMessageRequestWrapper> {
|
|
923
|
+
constructor();
|
|
924
|
+
create(value?: PartialMessage<PncpMessageRequestWrapper>): PncpMessageRequestWrapper;
|
|
925
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpMessageRequestWrapper): PncpMessageRequestWrapper;
|
|
926
|
+
internalBinaryWrite(message: PncpMessageRequestWrapper, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
927
|
+
}
|
|
928
|
+
/**
|
|
929
|
+
* @generated from protobuf message pncp.v1.PncpMessageRequestWrapper
|
|
930
|
+
*/
|
|
931
|
+
interface PncpMessageRequestWrapper {
|
|
932
|
+
/**
|
|
933
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 1
|
|
934
|
+
*/
|
|
935
|
+
message?: PncpMessage$1;
|
|
936
|
+
/**
|
|
937
|
+
* Optional override of the actor issuing this request.
|
|
938
|
+
* Only allowed to be provided by certain actors.
|
|
939
|
+
*
|
|
940
|
+
* @generated from protobuf field: optional string author_override = 2
|
|
941
|
+
*/
|
|
942
|
+
authorOverride?: string;
|
|
943
|
+
}
|
|
944
|
+
/**
|
|
945
|
+
* @generated MessageType for protobuf message pncp.v1.PncpMessageRequestWrapper
|
|
946
|
+
*/
|
|
947
|
+
declare const PncpMessageRequestWrapper: PncpMessageRequestWrapper$Type;
|
|
1034
948
|
declare class MessageResponse$Type extends MessageType<MessageResponse> {
|
|
1035
949
|
constructor();
|
|
1036
950
|
create(value?: PartialMessage<MessageResponse>): MessageResponse;
|
|
@@ -1044,36 +958,36 @@ declare class MessageResponse$Type extends MessageType<MessageResponse> {
|
|
|
1044
958
|
*/
|
|
1045
959
|
interface MessageResponse {
|
|
1046
960
|
/**
|
|
1047
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
961
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1048
962
|
*/
|
|
1049
963
|
id?: ConversationId$1;
|
|
1050
964
|
/**
|
|
1051
|
-
* @generated from protobuf field: string message_id = 2
|
|
965
|
+
* @generated from protobuf field: string message_id = 2
|
|
1052
966
|
*/
|
|
1053
967
|
messageId: string;
|
|
1054
968
|
/**
|
|
1055
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
969
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
1056
970
|
*/
|
|
1057
971
|
timeCreated?: Timestamp;
|
|
1058
972
|
/**
|
|
1059
973
|
* / Current state of the conversation after this request was made.
|
|
1060
974
|
*
|
|
1061
|
-
* @generated from protobuf field: pncp.v1.ConversationState state = 4
|
|
975
|
+
* @generated from protobuf field: pncp.v1.ConversationState state = 4
|
|
1062
976
|
*/
|
|
1063
977
|
state: ConversationState;
|
|
1064
978
|
/**
|
|
1065
979
|
* Information on what happened with the message.
|
|
1066
980
|
*
|
|
1067
|
-
* @generated from protobuf field: pncp.v1.ResponseKind kind = 5
|
|
981
|
+
* @generated from protobuf field: pncp.v1.ResponseKind kind = 5
|
|
1068
982
|
*/
|
|
1069
983
|
kind: ResponseKind;
|
|
1070
984
|
/**
|
|
1071
985
|
* Id of the actor that was matched to, if the message was routed to an actor.
|
|
1072
986
|
* Only optional for BROADCAST kind.
|
|
1073
987
|
*
|
|
1074
|
-
* @generated from protobuf field: optional pncp.v1.EntityId matched_id = 6
|
|
988
|
+
* @generated from protobuf field: optional pncp.v1.EntityId matched_id = 6
|
|
1075
989
|
*/
|
|
1076
|
-
matchedId?: EntityId
|
|
990
|
+
matchedId?: EntityId;
|
|
1077
991
|
}
|
|
1078
992
|
/**
|
|
1079
993
|
* @generated MessageType for protobuf message pncp.v1.MessageResponse
|
|
@@ -1094,22 +1008,29 @@ interface PncpCallbackRequest {
|
|
|
1094
1008
|
/**
|
|
1095
1009
|
* If this is true, skill forwarding will not be checked when this actor connects.
|
|
1096
1010
|
*
|
|
1097
|
-
* @generated from protobuf field: bool disable_skill_forwarding = 1
|
|
1011
|
+
* @generated from protobuf field: bool disable_skill_forwarding = 1
|
|
1098
1012
|
*/
|
|
1099
1013
|
disableSkillForwarding: boolean;
|
|
1100
1014
|
/**
|
|
1101
1015
|
* If this is true, open messages to this actor will be sent through the channel again.
|
|
1102
1016
|
*
|
|
1103
|
-
* @generated from protobuf field: bool send_open_messages = 2
|
|
1017
|
+
* @generated from protobuf field: bool send_open_messages = 2
|
|
1104
1018
|
*/
|
|
1105
1019
|
sendOpenMessages: boolean;
|
|
1106
1020
|
/**
|
|
1107
1021
|
* List of actor IDs that we want to receive messages for on this connection.
|
|
1108
1022
|
* If this is empty, the default is only the actor associated with this user.
|
|
1109
1023
|
*
|
|
1110
|
-
* @generated from protobuf field: repeated string actor_ids = 3
|
|
1024
|
+
* @generated from protobuf field: repeated string actor_ids = 3
|
|
1111
1025
|
*/
|
|
1112
1026
|
actorIds: string[];
|
|
1027
|
+
/**
|
|
1028
|
+
* Allows specifying a different base actor than the claims associated with login.
|
|
1029
|
+
* Only permitted by special actors.
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from protobuf field: optional string base_actor_id = 4
|
|
1032
|
+
*/
|
|
1033
|
+
baseActorId?: string;
|
|
1113
1034
|
}
|
|
1114
1035
|
/**
|
|
1115
1036
|
* @generated MessageType for protobuf message pncp.v1.PncpCallbackRequest
|
|
@@ -1126,7 +1047,7 @@ declare class LoginRequest$Type extends MessageType<LoginRequest> {
|
|
|
1126
1047
|
*/
|
|
1127
1048
|
interface LoginRequest {
|
|
1128
1049
|
/**
|
|
1129
|
-
* @generated from protobuf field: string actor_id = 1
|
|
1050
|
+
* @generated from protobuf field: string actor_id = 1
|
|
1130
1051
|
*/
|
|
1131
1052
|
actorId: string;
|
|
1132
1053
|
/**
|
|
@@ -1135,19 +1056,19 @@ interface LoginRequest {
|
|
|
1135
1056
|
secret: {
|
|
1136
1057
|
oneofKind: "password";
|
|
1137
1058
|
/**
|
|
1138
|
-
* @generated from protobuf field: string password = 2
|
|
1059
|
+
* @generated from protobuf field: string password = 2
|
|
1139
1060
|
*/
|
|
1140
1061
|
password: string;
|
|
1141
1062
|
} | {
|
|
1142
1063
|
oneofKind: "token";
|
|
1143
1064
|
/**
|
|
1144
|
-
* @generated from protobuf field: string token = 3
|
|
1065
|
+
* @generated from protobuf field: string token = 3
|
|
1145
1066
|
*/
|
|
1146
1067
|
token: string;
|
|
1147
1068
|
} | {
|
|
1148
1069
|
oneofKind: "jwt";
|
|
1149
1070
|
/**
|
|
1150
|
-
* @generated from protobuf field: string jwt = 4
|
|
1071
|
+
* @generated from protobuf field: string jwt = 4
|
|
1151
1072
|
*/
|
|
1152
1073
|
jwt: string;
|
|
1153
1074
|
} | {
|
|
@@ -1169,11 +1090,11 @@ declare class RefreshTokenRequest$Type extends MessageType<RefreshTokenRequest>
|
|
|
1169
1090
|
*/
|
|
1170
1091
|
interface RefreshTokenRequest {
|
|
1171
1092
|
/**
|
|
1172
|
-
* @generated from protobuf field: string token = 1
|
|
1093
|
+
* @generated from protobuf field: string token = 1
|
|
1173
1094
|
*/
|
|
1174
1095
|
token: string;
|
|
1175
1096
|
/**
|
|
1176
|
-
* @generated from protobuf field: string refresh_token = 2
|
|
1097
|
+
* @generated from protobuf field: string refresh_token = 2
|
|
1177
1098
|
*/
|
|
1178
1099
|
refreshToken: string;
|
|
1179
1100
|
}
|
|
@@ -1194,13 +1115,13 @@ interface LoginResponse {
|
|
|
1194
1115
|
/**
|
|
1195
1116
|
* Paranet token, must be provided on every request in the authorization header.
|
|
1196
1117
|
*
|
|
1197
|
-
* @generated from protobuf field: string token = 1
|
|
1118
|
+
* @generated from protobuf field: string token = 1
|
|
1198
1119
|
*/
|
|
1199
1120
|
token: string;
|
|
1200
1121
|
/**
|
|
1201
1122
|
* Refresh token, usable to automatically regenerate a login token.
|
|
1202
1123
|
*
|
|
1203
|
-
* @generated from protobuf field: string refresh_token = 2
|
|
1124
|
+
* @generated from protobuf field: string refresh_token = 2
|
|
1204
1125
|
*/
|
|
1205
1126
|
refreshToken: string;
|
|
1206
1127
|
}
|
|
@@ -1221,17 +1142,17 @@ interface CrossDomainMessage {
|
|
|
1221
1142
|
/**
|
|
1222
1143
|
* The originating conversation ID.
|
|
1223
1144
|
*
|
|
1224
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1145
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1225
1146
|
*/
|
|
1226
1147
|
id?: ConversationId$1;
|
|
1227
1148
|
/**
|
|
1228
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 2
|
|
1149
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 2
|
|
1229
1150
|
*/
|
|
1230
|
-
author?: EntityId
|
|
1151
|
+
author?: EntityId;
|
|
1231
1152
|
/**
|
|
1232
1153
|
* Pncp skill request or message.
|
|
1233
1154
|
*
|
|
1234
|
-
* @generated from protobuf field: pncp.v1.PncpPacket body = 3
|
|
1155
|
+
* @generated from protobuf field: pncp.v1.PncpPacket body = 3
|
|
1235
1156
|
*/
|
|
1236
1157
|
body?: PncpPacket$1;
|
|
1237
1158
|
}
|
|
@@ -1252,7 +1173,7 @@ interface CrossDomainResponse {
|
|
|
1252
1173
|
/**
|
|
1253
1174
|
* The originating conversation ID.
|
|
1254
1175
|
*
|
|
1255
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1176
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1256
1177
|
*/
|
|
1257
1178
|
id?: ConversationId$1;
|
|
1258
1179
|
/**
|
|
@@ -1263,13 +1184,13 @@ interface CrossDomainResponse {
|
|
|
1263
1184
|
/**
|
|
1264
1185
|
* The response generated from the request.
|
|
1265
1186
|
*
|
|
1266
|
-
* @generated from protobuf field: pncp.v1.MessageResponse response = 2
|
|
1187
|
+
* @generated from protobuf field: pncp.v1.MessageResponse response = 2
|
|
1267
1188
|
*/
|
|
1268
1189
|
response: MessageResponse;
|
|
1269
1190
|
} | {
|
|
1270
1191
|
oneofKind: "error";
|
|
1271
1192
|
/**
|
|
1272
|
-
* @generated from protobuf field: string error = 3
|
|
1193
|
+
* @generated from protobuf field: string error = 3
|
|
1273
1194
|
*/
|
|
1274
1195
|
error: string;
|
|
1275
1196
|
} | {
|
|
@@ -1296,13 +1217,13 @@ interface CrossDomainStreamMessage {
|
|
|
1296
1217
|
body: {
|
|
1297
1218
|
oneofKind: "msg";
|
|
1298
1219
|
/**
|
|
1299
|
-
* @generated from protobuf field: pncp.v1.CrossDomainMessage msg = 1
|
|
1220
|
+
* @generated from protobuf field: pncp.v1.CrossDomainMessage msg = 1
|
|
1300
1221
|
*/
|
|
1301
1222
|
msg: CrossDomainMessage;
|
|
1302
1223
|
} | {
|
|
1303
1224
|
oneofKind: "federationSync";
|
|
1304
1225
|
/**
|
|
1305
|
-
* @generated from protobuf field: pncp.v1.CrossDomainFederationSync federation_sync = 2
|
|
1226
|
+
* @generated from protobuf field: pncp.v1.CrossDomainFederationSync federation_sync = 2
|
|
1306
1227
|
*/
|
|
1307
1228
|
federationSync: CrossDomainFederationSync;
|
|
1308
1229
|
} | {
|
|
@@ -1388,40 +1309,40 @@ declare class ObservationRequest$Type extends MessageType<ObservationRequest> {
|
|
|
1388
1309
|
*/
|
|
1389
1310
|
interface ObservationRequest {
|
|
1390
1311
|
/**
|
|
1391
|
-
* @generated from protobuf field: pncp.v1.ObservationInit body = 1
|
|
1312
|
+
* @generated from protobuf field: pncp.v1.ObservationInit body = 1
|
|
1392
1313
|
*/
|
|
1393
1314
|
body?: ObservationInit;
|
|
1394
1315
|
/**
|
|
1395
1316
|
* TODO: Figure out what to do with this one.
|
|
1396
1317
|
*
|
|
1397
|
-
* @generated from protobuf field: optional string skill_observance = 2
|
|
1318
|
+
* @generated from protobuf field: optional string skill_observance = 2
|
|
1398
1319
|
*/
|
|
1399
1320
|
skillObservance?: string;
|
|
1400
1321
|
/**
|
|
1401
1322
|
* This is analogous to the PncpRequest.author field. See notes there for why it is required.
|
|
1402
1323
|
*
|
|
1403
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 3
|
|
1324
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 3
|
|
1404
1325
|
*/
|
|
1405
|
-
author?: EntityId
|
|
1326
|
+
author?: EntityId;
|
|
1406
1327
|
/**
|
|
1407
|
-
* @generated from protobuf field: pncp.v1.ObservationStartPoint start_point = 4
|
|
1328
|
+
* @generated from protobuf field: pncp.v1.ObservationStartPoint start_point = 4
|
|
1408
1329
|
*/
|
|
1409
1330
|
startPoint: ObservationStartPoint;
|
|
1410
1331
|
/**
|
|
1411
1332
|
* Optional sequence ID, used to determine where the stream should start when start_point == OBS_START_SEQ.
|
|
1412
1333
|
* Note, that this value is a message ID.
|
|
1413
1334
|
*
|
|
1414
|
-
* @generated from protobuf field: optional string seq_id = 5
|
|
1335
|
+
* @generated from protobuf field: optional string seq_id = 5
|
|
1415
1336
|
*/
|
|
1416
1337
|
seqId?: string;
|
|
1417
1338
|
/**
|
|
1418
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 6
|
|
1339
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 6
|
|
1419
1340
|
*/
|
|
1420
1341
|
callback?: Value;
|
|
1421
1342
|
/**
|
|
1422
1343
|
* If this is true then the observer stream is not tracked in the ledger.
|
|
1423
1344
|
*
|
|
1424
|
-
* @generated from protobuf field: bool untracked = 7
|
|
1345
|
+
* @generated from protobuf field: bool untracked = 7
|
|
1425
1346
|
*/
|
|
1426
1347
|
untracked: boolean;
|
|
1427
1348
|
/**
|
|
@@ -1434,7 +1355,7 @@ interface ObservationRequest {
|
|
|
1434
1355
|
* N.B. (implementation detail): This requires a reordering in the ledger. As such, this query should be used with
|
|
1435
1356
|
* only relatively small values (<10000) to avoid too much performance impact on the ledger.
|
|
1436
1357
|
*
|
|
1437
|
-
* @generated from protobuf field: optional uint64 seq_offset = 8
|
|
1358
|
+
* @generated from protobuf field: optional uint64 seq_offset = 8
|
|
1438
1359
|
*/
|
|
1439
1360
|
seqOffset?: bigint;
|
|
1440
1361
|
}
|
|
@@ -1455,27 +1376,27 @@ declare class ObservationInit$Type extends MessageType<ObservationInit> {
|
|
|
1455
1376
|
*/
|
|
1456
1377
|
interface ObservationInit {
|
|
1457
1378
|
/**
|
|
1458
|
-
* @generated from protobuf field: optional string subject = 1
|
|
1379
|
+
* @generated from protobuf field: optional string subject = 1
|
|
1459
1380
|
*/
|
|
1460
1381
|
subject?: string;
|
|
1461
1382
|
/**
|
|
1462
|
-
* @generated from protobuf field: optional string action = 2
|
|
1383
|
+
* @generated from protobuf field: optional string action = 2
|
|
1463
1384
|
*/
|
|
1464
1385
|
action?: string;
|
|
1465
1386
|
/**
|
|
1466
|
-
* @generated from protobuf field: optional string requester = 3
|
|
1387
|
+
* @generated from protobuf field: optional string requester = 3
|
|
1467
1388
|
*/
|
|
1468
1389
|
requester?: string;
|
|
1469
1390
|
/**
|
|
1470
|
-
* @generated from protobuf field: optional string fulfiller = 4
|
|
1391
|
+
* @generated from protobuf field: optional string fulfiller = 4
|
|
1471
1392
|
*/
|
|
1472
1393
|
fulfiller?: string;
|
|
1473
1394
|
/**
|
|
1474
|
-
* @generated from protobuf field: repeated pncp.v1.ObservationMessageFilter filters = 5
|
|
1395
|
+
* @generated from protobuf field: repeated pncp.v1.ObservationMessageFilter filters = 5
|
|
1475
1396
|
*/
|
|
1476
1397
|
filters: ObservationMessageFilter[];
|
|
1477
1398
|
/**
|
|
1478
|
-
* @generated from protobuf field: optional string conversation_id = 6
|
|
1399
|
+
* @generated from protobuf field: optional string conversation_id = 6
|
|
1479
1400
|
*/
|
|
1480
1401
|
conversationId?: string;
|
|
1481
1402
|
}
|
|
@@ -1494,13 +1415,13 @@ declare class ObservationMessageFilter$Type extends MessageType<ObservationMessa
|
|
|
1494
1415
|
*/
|
|
1495
1416
|
interface ObservationMessageFilter {
|
|
1496
1417
|
/**
|
|
1497
|
-
* @generated from protobuf field: pncp.v1.ObservationMessageType kind = 1
|
|
1418
|
+
* @generated from protobuf field: pncp.v1.ObservationMessageType kind = 1
|
|
1498
1419
|
*/
|
|
1499
1420
|
kind: ObservationMessageType;
|
|
1500
1421
|
/**
|
|
1501
1422
|
* if kind == PNCP then this field can be populated to further restrict the filter to specific PNCP types.
|
|
1502
1423
|
*
|
|
1503
|
-
* @generated from protobuf field: optional pncp.v1.PncpMessageKind pncp = 2
|
|
1424
|
+
* @generated from protobuf field: optional pncp.v1.PncpMessageKind pncp = 2
|
|
1504
1425
|
*/
|
|
1505
1426
|
pncp?: PncpMessageKind;
|
|
1506
1427
|
}
|
|
@@ -1523,61 +1444,61 @@ interface ObservationCallback {
|
|
|
1523
1444
|
/**
|
|
1524
1445
|
* Subject of the original skill request.
|
|
1525
1446
|
*
|
|
1526
|
-
* @generated from protobuf field: string subject = 1
|
|
1447
|
+
* @generated from protobuf field: string subject = 1
|
|
1527
1448
|
*/
|
|
1528
1449
|
subject: string;
|
|
1529
1450
|
/**
|
|
1530
1451
|
* Action of the original skill request.
|
|
1531
1452
|
*
|
|
1532
|
-
* @generated from protobuf field: string action = 2
|
|
1453
|
+
* @generated from protobuf field: string action = 2
|
|
1533
1454
|
*/
|
|
1534
1455
|
action: string;
|
|
1535
1456
|
/**
|
|
1536
1457
|
* Requester of the conversation, not this particular message.
|
|
1537
1458
|
*
|
|
1538
|
-
* @generated from protobuf field: pncp.v1.EntityId requester = 3
|
|
1459
|
+
* @generated from protobuf field: pncp.v1.EntityId requester = 3
|
|
1539
1460
|
*/
|
|
1540
|
-
requester?: EntityId
|
|
1461
|
+
requester?: EntityId;
|
|
1541
1462
|
/**
|
|
1542
1463
|
* fulfiller, if one exists.
|
|
1543
1464
|
*
|
|
1544
|
-
* @generated from protobuf field: optional pncp.v1.EntityId fulfiller = 4
|
|
1465
|
+
* @generated from protobuf field: optional pncp.v1.EntityId fulfiller = 4
|
|
1545
1466
|
*/
|
|
1546
|
-
fulfiller?: EntityId
|
|
1467
|
+
fulfiller?: EntityId;
|
|
1547
1468
|
/**
|
|
1548
1469
|
* The callback message being observed.
|
|
1549
1470
|
*
|
|
1550
|
-
* @generated from protobuf field: pncp.v1.PncpCallback message = 5
|
|
1471
|
+
* @generated from protobuf field: pncp.v1.PncpCallback message = 5
|
|
1551
1472
|
*/
|
|
1552
1473
|
message?: PncpCallback;
|
|
1553
1474
|
/**
|
|
1554
1475
|
* This is a unique ID corresponding to this observation stream.
|
|
1555
1476
|
*
|
|
1556
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 6
|
|
1477
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 6
|
|
1557
1478
|
*/
|
|
1558
1479
|
id?: ConversationId$1;
|
|
1559
1480
|
/**
|
|
1560
1481
|
* Actor that initiated this stream.
|
|
1561
1482
|
*
|
|
1562
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 7
|
|
1483
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 7
|
|
1563
1484
|
*/
|
|
1564
|
-
author?: EntityId
|
|
1485
|
+
author?: EntityId;
|
|
1565
1486
|
/**
|
|
1566
1487
|
* Optional callback data used to identify this stream.
|
|
1567
1488
|
*
|
|
1568
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 8
|
|
1489
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 8
|
|
1569
1490
|
*/
|
|
1570
1491
|
callback?: Value;
|
|
1571
1492
|
/**
|
|
1572
1493
|
* The previous message ID, used for sequencing.
|
|
1573
1494
|
*
|
|
1574
|
-
* @generated from protobuf field: optional string prev_mid = 9
|
|
1495
|
+
* @generated from protobuf field: optional string prev_mid = 9
|
|
1575
1496
|
*/
|
|
1576
1497
|
prevMid?: string;
|
|
1577
1498
|
/**
|
|
1578
|
-
* @generated from protobuf field: pncp.v1.EntityId skill_id = 10
|
|
1499
|
+
* @generated from protobuf field: pncp.v1.EntityId skill_id = 10
|
|
1579
1500
|
*/
|
|
1580
|
-
skillId?: EntityId
|
|
1501
|
+
skillId?: EntityId;
|
|
1581
1502
|
}
|
|
1582
1503
|
/**
|
|
1583
1504
|
* @generated MessageType for protobuf message pncp.v1.ObservationCallback
|
|
@@ -1597,7 +1518,7 @@ declare class ObservationMessageWrapper$Type extends MessageType<ObservationMess
|
|
|
1597
1518
|
*/
|
|
1598
1519
|
interface ObservationMessageWrapper {
|
|
1599
1520
|
/**
|
|
1600
|
-
* @generated from protobuf field: pncp.v1.ObservationCallback body = 1
|
|
1521
|
+
* @generated from protobuf field: pncp.v1.ObservationCallback body = 1
|
|
1601
1522
|
*/
|
|
1602
1523
|
body?: ObservationCallback;
|
|
1603
1524
|
}
|
|
@@ -1616,33 +1537,33 @@ interface IBrokerClient {
|
|
|
1616
1537
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
1617
1538
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
1618
1539
|
*
|
|
1619
|
-
* @generated from protobuf rpc: SkillRequest
|
|
1540
|
+
* @generated from protobuf rpc: SkillRequest
|
|
1620
1541
|
*/
|
|
1621
1542
|
skillRequest(input: PncpRequest$1, options?: RpcOptions): UnaryCall<PncpRequest$1, MessageResponse>;
|
|
1622
1543
|
/**
|
|
1623
1544
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
1624
1545
|
*
|
|
1625
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
1546
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
1626
1547
|
*/
|
|
1627
|
-
pncpMessageRequest(input:
|
|
1548
|
+
pncpMessageRequest(input: PncpMessageRequestWrapper, options?: RpcOptions): UnaryCall<PncpMessageRequestWrapper, MessageResponse>;
|
|
1628
1549
|
/**
|
|
1629
1550
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
1630
1551
|
* and all additional Pncp messages sent in the conversation thread.
|
|
1631
1552
|
*
|
|
1632
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
1553
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
1633
1554
|
*/
|
|
1634
1555
|
pncpCallbackStream(input: PncpCallbackRequest, options?: RpcOptions): ServerStreamingCall<PncpCallbackRequest, PncpCallback>;
|
|
1635
1556
|
/**
|
|
1636
1557
|
* Creates a new observation stream.
|
|
1637
1558
|
*
|
|
1638
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
1559
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
1639
1560
|
*/
|
|
1640
1561
|
createObserverStream(input: ObservationRequest, options?: RpcOptions): ServerStreamingCall<ObservationRequest, ObservationMessageWrapper>;
|
|
1641
1562
|
/**
|
|
1642
1563
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
1643
1564
|
* the results back.
|
|
1644
1565
|
*
|
|
1645
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
1566
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
1646
1567
|
*/
|
|
1647
1568
|
crossDomainRequest(input: CrossDomainMessage, options?: RpcOptions): UnaryCall<CrossDomainMessage, CrossDomainResponse>;
|
|
1648
1569
|
/**
|
|
@@ -1650,24 +1571,17 @@ interface IBrokerClient {
|
|
|
1650
1571
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
1651
1572
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
1652
1573
|
*
|
|
1653
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
1574
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
1654
1575
|
*/
|
|
1655
1576
|
crossDomainStream(options?: RpcOptions): DuplexStreamingCall<CrossDomainResponse, CrossDomainStreamMessage>;
|
|
1656
1577
|
/**
|
|
1657
|
-
* @generated from protobuf rpc: Login
|
|
1578
|
+
* @generated from protobuf rpc: Login
|
|
1658
1579
|
*/
|
|
1659
1580
|
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, LoginResponse>;
|
|
1660
1581
|
/**
|
|
1661
|
-
* @generated from protobuf rpc: RefreshToken
|
|
1582
|
+
* @generated from protobuf rpc: RefreshToken
|
|
1662
1583
|
*/
|
|
1663
1584
|
refreshToken(input: RefreshTokenRequest, options?: RpcOptions): UnaryCall<RefreshTokenRequest, LoginResponse>;
|
|
1664
|
-
/**
|
|
1665
|
-
* A PNCP message received from a medium. Note, that we are likely to rework mediums.
|
|
1666
|
-
* Given currently limitations with mediums this route is left unauthenticated.
|
|
1667
|
-
*
|
|
1668
|
-
* @generated from protobuf rpc: PncpMediumMessageRequest(pncp.v1.PncpMediumMessage) returns (pncp.v1.MessageResponse);
|
|
1669
|
-
*/
|
|
1670
|
-
pncpMediumMessageRequest(input: PncpMediumMessage, options?: RpcOptions): UnaryCall<PncpMediumMessage, MessageResponse>;
|
|
1671
1585
|
}
|
|
1672
1586
|
/**
|
|
1673
1587
|
* @generated from protobuf service pncp.v1.Broker
|
|
@@ -1686,33 +1600,33 @@ declare class BrokerClient implements IBrokerClient, ServiceInfo {
|
|
|
1686
1600
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
1687
1601
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
1688
1602
|
*
|
|
1689
|
-
* @generated from protobuf rpc: SkillRequest
|
|
1603
|
+
* @generated from protobuf rpc: SkillRequest
|
|
1690
1604
|
*/
|
|
1691
1605
|
skillRequest(input: PncpRequest$1, options?: RpcOptions): UnaryCall<PncpRequest$1, MessageResponse>;
|
|
1692
1606
|
/**
|
|
1693
1607
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
1694
1608
|
*
|
|
1695
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
1609
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
1696
1610
|
*/
|
|
1697
|
-
pncpMessageRequest(input:
|
|
1611
|
+
pncpMessageRequest(input: PncpMessageRequestWrapper, options?: RpcOptions): UnaryCall<PncpMessageRequestWrapper, MessageResponse>;
|
|
1698
1612
|
/**
|
|
1699
1613
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
1700
1614
|
* and all additional Pncp messages sent in the conversation thread.
|
|
1701
1615
|
*
|
|
1702
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
1616
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
1703
1617
|
*/
|
|
1704
1618
|
pncpCallbackStream(input: PncpCallbackRequest, options?: RpcOptions): ServerStreamingCall<PncpCallbackRequest, PncpCallback>;
|
|
1705
1619
|
/**
|
|
1706
1620
|
* Creates a new observation stream.
|
|
1707
1621
|
*
|
|
1708
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
1622
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
1709
1623
|
*/
|
|
1710
1624
|
createObserverStream(input: ObservationRequest, options?: RpcOptions): ServerStreamingCall<ObservationRequest, ObservationMessageWrapper>;
|
|
1711
1625
|
/**
|
|
1712
1626
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
1713
1627
|
* the results back.
|
|
1714
1628
|
*
|
|
1715
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
1629
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
1716
1630
|
*/
|
|
1717
1631
|
crossDomainRequest(input: CrossDomainMessage, options?: RpcOptions): UnaryCall<CrossDomainMessage, CrossDomainResponse>;
|
|
1718
1632
|
/**
|
|
@@ -1720,24 +1634,17 @@ declare class BrokerClient implements IBrokerClient, ServiceInfo {
|
|
|
1720
1634
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
1721
1635
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
1722
1636
|
*
|
|
1723
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
1637
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
1724
1638
|
*/
|
|
1725
1639
|
crossDomainStream(options?: RpcOptions): DuplexStreamingCall<CrossDomainResponse, CrossDomainStreamMessage>;
|
|
1726
1640
|
/**
|
|
1727
|
-
* @generated from protobuf rpc: Login
|
|
1641
|
+
* @generated from protobuf rpc: Login
|
|
1728
1642
|
*/
|
|
1729
1643
|
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, LoginResponse>;
|
|
1730
1644
|
/**
|
|
1731
|
-
* @generated from protobuf rpc: RefreshToken
|
|
1645
|
+
* @generated from protobuf rpc: RefreshToken
|
|
1732
1646
|
*/
|
|
1733
1647
|
refreshToken(input: RefreshTokenRequest, options?: RpcOptions): UnaryCall<RefreshTokenRequest, LoginResponse>;
|
|
1734
|
-
/**
|
|
1735
|
-
* A PNCP message received from a medium. Note, that we are likely to rework mediums.
|
|
1736
|
-
* Given currently limitations with mediums this route is left unauthenticated.
|
|
1737
|
-
*
|
|
1738
|
-
* @generated from protobuf rpc: PncpMediumMessageRequest(pncp.v1.PncpMediumMessage) returns (pncp.v1.MessageResponse);
|
|
1739
|
-
*/
|
|
1740
|
-
pncpMediumMessageRequest(input: PncpMediumMessage, options?: RpcOptions): UnaryCall<PncpMediumMessage, MessageResponse>;
|
|
1741
1648
|
}
|
|
1742
1649
|
|
|
1743
1650
|
interface SkillRequest {
|
|
@@ -1753,7 +1660,6 @@ interface SkillRequest {
|
|
|
1753
1660
|
matchStrategy?: SkillMatchStrategy;
|
|
1754
1661
|
mustMatch?: boolean;
|
|
1755
1662
|
useLock?: boolean;
|
|
1756
|
-
allowOpenMatch?: boolean;
|
|
1757
1663
|
partition?: string;
|
|
1758
1664
|
}
|
|
1759
1665
|
type PncpPacketObject = {
|
|
@@ -1771,13 +1677,7 @@ type PncpRequestObject = {
|
|
|
1771
1677
|
matchStrategy: SkillMatchStrategy;
|
|
1772
1678
|
versionReq?: string;
|
|
1773
1679
|
targetActorId?: string;
|
|
1774
|
-
key?: any;
|
|
1775
1680
|
targetInstanceId?: string;
|
|
1776
|
-
mediumInfo?: PncpRequestMediumInfoObject;
|
|
1777
|
-
};
|
|
1778
|
-
type PncpRequestMediumInfoObject = {
|
|
1779
|
-
id: string;
|
|
1780
|
-
userInfo: any;
|
|
1781
1681
|
};
|
|
1782
1682
|
type PncpSkillMessageObject = {
|
|
1783
1683
|
subject: string;
|
|
@@ -1827,12 +1727,11 @@ type PncpRequestCallbackObject = {
|
|
|
1827
1727
|
parentId?: ConversationId$1;
|
|
1828
1728
|
body: PncpSkillMessageObject;
|
|
1829
1729
|
timeCreated: Date;
|
|
1830
|
-
authorId: EntityId
|
|
1831
|
-
targetActorId: EntityId
|
|
1730
|
+
authorId: EntityId;
|
|
1731
|
+
targetActorId: EntityId;
|
|
1832
1732
|
parameters: {
|
|
1833
1733
|
provider?: any;
|
|
1834
1734
|
skill?: any;
|
|
1835
|
-
medium?: any;
|
|
1836
1735
|
};
|
|
1837
1736
|
partition?: string;
|
|
1838
1737
|
};
|
|
@@ -1841,11 +1740,9 @@ type PncpMessageCallbackObject = {
|
|
|
1841
1740
|
id: ConversationId$1;
|
|
1842
1741
|
messageId: string;
|
|
1843
1742
|
timeCreated: Date;
|
|
1844
|
-
key?: any;
|
|
1845
1743
|
message: PncpMessageObject;
|
|
1846
1744
|
params?: any;
|
|
1847
1745
|
callback?: any;
|
|
1848
|
-
medium?: any;
|
|
1849
1746
|
conversationState: ConversationState;
|
|
1850
1747
|
partition?: string;
|
|
1851
1748
|
};
|
|
@@ -1860,13 +1757,13 @@ declare function simplifyPncpMessage(msg: PncpMessage$1): PncpMessageObject;
|
|
|
1860
1757
|
type ObservationCallbackObject = {
|
|
1861
1758
|
subject: string;
|
|
1862
1759
|
action: string;
|
|
1863
|
-
requester: EntityId
|
|
1864
|
-
fulfiller: EntityId
|
|
1760
|
+
requester: EntityId;
|
|
1761
|
+
fulfiller: EntityId;
|
|
1865
1762
|
message: PncpCallbackObject;
|
|
1866
1763
|
id: ConversationId$1;
|
|
1867
1764
|
callback?: any;
|
|
1868
1765
|
prevMid?: string;
|
|
1869
|
-
skillId: EntityId
|
|
1766
|
+
skillId: EntityId;
|
|
1870
1767
|
};
|
|
1871
1768
|
declare function simplifyObservationCallback(cb: ObservationCallback): ObservationCallbackObject;
|
|
1872
1769
|
|
|
@@ -1904,7 +1801,7 @@ declare class HealthCheckRequest$Type extends MessageType<HealthCheckRequest> {
|
|
|
1904
1801
|
*/
|
|
1905
1802
|
interface HealthCheckRequest {
|
|
1906
1803
|
/**
|
|
1907
|
-
* @generated from protobuf field: string service = 1
|
|
1804
|
+
* @generated from protobuf field: string service = 1
|
|
1908
1805
|
*/
|
|
1909
1806
|
service: string;
|
|
1910
1807
|
}
|
|
@@ -1923,7 +1820,7 @@ declare class HealthCheckResponse$Type extends MessageType<HealthCheckResponse>
|
|
|
1923
1820
|
*/
|
|
1924
1821
|
interface HealthCheckResponse {
|
|
1925
1822
|
/**
|
|
1926
|
-
* @generated from protobuf field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1
|
|
1823
|
+
* @generated from protobuf field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1
|
|
1927
1824
|
*/
|
|
1928
1825
|
status: HealthCheckResponse_ServingStatus;
|
|
1929
1826
|
}
|
|
@@ -1940,7 +1837,7 @@ interface IHealthClient {
|
|
|
1940
1837
|
* If the requested service is unknown, the call will fail with status
|
|
1941
1838
|
* NOT_FOUND.
|
|
1942
1839
|
*
|
|
1943
|
-
* @generated from protobuf rpc: Check
|
|
1840
|
+
* @generated from protobuf rpc: Check
|
|
1944
1841
|
*/
|
|
1945
1842
|
check(input: HealthCheckRequest, options?: RpcOptions): UnaryCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1946
1843
|
/**
|
|
@@ -1960,7 +1857,7 @@ interface IHealthClient {
|
|
|
1960
1857
|
* call. If the call terminates with any other status (including OK),
|
|
1961
1858
|
* clients should retry the call with appropriate exponential backoff.
|
|
1962
1859
|
*
|
|
1963
|
-
* @generated from protobuf rpc: Watch
|
|
1860
|
+
* @generated from protobuf rpc: Watch
|
|
1964
1861
|
*/
|
|
1965
1862
|
watch(input: HealthCheckRequest, options?: RpcOptions): ServerStreamingCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1966
1863
|
}
|
|
@@ -1979,7 +1876,7 @@ declare class HealthClient implements IHealthClient, ServiceInfo {
|
|
|
1979
1876
|
* If the requested service is unknown, the call will fail with status
|
|
1980
1877
|
* NOT_FOUND.
|
|
1981
1878
|
*
|
|
1982
|
-
* @generated from protobuf rpc: Check
|
|
1879
|
+
* @generated from protobuf rpc: Check
|
|
1983
1880
|
*/
|
|
1984
1881
|
check(input: HealthCheckRequest, options?: RpcOptions): UnaryCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1985
1882
|
/**
|
|
@@ -1999,7 +1896,7 @@ declare class HealthClient implements IHealthClient, ServiceInfo {
|
|
|
1999
1896
|
* call. If the call terminates with any other status (including OK),
|
|
2000
1897
|
* clients should retry the call with appropriate exponential backoff.
|
|
2001
1898
|
*
|
|
2002
|
-
* @generated from protobuf rpc: Watch
|
|
1899
|
+
* @generated from protobuf rpc: Watch
|
|
2003
1900
|
*/
|
|
2004
1901
|
watch(input: HealthCheckRequest, options?: RpcOptions): ServerStreamingCall<HealthCheckRequest, HealthCheckResponse>;
|
|
2005
1902
|
}
|
|
@@ -2189,7 +2086,6 @@ type PncpPacket = {
|
|
|
2189
2086
|
};
|
|
2190
2087
|
type ConversationId = string;
|
|
2191
2088
|
type EntityReq = string;
|
|
2192
|
-
type EntityId = string;
|
|
2193
2089
|
type PncpMessageBody = {
|
|
2194
2090
|
type: "response";
|
|
2195
2091
|
body: PncpDataMessage;
|
|
@@ -2272,16 +2168,6 @@ interface PncpRequest {
|
|
|
2272
2168
|
* When specified, the particular actor is called if the skill matches.
|
|
2273
2169
|
*/
|
|
2274
2170
|
targetActorId?: EntityReq | null;
|
|
2275
|
-
/**
|
|
2276
|
-
* An arbitrary key that is allowed to be set and provided on further messages from mediums.
|
|
2277
|
-
*/
|
|
2278
|
-
key?: {
|
|
2279
|
-
[k: string]: any;
|
|
2280
|
-
};
|
|
2281
|
-
/**
|
|
2282
|
-
* ID of the medium that made the request.
|
|
2283
|
-
*/
|
|
2284
|
-
mediumInfo?: PncpRequestMediumInfo | null;
|
|
2285
2171
|
/**
|
|
2286
2172
|
* If this is true, a match is required to be made upon the initial request. If it is false, the
|
|
2287
2173
|
* broker can store the message and conversation in an unmatched state and rematch it at a later
|
|
@@ -2294,11 +2180,6 @@ interface PncpRequest {
|
|
|
2294
2180
|
* If this is true, then this request should use the provided actor lock.
|
|
2295
2181
|
*/
|
|
2296
2182
|
useLock?: boolean;
|
|
2297
|
-
/**
|
|
2298
|
-
* If this is true, then the request can use open networking and search other nodes open nodes on the
|
|
2299
|
-
* network for a fulfiller if this node doesn't know of a fulfiller.
|
|
2300
|
-
*/
|
|
2301
|
-
allowOpenMatch?: boolean;
|
|
2302
2183
|
[k: string]: any;
|
|
2303
2184
|
}
|
|
2304
2185
|
/**
|
|
@@ -2317,11 +2198,6 @@ interface PncpSkillMessage {
|
|
|
2317
2198
|
taint?: string | null;
|
|
2318
2199
|
[k: string]: any;
|
|
2319
2200
|
}
|
|
2320
|
-
interface PncpRequestMediumInfo {
|
|
2321
|
-
id: EntityId;
|
|
2322
|
-
userInfo: any;
|
|
2323
|
-
[k: string]: any;
|
|
2324
|
-
}
|
|
2325
2201
|
/**
|
|
2326
2202
|
* PNCP Message. Messages are a variety of types of data sent within a conversation.
|
|
2327
2203
|
*/
|
|
@@ -2372,5 +2248,5 @@ declare function splitConversationId(convId: string): ConversationId$1;
|
|
|
2372
2248
|
declare function fromJsonValue(json: JsonValue): Value;
|
|
2373
2249
|
declare function fromValueToJson(message: Value): JsonValue;
|
|
2374
2250
|
|
|
2375
|
-
export { BaseClient, ConversationId$1 as ConversationId, ConversationMembership, ConversationState, CrossDomainFederationSync, CrossDomainMessage, CrossDomainResponse, CrossDomainStreamMessage, EntityId
|
|
2376
|
-
export type { DocumentArgs, DocumentInfo, LoginCredentials, MessageRequest, NodeInfo, ObservationCallbackObject, ParanetClientInit, PncpAnswerMessage$1 as PncpAnswerMessage, PncpCallbackObject, PncpClientInit, PncpDataMessage$1 as PncpDataMessage, PncpMessageBody$1 as PncpMessageBody, PncpMessageCallbackObject, PncpMessageObject, PncpPacketObject, PncpQuestionMessage$1 as PncpQuestionMessage, PncpRequestCallbackObject,
|
|
2251
|
+
export { BaseClient, ConversationId$1 as 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$1 as PncpMessage, PncpMessageCallback, PncpMessageKind, PncpMessageRequestWrapper, PncpPacket$1 as PncpPacket, PncpQuestionEx, PncpRequest$1 as PncpRequest, PncpRequestCallback, PncpRequestCallback_CallbackFlags, PncpSkillMessage$1 as PncpSkillMessage, RefreshTokenRequest, ResponseKind, SkillMatchStrategy, Struct, SysClient, Timestamp, Value, fromJsonValue, fromValueToJson, gqlSimplifyPncpMessage, gqlSimplifyPncpPacket, gqlSimplifyPncpRequest, simplifyObservationCallback, simplifyPncpCallback, simplifyPncpMessage, simplifyPncpMessageCallback, simplifyPncpRequestCallback, splitConversationId };
|
|
2252
|
+
export type { DocumentArgs, DocumentInfo, LoginCredentials, MessageRequest, NodeInfo, ObservationCallbackObject, ParanetClientInit, PncpAnswerMessage$1 as PncpAnswerMessage, PncpCallbackObject, PncpClientInit, PncpDataMessage$1 as PncpDataMessage, PncpMessageBody$1 as PncpMessageBody, PncpMessageCallbackObject, PncpMessageObject, PncpPacketObject, PncpQuestionMessage$1 as PncpQuestionMessage, PncpRequestCallbackObject, PncpRequestObject, PncpSkillMessageObject, SchemaRef, SkillRequest, TokenResponse };
|