@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/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
|
}
|
|
@@ -742,6 +707,31 @@ interface PncpAnswerEx {
|
|
|
742
707
|
* @generated MessageType for protobuf message pncp.v1.PncpAnswerEx
|
|
743
708
|
*/
|
|
744
709
|
declare const PncpAnswerEx: PncpAnswerEx$Type;
|
|
710
|
+
declare class PncpMediumMessage$Type extends MessageType<PncpMediumMessage> {
|
|
711
|
+
constructor();
|
|
712
|
+
create(value?: PartialMessage<PncpMediumMessage>): PncpMediumMessage;
|
|
713
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpMediumMessage): PncpMediumMessage;
|
|
714
|
+
internalBinaryWrite(message: PncpMediumMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* Special message type only used by the medium handler.
|
|
718
|
+
*
|
|
719
|
+
* @generated from protobuf message pncp.v1.PncpMediumMessage
|
|
720
|
+
*/
|
|
721
|
+
interface PncpMediumMessage {
|
|
722
|
+
/**
|
|
723
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 1
|
|
724
|
+
*/
|
|
725
|
+
message?: PncpMessage$1;
|
|
726
|
+
/**
|
|
727
|
+
* @generated from protobuf field: string author_override = 2
|
|
728
|
+
*/
|
|
729
|
+
authorOverride: string;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @generated MessageType for protobuf message pncp.v1.PncpMediumMessage
|
|
733
|
+
*/
|
|
734
|
+
declare const PncpMediumMessage: PncpMediumMessage$Type;
|
|
745
735
|
declare class PncpCallback$Type extends MessageType<PncpCallback> {
|
|
746
736
|
constructor();
|
|
747
737
|
create(value?: PartialMessage<PncpCallback>): PncpCallback;
|
|
@@ -761,13 +751,13 @@ interface PncpCallback {
|
|
|
761
751
|
body: {
|
|
762
752
|
oneofKind: "skill";
|
|
763
753
|
/**
|
|
764
|
-
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
754
|
+
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
765
755
|
*/
|
|
766
756
|
skill: PncpRequestCallback;
|
|
767
757
|
} | {
|
|
768
758
|
oneofKind: "message";
|
|
769
759
|
/**
|
|
770
|
-
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
760
|
+
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
771
761
|
*/
|
|
772
762
|
message: PncpMessageCallback;
|
|
773
763
|
} | {
|
|
@@ -791,59 +781,59 @@ declare class PncpRequestCallback$Type extends MessageType<PncpRequestCallback>
|
|
|
791
781
|
*/
|
|
792
782
|
interface PncpRequestCallback {
|
|
793
783
|
/**
|
|
794
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
784
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
795
785
|
*/
|
|
796
786
|
id?: ConversationId$1;
|
|
797
787
|
/**
|
|
798
|
-
* @generated from protobuf field: string message_id = 2
|
|
788
|
+
* @generated from protobuf field: string message_id = 2
|
|
799
789
|
*/
|
|
800
790
|
messageId: string;
|
|
801
791
|
/**
|
|
802
792
|
* The core PNCP request body.
|
|
803
793
|
*
|
|
804
|
-
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
794
|
+
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
805
795
|
*/
|
|
806
796
|
body?: PncpSkillMessage$1;
|
|
807
797
|
/**
|
|
808
798
|
* Parent ID of the conversation that triggered this one, if one exists.
|
|
809
799
|
*
|
|
810
|
-
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
800
|
+
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
811
801
|
*/
|
|
812
802
|
parentId?: ConversationId$1;
|
|
813
803
|
/**
|
|
814
804
|
* Time the conversation was created.
|
|
815
805
|
*
|
|
816
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
806
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
817
807
|
*/
|
|
818
808
|
timeCreated?: Timestamp;
|
|
819
809
|
/**
|
|
820
810
|
* Author of the request.
|
|
821
811
|
*
|
|
822
|
-
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
812
|
+
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
823
813
|
*/
|
|
824
|
-
authorId?: EntityId
|
|
814
|
+
authorId?: EntityId;
|
|
825
815
|
/**
|
|
826
816
|
* The actor ID of the receiving actor. This is the reflection of the PncpRequest author field.
|
|
827
817
|
* See notes on PncpRequest.author for why this is necessary.
|
|
828
818
|
*
|
|
829
|
-
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
819
|
+
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
830
820
|
*/
|
|
831
|
-
targetActorId?: EntityId
|
|
821
|
+
targetActorId?: EntityId;
|
|
832
822
|
/**
|
|
833
823
|
* Parameter data. These fields are actor or skill specific metadata populated dynamically
|
|
834
824
|
* by the broker.
|
|
835
825
|
*
|
|
836
|
-
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
826
|
+
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
837
827
|
*/
|
|
838
828
|
parameters?: ParameterData;
|
|
839
829
|
/**
|
|
840
|
-
* @generated from protobuf field: uint32 flags = 9
|
|
830
|
+
* @generated from protobuf field: uint32 flags = 9
|
|
841
831
|
*/
|
|
842
832
|
flags: number;
|
|
843
833
|
/**
|
|
844
834
|
* Actor partition
|
|
845
835
|
*
|
|
846
|
-
* @generated from protobuf field: optional string partition = 10
|
|
836
|
+
* @generated from protobuf field: optional string partition = 10
|
|
847
837
|
*/
|
|
848
838
|
partition?: string;
|
|
849
839
|
}
|
|
@@ -865,55 +855,43 @@ declare class PncpMessageCallback$Type extends MessageType<PncpMessageCallback>
|
|
|
865
855
|
*/
|
|
866
856
|
interface PncpMessageCallback {
|
|
867
857
|
/**
|
|
868
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
858
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
869
859
|
*/
|
|
870
860
|
id?: ConversationId$1;
|
|
871
861
|
/**
|
|
872
|
-
* @generated from protobuf field: string message_id = 2
|
|
862
|
+
* @generated from protobuf field: string message_id = 2
|
|
873
863
|
*/
|
|
874
864
|
messageId: string;
|
|
875
865
|
/**
|
|
876
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
866
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
877
867
|
*/
|
|
878
868
|
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
869
|
/**
|
|
886
870
|
* The core body of the message.
|
|
887
871
|
*
|
|
888
|
-
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
872
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
889
873
|
*/
|
|
890
874
|
message?: PncpMessage$1;
|
|
891
875
|
/**
|
|
892
876
|
* Certain message types (notably: Question) can provide params.
|
|
893
877
|
*
|
|
894
|
-
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
878
|
+
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
895
879
|
*/
|
|
896
880
|
params?: Value;
|
|
897
881
|
/**
|
|
898
882
|
* Callback provided on the initial message.
|
|
899
883
|
*
|
|
900
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
884
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
901
885
|
*/
|
|
902
886
|
callback?: Value;
|
|
903
887
|
/**
|
|
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;
|
|
888
|
+
* @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9
|
|
911
889
|
*/
|
|
912
890
|
conversationState: ConversationState;
|
|
913
891
|
/**
|
|
914
892
|
* Actor partition
|
|
915
893
|
*
|
|
916
|
-
* @generated from protobuf field: optional string partition = 10
|
|
894
|
+
* @generated from protobuf field: optional string partition = 10
|
|
917
895
|
*/
|
|
918
896
|
partition?: string;
|
|
919
897
|
}
|
|
@@ -932,84 +910,19 @@ declare class ParameterData$Type extends MessageType<ParameterData> {
|
|
|
932
910
|
*/
|
|
933
911
|
interface ParameterData {
|
|
934
912
|
/**
|
|
935
|
-
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
913
|
+
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
936
914
|
*/
|
|
937
915
|
provider?: Value;
|
|
938
916
|
/**
|
|
939
|
-
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
917
|
+
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
940
918
|
*/
|
|
941
919
|
skill?: Value;
|
|
942
|
-
/**
|
|
943
|
-
* @generated from protobuf field: optional otonoma.common.Value medium = 3;
|
|
944
|
-
*/
|
|
945
|
-
medium?: Value;
|
|
946
920
|
}
|
|
947
921
|
/**
|
|
948
922
|
* @generated MessageType for protobuf message pncp.v1.ParameterData
|
|
949
923
|
*/
|
|
950
924
|
declare const ParameterData: ParameterData$Type;
|
|
951
925
|
|
|
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
926
|
/**
|
|
1014
927
|
* @generated from protobuf enum pncp.v1.ResponseKind
|
|
1015
928
|
*/
|
|
@@ -1044,36 +957,36 @@ declare class MessageResponse$Type extends MessageType<MessageResponse> {
|
|
|
1044
957
|
*/
|
|
1045
958
|
interface MessageResponse {
|
|
1046
959
|
/**
|
|
1047
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
960
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1048
961
|
*/
|
|
1049
962
|
id?: ConversationId$1;
|
|
1050
963
|
/**
|
|
1051
|
-
* @generated from protobuf field: string message_id = 2
|
|
964
|
+
* @generated from protobuf field: string message_id = 2
|
|
1052
965
|
*/
|
|
1053
966
|
messageId: string;
|
|
1054
967
|
/**
|
|
1055
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
968
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
1056
969
|
*/
|
|
1057
970
|
timeCreated?: Timestamp;
|
|
1058
971
|
/**
|
|
1059
972
|
* / Current state of the conversation after this request was made.
|
|
1060
973
|
*
|
|
1061
|
-
* @generated from protobuf field: pncp.v1.ConversationState state = 4
|
|
974
|
+
* @generated from protobuf field: pncp.v1.ConversationState state = 4
|
|
1062
975
|
*/
|
|
1063
976
|
state: ConversationState;
|
|
1064
977
|
/**
|
|
1065
978
|
* Information on what happened with the message.
|
|
1066
979
|
*
|
|
1067
|
-
* @generated from protobuf field: pncp.v1.ResponseKind kind = 5
|
|
980
|
+
* @generated from protobuf field: pncp.v1.ResponseKind kind = 5
|
|
1068
981
|
*/
|
|
1069
982
|
kind: ResponseKind;
|
|
1070
983
|
/**
|
|
1071
984
|
* Id of the actor that was matched to, if the message was routed to an actor.
|
|
1072
985
|
* Only optional for BROADCAST kind.
|
|
1073
986
|
*
|
|
1074
|
-
* @generated from protobuf field: optional pncp.v1.EntityId matched_id = 6
|
|
987
|
+
* @generated from protobuf field: optional pncp.v1.EntityId matched_id = 6
|
|
1075
988
|
*/
|
|
1076
|
-
matchedId?: EntityId
|
|
989
|
+
matchedId?: EntityId;
|
|
1077
990
|
}
|
|
1078
991
|
/**
|
|
1079
992
|
* @generated MessageType for protobuf message pncp.v1.MessageResponse
|
|
@@ -1094,22 +1007,29 @@ interface PncpCallbackRequest {
|
|
|
1094
1007
|
/**
|
|
1095
1008
|
* If this is true, skill forwarding will not be checked when this actor connects.
|
|
1096
1009
|
*
|
|
1097
|
-
* @generated from protobuf field: bool disable_skill_forwarding = 1
|
|
1010
|
+
* @generated from protobuf field: bool disable_skill_forwarding = 1
|
|
1098
1011
|
*/
|
|
1099
1012
|
disableSkillForwarding: boolean;
|
|
1100
1013
|
/**
|
|
1101
1014
|
* If this is true, open messages to this actor will be sent through the channel again.
|
|
1102
1015
|
*
|
|
1103
|
-
* @generated from protobuf field: bool send_open_messages = 2
|
|
1016
|
+
* @generated from protobuf field: bool send_open_messages = 2
|
|
1104
1017
|
*/
|
|
1105
1018
|
sendOpenMessages: boolean;
|
|
1106
1019
|
/**
|
|
1107
1020
|
* List of actor IDs that we want to receive messages for on this connection.
|
|
1108
1021
|
* If this is empty, the default is only the actor associated with this user.
|
|
1109
1022
|
*
|
|
1110
|
-
* @generated from protobuf field: repeated string actor_ids = 3
|
|
1023
|
+
* @generated from protobuf field: repeated string actor_ids = 3
|
|
1111
1024
|
*/
|
|
1112
1025
|
actorIds: string[];
|
|
1026
|
+
/**
|
|
1027
|
+
* Allows specifying a different base actor than the claims associated with login.
|
|
1028
|
+
* Only permitted by special actors.
|
|
1029
|
+
*
|
|
1030
|
+
* @generated from protobuf field: optional string base_actor_id = 4
|
|
1031
|
+
*/
|
|
1032
|
+
baseActorId?: string;
|
|
1113
1033
|
}
|
|
1114
1034
|
/**
|
|
1115
1035
|
* @generated MessageType for protobuf message pncp.v1.PncpCallbackRequest
|
|
@@ -1126,7 +1046,7 @@ declare class LoginRequest$Type extends MessageType<LoginRequest> {
|
|
|
1126
1046
|
*/
|
|
1127
1047
|
interface LoginRequest {
|
|
1128
1048
|
/**
|
|
1129
|
-
* @generated from protobuf field: string actor_id = 1
|
|
1049
|
+
* @generated from protobuf field: string actor_id = 1
|
|
1130
1050
|
*/
|
|
1131
1051
|
actorId: string;
|
|
1132
1052
|
/**
|
|
@@ -1135,19 +1055,19 @@ interface LoginRequest {
|
|
|
1135
1055
|
secret: {
|
|
1136
1056
|
oneofKind: "password";
|
|
1137
1057
|
/**
|
|
1138
|
-
* @generated from protobuf field: string password = 2
|
|
1058
|
+
* @generated from protobuf field: string password = 2
|
|
1139
1059
|
*/
|
|
1140
1060
|
password: string;
|
|
1141
1061
|
} | {
|
|
1142
1062
|
oneofKind: "token";
|
|
1143
1063
|
/**
|
|
1144
|
-
* @generated from protobuf field: string token = 3
|
|
1064
|
+
* @generated from protobuf field: string token = 3
|
|
1145
1065
|
*/
|
|
1146
1066
|
token: string;
|
|
1147
1067
|
} | {
|
|
1148
1068
|
oneofKind: "jwt";
|
|
1149
1069
|
/**
|
|
1150
|
-
* @generated from protobuf field: string jwt = 4
|
|
1070
|
+
* @generated from protobuf field: string jwt = 4
|
|
1151
1071
|
*/
|
|
1152
1072
|
jwt: string;
|
|
1153
1073
|
} | {
|
|
@@ -1169,11 +1089,11 @@ declare class RefreshTokenRequest$Type extends MessageType<RefreshTokenRequest>
|
|
|
1169
1089
|
*/
|
|
1170
1090
|
interface RefreshTokenRequest {
|
|
1171
1091
|
/**
|
|
1172
|
-
* @generated from protobuf field: string token = 1
|
|
1092
|
+
* @generated from protobuf field: string token = 1
|
|
1173
1093
|
*/
|
|
1174
1094
|
token: string;
|
|
1175
1095
|
/**
|
|
1176
|
-
* @generated from protobuf field: string refresh_token = 2
|
|
1096
|
+
* @generated from protobuf field: string refresh_token = 2
|
|
1177
1097
|
*/
|
|
1178
1098
|
refreshToken: string;
|
|
1179
1099
|
}
|
|
@@ -1194,13 +1114,13 @@ interface LoginResponse {
|
|
|
1194
1114
|
/**
|
|
1195
1115
|
* Paranet token, must be provided on every request in the authorization header.
|
|
1196
1116
|
*
|
|
1197
|
-
* @generated from protobuf field: string token = 1
|
|
1117
|
+
* @generated from protobuf field: string token = 1
|
|
1198
1118
|
*/
|
|
1199
1119
|
token: string;
|
|
1200
1120
|
/**
|
|
1201
1121
|
* Refresh token, usable to automatically regenerate a login token.
|
|
1202
1122
|
*
|
|
1203
|
-
* @generated from protobuf field: string refresh_token = 2
|
|
1123
|
+
* @generated from protobuf field: string refresh_token = 2
|
|
1204
1124
|
*/
|
|
1205
1125
|
refreshToken: string;
|
|
1206
1126
|
}
|
|
@@ -1221,17 +1141,17 @@ interface CrossDomainMessage {
|
|
|
1221
1141
|
/**
|
|
1222
1142
|
* The originating conversation ID.
|
|
1223
1143
|
*
|
|
1224
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1144
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1225
1145
|
*/
|
|
1226
1146
|
id?: ConversationId$1;
|
|
1227
1147
|
/**
|
|
1228
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 2
|
|
1148
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 2
|
|
1229
1149
|
*/
|
|
1230
|
-
author?: EntityId
|
|
1150
|
+
author?: EntityId;
|
|
1231
1151
|
/**
|
|
1232
1152
|
* Pncp skill request or message.
|
|
1233
1153
|
*
|
|
1234
|
-
* @generated from protobuf field: pncp.v1.PncpPacket body = 3
|
|
1154
|
+
* @generated from protobuf field: pncp.v1.PncpPacket body = 3
|
|
1235
1155
|
*/
|
|
1236
1156
|
body?: PncpPacket$1;
|
|
1237
1157
|
}
|
|
@@ -1252,7 +1172,7 @@ interface CrossDomainResponse {
|
|
|
1252
1172
|
/**
|
|
1253
1173
|
* The originating conversation ID.
|
|
1254
1174
|
*
|
|
1255
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1175
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
1256
1176
|
*/
|
|
1257
1177
|
id?: ConversationId$1;
|
|
1258
1178
|
/**
|
|
@@ -1263,13 +1183,13 @@ interface CrossDomainResponse {
|
|
|
1263
1183
|
/**
|
|
1264
1184
|
* The response generated from the request.
|
|
1265
1185
|
*
|
|
1266
|
-
* @generated from protobuf field: pncp.v1.MessageResponse response = 2
|
|
1186
|
+
* @generated from protobuf field: pncp.v1.MessageResponse response = 2
|
|
1267
1187
|
*/
|
|
1268
1188
|
response: MessageResponse;
|
|
1269
1189
|
} | {
|
|
1270
1190
|
oneofKind: "error";
|
|
1271
1191
|
/**
|
|
1272
|
-
* @generated from protobuf field: string error = 3
|
|
1192
|
+
* @generated from protobuf field: string error = 3
|
|
1273
1193
|
*/
|
|
1274
1194
|
error: string;
|
|
1275
1195
|
} | {
|
|
@@ -1296,13 +1216,13 @@ interface CrossDomainStreamMessage {
|
|
|
1296
1216
|
body: {
|
|
1297
1217
|
oneofKind: "msg";
|
|
1298
1218
|
/**
|
|
1299
|
-
* @generated from protobuf field: pncp.v1.CrossDomainMessage msg = 1
|
|
1219
|
+
* @generated from protobuf field: pncp.v1.CrossDomainMessage msg = 1
|
|
1300
1220
|
*/
|
|
1301
1221
|
msg: CrossDomainMessage;
|
|
1302
1222
|
} | {
|
|
1303
1223
|
oneofKind: "federationSync";
|
|
1304
1224
|
/**
|
|
1305
|
-
* @generated from protobuf field: pncp.v1.CrossDomainFederationSync federation_sync = 2
|
|
1225
|
+
* @generated from protobuf field: pncp.v1.CrossDomainFederationSync federation_sync = 2
|
|
1306
1226
|
*/
|
|
1307
1227
|
federationSync: CrossDomainFederationSync;
|
|
1308
1228
|
} | {
|
|
@@ -1388,40 +1308,40 @@ declare class ObservationRequest$Type extends MessageType<ObservationRequest> {
|
|
|
1388
1308
|
*/
|
|
1389
1309
|
interface ObservationRequest {
|
|
1390
1310
|
/**
|
|
1391
|
-
* @generated from protobuf field: pncp.v1.ObservationInit body = 1
|
|
1311
|
+
* @generated from protobuf field: pncp.v1.ObservationInit body = 1
|
|
1392
1312
|
*/
|
|
1393
1313
|
body?: ObservationInit;
|
|
1394
1314
|
/**
|
|
1395
1315
|
* TODO: Figure out what to do with this one.
|
|
1396
1316
|
*
|
|
1397
|
-
* @generated from protobuf field: optional string skill_observance = 2
|
|
1317
|
+
* @generated from protobuf field: optional string skill_observance = 2
|
|
1398
1318
|
*/
|
|
1399
1319
|
skillObservance?: string;
|
|
1400
1320
|
/**
|
|
1401
1321
|
* This is analogous to the PncpRequest.author field. See notes there for why it is required.
|
|
1402
1322
|
*
|
|
1403
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 3
|
|
1323
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 3
|
|
1404
1324
|
*/
|
|
1405
|
-
author?: EntityId
|
|
1325
|
+
author?: EntityId;
|
|
1406
1326
|
/**
|
|
1407
|
-
* @generated from protobuf field: pncp.v1.ObservationStartPoint start_point = 4
|
|
1327
|
+
* @generated from protobuf field: pncp.v1.ObservationStartPoint start_point = 4
|
|
1408
1328
|
*/
|
|
1409
1329
|
startPoint: ObservationStartPoint;
|
|
1410
1330
|
/**
|
|
1411
1331
|
* Optional sequence ID, used to determine where the stream should start when start_point == OBS_START_SEQ.
|
|
1412
1332
|
* Note, that this value is a message ID.
|
|
1413
1333
|
*
|
|
1414
|
-
* @generated from protobuf field: optional string seq_id = 5
|
|
1334
|
+
* @generated from protobuf field: optional string seq_id = 5
|
|
1415
1335
|
*/
|
|
1416
1336
|
seqId?: string;
|
|
1417
1337
|
/**
|
|
1418
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 6
|
|
1338
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 6
|
|
1419
1339
|
*/
|
|
1420
1340
|
callback?: Value;
|
|
1421
1341
|
/**
|
|
1422
1342
|
* If this is true then the observer stream is not tracked in the ledger.
|
|
1423
1343
|
*
|
|
1424
|
-
* @generated from protobuf field: bool untracked = 7
|
|
1344
|
+
* @generated from protobuf field: bool untracked = 7
|
|
1425
1345
|
*/
|
|
1426
1346
|
untracked: boolean;
|
|
1427
1347
|
/**
|
|
@@ -1434,7 +1354,7 @@ interface ObservationRequest {
|
|
|
1434
1354
|
* N.B. (implementation detail): This requires a reordering in the ledger. As such, this query should be used with
|
|
1435
1355
|
* only relatively small values (<10000) to avoid too much performance impact on the ledger.
|
|
1436
1356
|
*
|
|
1437
|
-
* @generated from protobuf field: optional uint64 seq_offset = 8
|
|
1357
|
+
* @generated from protobuf field: optional uint64 seq_offset = 8
|
|
1438
1358
|
*/
|
|
1439
1359
|
seqOffset?: bigint;
|
|
1440
1360
|
}
|
|
@@ -1455,27 +1375,27 @@ declare class ObservationInit$Type extends MessageType<ObservationInit> {
|
|
|
1455
1375
|
*/
|
|
1456
1376
|
interface ObservationInit {
|
|
1457
1377
|
/**
|
|
1458
|
-
* @generated from protobuf field: optional string subject = 1
|
|
1378
|
+
* @generated from protobuf field: optional string subject = 1
|
|
1459
1379
|
*/
|
|
1460
1380
|
subject?: string;
|
|
1461
1381
|
/**
|
|
1462
|
-
* @generated from protobuf field: optional string action = 2
|
|
1382
|
+
* @generated from protobuf field: optional string action = 2
|
|
1463
1383
|
*/
|
|
1464
1384
|
action?: string;
|
|
1465
1385
|
/**
|
|
1466
|
-
* @generated from protobuf field: optional string requester = 3
|
|
1386
|
+
* @generated from protobuf field: optional string requester = 3
|
|
1467
1387
|
*/
|
|
1468
1388
|
requester?: string;
|
|
1469
1389
|
/**
|
|
1470
|
-
* @generated from protobuf field: optional string fulfiller = 4
|
|
1390
|
+
* @generated from protobuf field: optional string fulfiller = 4
|
|
1471
1391
|
*/
|
|
1472
1392
|
fulfiller?: string;
|
|
1473
1393
|
/**
|
|
1474
|
-
* @generated from protobuf field: repeated pncp.v1.ObservationMessageFilter filters = 5
|
|
1394
|
+
* @generated from protobuf field: repeated pncp.v1.ObservationMessageFilter filters = 5
|
|
1475
1395
|
*/
|
|
1476
1396
|
filters: ObservationMessageFilter[];
|
|
1477
1397
|
/**
|
|
1478
|
-
* @generated from protobuf field: optional string conversation_id = 6
|
|
1398
|
+
* @generated from protobuf field: optional string conversation_id = 6
|
|
1479
1399
|
*/
|
|
1480
1400
|
conversationId?: string;
|
|
1481
1401
|
}
|
|
@@ -1494,13 +1414,13 @@ declare class ObservationMessageFilter$Type extends MessageType<ObservationMessa
|
|
|
1494
1414
|
*/
|
|
1495
1415
|
interface ObservationMessageFilter {
|
|
1496
1416
|
/**
|
|
1497
|
-
* @generated from protobuf field: pncp.v1.ObservationMessageType kind = 1
|
|
1417
|
+
* @generated from protobuf field: pncp.v1.ObservationMessageType kind = 1
|
|
1498
1418
|
*/
|
|
1499
1419
|
kind: ObservationMessageType;
|
|
1500
1420
|
/**
|
|
1501
1421
|
* if kind == PNCP then this field can be populated to further restrict the filter to specific PNCP types.
|
|
1502
1422
|
*
|
|
1503
|
-
* @generated from protobuf field: optional pncp.v1.PncpMessageKind pncp = 2
|
|
1423
|
+
* @generated from protobuf field: optional pncp.v1.PncpMessageKind pncp = 2
|
|
1504
1424
|
*/
|
|
1505
1425
|
pncp?: PncpMessageKind;
|
|
1506
1426
|
}
|
|
@@ -1523,61 +1443,61 @@ interface ObservationCallback {
|
|
|
1523
1443
|
/**
|
|
1524
1444
|
* Subject of the original skill request.
|
|
1525
1445
|
*
|
|
1526
|
-
* @generated from protobuf field: string subject = 1
|
|
1446
|
+
* @generated from protobuf field: string subject = 1
|
|
1527
1447
|
*/
|
|
1528
1448
|
subject: string;
|
|
1529
1449
|
/**
|
|
1530
1450
|
* Action of the original skill request.
|
|
1531
1451
|
*
|
|
1532
|
-
* @generated from protobuf field: string action = 2
|
|
1452
|
+
* @generated from protobuf field: string action = 2
|
|
1533
1453
|
*/
|
|
1534
1454
|
action: string;
|
|
1535
1455
|
/**
|
|
1536
1456
|
* Requester of the conversation, not this particular message.
|
|
1537
1457
|
*
|
|
1538
|
-
* @generated from protobuf field: pncp.v1.EntityId requester = 3
|
|
1458
|
+
* @generated from protobuf field: pncp.v1.EntityId requester = 3
|
|
1539
1459
|
*/
|
|
1540
|
-
requester?: EntityId
|
|
1460
|
+
requester?: EntityId;
|
|
1541
1461
|
/**
|
|
1542
1462
|
* fulfiller, if one exists.
|
|
1543
1463
|
*
|
|
1544
|
-
* @generated from protobuf field: optional pncp.v1.EntityId fulfiller = 4
|
|
1464
|
+
* @generated from protobuf field: optional pncp.v1.EntityId fulfiller = 4
|
|
1545
1465
|
*/
|
|
1546
|
-
fulfiller?: EntityId
|
|
1466
|
+
fulfiller?: EntityId;
|
|
1547
1467
|
/**
|
|
1548
1468
|
* The callback message being observed.
|
|
1549
1469
|
*
|
|
1550
|
-
* @generated from protobuf field: pncp.v1.PncpCallback message = 5
|
|
1470
|
+
* @generated from protobuf field: pncp.v1.PncpCallback message = 5
|
|
1551
1471
|
*/
|
|
1552
1472
|
message?: PncpCallback;
|
|
1553
1473
|
/**
|
|
1554
1474
|
* This is a unique ID corresponding to this observation stream.
|
|
1555
1475
|
*
|
|
1556
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 6
|
|
1476
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 6
|
|
1557
1477
|
*/
|
|
1558
1478
|
id?: ConversationId$1;
|
|
1559
1479
|
/**
|
|
1560
1480
|
* Actor that initiated this stream.
|
|
1561
1481
|
*
|
|
1562
|
-
* @generated from protobuf field: pncp.v1.EntityId author = 7
|
|
1482
|
+
* @generated from protobuf field: pncp.v1.EntityId author = 7
|
|
1563
1483
|
*/
|
|
1564
|
-
author?: EntityId
|
|
1484
|
+
author?: EntityId;
|
|
1565
1485
|
/**
|
|
1566
1486
|
* Optional callback data used to identify this stream.
|
|
1567
1487
|
*
|
|
1568
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 8
|
|
1488
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 8
|
|
1569
1489
|
*/
|
|
1570
1490
|
callback?: Value;
|
|
1571
1491
|
/**
|
|
1572
1492
|
* The previous message ID, used for sequencing.
|
|
1573
1493
|
*
|
|
1574
|
-
* @generated from protobuf field: optional string prev_mid = 9
|
|
1494
|
+
* @generated from protobuf field: optional string prev_mid = 9
|
|
1575
1495
|
*/
|
|
1576
1496
|
prevMid?: string;
|
|
1577
1497
|
/**
|
|
1578
|
-
* @generated from protobuf field: pncp.v1.EntityId skill_id = 10
|
|
1498
|
+
* @generated from protobuf field: pncp.v1.EntityId skill_id = 10
|
|
1579
1499
|
*/
|
|
1580
|
-
skillId?: EntityId
|
|
1500
|
+
skillId?: EntityId;
|
|
1581
1501
|
}
|
|
1582
1502
|
/**
|
|
1583
1503
|
* @generated MessageType for protobuf message pncp.v1.ObservationCallback
|
|
@@ -1597,7 +1517,7 @@ declare class ObservationMessageWrapper$Type extends MessageType<ObservationMess
|
|
|
1597
1517
|
*/
|
|
1598
1518
|
interface ObservationMessageWrapper {
|
|
1599
1519
|
/**
|
|
1600
|
-
* @generated from protobuf field: pncp.v1.ObservationCallback body = 1
|
|
1520
|
+
* @generated from protobuf field: pncp.v1.ObservationCallback body = 1
|
|
1601
1521
|
*/
|
|
1602
1522
|
body?: ObservationCallback;
|
|
1603
1523
|
}
|
|
@@ -1616,33 +1536,39 @@ interface IBrokerClient {
|
|
|
1616
1536
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
1617
1537
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
1618
1538
|
*
|
|
1619
|
-
* @generated from protobuf rpc: SkillRequest
|
|
1539
|
+
* @generated from protobuf rpc: SkillRequest
|
|
1620
1540
|
*/
|
|
1621
1541
|
skillRequest(input: PncpRequest$1, options?: RpcOptions): UnaryCall<PncpRequest$1, MessageResponse>;
|
|
1622
1542
|
/**
|
|
1623
1543
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
1624
1544
|
*
|
|
1625
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
1545
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
1626
1546
|
*/
|
|
1627
1547
|
pncpMessageRequest(input: PncpMessage$1, options?: RpcOptions): UnaryCall<PncpMessage$1, MessageResponse>;
|
|
1548
|
+
/**
|
|
1549
|
+
* Message sent by a medium handler.
|
|
1550
|
+
*
|
|
1551
|
+
* @generated from protobuf rpc: PncpMediumRequest
|
|
1552
|
+
*/
|
|
1553
|
+
pncpMediumRequest(input: PncpMediumMessage, options?: RpcOptions): UnaryCall<PncpMediumMessage, MessageResponse>;
|
|
1628
1554
|
/**
|
|
1629
1555
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
1630
1556
|
* and all additional Pncp messages sent in the conversation thread.
|
|
1631
1557
|
*
|
|
1632
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
1558
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
1633
1559
|
*/
|
|
1634
1560
|
pncpCallbackStream(input: PncpCallbackRequest, options?: RpcOptions): ServerStreamingCall<PncpCallbackRequest, PncpCallback>;
|
|
1635
1561
|
/**
|
|
1636
1562
|
* Creates a new observation stream.
|
|
1637
1563
|
*
|
|
1638
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
1564
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
1639
1565
|
*/
|
|
1640
1566
|
createObserverStream(input: ObservationRequest, options?: RpcOptions): ServerStreamingCall<ObservationRequest, ObservationMessageWrapper>;
|
|
1641
1567
|
/**
|
|
1642
1568
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
1643
1569
|
* the results back.
|
|
1644
1570
|
*
|
|
1645
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
1571
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
1646
1572
|
*/
|
|
1647
1573
|
crossDomainRequest(input: CrossDomainMessage, options?: RpcOptions): UnaryCall<CrossDomainMessage, CrossDomainResponse>;
|
|
1648
1574
|
/**
|
|
@@ -1650,24 +1576,17 @@ interface IBrokerClient {
|
|
|
1650
1576
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
1651
1577
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
1652
1578
|
*
|
|
1653
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
1579
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
1654
1580
|
*/
|
|
1655
1581
|
crossDomainStream(options?: RpcOptions): DuplexStreamingCall<CrossDomainResponse, CrossDomainStreamMessage>;
|
|
1656
1582
|
/**
|
|
1657
|
-
* @generated from protobuf rpc: Login
|
|
1583
|
+
* @generated from protobuf rpc: Login
|
|
1658
1584
|
*/
|
|
1659
1585
|
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, LoginResponse>;
|
|
1660
1586
|
/**
|
|
1661
|
-
* @generated from protobuf rpc: RefreshToken
|
|
1587
|
+
* @generated from protobuf rpc: RefreshToken
|
|
1662
1588
|
*/
|
|
1663
1589
|
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
1590
|
}
|
|
1672
1591
|
/**
|
|
1673
1592
|
* @generated from protobuf service pncp.v1.Broker
|
|
@@ -1686,33 +1605,39 @@ declare class BrokerClient implements IBrokerClient, ServiceInfo {
|
|
|
1686
1605
|
* Messages are forwarded to actors depending on the actor configuration, but the majority of actors
|
|
1687
1606
|
* will receive their messages as a callback on `PncpCallbackStream`.
|
|
1688
1607
|
*
|
|
1689
|
-
* @generated from protobuf rpc: SkillRequest
|
|
1608
|
+
* @generated from protobuf rpc: SkillRequest
|
|
1690
1609
|
*/
|
|
1691
1610
|
skillRequest(input: PncpRequest$1, options?: RpcOptions): UnaryCall<PncpRequest$1, MessageResponse>;
|
|
1692
1611
|
/**
|
|
1693
1612
|
* Follow up messages within a conversation are sent with via this endpoint.
|
|
1694
1613
|
*
|
|
1695
|
-
* @generated from protobuf rpc: PncpMessageRequest
|
|
1614
|
+
* @generated from protobuf rpc: PncpMessageRequest
|
|
1696
1615
|
*/
|
|
1697
1616
|
pncpMessageRequest(input: PncpMessage$1, options?: RpcOptions): UnaryCall<PncpMessage$1, MessageResponse>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Message sent by a medium handler.
|
|
1619
|
+
*
|
|
1620
|
+
* @generated from protobuf rpc: PncpMediumRequest
|
|
1621
|
+
*/
|
|
1622
|
+
pncpMediumRequest(input: PncpMediumMessage, options?: RpcOptions): UnaryCall<PncpMediumMessage, MessageResponse>;
|
|
1698
1623
|
/**
|
|
1699
1624
|
* The callback stream for an actor to receive all Pncp type messages. This includes skill requests
|
|
1700
1625
|
* and all additional Pncp messages sent in the conversation thread.
|
|
1701
1626
|
*
|
|
1702
|
-
* @generated from protobuf rpc: PncpCallbackStream
|
|
1627
|
+
* @generated from protobuf rpc: PncpCallbackStream
|
|
1703
1628
|
*/
|
|
1704
1629
|
pncpCallbackStream(input: PncpCallbackRequest, options?: RpcOptions): ServerStreamingCall<PncpCallbackRequest, PncpCallback>;
|
|
1705
1630
|
/**
|
|
1706
1631
|
* Creates a new observation stream.
|
|
1707
1632
|
*
|
|
1708
|
-
* @generated from protobuf rpc: CreateObserverStream
|
|
1633
|
+
* @generated from protobuf rpc: CreateObserverStream
|
|
1709
1634
|
*/
|
|
1710
1635
|
createObserverStream(input: ObservationRequest, options?: RpcOptions): ServerStreamingCall<ObservationRequest, ObservationMessageWrapper>;
|
|
1711
1636
|
/**
|
|
1712
1637
|
* A direct cross domain request, posted from one node to another. The other node is often expected to post
|
|
1713
1638
|
* the results back.
|
|
1714
1639
|
*
|
|
1715
|
-
* @generated from protobuf rpc: CrossDomainRequest
|
|
1640
|
+
* @generated from protobuf rpc: CrossDomainRequest
|
|
1716
1641
|
*/
|
|
1717
1642
|
crossDomainRequest(input: CrossDomainMessage, options?: RpcOptions): UnaryCall<CrossDomainMessage, CrossDomainResponse>;
|
|
1718
1643
|
/**
|
|
@@ -1720,24 +1645,17 @@ declare class BrokerClient implements IBrokerClient, ServiceInfo {
|
|
|
1720
1645
|
* connects to can stream messages back to the edge node. The edge node is then required to stream
|
|
1721
1646
|
* `MessageResponse` to each incoming message back to the connected node.
|
|
1722
1647
|
*
|
|
1723
|
-
* @generated from protobuf rpc: CrossDomainStream
|
|
1648
|
+
* @generated from protobuf rpc: CrossDomainStream
|
|
1724
1649
|
*/
|
|
1725
1650
|
crossDomainStream(options?: RpcOptions): DuplexStreamingCall<CrossDomainResponse, CrossDomainStreamMessage>;
|
|
1726
1651
|
/**
|
|
1727
|
-
* @generated from protobuf rpc: Login
|
|
1652
|
+
* @generated from protobuf rpc: Login
|
|
1728
1653
|
*/
|
|
1729
1654
|
login(input: LoginRequest, options?: RpcOptions): UnaryCall<LoginRequest, LoginResponse>;
|
|
1730
1655
|
/**
|
|
1731
|
-
* @generated from protobuf rpc: RefreshToken
|
|
1656
|
+
* @generated from protobuf rpc: RefreshToken
|
|
1732
1657
|
*/
|
|
1733
1658
|
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
1659
|
}
|
|
1742
1660
|
|
|
1743
1661
|
interface SkillRequest {
|
|
@@ -1753,7 +1671,6 @@ interface SkillRequest {
|
|
|
1753
1671
|
matchStrategy?: SkillMatchStrategy;
|
|
1754
1672
|
mustMatch?: boolean;
|
|
1755
1673
|
useLock?: boolean;
|
|
1756
|
-
allowOpenMatch?: boolean;
|
|
1757
1674
|
partition?: string;
|
|
1758
1675
|
}
|
|
1759
1676
|
type PncpPacketObject = {
|
|
@@ -1771,13 +1688,7 @@ type PncpRequestObject = {
|
|
|
1771
1688
|
matchStrategy: SkillMatchStrategy;
|
|
1772
1689
|
versionReq?: string;
|
|
1773
1690
|
targetActorId?: string;
|
|
1774
|
-
key?: any;
|
|
1775
1691
|
targetInstanceId?: string;
|
|
1776
|
-
mediumInfo?: PncpRequestMediumInfoObject;
|
|
1777
|
-
};
|
|
1778
|
-
type PncpRequestMediumInfoObject = {
|
|
1779
|
-
id: string;
|
|
1780
|
-
userInfo: any;
|
|
1781
1692
|
};
|
|
1782
1693
|
type PncpSkillMessageObject = {
|
|
1783
1694
|
subject: string;
|
|
@@ -1827,12 +1738,11 @@ type PncpRequestCallbackObject = {
|
|
|
1827
1738
|
parentId?: ConversationId$1;
|
|
1828
1739
|
body: PncpSkillMessageObject;
|
|
1829
1740
|
timeCreated: Date;
|
|
1830
|
-
authorId: EntityId
|
|
1831
|
-
targetActorId: EntityId
|
|
1741
|
+
authorId: EntityId;
|
|
1742
|
+
targetActorId: EntityId;
|
|
1832
1743
|
parameters: {
|
|
1833
1744
|
provider?: any;
|
|
1834
1745
|
skill?: any;
|
|
1835
|
-
medium?: any;
|
|
1836
1746
|
};
|
|
1837
1747
|
partition?: string;
|
|
1838
1748
|
};
|
|
@@ -1841,11 +1751,9 @@ type PncpMessageCallbackObject = {
|
|
|
1841
1751
|
id: ConversationId$1;
|
|
1842
1752
|
messageId: string;
|
|
1843
1753
|
timeCreated: Date;
|
|
1844
|
-
key?: any;
|
|
1845
1754
|
message: PncpMessageObject;
|
|
1846
1755
|
params?: any;
|
|
1847
1756
|
callback?: any;
|
|
1848
|
-
medium?: any;
|
|
1849
1757
|
conversationState: ConversationState;
|
|
1850
1758
|
partition?: string;
|
|
1851
1759
|
};
|
|
@@ -1860,13 +1768,13 @@ declare function simplifyPncpMessage(msg: PncpMessage$1): PncpMessageObject;
|
|
|
1860
1768
|
type ObservationCallbackObject = {
|
|
1861
1769
|
subject: string;
|
|
1862
1770
|
action: string;
|
|
1863
|
-
requester: EntityId
|
|
1864
|
-
fulfiller: EntityId
|
|
1771
|
+
requester: EntityId;
|
|
1772
|
+
fulfiller: EntityId;
|
|
1865
1773
|
message: PncpCallbackObject;
|
|
1866
1774
|
id: ConversationId$1;
|
|
1867
1775
|
callback?: any;
|
|
1868
1776
|
prevMid?: string;
|
|
1869
|
-
skillId: EntityId
|
|
1777
|
+
skillId: EntityId;
|
|
1870
1778
|
};
|
|
1871
1779
|
declare function simplifyObservationCallback(cb: ObservationCallback): ObservationCallbackObject;
|
|
1872
1780
|
|
|
@@ -1904,7 +1812,7 @@ declare class HealthCheckRequest$Type extends MessageType<HealthCheckRequest> {
|
|
|
1904
1812
|
*/
|
|
1905
1813
|
interface HealthCheckRequest {
|
|
1906
1814
|
/**
|
|
1907
|
-
* @generated from protobuf field: string service = 1
|
|
1815
|
+
* @generated from protobuf field: string service = 1
|
|
1908
1816
|
*/
|
|
1909
1817
|
service: string;
|
|
1910
1818
|
}
|
|
@@ -1923,7 +1831,7 @@ declare class HealthCheckResponse$Type extends MessageType<HealthCheckResponse>
|
|
|
1923
1831
|
*/
|
|
1924
1832
|
interface HealthCheckResponse {
|
|
1925
1833
|
/**
|
|
1926
|
-
* @generated from protobuf field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1
|
|
1834
|
+
* @generated from protobuf field: grpc.health.v1.HealthCheckResponse.ServingStatus status = 1
|
|
1927
1835
|
*/
|
|
1928
1836
|
status: HealthCheckResponse_ServingStatus;
|
|
1929
1837
|
}
|
|
@@ -1940,7 +1848,7 @@ interface IHealthClient {
|
|
|
1940
1848
|
* If the requested service is unknown, the call will fail with status
|
|
1941
1849
|
* NOT_FOUND.
|
|
1942
1850
|
*
|
|
1943
|
-
* @generated from protobuf rpc: Check
|
|
1851
|
+
* @generated from protobuf rpc: Check
|
|
1944
1852
|
*/
|
|
1945
1853
|
check(input: HealthCheckRequest, options?: RpcOptions): UnaryCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1946
1854
|
/**
|
|
@@ -1960,7 +1868,7 @@ interface IHealthClient {
|
|
|
1960
1868
|
* call. If the call terminates with any other status (including OK),
|
|
1961
1869
|
* clients should retry the call with appropriate exponential backoff.
|
|
1962
1870
|
*
|
|
1963
|
-
* @generated from protobuf rpc: Watch
|
|
1871
|
+
* @generated from protobuf rpc: Watch
|
|
1964
1872
|
*/
|
|
1965
1873
|
watch(input: HealthCheckRequest, options?: RpcOptions): ServerStreamingCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1966
1874
|
}
|
|
@@ -1979,7 +1887,7 @@ declare class HealthClient implements IHealthClient, ServiceInfo {
|
|
|
1979
1887
|
* If the requested service is unknown, the call will fail with status
|
|
1980
1888
|
* NOT_FOUND.
|
|
1981
1889
|
*
|
|
1982
|
-
* @generated from protobuf rpc: Check
|
|
1890
|
+
* @generated from protobuf rpc: Check
|
|
1983
1891
|
*/
|
|
1984
1892
|
check(input: HealthCheckRequest, options?: RpcOptions): UnaryCall<HealthCheckRequest, HealthCheckResponse>;
|
|
1985
1893
|
/**
|
|
@@ -1999,7 +1907,7 @@ declare class HealthClient implements IHealthClient, ServiceInfo {
|
|
|
1999
1907
|
* call. If the call terminates with any other status (including OK),
|
|
2000
1908
|
* clients should retry the call with appropriate exponential backoff.
|
|
2001
1909
|
*
|
|
2002
|
-
* @generated from protobuf rpc: Watch
|
|
1910
|
+
* @generated from protobuf rpc: Watch
|
|
2003
1911
|
*/
|
|
2004
1912
|
watch(input: HealthCheckRequest, options?: RpcOptions): ServerStreamingCall<HealthCheckRequest, HealthCheckResponse>;
|
|
2005
1913
|
}
|
|
@@ -2189,7 +2097,6 @@ type PncpPacket = {
|
|
|
2189
2097
|
};
|
|
2190
2098
|
type ConversationId = string;
|
|
2191
2099
|
type EntityReq = string;
|
|
2192
|
-
type EntityId = string;
|
|
2193
2100
|
type PncpMessageBody = {
|
|
2194
2101
|
type: "response";
|
|
2195
2102
|
body: PncpDataMessage;
|
|
@@ -2272,16 +2179,6 @@ interface PncpRequest {
|
|
|
2272
2179
|
* When specified, the particular actor is called if the skill matches.
|
|
2273
2180
|
*/
|
|
2274
2181
|
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
2182
|
/**
|
|
2286
2183
|
* If this is true, a match is required to be made upon the initial request. If it is false, the
|
|
2287
2184
|
* broker can store the message and conversation in an unmatched state and rematch it at a later
|
|
@@ -2294,11 +2191,6 @@ interface PncpRequest {
|
|
|
2294
2191
|
* If this is true, then this request should use the provided actor lock.
|
|
2295
2192
|
*/
|
|
2296
2193
|
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
2194
|
[k: string]: any;
|
|
2303
2195
|
}
|
|
2304
2196
|
/**
|
|
@@ -2317,11 +2209,6 @@ interface PncpSkillMessage {
|
|
|
2317
2209
|
taint?: string | null;
|
|
2318
2210
|
[k: string]: any;
|
|
2319
2211
|
}
|
|
2320
|
-
interface PncpRequestMediumInfo {
|
|
2321
|
-
id: EntityId;
|
|
2322
|
-
userInfo: any;
|
|
2323
|
-
[k: string]: any;
|
|
2324
|
-
}
|
|
2325
2212
|
/**
|
|
2326
2213
|
* PNCP Message. Messages are a variety of types of data sent within a conversation.
|
|
2327
2214
|
*/
|
|
@@ -2372,5 +2259,5 @@ declare function splitConversationId(convId: string): ConversationId$1;
|
|
|
2372
2259
|
declare function fromJsonValue(json: JsonValue): Value;
|
|
2373
2260
|
declare function fromValueToJson(message: Value): JsonValue;
|
|
2374
2261
|
|
|
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,
|
|
2262
|
+
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, PncpMediumMessage, PncpMessage$1 as PncpMessage, PncpMessageCallback, PncpMessageKind, 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 };
|
|
2263
|
+
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 };
|