@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/proto/pncp.d.ts
CHANGED
|
@@ -21,13 +21,13 @@ export interface PncpPacket {
|
|
|
21
21
|
body: {
|
|
22
22
|
oneofKind: "request";
|
|
23
23
|
/**
|
|
24
|
-
* @generated from protobuf field: pncp.v1.PncpRequest request = 1
|
|
24
|
+
* @generated from protobuf field: pncp.v1.PncpRequest request = 1
|
|
25
25
|
*/
|
|
26
26
|
request: PncpRequest;
|
|
27
27
|
} | {
|
|
28
28
|
oneofKind: "message";
|
|
29
29
|
/**
|
|
30
|
-
* @generated from protobuf field: pncp.v1.PncpMessage message = 2
|
|
30
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 2
|
|
31
31
|
*/
|
|
32
32
|
message: PncpMessage;
|
|
33
33
|
} | {
|
|
@@ -43,21 +43,21 @@ export interface PncpRequest {
|
|
|
43
43
|
/**
|
|
44
44
|
* The core body to the request.
|
|
45
45
|
*
|
|
46
|
-
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 1
|
|
46
|
+
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 1
|
|
47
47
|
*/
|
|
48
48
|
body?: PncpSkillMessage;
|
|
49
49
|
/**
|
|
50
50
|
* Callback information provided on subsequent PNCP responses.
|
|
51
51
|
* This is mostly used to associate a request with a response on the actor side.
|
|
52
52
|
*
|
|
53
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
53
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
54
54
|
*/
|
|
55
55
|
callback?: Value;
|
|
56
56
|
/**
|
|
57
57
|
* Parent conversation ID, if this request is a sub request. If this is a new request this field
|
|
58
58
|
* must be left blank.
|
|
59
59
|
*
|
|
60
|
-
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 3
|
|
60
|
+
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 3
|
|
61
61
|
*/
|
|
62
62
|
parentId?: ConversationId;
|
|
63
63
|
/**
|
|
@@ -66,36 +66,26 @@ export interface PncpRequest {
|
|
|
66
66
|
* marshalled through the same connection and authentication. As such, we need the actor to provide
|
|
67
67
|
* the author information in such cases.
|
|
68
68
|
*
|
|
69
|
-
* @generated from protobuf field: optional pncp.v1.EntityId author = 4
|
|
69
|
+
* @generated from protobuf field: optional pncp.v1.EntityId author = 4
|
|
70
70
|
*/
|
|
71
71
|
author?: EntityId;
|
|
72
72
|
/**
|
|
73
|
-
* @generated from protobuf field: pncp.v1.SkillMatchStrategy match_strategy = 5
|
|
73
|
+
* @generated from protobuf field: pncp.v1.SkillMatchStrategy match_strategy = 5
|
|
74
74
|
*/
|
|
75
75
|
matchStrategy: SkillMatchStrategy;
|
|
76
76
|
/**
|
|
77
77
|
* version request spec for the (subject, action) pair. If not provided, the default (typically latest)
|
|
78
78
|
* is used instead.
|
|
79
79
|
*
|
|
80
|
-
* @generated from protobuf field: optional string version_req = 6
|
|
80
|
+
* @generated from protobuf field: optional string version_req = 6
|
|
81
81
|
*/
|
|
82
82
|
versionReq?: string;
|
|
83
83
|
/**
|
|
84
84
|
* Optionally specify the exact actor that should match.
|
|
85
85
|
*
|
|
86
|
-
* @generated from protobuf field: optional string target_actor_id = 7
|
|
86
|
+
* @generated from protobuf field: optional string target_actor_id = 7
|
|
87
87
|
*/
|
|
88
88
|
targetActorId?: string;
|
|
89
|
-
/**
|
|
90
|
-
* TODO: We might not need these fields anymore. We will see.
|
|
91
|
-
*
|
|
92
|
-
* @generated from protobuf field: optional otonoma.common.Value key = 8;
|
|
93
|
-
*/
|
|
94
|
-
key?: Value;
|
|
95
|
-
/**
|
|
96
|
-
* @generated from protobuf field: optional pncp.v1.PncpRequestMediumInfo medium_info = 9;
|
|
97
|
-
*/
|
|
98
|
-
mediumInfo?: PncpRequestMediumInfo;
|
|
99
89
|
/**
|
|
100
90
|
* If this is true, a match is required to be made upon the initial request. If it is false, the
|
|
101
91
|
* broker can store the message and conversation in an unmatched state and rematch it at a later
|
|
@@ -103,39 +93,22 @@ export interface PncpRequest {
|
|
|
103
93
|
* If the corresponding skill is a `Broadcast` skill, this field is not considered as they are
|
|
104
94
|
* not matched.
|
|
105
95
|
*
|
|
106
|
-
* @generated from protobuf field: bool must_match = 10
|
|
96
|
+
* @generated from protobuf field: bool must_match = 10
|
|
107
97
|
*/
|
|
108
98
|
mustMatch: boolean;
|
|
109
99
|
/**
|
|
110
100
|
* Specifies whether this request should use the provided actor lock or not.
|
|
111
101
|
*
|
|
112
|
-
* @generated from protobuf field: bool use_lock = 11
|
|
102
|
+
* @generated from protobuf field: bool use_lock = 11
|
|
113
103
|
*/
|
|
114
104
|
useLock: boolean;
|
|
115
105
|
/**
|
|
116
106
|
* Actor partition
|
|
117
107
|
*
|
|
118
|
-
* @generated from protobuf field: optional string partition = 13
|
|
108
|
+
* @generated from protobuf field: optional string partition = 13
|
|
119
109
|
*/
|
|
120
110
|
partition?: string;
|
|
121
111
|
}
|
|
122
|
-
/**
|
|
123
|
-
* @generated from protobuf message pncp.v1.PncpRequestMediumInfo
|
|
124
|
-
*/
|
|
125
|
-
export interface PncpRequestMediumInfo {
|
|
126
|
-
/**
|
|
127
|
-
* ID of the medium that made the request.
|
|
128
|
-
*
|
|
129
|
-
* @generated from protobuf field: pncp.v1.EntityId id = 1;
|
|
130
|
-
*/
|
|
131
|
-
id?: EntityId;
|
|
132
|
-
/**
|
|
133
|
-
* Unique information identifying the user from the medium.
|
|
134
|
-
*
|
|
135
|
-
* @generated from protobuf field: optional otonoma.common.Value user_info = 2;
|
|
136
|
-
*/
|
|
137
|
-
userInfo?: Value;
|
|
138
|
-
}
|
|
139
112
|
/**
|
|
140
113
|
* Represents a skill request message. This message is the core "body" of a `PncpRequest`.
|
|
141
114
|
*
|
|
@@ -145,25 +118,25 @@ export interface PncpSkillMessage {
|
|
|
145
118
|
/**
|
|
146
119
|
* Subject of the request.
|
|
147
120
|
*
|
|
148
|
-
* @generated from protobuf field: string subject = 1
|
|
121
|
+
* @generated from protobuf field: string subject = 1
|
|
149
122
|
*/
|
|
150
123
|
subject: string;
|
|
151
124
|
/**
|
|
152
125
|
* Action associated with the request.
|
|
153
126
|
*
|
|
154
|
-
* @generated from protobuf field: string action = 2
|
|
127
|
+
* @generated from protobuf field: string action = 2
|
|
155
128
|
*/
|
|
156
129
|
action: string;
|
|
157
130
|
/**
|
|
158
131
|
* The request data.
|
|
159
132
|
*
|
|
160
|
-
* @generated from protobuf field: otonoma.common.Value body = 5
|
|
133
|
+
* @generated from protobuf field: otonoma.common.Value body = 5
|
|
161
134
|
*/
|
|
162
135
|
body?: Value;
|
|
163
136
|
/**
|
|
164
137
|
* Taint data labels
|
|
165
138
|
*
|
|
166
|
-
* @generated from protobuf field: optional string taint = 6
|
|
139
|
+
* @generated from protobuf field: optional string taint = 6
|
|
167
140
|
*/
|
|
168
141
|
taint?: string;
|
|
169
142
|
}
|
|
@@ -177,35 +150,37 @@ export interface PncpMessage {
|
|
|
177
150
|
/**
|
|
178
151
|
* The ID associated with this message.
|
|
179
152
|
*
|
|
180
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
153
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
181
154
|
*/
|
|
182
155
|
id?: ConversationId;
|
|
183
156
|
/**
|
|
184
157
|
* The kind of message. Certain other fields are only optionally present depending on the value
|
|
185
158
|
* of this field.
|
|
186
159
|
*
|
|
187
|
-
* @generated from protobuf field: pncp.v1.PncpMessageKind kind = 10
|
|
160
|
+
* @generated from protobuf field: pncp.v1.PncpMessageKind kind = 10
|
|
188
161
|
*/
|
|
189
162
|
kind: PncpMessageKind;
|
|
190
163
|
/**
|
|
191
164
|
* The core data of the message.
|
|
192
165
|
*
|
|
193
|
-
* @generated from protobuf field: otonoma.common.Value body = 11
|
|
166
|
+
* @generated from protobuf field: otonoma.common.Value body = 11
|
|
194
167
|
*/
|
|
195
168
|
body?: Value;
|
|
196
169
|
/**
|
|
170
|
+
* Extra information based on the kind of the message.
|
|
171
|
+
*
|
|
197
172
|
* @generated from protobuf oneof: extra
|
|
198
173
|
*/
|
|
199
174
|
extra: {
|
|
200
175
|
oneofKind: "question";
|
|
201
176
|
/**
|
|
202
|
-
* @generated from protobuf field: pncp.v1.PncpQuestionEx question = 12
|
|
177
|
+
* @generated from protobuf field: pncp.v1.PncpQuestionEx question = 12
|
|
203
178
|
*/
|
|
204
179
|
question: PncpQuestionEx;
|
|
205
180
|
} | {
|
|
206
181
|
oneofKind: "answer";
|
|
207
182
|
/**
|
|
208
|
-
* @generated from protobuf field: pncp.v1.PncpAnswerEx answer = 13
|
|
183
|
+
* @generated from protobuf field: pncp.v1.PncpAnswerEx answer = 13
|
|
209
184
|
*/
|
|
210
185
|
answer: PncpAnswerEx;
|
|
211
186
|
} | {
|
|
@@ -214,7 +189,7 @@ export interface PncpMessage {
|
|
|
214
189
|
/**
|
|
215
190
|
* Taint data labels
|
|
216
191
|
*
|
|
217
|
-
* @generated from protobuf field: optional string taint = 14
|
|
192
|
+
* @generated from protobuf field: optional string taint = 14
|
|
218
193
|
*/
|
|
219
194
|
taint?: string;
|
|
220
195
|
}
|
|
@@ -225,11 +200,11 @@ export interface PncpQuestionEx {
|
|
|
225
200
|
/**
|
|
226
201
|
* ID of the question.
|
|
227
202
|
*
|
|
228
|
-
* @generated from protobuf field: string id = 1
|
|
203
|
+
* @generated from protobuf field: string id = 1
|
|
229
204
|
*/
|
|
230
205
|
id: string;
|
|
231
206
|
/**
|
|
232
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
207
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 2
|
|
233
208
|
*/
|
|
234
209
|
callback?: Value;
|
|
235
210
|
}
|
|
@@ -240,7 +215,7 @@ export interface PncpAnswerEx {
|
|
|
240
215
|
/**
|
|
241
216
|
* Message ID of the question being replied to.
|
|
242
217
|
*
|
|
243
|
-
* @generated from protobuf field: string reply_to = 1
|
|
218
|
+
* @generated from protobuf field: string reply_to = 1
|
|
244
219
|
*/
|
|
245
220
|
replyTo: string;
|
|
246
221
|
}
|
|
@@ -257,13 +232,13 @@ export interface PncpCallback {
|
|
|
257
232
|
body: {
|
|
258
233
|
oneofKind: "skill";
|
|
259
234
|
/**
|
|
260
|
-
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
235
|
+
* @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1
|
|
261
236
|
*/
|
|
262
237
|
skill: PncpRequestCallback;
|
|
263
238
|
} | {
|
|
264
239
|
oneofKind: "message";
|
|
265
240
|
/**
|
|
266
|
-
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
241
|
+
* @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2
|
|
267
242
|
*/
|
|
268
243
|
message: PncpMessageCallback;
|
|
269
244
|
} | {
|
|
@@ -277,59 +252,59 @@ export interface PncpCallback {
|
|
|
277
252
|
*/
|
|
278
253
|
export interface PncpRequestCallback {
|
|
279
254
|
/**
|
|
280
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
255
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
281
256
|
*/
|
|
282
257
|
id?: ConversationId;
|
|
283
258
|
/**
|
|
284
|
-
* @generated from protobuf field: string message_id = 2
|
|
259
|
+
* @generated from protobuf field: string message_id = 2
|
|
285
260
|
*/
|
|
286
261
|
messageId: string;
|
|
287
262
|
/**
|
|
288
263
|
* The core PNCP request body.
|
|
289
264
|
*
|
|
290
|
-
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
265
|
+
* @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3
|
|
291
266
|
*/
|
|
292
267
|
body?: PncpSkillMessage;
|
|
293
268
|
/**
|
|
294
269
|
* Parent ID of the conversation that triggered this one, if one exists.
|
|
295
270
|
*
|
|
296
|
-
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
271
|
+
* @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4
|
|
297
272
|
*/
|
|
298
273
|
parentId?: ConversationId;
|
|
299
274
|
/**
|
|
300
275
|
* Time the conversation was created.
|
|
301
276
|
*
|
|
302
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
277
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 5
|
|
303
278
|
*/
|
|
304
279
|
timeCreated?: Timestamp;
|
|
305
280
|
/**
|
|
306
281
|
* Author of the request.
|
|
307
282
|
*
|
|
308
|
-
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
283
|
+
* @generated from protobuf field: pncp.v1.EntityId author_id = 6
|
|
309
284
|
*/
|
|
310
285
|
authorId?: EntityId;
|
|
311
286
|
/**
|
|
312
287
|
* The actor ID of the receiving actor. This is the reflection of the PncpRequest author field.
|
|
313
288
|
* See notes on PncpRequest.author for why this is necessary.
|
|
314
289
|
*
|
|
315
|
-
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
290
|
+
* @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7
|
|
316
291
|
*/
|
|
317
292
|
targetActorId?: EntityId;
|
|
318
293
|
/**
|
|
319
294
|
* Parameter data. These fields are actor or skill specific metadata populated dynamically
|
|
320
295
|
* by the broker.
|
|
321
296
|
*
|
|
322
|
-
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
297
|
+
* @generated from protobuf field: pncp.v1.ParameterData parameters = 8
|
|
323
298
|
*/
|
|
324
299
|
parameters?: ParameterData;
|
|
325
300
|
/**
|
|
326
|
-
* @generated from protobuf field: uint32 flags = 9
|
|
301
|
+
* @generated from protobuf field: uint32 flags = 9
|
|
327
302
|
*/
|
|
328
303
|
flags: number;
|
|
329
304
|
/**
|
|
330
305
|
* Actor partition
|
|
331
306
|
*
|
|
332
|
-
* @generated from protobuf field: optional string partition = 10
|
|
307
|
+
* @generated from protobuf field: optional string partition = 10
|
|
333
308
|
*/
|
|
334
309
|
partition?: string;
|
|
335
310
|
}
|
|
@@ -358,55 +333,43 @@ export declare enum PncpRequestCallback_CallbackFlags {
|
|
|
358
333
|
*/
|
|
359
334
|
export interface PncpMessageCallback {
|
|
360
335
|
/**
|
|
361
|
-
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
336
|
+
* @generated from protobuf field: pncp.v1.ConversationId id = 1
|
|
362
337
|
*/
|
|
363
338
|
id?: ConversationId;
|
|
364
339
|
/**
|
|
365
|
-
* @generated from protobuf field: string message_id = 2
|
|
340
|
+
* @generated from protobuf field: string message_id = 2
|
|
366
341
|
*/
|
|
367
342
|
messageId: string;
|
|
368
343
|
/**
|
|
369
|
-
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
344
|
+
* @generated from protobuf field: google.protobuf.Timestamp time_created = 3
|
|
370
345
|
*/
|
|
371
346
|
timeCreated?: Timestamp;
|
|
372
|
-
/**
|
|
373
|
-
* Returned key from initial request.
|
|
374
|
-
*
|
|
375
|
-
* @generated from protobuf field: optional otonoma.common.Value key = 4;
|
|
376
|
-
*/
|
|
377
|
-
key?: Value;
|
|
378
347
|
/**
|
|
379
348
|
* The core body of the message.
|
|
380
349
|
*
|
|
381
|
-
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
350
|
+
* @generated from protobuf field: pncp.v1.PncpMessage message = 5
|
|
382
351
|
*/
|
|
383
352
|
message?: PncpMessage;
|
|
384
353
|
/**
|
|
385
354
|
* Certain message types (notably: Question) can provide params.
|
|
386
355
|
*
|
|
387
|
-
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
356
|
+
* @generated from protobuf field: optional otonoma.common.Value params = 6
|
|
388
357
|
*/
|
|
389
358
|
params?: Value;
|
|
390
359
|
/**
|
|
391
360
|
* Callback provided on the initial message.
|
|
392
361
|
*
|
|
393
|
-
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
362
|
+
* @generated from protobuf field: optional otonoma.common.Value callback = 7
|
|
394
363
|
*/
|
|
395
364
|
callback?: Value;
|
|
396
365
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
* @generated from protobuf field: optional otonoma.common.Value medium = 8;
|
|
400
|
-
*/
|
|
401
|
-
medium?: Value;
|
|
402
|
-
/**
|
|
403
|
-
* @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9;
|
|
366
|
+
* @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9
|
|
404
367
|
*/
|
|
405
368
|
conversationState: ConversationState;
|
|
406
369
|
/**
|
|
407
370
|
* Actor partition
|
|
408
371
|
*
|
|
409
|
-
* @generated from protobuf field: optional string partition = 10
|
|
372
|
+
* @generated from protobuf field: optional string partition = 10
|
|
410
373
|
*/
|
|
411
374
|
partition?: string;
|
|
412
375
|
}
|
|
@@ -415,17 +378,13 @@ export interface PncpMessageCallback {
|
|
|
415
378
|
*/
|
|
416
379
|
export interface ParameterData {
|
|
417
380
|
/**
|
|
418
|
-
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
381
|
+
* @generated from protobuf field: optional otonoma.common.Value provider = 1
|
|
419
382
|
*/
|
|
420
383
|
provider?: Value;
|
|
421
384
|
/**
|
|
422
|
-
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
385
|
+
* @generated from protobuf field: optional otonoma.common.Value skill = 2
|
|
423
386
|
*/
|
|
424
387
|
skill?: Value;
|
|
425
|
-
/**
|
|
426
|
-
* @generated from protobuf field: optional otonoma.common.Value medium = 3;
|
|
427
|
-
*/
|
|
428
|
-
medium?: Value;
|
|
429
388
|
}
|
|
430
389
|
/**
|
|
431
390
|
* Match strategy. Defaults to `BEST`.
|
|
@@ -520,16 +479,6 @@ declare class PncpRequest$Type extends MessageType<PncpRequest> {
|
|
|
520
479
|
* @generated MessageType for protobuf message pncp.v1.PncpRequest
|
|
521
480
|
*/
|
|
522
481
|
export declare const PncpRequest: PncpRequest$Type;
|
|
523
|
-
declare class PncpRequestMediumInfo$Type extends MessageType<PncpRequestMediumInfo> {
|
|
524
|
-
constructor();
|
|
525
|
-
create(value?: PartialMessage<PncpRequestMediumInfo>): PncpRequestMediumInfo;
|
|
526
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpRequestMediumInfo): PncpRequestMediumInfo;
|
|
527
|
-
internalBinaryWrite(message: PncpRequestMediumInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
528
|
-
}
|
|
529
|
-
/**
|
|
530
|
-
* @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
|
|
531
|
-
*/
|
|
532
|
-
export declare const PncpRequestMediumInfo: PncpRequestMediumInfo$Type;
|
|
533
482
|
declare class PncpSkillMessage$Type extends MessageType<PncpSkillMessage> {
|
|
534
483
|
constructor();
|
|
535
484
|
create(value?: PartialMessage<PncpSkillMessage>): PncpSkillMessage;
|
package/dist/proto/pncp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pncp.d.ts","sourceRoot":"","sources":["../../src/proto/pncp.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAC/C;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACvB;;OAEG;IACH,IAAI,EAAE;QACF,SAAS,EAAE,SAAS,CAAC;QACrB;;WAEG;QACH,OAAO,EAAE,WAAW,CAAC;KACxB,GAAG;QACA,SAAS,EAAE,SAAS,CAAC;QACrB;;WAEG;QACH,OAAO,EAAE,WAAW,CAAC;KACxB,GAAG;QACA,SAAS,EAAE,SAAS,CAAC;KACxB,CAAC;CACL;AACD;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,gBAAgB,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;;;;OAKG;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Aa;IAM5D,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,aAAa;IAsB5H,mBAAmB,CAAC,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,kBAAkB,GAAG,aAAa;CAYjH;AACD;;GAEG;AACH,eAAO,MAAM,aAAa,oBAA2B,CAAC"}
|
package/dist/proto/pncp.js
CHANGED
|
@@ -174,8 +174,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
174
174
|
{ no: 5, name: "match_strategy", kind: "enum", T: () => ["pncp.v1.SkillMatchStrategy", SkillMatchStrategy] },
|
|
175
175
|
{ no: 6, name: "version_req", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
176
176
|
{ no: 7, name: "target_actor_id", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
177
|
-
{ no: 8, name: "key", kind: "message", T: () => Value },
|
|
178
|
-
{ no: 9, name: "medium_info", kind: "message", T: () => PncpRequestMediumInfo },
|
|
179
177
|
{ no: 10, name: "must_match", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
180
178
|
{ no: 11, name: "use_lock", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
181
179
|
{ no: 13, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
@@ -216,12 +214,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
216
214
|
case /* optional string target_actor_id */ 7:
|
|
217
215
|
message.targetActorId = reader.string();
|
|
218
216
|
break;
|
|
219
|
-
case /* optional otonoma.common.Value key */ 8:
|
|
220
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
221
|
-
break;
|
|
222
|
-
case /* optional pncp.v1.PncpRequestMediumInfo medium_info */ 9:
|
|
223
|
-
message.mediumInfo = PncpRequestMediumInfo.internalBinaryRead(reader, reader.uint32(), options, message.mediumInfo);
|
|
224
|
-
break;
|
|
225
217
|
case /* bool must_match */ 10:
|
|
226
218
|
message.mustMatch = reader.bool();
|
|
227
219
|
break;
|
|
@@ -264,12 +256,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
264
256
|
/* optional string target_actor_id = 7; */
|
|
265
257
|
if (message.targetActorId !== undefined)
|
|
266
258
|
writer.tag(7, WireType.LengthDelimited).string(message.targetActorId);
|
|
267
|
-
/* optional otonoma.common.Value key = 8; */
|
|
268
|
-
if (message.key)
|
|
269
|
-
Value.internalBinaryWrite(message.key, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
270
|
-
/* optional pncp.v1.PncpRequestMediumInfo medium_info = 9; */
|
|
271
|
-
if (message.mediumInfo)
|
|
272
|
-
PncpRequestMediumInfo.internalBinaryWrite(message.mediumInfo, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
273
259
|
/* bool must_match = 10; */
|
|
274
260
|
if (message.mustMatch !== false)
|
|
275
261
|
writer.tag(10, WireType.Varint).bool(message.mustMatch);
|
|
@@ -290,59 +276,6 @@ class PncpRequest$Type extends MessageType {
|
|
|
290
276
|
*/
|
|
291
277
|
export const PncpRequest = new PncpRequest$Type();
|
|
292
278
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
293
|
-
class PncpRequestMediumInfo$Type extends MessageType {
|
|
294
|
-
constructor() {
|
|
295
|
-
super("pncp.v1.PncpRequestMediumInfo", [
|
|
296
|
-
{ no: 1, name: "id", kind: "message", T: () => EntityId },
|
|
297
|
-
{ no: 2, name: "user_info", kind: "message", T: () => Value }
|
|
298
|
-
]);
|
|
299
|
-
}
|
|
300
|
-
create(value) {
|
|
301
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
302
|
-
if (value !== undefined)
|
|
303
|
-
reflectionMergePartial(this, message, value);
|
|
304
|
-
return message;
|
|
305
|
-
}
|
|
306
|
-
internalBinaryRead(reader, length, options, target) {
|
|
307
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
308
|
-
while (reader.pos < end) {
|
|
309
|
-
let [fieldNo, wireType] = reader.tag();
|
|
310
|
-
switch (fieldNo) {
|
|
311
|
-
case /* pncp.v1.EntityId id */ 1:
|
|
312
|
-
message.id = EntityId.internalBinaryRead(reader, reader.uint32(), options, message.id);
|
|
313
|
-
break;
|
|
314
|
-
case /* optional otonoma.common.Value user_info */ 2:
|
|
315
|
-
message.userInfo = Value.internalBinaryRead(reader, reader.uint32(), options, message.userInfo);
|
|
316
|
-
break;
|
|
317
|
-
default:
|
|
318
|
-
let u = options.readUnknownField;
|
|
319
|
-
if (u === "throw")
|
|
320
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
321
|
-
let d = reader.skip(wireType);
|
|
322
|
-
if (u !== false)
|
|
323
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
return message;
|
|
327
|
-
}
|
|
328
|
-
internalBinaryWrite(message, writer, options) {
|
|
329
|
-
/* pncp.v1.EntityId id = 1; */
|
|
330
|
-
if (message.id)
|
|
331
|
-
EntityId.internalBinaryWrite(message.id, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
332
|
-
/* optional otonoma.common.Value user_info = 2; */
|
|
333
|
-
if (message.userInfo)
|
|
334
|
-
Value.internalBinaryWrite(message.userInfo, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
335
|
-
let u = options.writeUnknownFields;
|
|
336
|
-
if (u !== false)
|
|
337
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
338
|
-
return writer;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
/**
|
|
342
|
-
* @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
|
|
343
|
-
*/
|
|
344
|
-
export const PncpRequestMediumInfo = new PncpRequestMediumInfo$Type();
|
|
345
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
346
279
|
class PncpSkillMessage$Type extends MessageType {
|
|
347
280
|
constructor() {
|
|
348
281
|
super("pncp.v1.PncpSkillMessage", [
|
|
@@ -779,11 +712,9 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
779
712
|
{ no: 1, name: "id", kind: "message", T: () => ConversationId },
|
|
780
713
|
{ no: 2, name: "message_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
781
714
|
{ no: 3, name: "time_created", kind: "message", T: () => Timestamp },
|
|
782
|
-
{ no: 4, name: "key", kind: "message", T: () => Value },
|
|
783
715
|
{ no: 5, name: "message", kind: "message", T: () => PncpMessage },
|
|
784
716
|
{ no: 6, name: "params", kind: "message", T: () => Value },
|
|
785
717
|
{ no: 7, name: "callback", kind: "message", T: () => Value },
|
|
786
|
-
{ no: 8, name: "medium", kind: "message", T: () => Value },
|
|
787
718
|
{ no: 9, name: "conversation_state", kind: "enum", T: () => ["pncp.v1.ConversationState", ConversationState] },
|
|
788
719
|
{ no: 10, name: "partition", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
789
720
|
]);
|
|
@@ -810,9 +741,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
810
741
|
case /* google.protobuf.Timestamp time_created */ 3:
|
|
811
742
|
message.timeCreated = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.timeCreated);
|
|
812
743
|
break;
|
|
813
|
-
case /* optional otonoma.common.Value key */ 4:
|
|
814
|
-
message.key = Value.internalBinaryRead(reader, reader.uint32(), options, message.key);
|
|
815
|
-
break;
|
|
816
744
|
case /* pncp.v1.PncpMessage message */ 5:
|
|
817
745
|
message.message = PncpMessage.internalBinaryRead(reader, reader.uint32(), options, message.message);
|
|
818
746
|
break;
|
|
@@ -822,9 +750,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
822
750
|
case /* optional otonoma.common.Value callback */ 7:
|
|
823
751
|
message.callback = Value.internalBinaryRead(reader, reader.uint32(), options, message.callback);
|
|
824
752
|
break;
|
|
825
|
-
case /* optional otonoma.common.Value medium */ 8:
|
|
826
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
827
|
-
break;
|
|
828
753
|
case /* pncp.v1.ConversationState conversation_state */ 9:
|
|
829
754
|
message.conversationState = reader.int32();
|
|
830
755
|
break;
|
|
@@ -852,9 +777,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
852
777
|
/* google.protobuf.Timestamp time_created = 3; */
|
|
853
778
|
if (message.timeCreated)
|
|
854
779
|
Timestamp.internalBinaryWrite(message.timeCreated, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
855
|
-
/* optional otonoma.common.Value key = 4; */
|
|
856
|
-
if (message.key)
|
|
857
|
-
Value.internalBinaryWrite(message.key, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
858
780
|
/* pncp.v1.PncpMessage message = 5; */
|
|
859
781
|
if (message.message)
|
|
860
782
|
PncpMessage.internalBinaryWrite(message.message, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -864,9 +786,6 @@ class PncpMessageCallback$Type extends MessageType {
|
|
|
864
786
|
/* optional otonoma.common.Value callback = 7; */
|
|
865
787
|
if (message.callback)
|
|
866
788
|
Value.internalBinaryWrite(message.callback, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
867
|
-
/* optional otonoma.common.Value medium = 8; */
|
|
868
|
-
if (message.medium)
|
|
869
|
-
Value.internalBinaryWrite(message.medium, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
870
789
|
/* pncp.v1.ConversationState conversation_state = 9; */
|
|
871
790
|
if (message.conversationState !== 0)
|
|
872
791
|
writer.tag(9, WireType.Varint).int32(message.conversationState);
|
|
@@ -888,8 +807,7 @@ class ParameterData$Type extends MessageType {
|
|
|
888
807
|
constructor() {
|
|
889
808
|
super("pncp.v1.ParameterData", [
|
|
890
809
|
{ no: 1, name: "provider", kind: "message", T: () => Value },
|
|
891
|
-
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
892
|
-
{ no: 3, name: "medium", kind: "message", T: () => Value }
|
|
810
|
+
{ no: 2, name: "skill", kind: "message", T: () => Value }
|
|
893
811
|
]);
|
|
894
812
|
}
|
|
895
813
|
create(value) {
|
|
@@ -909,9 +827,6 @@ class ParameterData$Type extends MessageType {
|
|
|
909
827
|
case /* optional otonoma.common.Value skill */ 2:
|
|
910
828
|
message.skill = Value.internalBinaryRead(reader, reader.uint32(), options, message.skill);
|
|
911
829
|
break;
|
|
912
|
-
case /* optional otonoma.common.Value medium */ 3:
|
|
913
|
-
message.medium = Value.internalBinaryRead(reader, reader.uint32(), options, message.medium);
|
|
914
|
-
break;
|
|
915
830
|
default:
|
|
916
831
|
let u = options.readUnknownField;
|
|
917
832
|
if (u === "throw")
|
|
@@ -930,9 +845,6 @@ class ParameterData$Type extends MessageType {
|
|
|
930
845
|
/* optional otonoma.common.Value skill = 2; */
|
|
931
846
|
if (message.skill)
|
|
932
847
|
Value.internalBinaryWrite(message.skill, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
933
|
-
/* optional otonoma.common.Value medium = 3; */
|
|
934
|
-
if (message.medium)
|
|
935
|
-
Value.internalBinaryWrite(message.medium, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
936
848
|
let u = options.writeUnknownFields;
|
|
937
849
|
if (u !== false)
|
|
938
850
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|