This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
compiled.d.ts
5274 lines (4338 loc) · 219 KB
/
compiled.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import * as $protobuf from "protobufjs";
/** Properties of a FulfillmentAgreement. */
export interface IFulfillmentAgreement {
/** FulfillmentAgreement nodePubkeys */
nodePubkeys?: (Uint8Array[]|null);
/** FulfillmentAgreement requested */
requested?: (boolean|null);
}
/** Represents a FulfillmentAgreement. */
export class FulfillmentAgreement implements IFulfillmentAgreement {
/**
* Constructs a new FulfillmentAgreement.
* @param [properties] Properties to set
*/
constructor(properties?: IFulfillmentAgreement);
/** FulfillmentAgreement nodePubkeys. */
public nodePubkeys: Uint8Array[];
/** FulfillmentAgreement requested. */
public requested: boolean;
/**
* Creates a new FulfillmentAgreement instance using the specified properties.
* @param [properties] Properties to set
* @returns FulfillmentAgreement instance
*/
public static create(properties?: IFulfillmentAgreement): FulfillmentAgreement;
/**
* Encodes the specified FulfillmentAgreement message. Does not implicitly {@link FulfillmentAgreement.verify|verify} messages.
* @param message FulfillmentAgreement message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: IFulfillmentAgreement, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified FulfillmentAgreement message, length delimited. Does not implicitly {@link FulfillmentAgreement.verify|verify} messages.
* @param message FulfillmentAgreement message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: IFulfillmentAgreement, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a FulfillmentAgreement message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns FulfillmentAgreement
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): FulfillmentAgreement;
/**
* Decodes a FulfillmentAgreement message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns FulfillmentAgreement
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): FulfillmentAgreement;
/**
* Verifies a FulfillmentAgreement message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a FulfillmentAgreement message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns FulfillmentAgreement
*/
public static fromObject(object: { [k: string]: any }): FulfillmentAgreement;
/**
* Creates a plain object from a FulfillmentAgreement message. Also converts values to other types if specified.
* @param message FulfillmentAgreement
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: FulfillmentAgreement, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this FulfillmentAgreement to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a RoundResult. */
export interface IRoundResult {
/** RoundResult numSuccess */
numSuccess?: (number|null);
/** RoundResult numError */
numError?: (number|null);
/** RoundResult result */
result?: (number|null);
/** RoundResult roundOpenSlot */
roundOpenSlot?: (number|Long|null);
/** RoundResult roundOpenTimestamp */
roundOpenTimestamp?: (number|Long|null);
/** RoundResult minResponse */
minResponse?: (number|null);
/** RoundResult maxResponse */
maxResponse?: (number|null);
/** RoundResult medians */
medians?: (number[]|null);
}
/** Represents a RoundResult. */
export class RoundResult implements IRoundResult {
/**
* Constructs a new RoundResult.
* @param [properties] Properties to set
*/
constructor(properties?: IRoundResult);
/** RoundResult numSuccess. */
public numSuccess: number;
/** RoundResult numError. */
public numError: number;
/** RoundResult result. */
public result: number;
/** RoundResult roundOpenSlot. */
public roundOpenSlot: (number|Long);
/** RoundResult roundOpenTimestamp. */
public roundOpenTimestamp: (number|Long);
/** RoundResult minResponse. */
public minResponse: number;
/** RoundResult maxResponse. */
public maxResponse: number;
/** RoundResult medians. */
public medians: number[];
/**
* Creates a new RoundResult instance using the specified properties.
* @param [properties] Properties to set
* @returns RoundResult instance
*/
public static create(properties?: IRoundResult): RoundResult;
/**
* Encodes the specified RoundResult message. Does not implicitly {@link RoundResult.verify|verify} messages.
* @param message RoundResult message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: IRoundResult, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified RoundResult message, length delimited. Does not implicitly {@link RoundResult.verify|verify} messages.
* @param message RoundResult message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: IRoundResult, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a RoundResult message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns RoundResult
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): RoundResult;
/**
* Decodes a RoundResult message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns RoundResult
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): RoundResult;
/**
* Verifies a RoundResult message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a RoundResult message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns RoundResult
*/
public static fromObject(object: { [k: string]: any }): RoundResult;
/**
* Creates a plain object from a RoundResult message. Also converts values to other types if specified.
* @param message RoundResult
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: RoundResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this RoundResult to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of an AggregatorState. */
export interface IAggregatorState {
/** AggregatorState version */
version?: (number|null);
/** AggregatorState configs */
configs?: (AggregatorState.IConfigs|null);
/** AggregatorState fulfillmentManagerPubkey */
fulfillmentManagerPubkey?: (Uint8Array|null);
/** AggregatorState jobDefinitionPubkeys */
jobDefinitionPubkeys?: (Uint8Array[]|null);
/** AggregatorState agreement */
agreement?: (IFulfillmentAgreement|null);
/** AggregatorState currentRoundResult */
currentRoundResult?: (IRoundResult|null);
/** AggregatorState lastRoundResult */
lastRoundResult?: (IRoundResult|null);
/** AggregatorState parseOptimizedResultAddress */
parseOptimizedResultAddress?: (Uint8Array|null);
/** AggregatorState bundleAuthAddresses */
bundleAuthAddresses?: (Uint8Array[]|null);
}
/** Represents an AggregatorState. */
export class AggregatorState implements IAggregatorState {
/**
* Constructs a new AggregatorState.
* @param [properties] Properties to set
*/
constructor(properties?: IAggregatorState);
/** AggregatorState version. */
public version: number;
/** AggregatorState configs. */
public configs?: (AggregatorState.IConfigs|null);
/** AggregatorState fulfillmentManagerPubkey. */
public fulfillmentManagerPubkey: Uint8Array;
/** AggregatorState jobDefinitionPubkeys. */
public jobDefinitionPubkeys: Uint8Array[];
/** AggregatorState agreement. */
public agreement?: (IFulfillmentAgreement|null);
/** AggregatorState currentRoundResult. */
public currentRoundResult?: (IRoundResult|null);
/** AggregatorState lastRoundResult. */
public lastRoundResult?: (IRoundResult|null);
/** AggregatorState parseOptimizedResultAddress. */
public parseOptimizedResultAddress: Uint8Array;
/** AggregatorState bundleAuthAddresses. */
public bundleAuthAddresses: Uint8Array[];
/**
* Creates a new AggregatorState instance using the specified properties.
* @param [properties] Properties to set
* @returns AggregatorState instance
*/
public static create(properties?: IAggregatorState): AggregatorState;
/**
* Encodes the specified AggregatorState message. Does not implicitly {@link AggregatorState.verify|verify} messages.
* @param message AggregatorState message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: IAggregatorState, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified AggregatorState message, length delimited. Does not implicitly {@link AggregatorState.verify|verify} messages.
* @param message AggregatorState message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: IAggregatorState, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an AggregatorState message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns AggregatorState
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AggregatorState;
/**
* Decodes an AggregatorState message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns AggregatorState
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AggregatorState;
/**
* Verifies an AggregatorState message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an AggregatorState message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns AggregatorState
*/
public static fromObject(object: { [k: string]: any }): AggregatorState;
/**
* Creates a plain object from an AggregatorState message. Also converts values to other types if specified.
* @param message AggregatorState
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: AggregatorState, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this AggregatorState to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
export namespace AggregatorState {
/** Properties of a Configs. */
interface IConfigs {
/** Configs locked */
locked?: (boolean|null);
/** Configs minConfirmations */
minConfirmations?: (number|null);
/** Configs minUpdateDelaySeconds */
minUpdateDelaySeconds?: (number|Long|null);
/** Configs schedule */
schedule?: (string|null);
}
/** Represents a Configs. */
class Configs implements IConfigs {
/**
* Constructs a new Configs.
* @param [properties] Properties to set
*/
constructor(properties?: AggregatorState.IConfigs);
/** Configs locked. */
public locked: boolean;
/** Configs minConfirmations. */
public minConfirmations: number;
/** Configs minUpdateDelaySeconds. */
public minUpdateDelaySeconds: (number|Long);
/** Configs schedule. */
public schedule: string;
/**
* Creates a new Configs instance using the specified properties.
* @param [properties] Properties to set
* @returns Configs instance
*/
public static create(properties?: AggregatorState.IConfigs): AggregatorState.Configs;
/**
* Encodes the specified Configs message. Does not implicitly {@link AggregatorState.Configs.verify|verify} messages.
* @param message Configs message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: AggregatorState.IConfigs, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Configs message, length delimited. Does not implicitly {@link AggregatorState.Configs.verify|verify} messages.
* @param message Configs message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: AggregatorState.IConfigs, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Configs message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Configs
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AggregatorState.Configs;
/**
* Decodes a Configs message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Configs
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AggregatorState.Configs;
/**
* Verifies a Configs message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Configs message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Configs
*/
public static fromObject(object: { [k: string]: any }): AggregatorState.Configs;
/**
* Creates a plain object from a Configs message. Also converts values to other types if specified.
* @param message Configs
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: AggregatorState.Configs, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Configs to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
}
/** Properties of an OracleJob. */
export interface IOracleJob {
/** OracleJob tasks */
tasks?: (OracleJob.ITask[]|null);
}
/** Represents an OracleJob. */
export class OracleJob implements IOracleJob {
/**
* Constructs a new OracleJob.
* @param [properties] Properties to set
*/
constructor(properties?: IOracleJob);
/** OracleJob tasks. */
public tasks: OracleJob.ITask[];
/**
* Creates a new OracleJob instance using the specified properties.
* @param [properties] Properties to set
* @returns OracleJob instance
*/
public static create(properties?: IOracleJob): OracleJob;
/**
* Encodes the specified OracleJob message. Does not implicitly {@link OracleJob.verify|verify} messages.
* @param message OracleJob message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: IOracleJob, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified OracleJob message, length delimited. Does not implicitly {@link OracleJob.verify|verify} messages.
* @param message OracleJob message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: IOracleJob, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes an OracleJob message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns OracleJob
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OracleJob;
/**
* Decodes an OracleJob message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns OracleJob
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OracleJob;
/**
* Verifies an OracleJob message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates an OracleJob message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns OracleJob
*/
public static fromObject(object: { [k: string]: any }): OracleJob;
/**
* Creates a plain object from an OracleJob message. Also converts values to other types if specified.
* @param message OracleJob
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: OracleJob, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this OracleJob to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
export namespace OracleJob {
/** Properties of a HttpTask. */
interface IHttpTask {
/** HttpTask url */
url?: (string|null);
/** HttpTask method */
method?: (OracleJob.HttpTask.Method|null);
/** HttpTask headers */
headers?: (OracleJob.HttpTask.IHeader[]|null);
/** HttpTask body */
body?: (string|null);
}
/** Represents a HttpTask. */
class HttpTask implements IHttpTask {
/**
* Constructs a new HttpTask.
* @param [properties] Properties to set
*/
constructor(properties?: OracleJob.IHttpTask);
/** HttpTask url. */
public url: string;
/** HttpTask method. */
public method: OracleJob.HttpTask.Method;
/** HttpTask headers. */
public headers: OracleJob.HttpTask.IHeader[];
/** HttpTask body. */
public body: string;
/**
* Creates a new HttpTask instance using the specified properties.
* @param [properties] Properties to set
* @returns HttpTask instance
*/
public static create(properties?: OracleJob.IHttpTask): OracleJob.HttpTask;
/**
* Encodes the specified HttpTask message. Does not implicitly {@link OracleJob.HttpTask.verify|verify} messages.
* @param message HttpTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: OracleJob.IHttpTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified HttpTask message, length delimited. Does not implicitly {@link OracleJob.HttpTask.verify|verify} messages.
* @param message HttpTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: OracleJob.IHttpTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a HttpTask message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns HttpTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OracleJob.HttpTask;
/**
* Decodes a HttpTask message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns HttpTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OracleJob.HttpTask;
/**
* Verifies a HttpTask message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a HttpTask message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns HttpTask
*/
public static fromObject(object: { [k: string]: any }): OracleJob.HttpTask;
/**
* Creates a plain object from a HttpTask message. Also converts values to other types if specified.
* @param message HttpTask
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: OracleJob.HttpTask, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this HttpTask to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
namespace HttpTask {
/** Method enum. */
enum Method {
METHOD_UNKOWN = 0,
METHOD_GET = 1,
METHOD_POST = 2
}
/** Properties of a Header. */
interface IHeader {
/** Header key */
key?: (string|null);
/** Header value */
value?: (string|null);
}
/** Represents a Header. */
class Header implements IHeader {
/**
* Constructs a new Header.
* @param [properties] Properties to set
*/
constructor(properties?: OracleJob.HttpTask.IHeader);
/** Header key. */
public key: string;
/** Header value. */
public value: string;
/**
* Creates a new Header instance using the specified properties.
* @param [properties] Properties to set
* @returns Header instance
*/
public static create(properties?: OracleJob.HttpTask.IHeader): OracleJob.HttpTask.Header;
/**
* Encodes the specified Header message. Does not implicitly {@link OracleJob.HttpTask.Header.verify|verify} messages.
* @param message Header message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: OracleJob.HttpTask.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified Header message, length delimited. Does not implicitly {@link OracleJob.HttpTask.Header.verify|verify} messages.
* @param message Header message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: OracleJob.HttpTask.IHeader, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a Header message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns Header
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OracleJob.HttpTask.Header;
/**
* Decodes a Header message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns Header
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OracleJob.HttpTask.Header;
/**
* Verifies a Header message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a Header message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns Header
*/
public static fromObject(object: { [k: string]: any }): OracleJob.HttpTask.Header;
/**
* Creates a plain object from a Header message. Also converts values to other types if specified.
* @param message Header
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: OracleJob.HttpTask.Header, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this Header to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
}
/** Properties of a JsonParseTask. */
interface IJsonParseTask {
/** JsonParseTask path */
path?: (string|null);
}
/** Represents a JsonParseTask. */
class JsonParseTask implements IJsonParseTask {
/**
* Constructs a new JsonParseTask.
* @param [properties] Properties to set
*/
constructor(properties?: OracleJob.IJsonParseTask);
/** JsonParseTask path. */
public path: string;
/**
* Creates a new JsonParseTask instance using the specified properties.
* @param [properties] Properties to set
* @returns JsonParseTask instance
*/
public static create(properties?: OracleJob.IJsonParseTask): OracleJob.JsonParseTask;
/**
* Encodes the specified JsonParseTask message. Does not implicitly {@link OracleJob.JsonParseTask.verify|verify} messages.
* @param message JsonParseTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: OracleJob.IJsonParseTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified JsonParseTask message, length delimited. Does not implicitly {@link OracleJob.JsonParseTask.verify|verify} messages.
* @param message JsonParseTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: OracleJob.IJsonParseTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a JsonParseTask message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns JsonParseTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OracleJob.JsonParseTask;
/**
* Decodes a JsonParseTask message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns JsonParseTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OracleJob.JsonParseTask;
/**
* Verifies a JsonParseTask message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a JsonParseTask message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns JsonParseTask
*/
public static fromObject(object: { [k: string]: any }): OracleJob.JsonParseTask;
/**
* Creates a plain object from a JsonParseTask message. Also converts values to other types if specified.
* @param message JsonParseTask
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: OracleJob.JsonParseTask, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this JsonParseTask to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a MedianTask. */
interface IMedianTask {
/** MedianTask tasks */
tasks?: (OracleJob.ITask[]|null);
/** MedianTask jobs */
jobs?: (IOracleJob[]|null);
}
/** Represents a MedianTask. */
class MedianTask implements IMedianTask {
/**
* Constructs a new MedianTask.
* @param [properties] Properties to set
*/
constructor(properties?: OracleJob.IMedianTask);
/** MedianTask tasks. */
public tasks: OracleJob.ITask[];
/** MedianTask jobs. */
public jobs: IOracleJob[];
/**
* Creates a new MedianTask instance using the specified properties.
* @param [properties] Properties to set
* @returns MedianTask instance
*/
public static create(properties?: OracleJob.IMedianTask): OracleJob.MedianTask;
/**
* Encodes the specified MedianTask message. Does not implicitly {@link OracleJob.MedianTask.verify|verify} messages.
* @param message MedianTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encode(message: OracleJob.IMedianTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Encodes the specified MedianTask message, length delimited. Does not implicitly {@link OracleJob.MedianTask.verify|verify} messages.
* @param message MedianTask message or plain object to encode
* @param [writer] Writer to encode to
* @returns Writer
*/
public static encodeDelimited(message: OracleJob.IMedianTask, writer?: $protobuf.Writer): $protobuf.Writer;
/**
* Decodes a MedianTask message from the specified reader or buffer.
* @param reader Reader or buffer to decode from
* @param [length] Message length if known beforehand
* @returns MedianTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): OracleJob.MedianTask;
/**
* Decodes a MedianTask message from the specified reader or buffer, length delimited.
* @param reader Reader or buffer to decode from
* @returns MedianTask
* @throws {Error} If the payload is not a reader or valid buffer
* @throws {$protobuf.util.ProtocolError} If required fields are missing
*/
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): OracleJob.MedianTask;
/**
* Verifies a MedianTask message.
* @param message Plain object to verify
* @returns `null` if valid, otherwise the reason why it is not
*/
public static verify(message: { [k: string]: any }): (string|null);
/**
* Creates a MedianTask message from a plain object. Also converts values to their respective internal types.
* @param object Plain object
* @returns MedianTask
*/
public static fromObject(object: { [k: string]: any }): OracleJob.MedianTask;
/**
* Creates a plain object from a MedianTask message. Also converts values to other types if specified.
* @param message MedianTask
* @param [options] Conversion options
* @returns Plain object
*/
public static toObject(message: OracleJob.MedianTask, options?: $protobuf.IConversionOptions): { [k: string]: any };
/**
* Converts this MedianTask to JSON.
* @returns JSON object
*/
public toJSON(): { [k: string]: any };
}
/** Properties of a MeanTask. */
interface IMeanTask {
/** MeanTask tasks */
tasks?: (OracleJob.ITask[]|null);
/** MeanTask jobs */
jobs?: (IOracleJob[]|null);
}
/** Represents a MeanTask. */
class MeanTask implements IMeanTask {
/**
* Constructs a new MeanTask.
* @param [properties] Properties to set
*/
constructor(properties?: OracleJob.IMeanTask);
/** MeanTask tasks. */
public tasks: OracleJob.ITask[];
/** MeanTask jobs. */
public jobs: IOracleJob[];
/**
* Creates a new MeanTask instance using the specified properties.
* @param [properties] Properties to set
* @returns MeanTask instance
*/