@uniswap/client-trading 0.1.2 → 0.1.3
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/trading/v1/api-tradingService_connectquery.d.ts +41 -27
- package/dist/trading/v1/api-tradingService_connectquery.js +42 -28
- package/dist/trading/v1/api_connect.d.ts +31 -21
- package/dist/trading/v1/api_connect.js +32 -22
- package/dist/trading/v1/api_pb.d.ts +411 -150
- package/dist/trading/v1/api_pb.js +513 -195
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse,
|
|
2
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, CreateLPPositionRequest, CreateLPPositionResponse, CreatePlanRequest, DecreaseLPPositionRequest, DecreaseLPPositionResponse, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateLpPositionRequest, MigrateLpPositionResponse, OrderRequest, OrderResponse, PlanResponse, PoolInfoRequest, PoolInfoResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
5
5
|
*/
|
|
@@ -196,20 +196,6 @@ export declare const checkLPApproval: {
|
|
|
196
196
|
readonly typeName: "trading.v1.tradingService";
|
|
197
197
|
};
|
|
198
198
|
};
|
|
199
|
-
/**
|
|
200
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPRewards
|
|
201
|
-
*/
|
|
202
|
-
export declare const claimLPRewards: {
|
|
203
|
-
readonly localName: "claimLPRewards";
|
|
204
|
-
readonly name: "ClaimLPRewards";
|
|
205
|
-
readonly kind: MethodKind.Unary;
|
|
206
|
-
readonly I: typeof ClaimLPRewardsRequest;
|
|
207
|
-
readonly O: typeof ClaimLPRewardsResponse;
|
|
208
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
209
|
-
readonly service: {
|
|
210
|
-
readonly typeName: "trading.v1.tradingService";
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
199
|
/**
|
|
214
200
|
* @generated from rpc trading.v1.tradingService.Send
|
|
215
201
|
*/
|
|
@@ -295,33 +281,47 @@ export declare const encode7702: {
|
|
|
295
281
|
};
|
|
296
282
|
};
|
|
297
283
|
/**
|
|
298
|
-
* @generated from rpc trading.v1.tradingService.
|
|
284
|
+
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
299
285
|
*/
|
|
300
|
-
export declare const
|
|
301
|
-
readonly localName: "
|
|
302
|
-
readonly name: "
|
|
286
|
+
export declare const createPlan: {
|
|
287
|
+
readonly localName: "createPlan";
|
|
288
|
+
readonly name: "CreatePlan";
|
|
303
289
|
readonly kind: MethodKind.Unary;
|
|
304
|
-
readonly I: typeof
|
|
305
|
-
readonly O: typeof
|
|
290
|
+
readonly I: typeof CreatePlanRequest;
|
|
291
|
+
readonly O: typeof PlanResponse;
|
|
306
292
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
307
293
|
readonly service: {
|
|
308
294
|
readonly typeName: "trading.v1.tradingService";
|
|
309
295
|
};
|
|
310
296
|
};
|
|
311
297
|
/**
|
|
312
|
-
* @generated from rpc trading.v1.tradingService.
|
|
298
|
+
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
313
299
|
*/
|
|
314
|
-
export declare const
|
|
315
|
-
readonly localName: "
|
|
316
|
-
readonly name: "
|
|
300
|
+
export declare const getPlan: {
|
|
301
|
+
readonly localName: "getPlan";
|
|
302
|
+
readonly name: "GetPlan";
|
|
317
303
|
readonly kind: MethodKind.Unary;
|
|
318
|
-
readonly I: typeof
|
|
319
|
-
readonly O: typeof
|
|
304
|
+
readonly I: typeof GetPlanRequest;
|
|
305
|
+
readonly O: typeof PlanResponse;
|
|
320
306
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
321
307
|
readonly service: {
|
|
322
308
|
readonly typeName: "trading.v1.tradingService";
|
|
323
309
|
};
|
|
324
310
|
};
|
|
311
|
+
/**
|
|
312
|
+
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
313
|
+
*/
|
|
314
|
+
export declare const updatePlan: {
|
|
315
|
+
readonly localName: "updatePlan";
|
|
316
|
+
readonly name: "UpdatePlan";
|
|
317
|
+
readonly kind: MethodKind.Unary;
|
|
318
|
+
readonly I: typeof UpdatePlanRequest;
|
|
319
|
+
readonly O: typeof PlanResponse;
|
|
320
|
+
readonly idempotency: MethodIdempotency.Idempotent;
|
|
321
|
+
readonly service: {
|
|
322
|
+
readonly typeName: "trading.v1.tradingService";
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
325
|
/**
|
|
326
326
|
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
327
327
|
*/
|
|
@@ -336,3 +336,17 @@ export declare const getDocs: {
|
|
|
336
336
|
readonly typeName: "trading.v1.tradingService";
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
|
+
/**
|
|
340
|
+
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
341
|
+
*/
|
|
342
|
+
export declare const getPlans: {
|
|
343
|
+
readonly localName: "getPlans";
|
|
344
|
+
readonly name: "GetPlans";
|
|
345
|
+
readonly kind: MethodKind.Unary;
|
|
346
|
+
readonly I: typeof GetPlansRequest;
|
|
347
|
+
readonly O: typeof GetPlansResponse;
|
|
348
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
349
|
+
readonly service: {
|
|
350
|
+
readonly typeName: "trading.v1.tradingService";
|
|
351
|
+
};
|
|
352
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.4.
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
2
|
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse,
|
|
6
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, CreateLPPositionRequest, CreateLPPositionResponse, CreatePlanRequest, DecreaseLPPositionRequest, DecreaseLPPositionResponse, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateLpPositionRequest, MigrateLpPositionResponse, OrderRequest, OrderResponse, PlanResponse, PoolInfoRequest, PoolInfoResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc trading.v1.tradingService.Quote
|
|
9
9
|
*/
|
|
@@ -200,20 +200,6 @@ export const checkLPApproval = {
|
|
|
200
200
|
typeName: "trading.v1.tradingService"
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
|
-
/**
|
|
204
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPRewards
|
|
205
|
-
*/
|
|
206
|
-
export const claimLPRewards = {
|
|
207
|
-
localName: "claimLPRewards",
|
|
208
|
-
name: "ClaimLPRewards",
|
|
209
|
-
kind: MethodKind.Unary,
|
|
210
|
-
I: ClaimLPRewardsRequest,
|
|
211
|
-
O: ClaimLPRewardsResponse,
|
|
212
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
213
|
-
service: {
|
|
214
|
-
typeName: "trading.v1.tradingService"
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
203
|
/**
|
|
218
204
|
* @generated from rpc trading.v1.tradingService.Send
|
|
219
205
|
*/
|
|
@@ -299,33 +285,47 @@ export const encode7702 = {
|
|
|
299
285
|
}
|
|
300
286
|
};
|
|
301
287
|
/**
|
|
302
|
-
* @generated from rpc trading.v1.tradingService.
|
|
288
|
+
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
303
289
|
*/
|
|
304
|
-
export const
|
|
305
|
-
localName: "
|
|
306
|
-
name: "
|
|
290
|
+
export const createPlan = {
|
|
291
|
+
localName: "createPlan",
|
|
292
|
+
name: "CreatePlan",
|
|
307
293
|
kind: MethodKind.Unary,
|
|
308
|
-
I:
|
|
309
|
-
O:
|
|
294
|
+
I: CreatePlanRequest,
|
|
295
|
+
O: PlanResponse,
|
|
310
296
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
311
297
|
service: {
|
|
312
298
|
typeName: "trading.v1.tradingService"
|
|
313
299
|
}
|
|
314
300
|
};
|
|
315
301
|
/**
|
|
316
|
-
* @generated from rpc trading.v1.tradingService.
|
|
302
|
+
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
317
303
|
*/
|
|
318
|
-
export const
|
|
319
|
-
localName: "
|
|
320
|
-
name: "
|
|
304
|
+
export const getPlan = {
|
|
305
|
+
localName: "getPlan",
|
|
306
|
+
name: "GetPlan",
|
|
321
307
|
kind: MethodKind.Unary,
|
|
322
|
-
I:
|
|
323
|
-
O:
|
|
308
|
+
I: GetPlanRequest,
|
|
309
|
+
O: PlanResponse,
|
|
324
310
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
325
311
|
service: {
|
|
326
312
|
typeName: "trading.v1.tradingService"
|
|
327
313
|
}
|
|
328
314
|
};
|
|
315
|
+
/**
|
|
316
|
+
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
317
|
+
*/
|
|
318
|
+
export const updatePlan = {
|
|
319
|
+
localName: "updatePlan",
|
|
320
|
+
name: "UpdatePlan",
|
|
321
|
+
kind: MethodKind.Unary,
|
|
322
|
+
I: UpdatePlanRequest,
|
|
323
|
+
O: PlanResponse,
|
|
324
|
+
idempotency: MethodIdempotency.Idempotent,
|
|
325
|
+
service: {
|
|
326
|
+
typeName: "trading.v1.tradingService"
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
329
|
/**
|
|
330
330
|
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
331
331
|
*/
|
|
@@ -340,3 +340,17 @@ export const getDocs = {
|
|
|
340
340
|
typeName: "trading.v1.tradingService"
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
345
|
+
*/
|
|
346
|
+
export const getPlans = {
|
|
347
|
+
localName: "getPlans",
|
|
348
|
+
name: "GetPlans",
|
|
349
|
+
kind: MethodKind.Unary,
|
|
350
|
+
I: GetPlansRequest,
|
|
351
|
+
O: GetPlansResponse,
|
|
352
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
353
|
+
service: {
|
|
354
|
+
typeName: "trading.v1.tradingService"
|
|
355
|
+
}
|
|
356
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse,
|
|
1
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, CreateLPPositionRequest, CreateLPPositionResponse, CreatePlanRequest, DecreaseLPPositionRequest, DecreaseLPPositionResponse, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateLpPositionRequest, MigrateLpPositionResponse, OrderRequest, OrderResponse, PlanResponse, PoolInfoRequest, PoolInfoResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
2
2
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service trading.v1.tradingService
|
|
@@ -146,16 +146,6 @@ export declare const tradingService: {
|
|
|
146
146
|
readonly kind: MethodKind.Unary;
|
|
147
147
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
148
148
|
};
|
|
149
|
-
/**
|
|
150
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPRewards
|
|
151
|
-
*/
|
|
152
|
-
readonly claimLPRewards: {
|
|
153
|
-
readonly name: "ClaimLPRewards";
|
|
154
|
-
readonly I: typeof ClaimLPRewardsRequest;
|
|
155
|
-
readonly O: typeof ClaimLPRewardsResponse;
|
|
156
|
-
readonly kind: MethodKind.Unary;
|
|
157
|
-
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
158
|
-
};
|
|
159
149
|
/**
|
|
160
150
|
* @generated from rpc trading.v1.tradingService.Send
|
|
161
151
|
*/
|
|
@@ -217,25 +207,35 @@ export declare const tradingService: {
|
|
|
217
207
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
218
208
|
};
|
|
219
209
|
/**
|
|
220
|
-
* @generated from rpc trading.v1.tradingService.
|
|
210
|
+
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
221
211
|
*/
|
|
222
|
-
readonly
|
|
223
|
-
readonly name: "
|
|
224
|
-
readonly I: typeof
|
|
225
|
-
readonly O: typeof
|
|
212
|
+
readonly createPlan: {
|
|
213
|
+
readonly name: "CreatePlan";
|
|
214
|
+
readonly I: typeof CreatePlanRequest;
|
|
215
|
+
readonly O: typeof PlanResponse;
|
|
226
216
|
readonly kind: MethodKind.Unary;
|
|
227
217
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
228
218
|
};
|
|
229
219
|
/**
|
|
230
|
-
* @generated from rpc trading.v1.tradingService.
|
|
220
|
+
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
231
221
|
*/
|
|
232
|
-
readonly
|
|
233
|
-
readonly name: "
|
|
234
|
-
readonly I: typeof
|
|
235
|
-
readonly O: typeof
|
|
222
|
+
readonly getPlan: {
|
|
223
|
+
readonly name: "GetPlan";
|
|
224
|
+
readonly I: typeof GetPlanRequest;
|
|
225
|
+
readonly O: typeof PlanResponse;
|
|
236
226
|
readonly kind: MethodKind.Unary;
|
|
237
227
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
238
228
|
};
|
|
229
|
+
/**
|
|
230
|
+
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
231
|
+
*/
|
|
232
|
+
readonly updatePlan: {
|
|
233
|
+
readonly name: "UpdatePlan";
|
|
234
|
+
readonly I: typeof UpdatePlanRequest;
|
|
235
|
+
readonly O: typeof PlanResponse;
|
|
236
|
+
readonly kind: MethodKind.Unary;
|
|
237
|
+
readonly idempotency: MethodIdempotency.Idempotent;
|
|
238
|
+
};
|
|
239
239
|
/**
|
|
240
240
|
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
241
241
|
*/
|
|
@@ -246,5 +246,15 @@ export declare const tradingService: {
|
|
|
246
246
|
readonly kind: MethodKind.Unary;
|
|
247
247
|
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
248
248
|
};
|
|
249
|
+
/**
|
|
250
|
+
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
251
|
+
*/
|
|
252
|
+
readonly getPlans: {
|
|
253
|
+
readonly name: "GetPlans";
|
|
254
|
+
readonly I: typeof GetPlansRequest;
|
|
255
|
+
readonly O: typeof GetPlansResponse;
|
|
256
|
+
readonly kind: MethodKind.Unary;
|
|
257
|
+
readonly idempotency: MethodIdempotency.NoSideEffects;
|
|
258
|
+
};
|
|
249
259
|
};
|
|
250
260
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse,
|
|
5
|
+
import { CheckApprovalLPRequest, CheckApprovalLPResponse, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, ClaimLPFeesRequest, ClaimLPFeesResponse, CreateLPPositionRequest, CreateLPPositionResponse, CreatePlanRequest, DecreaseLPPositionRequest, DecreaseLPPositionResponse, DocsRequest, DocsResponse, Encode7702Request, Encode7702Response, GetLPPriceDiscrepancyRequest, GetLPPriceDiscrepancyResponse, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, IncreaseLPPositionRequest, IncreaseLPPositionResponse, MigrateLpPositionRequest, MigrateLpPositionResponse, OrderRequest, OrderResponse, PlanResponse, PoolInfoRequest, PoolInfoResponse, QuoteRequest, QuoteResponse, SendRequest, SendResponse, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
|
|
6
6
|
import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service trading.v1.tradingService
|
|
@@ -150,16 +150,6 @@ export const tradingService = {
|
|
|
150
150
|
kind: MethodKind.Unary,
|
|
151
151
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
152
152
|
},
|
|
153
|
-
/**
|
|
154
|
-
* @generated from rpc trading.v1.tradingService.ClaimLPRewards
|
|
155
|
-
*/
|
|
156
|
-
claimLPRewards: {
|
|
157
|
-
name: "ClaimLPRewards",
|
|
158
|
-
I: ClaimLPRewardsRequest,
|
|
159
|
-
O: ClaimLPRewardsResponse,
|
|
160
|
-
kind: MethodKind.Unary,
|
|
161
|
-
idempotency: MethodIdempotency.NoSideEffects,
|
|
162
|
-
},
|
|
163
153
|
/**
|
|
164
154
|
* @generated from rpc trading.v1.tradingService.Send
|
|
165
155
|
*/
|
|
@@ -221,25 +211,35 @@ export const tradingService = {
|
|
|
221
211
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
222
212
|
},
|
|
223
213
|
/**
|
|
224
|
-
* @generated from rpc trading.v1.tradingService.
|
|
214
|
+
* @generated from rpc trading.v1.tradingService.CreatePlan
|
|
225
215
|
*/
|
|
226
|
-
|
|
227
|
-
name: "
|
|
228
|
-
I:
|
|
229
|
-
O:
|
|
216
|
+
createPlan: {
|
|
217
|
+
name: "CreatePlan",
|
|
218
|
+
I: CreatePlanRequest,
|
|
219
|
+
O: PlanResponse,
|
|
230
220
|
kind: MethodKind.Unary,
|
|
231
221
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
232
222
|
},
|
|
233
223
|
/**
|
|
234
|
-
* @generated from rpc trading.v1.tradingService.
|
|
224
|
+
* @generated from rpc trading.v1.tradingService.GetPlan
|
|
235
225
|
*/
|
|
236
|
-
|
|
237
|
-
name: "
|
|
238
|
-
I:
|
|
239
|
-
O:
|
|
226
|
+
getPlan: {
|
|
227
|
+
name: "GetPlan",
|
|
228
|
+
I: GetPlanRequest,
|
|
229
|
+
O: PlanResponse,
|
|
240
230
|
kind: MethodKind.Unary,
|
|
241
231
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
242
232
|
},
|
|
233
|
+
/**
|
|
234
|
+
* @generated from rpc trading.v1.tradingService.UpdatePlan
|
|
235
|
+
*/
|
|
236
|
+
updatePlan: {
|
|
237
|
+
name: "UpdatePlan",
|
|
238
|
+
I: UpdatePlanRequest,
|
|
239
|
+
O: PlanResponse,
|
|
240
|
+
kind: MethodKind.Unary,
|
|
241
|
+
idempotency: MethodIdempotency.Idempotent,
|
|
242
|
+
},
|
|
243
243
|
/**
|
|
244
244
|
* @generated from rpc trading.v1.tradingService.GetDocs
|
|
245
245
|
*/
|
|
@@ -250,5 +250,15 @@ export const tradingService = {
|
|
|
250
250
|
kind: MethodKind.Unary,
|
|
251
251
|
idempotency: MethodIdempotency.NoSideEffects,
|
|
252
252
|
},
|
|
253
|
+
/**
|
|
254
|
+
* @generated from rpc trading.v1.tradingService.GetPlans
|
|
255
|
+
*/
|
|
256
|
+
getPlans: {
|
|
257
|
+
name: "GetPlans",
|
|
258
|
+
I: GetPlansRequest,
|
|
259
|
+
O: GetPlansResponse,
|
|
260
|
+
kind: MethodKind.Unary,
|
|
261
|
+
idempotency: MethodIdempotency.NoSideEffects,
|
|
262
|
+
},
|
|
253
263
|
}
|
|
254
264
|
};
|