@injectivelabs/indexer-proto-ts-v2 1.18.18 → 1.18.19
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.
|
@@ -25,17 +25,13 @@ import type { StreamSettlementResponse } from "./injective_rfq_rpc_pb";
|
|
|
25
25
|
import type { StreamSettlementRequest } from "./injective_rfq_rpc_pb";
|
|
26
26
|
import type { ListSettlementResponse } from "./injective_rfq_rpc_pb";
|
|
27
27
|
import type { ListSettlementRequest } from "./injective_rfq_rpc_pb";
|
|
28
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
28
29
|
import type { StreamQuoteResponse } from "./injective_rfq_rpc_pb";
|
|
29
30
|
import type { StreamQuoteRequest } from "./injective_rfq_rpc_pb";
|
|
30
|
-
import
|
|
31
|
-
import type { QuoteRequest } from "./injective_rfq_rpc_pb";
|
|
31
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
32
32
|
import type { StreamRequestResponse } from "./injective_rfq_rpc_pb";
|
|
33
33
|
import type { StreamRequestRequest } from "./injective_rfq_rpc_pb";
|
|
34
34
|
import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
|
|
35
|
-
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
36
|
-
import type { RequestResponse } from "./injective_rfq_rpc_pb";
|
|
37
|
-
import type { RequestRequest } from "./injective_rfq_rpc_pb";
|
|
38
|
-
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
39
35
|
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
40
36
|
/**
|
|
41
37
|
* InjectiveRfqRPC defines gRPC API of the RFQ (Request for Quote) API.
|
|
@@ -43,24 +39,12 @@ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
|
43
39
|
* @generated from protobuf service injective_rfq_rpc.InjectiveRfqRPC
|
|
44
40
|
*/
|
|
45
41
|
export interface IInjectiveRfqRPCClient {
|
|
46
|
-
/**
|
|
47
|
-
* Create RFQ request
|
|
48
|
-
*
|
|
49
|
-
* @generated from protobuf rpc: Request
|
|
50
|
-
*/
|
|
51
|
-
request(input: RequestRequest, options?: RpcOptions): UnaryCall<RequestRequest, RequestResponse>;
|
|
52
42
|
/**
|
|
53
43
|
* Stream RFQ requests
|
|
54
44
|
*
|
|
55
45
|
* @generated from protobuf rpc: StreamRequest
|
|
56
46
|
*/
|
|
57
47
|
streamRequest(input: StreamRequestRequest, options?: RpcOptions): ServerStreamingCall<StreamRequestRequest, StreamRequestResponse>;
|
|
58
|
-
/**
|
|
59
|
-
* Create RFQ quote
|
|
60
|
-
*
|
|
61
|
-
* @generated from protobuf rpc: Quote
|
|
62
|
-
*/
|
|
63
|
-
quote(input: QuoteRequest, options?: RpcOptions): UnaryCall<QuoteRequest, QuoteResponse>;
|
|
64
48
|
/**
|
|
65
49
|
* Stream RFQ quotes
|
|
66
50
|
*
|
|
@@ -115,40 +99,22 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
115
99
|
options = InjectiveRfqRPC.options;
|
|
116
100
|
constructor(private readonly _transport: RpcTransport) {
|
|
117
101
|
}
|
|
118
|
-
/**
|
|
119
|
-
* Create RFQ request
|
|
120
|
-
*
|
|
121
|
-
* @generated from protobuf rpc: Request
|
|
122
|
-
*/
|
|
123
|
-
request(input: RequestRequest, options?: RpcOptions): UnaryCall<RequestRequest, RequestResponse> {
|
|
124
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
125
|
-
return stackIntercept<RequestRequest, RequestResponse>("unary", this._transport, method, opt, input);
|
|
126
|
-
}
|
|
127
102
|
/**
|
|
128
103
|
* Stream RFQ requests
|
|
129
104
|
*
|
|
130
105
|
* @generated from protobuf rpc: StreamRequest
|
|
131
106
|
*/
|
|
132
107
|
streamRequest(input: StreamRequestRequest, options?: RpcOptions): ServerStreamingCall<StreamRequestRequest, StreamRequestResponse> {
|
|
133
|
-
const method = this.methods[
|
|
108
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
134
109
|
return stackIntercept<StreamRequestRequest, StreamRequestResponse>("serverStreaming", this._transport, method, opt, input);
|
|
135
110
|
}
|
|
136
|
-
/**
|
|
137
|
-
* Create RFQ quote
|
|
138
|
-
*
|
|
139
|
-
* @generated from protobuf rpc: Quote
|
|
140
|
-
*/
|
|
141
|
-
quote(input: QuoteRequest, options?: RpcOptions): UnaryCall<QuoteRequest, QuoteResponse> {
|
|
142
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
143
|
-
return stackIntercept<QuoteRequest, QuoteResponse>("unary", this._transport, method, opt, input);
|
|
144
|
-
}
|
|
145
111
|
/**
|
|
146
112
|
* Stream RFQ quotes
|
|
147
113
|
*
|
|
148
114
|
* @generated from protobuf rpc: StreamQuote
|
|
149
115
|
*/
|
|
150
116
|
streamQuote(input: StreamQuoteRequest, options?: RpcOptions): ServerStreamingCall<StreamQuoteRequest, StreamQuoteResponse> {
|
|
151
|
-
const method = this.methods[
|
|
117
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
152
118
|
return stackIntercept<StreamQuoteRequest, StreamQuoteResponse>("serverStreaming", this._transport, method, opt, input);
|
|
153
119
|
}
|
|
154
120
|
/**
|
|
@@ -157,7 +123,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
157
123
|
* @generated from protobuf rpc: ListSettlement
|
|
158
124
|
*/
|
|
159
125
|
listSettlement(input: ListSettlementRequest, options?: RpcOptions): UnaryCall<ListSettlementRequest, ListSettlementResponse> {
|
|
160
|
-
const method = this.methods[
|
|
126
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
161
127
|
return stackIntercept<ListSettlementRequest, ListSettlementResponse>("unary", this._transport, method, opt, input);
|
|
162
128
|
}
|
|
163
129
|
/**
|
|
@@ -166,7 +132,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
166
132
|
* @generated from protobuf rpc: StreamSettlement
|
|
167
133
|
*/
|
|
168
134
|
streamSettlement(input: StreamSettlementRequest, options?: RpcOptions): ServerStreamingCall<StreamSettlementRequest, StreamSettlementResponse> {
|
|
169
|
-
const method = this.methods[
|
|
135
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
170
136
|
return stackIntercept<StreamSettlementRequest, StreamSettlementResponse>("serverStreaming", this._transport, method, opt, input);
|
|
171
137
|
}
|
|
172
138
|
/**
|
|
@@ -175,7 +141,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
175
141
|
* @generated from protobuf rpc: CreateConditionalOrder
|
|
176
142
|
*/
|
|
177
143
|
createConditionalOrder(input: CreateConditionalOrderRequest, options?: RpcOptions): UnaryCall<CreateConditionalOrderRequest, CreateConditionalOrderResponse> {
|
|
178
|
-
const method = this.methods[
|
|
144
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
179
145
|
return stackIntercept<CreateConditionalOrderRequest, CreateConditionalOrderResponse>("unary", this._transport, method, opt, input);
|
|
180
146
|
}
|
|
181
147
|
/**
|
|
@@ -184,7 +150,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
184
150
|
* @generated from protobuf rpc: ListConditionalOrders
|
|
185
151
|
*/
|
|
186
152
|
listConditionalOrders(input: ListConditionalOrdersRequest, options?: RpcOptions): UnaryCall<ListConditionalOrdersRequest, ListConditionalOrdersResponse> {
|
|
187
|
-
const method = this.methods[
|
|
153
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
188
154
|
return stackIntercept<ListConditionalOrdersRequest, ListConditionalOrdersResponse>("unary", this._transport, method, opt, input);
|
|
189
155
|
}
|
|
190
156
|
/**
|
|
@@ -193,7 +159,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
193
159
|
* @generated from protobuf rpc: TakerStream
|
|
194
160
|
*/
|
|
195
161
|
takerStream(options?: RpcOptions): DuplexStreamingCall<TakerStreamStreamingRequest, TakerStreamResponse> {
|
|
196
|
-
const method = this.methods[
|
|
162
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
197
163
|
return stackIntercept<TakerStreamStreamingRequest, TakerStreamResponse>("duplex", this._transport, method, opt);
|
|
198
164
|
}
|
|
199
165
|
/**
|
|
@@ -202,7 +168,7 @@ export class InjectiveRfqRPCClient implements IInjectiveRfqRPCClient, ServiceInf
|
|
|
202
168
|
* @generated from protobuf rpc: MakerStream
|
|
203
169
|
*/
|
|
204
170
|
makerStream(options?: RpcOptions): DuplexStreamingCall<MakerStreamStreamingRequest, MakerStreamResponse> {
|
|
205
|
-
const method = this.methods[
|
|
171
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
206
172
|
return stackIntercept<MakerStreamStreamingRequest, MakerStreamResponse>("duplex", this._transport, method, opt);
|
|
207
173
|
}
|
|
208
174
|
}
|
|
@@ -7,40 +7,22 @@ class InjectiveRfqRPCClient {
|
|
|
7
7
|
this.methods = InjectiveRfqRPC.methods;
|
|
8
8
|
this.options = InjectiveRfqRPC.options;
|
|
9
9
|
}
|
|
10
|
-
/**
|
|
11
|
-
* Create RFQ request
|
|
12
|
-
*
|
|
13
|
-
* @generated from protobuf rpc: Request
|
|
14
|
-
*/
|
|
15
|
-
request(input, options) {
|
|
16
|
-
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
17
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
18
|
-
}
|
|
19
10
|
/**
|
|
20
11
|
* Stream RFQ requests
|
|
21
12
|
*
|
|
22
13
|
* @generated from protobuf rpc: StreamRequest
|
|
23
14
|
*/
|
|
24
15
|
streamRequest(input, options) {
|
|
25
|
-
const method = this.methods[
|
|
16
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
26
17
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
27
18
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Create RFQ quote
|
|
30
|
-
*
|
|
31
|
-
* @generated from protobuf rpc: Quote
|
|
32
|
-
*/
|
|
33
|
-
quote(input, options) {
|
|
34
|
-
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
35
|
-
return stackIntercept("unary", this._transport, method, opt, input);
|
|
36
|
-
}
|
|
37
19
|
/**
|
|
38
20
|
* Stream RFQ quotes
|
|
39
21
|
*
|
|
40
22
|
* @generated from protobuf rpc: StreamQuote
|
|
41
23
|
*/
|
|
42
24
|
streamQuote(input, options) {
|
|
43
|
-
const method = this.methods[
|
|
25
|
+
const method = this.methods[1], opt = this._transport.mergeOptions(options);
|
|
44
26
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
45
27
|
}
|
|
46
28
|
/**
|
|
@@ -49,7 +31,7 @@ class InjectiveRfqRPCClient {
|
|
|
49
31
|
* @generated from protobuf rpc: ListSettlement
|
|
50
32
|
*/
|
|
51
33
|
listSettlement(input, options) {
|
|
52
|
-
const method = this.methods[
|
|
34
|
+
const method = this.methods[2], opt = this._transport.mergeOptions(options);
|
|
53
35
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
54
36
|
}
|
|
55
37
|
/**
|
|
@@ -58,7 +40,7 @@ class InjectiveRfqRPCClient {
|
|
|
58
40
|
* @generated from protobuf rpc: StreamSettlement
|
|
59
41
|
*/
|
|
60
42
|
streamSettlement(input, options) {
|
|
61
|
-
const method = this.methods[
|
|
43
|
+
const method = this.methods[3], opt = this._transport.mergeOptions(options);
|
|
62
44
|
return stackIntercept("serverStreaming", this._transport, method, opt, input);
|
|
63
45
|
}
|
|
64
46
|
/**
|
|
@@ -67,7 +49,7 @@ class InjectiveRfqRPCClient {
|
|
|
67
49
|
* @generated from protobuf rpc: CreateConditionalOrder
|
|
68
50
|
*/
|
|
69
51
|
createConditionalOrder(input, options) {
|
|
70
|
-
const method = this.methods[
|
|
52
|
+
const method = this.methods[4], opt = this._transport.mergeOptions(options);
|
|
71
53
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
72
54
|
}
|
|
73
55
|
/**
|
|
@@ -76,7 +58,7 @@ class InjectiveRfqRPCClient {
|
|
|
76
58
|
* @generated from protobuf rpc: ListConditionalOrders
|
|
77
59
|
*/
|
|
78
60
|
listConditionalOrders(input, options) {
|
|
79
|
-
const method = this.methods[
|
|
61
|
+
const method = this.methods[5], opt = this._transport.mergeOptions(options);
|
|
80
62
|
return stackIntercept("unary", this._transport, method, opt, input);
|
|
81
63
|
}
|
|
82
64
|
/**
|
|
@@ -85,7 +67,7 @@ class InjectiveRfqRPCClient {
|
|
|
85
67
|
* @generated from protobuf rpc: TakerStream
|
|
86
68
|
*/
|
|
87
69
|
takerStream(options) {
|
|
88
|
-
const method = this.methods[
|
|
70
|
+
const method = this.methods[6], opt = this._transport.mergeOptions(options);
|
|
89
71
|
return stackIntercept("duplex", this._transport, method, opt);
|
|
90
72
|
}
|
|
91
73
|
/**
|
|
@@ -94,7 +76,7 @@ class InjectiveRfqRPCClient {
|
|
|
94
76
|
* @generated from protobuf rpc: MakerStream
|
|
95
77
|
*/
|
|
96
78
|
makerStream(options) {
|
|
97
|
-
const method = this.methods[
|
|
79
|
+
const method = this.methods[7], opt = this._transport.mergeOptions(options);
|
|
98
80
|
return stackIntercept("duplex", this._transport, method, opt);
|
|
99
81
|
}
|
|
100
82
|
}
|