@otonoma/paranet-client 2.11.0-rc.18

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.
Files changed (75) hide show
  1. package/README.md +2 -0
  2. package/dist/client.d.ts +168 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/client.js +497 -0
  5. package/dist/graphql.d.ts +8 -0
  6. package/dist/graphql.d.ts.map +1 -0
  7. package/dist/graphql.js +113 -0
  8. package/dist/index.d.ts +12 -0
  9. package/dist/index.d.ts.map +1 -0
  10. package/dist/index.js +11 -0
  11. package/dist/pncp.d.ts +129 -0
  12. package/dist/pncp.d.ts.map +1 -0
  13. package/dist/pncp.js +100 -0
  14. package/dist/proto/broker.grpc.client.d.ts +154 -0
  15. package/dist/proto/broker.grpc.client.d.ts.map +1 -0
  16. package/dist/proto/broker.grpc.client.js +102 -0
  17. package/dist/proto/broker.grpc.d.ts +6 -0
  18. package/dist/proto/broker.grpc.d.ts.map +1 -0
  19. package/dist/proto/broker.grpc.js +32 -0
  20. package/dist/proto/broker_api.d.ts +324 -0
  21. package/dist/proto/broker_api.d.ts.map +1 -0
  22. package/dist/proto/broker_api.js +566 -0
  23. package/dist/proto/google/protobuf/descriptor.d.ts +2492 -0
  24. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  25. package/dist/proto/google/protobuf/descriptor.js +3250 -0
  26. package/dist/proto/google/protobuf/timestamp.d.ts +157 -0
  27. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  28. package/dist/proto/google/protobuf/timestamp.js +132 -0
  29. package/dist/proto/grpc/health/v1/health.client.d.ts +79 -0
  30. package/dist/proto/grpc/health/v1/health.client.d.ts.map +1 -0
  31. package/dist/proto/grpc/health/v1/health.client.js +46 -0
  32. package/dist/proto/grpc/health/v1/health.d.ts +74 -0
  33. package/dist/proto/grpc/health/v1/health.d.ts.map +1 -0
  34. package/dist/proto/grpc/health/v1/health.js +152 -0
  35. package/dist/proto/identifiers.d.ts +82 -0
  36. package/dist/proto/identifiers.d.ts.map +1 -0
  37. package/dist/proto/identifiers.js +132 -0
  38. package/dist/proto/mediums.d.ts +71 -0
  39. package/dist/proto/mediums.d.ts.map +1 -0
  40. package/dist/proto/mediums.js +120 -0
  41. package/dist/proto/observation.d.ts +287 -0
  42. package/dist/proto/observation.d.ts.map +1 -0
  43. package/dist/proto/observation.js +443 -0
  44. package/dist/proto/otonoma/common/value.d.ts +127 -0
  45. package/dist/proto/otonoma/common/value.d.ts.map +1 -0
  46. package/dist/proto/otonoma/common/value.js +248 -0
  47. package/dist/proto/pncp.d.ts +607 -0
  48. package/dist/proto/pncp.d.ts.map +1 -0
  49. package/dist/proto/pncp.js +936 -0
  50. package/dist/schema/paranet.d.ts +245 -0
  51. package/dist/schema/paranet.d.ts.map +1 -0
  52. package/dist/schema/paranet.js +7 -0
  53. package/dist/util.d.ts +5 -0
  54. package/dist/util.d.ts.map +1 -0
  55. package/dist/util.js +120 -0
  56. package/package.json +39 -0
  57. package/src/client.ts +677 -0
  58. package/src/graphql.ts +103 -0
  59. package/src/index.ts +14 -0
  60. package/src/pncp.ts +236 -0
  61. package/src/proto/broker.grpc.client.ts +193 -0
  62. package/src/proto/broker.grpc.ts +32 -0
  63. package/src/proto/broker_api.ts +778 -0
  64. package/src/proto/google/protobuf/descriptor.ts +4860 -0
  65. package/src/proto/google/protobuf/timestamp.ts +288 -0
  66. package/src/proto/grpc/health/v1/health.client.ts +106 -0
  67. package/src/proto/grpc/health/v1/health.ts +174 -0
  68. package/src/proto/identifiers.ts +176 -0
  69. package/src/proto/mediums.ts +168 -0
  70. package/src/proto/observation.ts +636 -0
  71. package/src/proto/otonoma/common/value.ts +334 -0
  72. package/src/proto/pncp.ts +1333 -0
  73. package/src/schema/paranet.ts +257 -0
  74. package/src/util.ts +129 -0
  75. package/tsconfig.json +27 -0
@@ -0,0 +1,607 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ import { Timestamp } from "./google/protobuf/timestamp";
8
+ import { EntityId } from "./identifiers";
9
+ import { ConversationId } from "./identifiers";
10
+ import { Value } from "./otonoma/common/value";
11
+ /**
12
+ * A core packet comprised of either a request or a message. Some APIs make use of this wrapped type
13
+ * instead of providing specific APIs for either request or messages.
14
+ *
15
+ * @generated from protobuf message pncp.v1.PncpPacket
16
+ */
17
+ export interface PncpPacket {
18
+ /**
19
+ * @generated from protobuf oneof: body
20
+ */
21
+ body: {
22
+ oneofKind: "request";
23
+ /**
24
+ * @generated from protobuf field: pncp.v1.PncpRequest request = 1;
25
+ */
26
+ request: PncpRequest;
27
+ } | {
28
+ oneofKind: "message";
29
+ /**
30
+ * @generated from protobuf field: pncp.v1.PncpMessage message = 2;
31
+ */
32
+ message: PncpMessage;
33
+ } | {
34
+ oneofKind: undefined;
35
+ };
36
+ }
37
+ /**
38
+ * A PNCP request begins a conversation between two actors.
39
+ *
40
+ * @generated from protobuf message pncp.v1.PncpRequest
41
+ */
42
+ export interface PncpRequest {
43
+ /**
44
+ * The core body to the request.
45
+ *
46
+ * @generated from protobuf field: pncp.v1.PncpSkillMessage body = 1;
47
+ */
48
+ body?: PncpSkillMessage;
49
+ /**
50
+ * Callback information provided on subsequent PNCP responses.
51
+ * This is mostly used to associate a request with a response on the actor side.
52
+ *
53
+ * @generated from protobuf field: optional otonoma.common.Value callback = 2;
54
+ */
55
+ callback?: Value;
56
+ /**
57
+ * Parent conversation ID, if this request is a sub request. If this is a new request this field
58
+ * must be left blank.
59
+ *
60
+ * @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 3;
61
+ */
62
+ parentId?: ConversationId;
63
+ /**
64
+ * Identity of the base actor is determined through the provided authentication token on the request.
65
+ * However, paraflow actors are able to run multiple versions of an actor at once and they will be
66
+ * marshalled through the same connection and authentication. As such, we need the actor to provide
67
+ * the author information in such cases.
68
+ *
69
+ * @generated from protobuf field: optional pncp.v1.EntityId author = 4;
70
+ */
71
+ author?: EntityId;
72
+ /**
73
+ * @generated from protobuf field: pncp.v1.SkillMatchStrategy match_strategy = 5;
74
+ */
75
+ matchStrategy: SkillMatchStrategy;
76
+ /**
77
+ * version request spec for the (subject, action) pair. If not provided, the default (typically latest)
78
+ * is used instead.
79
+ *
80
+ * @generated from protobuf field: optional string version_req = 6;
81
+ */
82
+ versionReq?: string;
83
+ /**
84
+ * Optionally specify the exact actor that should match.
85
+ *
86
+ * @generated from protobuf field: optional string target_actor_id = 7;
87
+ */
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
+ /**
100
+ * If this is true, a match is required to be made upon the initial request. If it is false, the
101
+ * broker can store the message and conversation in an unmatched state and rematch it at a later
102
+ * time based on later actor availability.
103
+ * If the corresponding skill is a `Broadcast` skill, this field is not considered as they are
104
+ * not matched.
105
+ *
106
+ * @generated from protobuf field: bool must_match = 10;
107
+ */
108
+ mustMatch: boolean;
109
+ /**
110
+ * Specifies whether this request should use the provided actor lock or not.
111
+ *
112
+ * @generated from protobuf field: bool use_lock = 11;
113
+ */
114
+ useLock: boolean;
115
+ /**
116
+ * If this is true, then the request can use open networking and search other open nodes on the
117
+ * network for a fulfiller if this node doesn't know of a fulfiller.
118
+ *
119
+ * @generated from protobuf field: bool allow_open_match = 12;
120
+ */
121
+ allowOpenMatch: boolean;
122
+ }
123
+ /**
124
+ * @generated from protobuf message pncp.v1.PncpRequestMediumInfo
125
+ */
126
+ export interface PncpRequestMediumInfo {
127
+ /**
128
+ * ID of the medium that made the request.
129
+ *
130
+ * @generated from protobuf field: pncp.v1.EntityId id = 1;
131
+ */
132
+ id?: EntityId;
133
+ /**
134
+ * Unique information identifying the user from the medium.
135
+ *
136
+ * @generated from protobuf field: optional otonoma.common.Value user_info = 2;
137
+ */
138
+ userInfo?: Value;
139
+ }
140
+ /**
141
+ * Represents a skill request message. This message is the core "body" of a `PncpRequest`.
142
+ *
143
+ * @generated from protobuf message pncp.v1.PncpSkillMessage
144
+ */
145
+ export interface PncpSkillMessage {
146
+ /**
147
+ * Subject of the request.
148
+ *
149
+ * @generated from protobuf field: string subject = 1;
150
+ */
151
+ subject: string;
152
+ /**
153
+ * Action associated with the request.
154
+ *
155
+ * @generated from protobuf field: string action = 2;
156
+ */
157
+ action: string;
158
+ /**
159
+ * The request data.
160
+ *
161
+ * @generated from protobuf field: otonoma.common.Value body = 5;
162
+ */
163
+ body?: Value;
164
+ /**
165
+ * Taint data labels
166
+ *
167
+ * @generated from protobuf field: optional string taint = 6;
168
+ */
169
+ taint?: string;
170
+ }
171
+ /**
172
+ * A PNCP Message is a message internal to a conversation. Notably, this does not include requests, which
173
+ * begin a conversation automatically per their request.
174
+ *
175
+ * @generated from protobuf message pncp.v1.PncpMessage
176
+ */
177
+ export interface PncpMessage {
178
+ /**
179
+ * The ID associated with this message.
180
+ *
181
+ * @generated from protobuf field: pncp.v1.ConversationId id = 1;
182
+ */
183
+ id?: ConversationId;
184
+ /**
185
+ * The kind of message. Certain other fields are only optionally present depending on the value
186
+ * of this field.
187
+ *
188
+ * @generated from protobuf field: pncp.v1.PncpMessageKind kind = 10;
189
+ */
190
+ kind: PncpMessageKind;
191
+ /**
192
+ * The core data of the message.
193
+ *
194
+ * @generated from protobuf field: otonoma.common.Value body = 11;
195
+ */
196
+ body?: Value;
197
+ /**
198
+ * @generated from protobuf oneof: extra
199
+ */
200
+ extra: {
201
+ oneofKind: "question";
202
+ /**
203
+ * @generated from protobuf field: pncp.v1.PncpQuestionEx question = 12;
204
+ */
205
+ question: PncpQuestionEx;
206
+ } | {
207
+ oneofKind: "answer";
208
+ /**
209
+ * @generated from protobuf field: pncp.v1.PncpAnswerEx answer = 13;
210
+ */
211
+ answer: PncpAnswerEx;
212
+ } | {
213
+ oneofKind: undefined;
214
+ };
215
+ /**
216
+ * Taint data labels
217
+ *
218
+ * @generated from protobuf field: optional string taint = 14;
219
+ */
220
+ taint?: string;
221
+ }
222
+ /**
223
+ * @generated from protobuf message pncp.v1.PncpQuestionEx
224
+ */
225
+ export interface PncpQuestionEx {
226
+ /**
227
+ * ID of the question.
228
+ *
229
+ * @generated from protobuf field: string id = 1;
230
+ */
231
+ id: string;
232
+ /**
233
+ * @generated from protobuf field: optional otonoma.common.Value callback = 2;
234
+ */
235
+ callback?: Value;
236
+ }
237
+ /**
238
+ * @generated from protobuf message pncp.v1.PncpAnswerEx
239
+ */
240
+ export interface PncpAnswerEx {
241
+ /**
242
+ * Message ID of the question being replied to.
243
+ *
244
+ * @generated from protobuf field: string reply_to = 1;
245
+ */
246
+ replyTo: string;
247
+ }
248
+ /**
249
+ * Response on the callback is a stream of these messages.
250
+ * The message format is a bit cumbersome as we are required to have one stream of messages.
251
+ *
252
+ * @generated from protobuf message pncp.v1.PncpCallback
253
+ */
254
+ export interface PncpCallback {
255
+ /**
256
+ * @generated from protobuf oneof: body
257
+ */
258
+ body: {
259
+ oneofKind: "skill";
260
+ /**
261
+ * @generated from protobuf field: pncp.v1.PncpRequestCallback skill = 1;
262
+ */
263
+ skill: PncpRequestCallback;
264
+ } | {
265
+ oneofKind: "message";
266
+ /**
267
+ * @generated from protobuf field: pncp.v1.PncpMessageCallback message = 2;
268
+ */
269
+ message: PncpMessageCallback;
270
+ } | {
271
+ oneofKind: undefined;
272
+ };
273
+ }
274
+ /**
275
+ * PncpRequestCallback is how skill requests are sent to actors for fulfillment.
276
+ *
277
+ * @generated from protobuf message pncp.v1.PncpRequestCallback
278
+ */
279
+ export interface PncpRequestCallback {
280
+ /**
281
+ * @generated from protobuf field: pncp.v1.ConversationId id = 1;
282
+ */
283
+ id?: ConversationId;
284
+ /**
285
+ * @generated from protobuf field: string message_id = 2;
286
+ */
287
+ messageId: string;
288
+ /**
289
+ * The core PNCP request body.
290
+ *
291
+ * @generated from protobuf field: pncp.v1.PncpSkillMessage body = 3;
292
+ */
293
+ body?: PncpSkillMessage;
294
+ /**
295
+ * Parent ID of the conversation that triggered this one, if one exists.
296
+ *
297
+ * @generated from protobuf field: optional pncp.v1.ConversationId parent_id = 4;
298
+ */
299
+ parentId?: ConversationId;
300
+ /**
301
+ * Time the conversation was created.
302
+ *
303
+ * @generated from protobuf field: google.protobuf.Timestamp time_created = 5;
304
+ */
305
+ timeCreated?: Timestamp;
306
+ /**
307
+ * Author of the request.
308
+ *
309
+ * @generated from protobuf field: pncp.v1.EntityId author_id = 6;
310
+ */
311
+ authorId?: EntityId;
312
+ /**
313
+ * The actor ID of the receiving actor. This is the reflection of the PncpRequest author field.
314
+ * See notes on PncpRequest.author for why this is necessary.
315
+ *
316
+ * @generated from protobuf field: optional pncp.v1.EntityId target_actor_id = 7;
317
+ */
318
+ targetActorId?: EntityId;
319
+ /**
320
+ * Parameter data. These fields are actor or skill specific metadata populated dynamically
321
+ * by the broker.
322
+ *
323
+ * @generated from protobuf field: pncp.v1.ParameterData parameters = 8;
324
+ */
325
+ parameters?: ParameterData;
326
+ /**
327
+ * @generated from protobuf field: uint32 flags = 9;
328
+ */
329
+ flags: number;
330
+ }
331
+ /**
332
+ * Context flags (default 0)
333
+ *
334
+ * @generated from protobuf enum pncp.v1.PncpRequestCallback.CallbackFlags
335
+ */
336
+ export declare enum PncpRequestCallback_CallbackFlags {
337
+ /**
338
+ * @generated from protobuf enum value: FLAG_NONE = 0;
339
+ */
340
+ FLAG_NONE = 0,
341
+ /**
342
+ * privileged actor request
343
+ *
344
+ * @generated from protobuf enum value: FLAG_PRIVILEGED = 1;
345
+ */
346
+ FLAG_PRIVILEGED = 1
347
+ }
348
+ /**
349
+ * A message callback is a callback containing a message sent to an actor.
350
+ * This is how PncpMessages are routed to an actor.
351
+ *
352
+ * @generated from protobuf message pncp.v1.PncpMessageCallback
353
+ */
354
+ export interface PncpMessageCallback {
355
+ /**
356
+ * @generated from protobuf field: pncp.v1.ConversationId id = 1;
357
+ */
358
+ id?: ConversationId;
359
+ /**
360
+ * @generated from protobuf field: string message_id = 2;
361
+ */
362
+ messageId: string;
363
+ /**
364
+ * @generated from protobuf field: google.protobuf.Timestamp time_created = 3;
365
+ */
366
+ timeCreated?: Timestamp;
367
+ /**
368
+ * Returned key from initial request.
369
+ *
370
+ * @generated from protobuf field: optional otonoma.common.Value key = 4;
371
+ */
372
+ key?: Value;
373
+ /**
374
+ * The core body of the message.
375
+ *
376
+ * @generated from protobuf field: pncp.v1.PncpMessage message = 5;
377
+ */
378
+ message?: PncpMessage;
379
+ /**
380
+ * Certain message types (notably: Question) can provide params.
381
+ *
382
+ * @generated from protobuf field: optional otonoma.common.Value params = 6;
383
+ */
384
+ params?: Value;
385
+ /**
386
+ * Callback provided on the initial message.
387
+ *
388
+ * @generated from protobuf field: optional otonoma.common.Value callback = 7;
389
+ */
390
+ callback?: Value;
391
+ /**
392
+ * TODO: Do we need this?
393
+ *
394
+ * @generated from protobuf field: optional otonoma.common.Value medium = 8;
395
+ */
396
+ medium?: Value;
397
+ /**
398
+ * @generated from protobuf field: pncp.v1.ConversationState conversation_state = 9;
399
+ */
400
+ conversationState: ConversationState;
401
+ }
402
+ /**
403
+ * @generated from protobuf message pncp.v1.ParameterData
404
+ */
405
+ export interface ParameterData {
406
+ /**
407
+ * @generated from protobuf field: optional otonoma.common.Value provider = 1;
408
+ */
409
+ provider?: Value;
410
+ /**
411
+ * @generated from protobuf field: optional otonoma.common.Value skill = 2;
412
+ */
413
+ skill?: Value;
414
+ /**
415
+ * @generated from protobuf field: optional otonoma.common.Value medium = 3;
416
+ */
417
+ medium?: Value;
418
+ }
419
+ /**
420
+ * Match strategy. Defaults to `BEST`.
421
+ *
422
+ * @generated from protobuf enum pncp.v1.SkillMatchStrategy
423
+ */
424
+ export declare enum SkillMatchStrategy {
425
+ /**
426
+ * @generated from protobuf enum value: BEST = 0;
427
+ */
428
+ BEST = 0,
429
+ /**
430
+ * @generated from protobuf enum value: FIRST = 1;
431
+ */
432
+ FIRST = 1,
433
+ /**
434
+ * @generated from protobuf enum value: STRICT = 2;
435
+ */
436
+ STRICT = 2
437
+ }
438
+ /**
439
+ * @generated from protobuf enum pncp.v1.PncpMessageKind
440
+ */
441
+ export declare enum PncpMessageKind {
442
+ /**
443
+ * @generated from protobuf enum value: PNCP_RESPONSE = 0;
444
+ */
445
+ PNCP_RESPONSE = 0,
446
+ /**
447
+ * @generated from protobuf enum value: PNCP_STATUS = 1;
448
+ */
449
+ PNCP_STATUS = 1,
450
+ /**
451
+ * @generated from protobuf enum value: PNCP_CANCEL = 2;
452
+ */
453
+ PNCP_CANCEL = 2,
454
+ /**
455
+ * @generated from protobuf enum value: PNCP_ERROR = 3;
456
+ */
457
+ PNCP_ERROR = 3,
458
+ /**
459
+ * @generated from protobuf enum value: PNCP_QUESTION = 4;
460
+ */
461
+ PNCP_QUESTION = 4,
462
+ /**
463
+ * @generated from protobuf enum value: PNCP_ANSWER = 5;
464
+ */
465
+ PNCP_ANSWER = 5
466
+ }
467
+ /**
468
+ * @generated from protobuf enum pncp.v1.ConversationState
469
+ */
470
+ export declare enum ConversationState {
471
+ /**
472
+ * @generated from protobuf enum value: STATE_IN_PROGRESS = 0;
473
+ */
474
+ STATE_IN_PROGRESS = 0,
475
+ /**
476
+ * @generated from protobuf enum value: STATE_COMPLETED = 1;
477
+ */
478
+ STATE_COMPLETED = 1,
479
+ /**
480
+ * @generated from protobuf enum value: STATE_ERRORED = 2;
481
+ */
482
+ STATE_ERRORED = 2,
483
+ /**
484
+ * @generated from protobuf enum value: STATE_CANCELED = 3;
485
+ */
486
+ STATE_CANCELED = 3,
487
+ /**
488
+ * @generated from protobuf enum value: STATE_UNMATCHED = 4;
489
+ */
490
+ STATE_UNMATCHED = 4,
491
+ /**
492
+ * @generated from protobuf enum value: STATE_NETWORKING = 5;
493
+ */
494
+ STATE_NETWORKING = 5
495
+ }
496
+ declare class PncpPacket$Type extends MessageType<PncpPacket> {
497
+ constructor();
498
+ create(value?: PartialMessage<PncpPacket>): PncpPacket;
499
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpPacket): PncpPacket;
500
+ internalBinaryWrite(message: PncpPacket, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
501
+ }
502
+ /**
503
+ * @generated MessageType for protobuf message pncp.v1.PncpPacket
504
+ */
505
+ export declare const PncpPacket: PncpPacket$Type;
506
+ declare class PncpRequest$Type extends MessageType<PncpRequest> {
507
+ constructor();
508
+ create(value?: PartialMessage<PncpRequest>): PncpRequest;
509
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpRequest): PncpRequest;
510
+ internalBinaryWrite(message: PncpRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
511
+ }
512
+ /**
513
+ * @generated MessageType for protobuf message pncp.v1.PncpRequest
514
+ */
515
+ export declare const PncpRequest: PncpRequest$Type;
516
+ declare class PncpRequestMediumInfo$Type extends MessageType<PncpRequestMediumInfo> {
517
+ constructor();
518
+ create(value?: PartialMessage<PncpRequestMediumInfo>): PncpRequestMediumInfo;
519
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpRequestMediumInfo): PncpRequestMediumInfo;
520
+ internalBinaryWrite(message: PncpRequestMediumInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
521
+ }
522
+ /**
523
+ * @generated MessageType for protobuf message pncp.v1.PncpRequestMediumInfo
524
+ */
525
+ export declare const PncpRequestMediumInfo: PncpRequestMediumInfo$Type;
526
+ declare class PncpSkillMessage$Type extends MessageType<PncpSkillMessage> {
527
+ constructor();
528
+ create(value?: PartialMessage<PncpSkillMessage>): PncpSkillMessage;
529
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpSkillMessage): PncpSkillMessage;
530
+ internalBinaryWrite(message: PncpSkillMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
531
+ }
532
+ /**
533
+ * @generated MessageType for protobuf message pncp.v1.PncpSkillMessage
534
+ */
535
+ export declare const PncpSkillMessage: PncpSkillMessage$Type;
536
+ declare class PncpMessage$Type extends MessageType<PncpMessage> {
537
+ constructor();
538
+ create(value?: PartialMessage<PncpMessage>): PncpMessage;
539
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpMessage): PncpMessage;
540
+ internalBinaryWrite(message: PncpMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
541
+ }
542
+ /**
543
+ * @generated MessageType for protobuf message pncp.v1.PncpMessage
544
+ */
545
+ export declare const PncpMessage: PncpMessage$Type;
546
+ declare class PncpQuestionEx$Type extends MessageType<PncpQuestionEx> {
547
+ constructor();
548
+ create(value?: PartialMessage<PncpQuestionEx>): PncpQuestionEx;
549
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpQuestionEx): PncpQuestionEx;
550
+ internalBinaryWrite(message: PncpQuestionEx, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
551
+ }
552
+ /**
553
+ * @generated MessageType for protobuf message pncp.v1.PncpQuestionEx
554
+ */
555
+ export declare const PncpQuestionEx: PncpQuestionEx$Type;
556
+ declare class PncpAnswerEx$Type extends MessageType<PncpAnswerEx> {
557
+ constructor();
558
+ create(value?: PartialMessage<PncpAnswerEx>): PncpAnswerEx;
559
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpAnswerEx): PncpAnswerEx;
560
+ internalBinaryWrite(message: PncpAnswerEx, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
561
+ }
562
+ /**
563
+ * @generated MessageType for protobuf message pncp.v1.PncpAnswerEx
564
+ */
565
+ export declare const PncpAnswerEx: PncpAnswerEx$Type;
566
+ declare class PncpCallback$Type extends MessageType<PncpCallback> {
567
+ constructor();
568
+ create(value?: PartialMessage<PncpCallback>): PncpCallback;
569
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpCallback): PncpCallback;
570
+ internalBinaryWrite(message: PncpCallback, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
571
+ }
572
+ /**
573
+ * @generated MessageType for protobuf message pncp.v1.PncpCallback
574
+ */
575
+ export declare const PncpCallback: PncpCallback$Type;
576
+ declare class PncpRequestCallback$Type extends MessageType<PncpRequestCallback> {
577
+ constructor();
578
+ create(value?: PartialMessage<PncpRequestCallback>): PncpRequestCallback;
579
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpRequestCallback): PncpRequestCallback;
580
+ internalBinaryWrite(message: PncpRequestCallback, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
581
+ }
582
+ /**
583
+ * @generated MessageType for protobuf message pncp.v1.PncpRequestCallback
584
+ */
585
+ export declare const PncpRequestCallback: PncpRequestCallback$Type;
586
+ declare class PncpMessageCallback$Type extends MessageType<PncpMessageCallback> {
587
+ constructor();
588
+ create(value?: PartialMessage<PncpMessageCallback>): PncpMessageCallback;
589
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: PncpMessageCallback): PncpMessageCallback;
590
+ internalBinaryWrite(message: PncpMessageCallback, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
591
+ }
592
+ /**
593
+ * @generated MessageType for protobuf message pncp.v1.PncpMessageCallback
594
+ */
595
+ export declare const PncpMessageCallback: PncpMessageCallback$Type;
596
+ declare class ParameterData$Type extends MessageType<ParameterData> {
597
+ constructor();
598
+ create(value?: PartialMessage<ParameterData>): ParameterData;
599
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParameterData): ParameterData;
600
+ internalBinaryWrite(message: ParameterData, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
601
+ }
602
+ /**
603
+ * @generated MessageType for protobuf message pncp.v1.ParameterData
604
+ */
605
+ export declare const ParameterData: ParameterData$Type;
606
+ export {};
607
+ //# sourceMappingURL=pncp.d.ts.map
@@ -0,0 +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,gBA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